/* Generated code for Python source for module 'html5lib.filters.inject_meta_charset'
 * created by Nuitka version 0.6.0
 *
 * This code is in part copyright 2018 Kay Hayen.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "nuitka/prelude.h"

#include "__helpers.h"

/* The _module_html5lib$filters$inject_meta_charset is a Python object pointer of module type. */

/* Note: For full compatibility with CPython, every module variable access
 * needs to go through it except for cases where the module cannot possibly
 * have changed in the mean time.
 */

PyObject *module_html5lib$filters$inject_meta_charset;
PyDictObject *moduledict_html5lib$filters$inject_meta_charset;

/* The module constants used, if any. */
static PyObject *const_dict_983e873bc6e3472b758f67c39027e214;
extern PyObject *const_str_plain___orig_bases__;
extern PyObject *const_tuple_none_str_plain_charset_tuple;
static PyObject *const_str_plain_in_head;
extern PyObject *const_str_plain_data;
extern PyObject *const_tuple_int_0_tuple;
extern PyObject *const_str_plain___module__;
extern PyObject *const_str_plain_metaclass;
static PyObject *const_str_plain_meta_found;
static PyObject *const_str_plain_post_head;
extern PyObject *const_str_plain_absolute_import;
extern PyObject *const_str_plain_token;
extern PyObject *const_tuple_none_str_plain_content_tuple;
extern PyObject *const_str_plain_source;
extern PyObject *const_str_plain_unicode_literals;
extern PyObject *const_str_plain_False;
extern PyObject *const_str_plain___name__;
extern PyObject *const_str_plain___class__;
extern PyObject *const_str_digest_d36ae9b750313709c035038320832426;
extern PyObject *const_str_plain___getitem__;
extern PyObject *const_tuple_str_plain___class___tuple;
extern PyObject *const_str_plain___qualname__;
extern PyObject *const_str_plain_StartTag;
extern PyObject *const_tuple_str_plain_base_tuple;
extern PyObject *const_int_pos_1;
extern PyObject *const_str_angle_metaclass;
extern PyObject *const_str_plain_Filter;
extern PyObject *const_str_plain___file__;
extern PyObject *const_str_plain_encoding;
static PyObject *const_str_plain_pre_head;
extern PyObject *const_str_plain_pop;
extern PyObject *const_str_digest_8415e104b3f453e0ca424724427a294a;
extern PyObject *const_int_0;
extern PyObject *const_str_plain_content;
extern PyObject *const_str_plain_state;
extern PyObject *const_str_plain_value;
static PyObject *const_tuple_29b71084852fe8f21d57636dccb4547a_tuple;
extern PyObject *const_str_plain___init__;
extern PyObject *const_str_plain___prepare__;
extern PyObject *const_str_plain_head;
static PyObject *const_str_digest_442fd9d2cf00024a55091f50c671e35a;
extern PyObject *const_str_plain_division;
extern PyObject *const_str_plain_items;
extern PyObject *const_str_plain_self;
extern PyObject *const_str_plain_EmptyTag;
extern PyObject *const_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8;
extern PyObject *const_str_plain_None;
extern PyObject *const_str_plain_charset;
static PyObject *const_str_digest_35cb4f852cd699e7e74d7388ef6f75bc;
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
static PyObject *const_str_digest_24c64d789599e17133e21c2224c3d764;
static PyObject *const_tuple_str_plain_self_str_plain_source_str_plain_encoding_tuple;
static PyObject *const_str_digest_3d8ecf5e960186e135aaf716052308dd;
static PyObject *const_str_digest_de0ac14bdc6cecd17c97538e8c8bb618;
static PyObject *const_str_digest_8af2581c6ae6a7ff8c31c1d6c5f5477b;
extern PyObject *const_tuple_empty;
static PyObject *const_str_plain_has_http_equiv_content_type;
extern PyObject *const_str_plain_base;
extern PyObject *const_str_plain_pending;
extern PyObject *const_str_plain_EndTag;
extern PyObject *const_str_plain_append;
extern PyObject *const_str_plain_type;
extern PyObject *const_str_plain_name;
extern PyObject *const_str_empty;
extern PyObject *const_str_digest_d7782fffe22a56213578220c4d288bbd;
extern PyObject *const_str_plain___iter__;
extern PyObject *const_str_plain_namespace;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_plain___cached__;
extern PyObject *const_str_plain_meta;
extern PyObject *const_str_plain_lower;
static PyObject *module_filename_obj;

static bool constants_created = false;

static void createModuleConstants( void )
{
    const_dict_983e873bc6e3472b758f67c39027e214 = _PyDict_NewPresized( 2 );
    PyDict_SetItem( const_dict_983e873bc6e3472b758f67c39027e214, const_str_plain_type, const_str_plain_EndTag );
    PyDict_SetItem( const_dict_983e873bc6e3472b758f67c39027e214, const_str_plain_name, const_str_plain_head );
    assert( PyDict_Size( const_dict_983e873bc6e3472b758f67c39027e214 ) == 2 );
    const_str_plain_in_head = UNSTREAM_STRING( &constant_bin[ 642786 ], 7, 1 );
    const_str_plain_meta_found = UNSTREAM_STRING( &constant_bin[ 826879 ], 10, 1 );
    const_str_plain_post_head = UNSTREAM_STRING( &constant_bin[ 826889 ], 9, 1 );
    const_str_plain_pre_head = UNSTREAM_STRING( &constant_bin[ 826898 ], 8, 1 );
    const_tuple_29b71084852fe8f21d57636dccb4547a_tuple = PyTuple_New( 10 );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 1, const_str_plain_state ); Py_INCREF( const_str_plain_state );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 2, const_str_plain_meta_found ); Py_INCREF( const_str_plain_meta_found );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 3, const_str_plain_pending ); Py_INCREF( const_str_plain_pending );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 4, const_str_plain_token ); Py_INCREF( const_str_plain_token );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 5, const_str_plain_type ); Py_INCREF( const_str_plain_type );
    const_str_plain_has_http_equiv_content_type = UNSTREAM_STRING( &constant_bin[ 826906 ], 27, 1 );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 6, const_str_plain_has_http_equiv_content_type ); Py_INCREF( const_str_plain_has_http_equiv_content_type );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 7, const_str_plain_namespace ); Py_INCREF( const_str_plain_namespace );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 8, const_str_plain_name ); Py_INCREF( const_str_plain_name );
    PyTuple_SET_ITEM( const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 9, const_str_plain_value ); Py_INCREF( const_str_plain_value );
    const_str_digest_442fd9d2cf00024a55091f50c671e35a = UNSTREAM_STRING( &constant_bin[ 826933 ], 116, 0 );
    const_str_digest_35cb4f852cd699e7e74d7388ef6f75bc = UNSTREAM_STRING( &constant_bin[ 827049 ], 72, 0 );
    const_str_digest_24c64d789599e17133e21c2224c3d764 = UNSTREAM_STRING( &constant_bin[ 827121 ], 36, 0 );
    const_tuple_str_plain_self_str_plain_source_str_plain_encoding_tuple = PyTuple_New( 3 );
    PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_source_str_plain_encoding_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
    PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_source_str_plain_encoding_tuple, 1, const_str_plain_source ); Py_INCREF( const_str_plain_source );
    PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_source_str_plain_encoding_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding );
    const_str_digest_3d8ecf5e960186e135aaf716052308dd = UNSTREAM_STRING( &constant_bin[ 827157 ], 21, 0 );
    const_str_digest_de0ac14bdc6cecd17c97538e8c8bb618 = UNSTREAM_STRING( &constant_bin[ 827178 ], 45, 0 );
    const_str_digest_8af2581c6ae6a7ff8c31c1d6c5f5477b = UNSTREAM_STRING( &constant_bin[ 827223 ], 61, 0 );

    constants_created = true;
}

#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_html5lib$filters$inject_meta_charset( void )
{
    // The module may not have been used at all.
    if (constants_created == false) return;


}
#endif

// The module code objects.
static PyCodeObject *codeobj_ea192add51eb3cc4bd39d139a1005096;
static PyCodeObject *codeobj_87d0b2214da34af7f3ec71cc2b10dd41;
static PyCodeObject *codeobj_2e6fa05ef6c8f3e1d8164fae905455f3;
static PyCodeObject *codeobj_14e72087e7756a11b5a4c06c7085fca4;

static void createModuleCodeObjects(void)
{
    module_filename_obj = const_str_digest_35cb4f852cd699e7e74d7388ef6f75bc;
    codeobj_ea192add51eb3cc4bd39d139a1005096 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_de0ac14bdc6cecd17c97538e8c8bb618, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
    codeobj_87d0b2214da34af7f3ec71cc2b10dd41 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Filter, 6, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
    codeobj_2e6fa05ef6c8f3e1d8164fae905455f3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 8, const_tuple_str_plain_self_str_plain_source_str_plain_encoding_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
    codeobj_14e72087e7756a11b5a4c06c7085fca4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___iter__, 19, const_tuple_29b71084852fe8f21d57636dccb4547a_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
}

// The module function declarations.
static PyObject *html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___maker( void );


NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );


static PyObject *MAKE_FUNCTION_html5lib$filters$inject_meta_charset$$$function_1___init__(  );


static PyObject *MAKE_FUNCTION_html5lib$filters$inject_meta_charset$$$function_2___iter__(  );


// The module function definitions.
static PyObject *impl_html5lib$filters$inject_meta_charset$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
    // Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
    NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif

    // Local variable declarations.
    PyObject *par_self = python_pars[ 0 ];
    PyObject *par_source = python_pars[ 1 ];
    PyObject *par_encoding = python_pars[ 2 ];
    struct Nuitka_FrameObject *frame_2e6fa05ef6c8f3e1d8164fae905455f3;
    NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
    NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
    PyObject *exception_type = NULL;
    PyObject *exception_value = NULL;
    PyTracebackObject *exception_tb = NULL;
    NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
    bool tmp_result;
    static struct Nuitka_FrameObject *cache_frame_2e6fa05ef6c8f3e1d8164fae905455f3 = NULL;
    PyObject *tmp_return_value = NULL;
    PyObject *exception_keeper_type_1;
    PyObject *exception_keeper_value_1;
    PyTracebackObject *exception_keeper_tb_1;
    NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;

    // Actual function code.
    {
    // Tried code:
    MAKE_OR_REUSE_FRAME( cache_frame_2e6fa05ef6c8f3e1d8164fae905455f3, codeobj_2e6fa05ef6c8f3e1d8164fae905455f3, module_html5lib$filters$inject_meta_charset, sizeof(void *)+sizeof(void *)+sizeof(void *) );
    frame_2e6fa05ef6c8f3e1d8164fae905455f3 = cache_frame_2e6fa05ef6c8f3e1d8164fae905455f3;

    // Push the new frame as the currently active one.
    pushFrameStack( frame_2e6fa05ef6c8f3e1d8164fae905455f3 );

    // Mark the frame object as in use, ref count 1 will be up for reuse.
    assert( Py_REFCNT( frame_2e6fa05ef6c8f3e1d8164fae905455f3 ) == 2 ); // Frame stack

    // Framed code:
    {
    PyObject *tmp_called_name_1;
    PyObject *tmp_source_name_1;
    PyObject *tmp_source_name_2;
    PyObject *tmp_mvar_value_1;
    PyObject *tmp_args_element_name_1;
    PyObject *tmp_args_element_name_2;
    tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_base );

    if (unlikely( tmp_mvar_value_1 == NULL ))
    {
        tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base );
    }

    if ( tmp_mvar_value_1 == NULL )
    {

        exception_type = PyExc_NameError;
        Py_INCREF( exception_type );
        exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base" );
        exception_tb = NULL;
        NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
        CHAIN_EXCEPTION( exception_value );

        exception_lineno = 16;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }

    tmp_source_name_2 = tmp_mvar_value_1;
    tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_Filter );
    if ( tmp_source_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 16;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }
    tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___init__ );
    Py_DECREF( tmp_source_name_1 );
    if ( tmp_called_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 16;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }
    if ( par_self == NULL )
    {
        Py_DECREF( tmp_called_name_1 );
        exception_type = PyExc_UnboundLocalError;
        Py_INCREF( exception_type );
        exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
        exception_tb = NULL;
        NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
        CHAIN_EXCEPTION( exception_value );

        exception_lineno = 16;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }

    tmp_args_element_name_1 = par_self;
    if ( par_source == NULL )
    {
        Py_DECREF( tmp_called_name_1 );
        exception_type = PyExc_UnboundLocalError;
        Py_INCREF( exception_type );
        exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "source" );
        exception_tb = NULL;
        NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
        CHAIN_EXCEPTION( exception_value );

        exception_lineno = 16;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }

    tmp_args_element_name_2 = par_source;
    frame_2e6fa05ef6c8f3e1d8164fae905455f3->m_frame.f_lineno = 16;
    {
        PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
        tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
    }

    Py_DECREF( tmp_called_name_1 );
    if ( tmp_unused == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 16;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }
    Py_DECREF( tmp_unused );
    }
    {
    PyObject *tmp_assattr_name_1;
    PyObject *tmp_assattr_target_1;
    if ( par_encoding == NULL )
    {

        exception_type = PyExc_UnboundLocalError;
        Py_INCREF( exception_type );
        exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoding" );
        exception_tb = NULL;
        NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
        CHAIN_EXCEPTION( exception_value );

        exception_lineno = 17;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }

    tmp_assattr_name_1 = par_encoding;
    if ( par_self == NULL )
    {

        exception_type = PyExc_UnboundLocalError;
        Py_INCREF( exception_type );
        exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
        exception_tb = NULL;
        NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
        CHAIN_EXCEPTION( exception_value );

        exception_lineno = 17;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }

    tmp_assattr_target_1 = par_self;
    tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_encoding, tmp_assattr_name_1 );
    if ( tmp_result == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 17;
        type_description_1 = "ooo";
        goto frame_exception_exit_1;
    }
    }

#if 0
    RESTORE_FRAME_EXCEPTION( frame_2e6fa05ef6c8f3e1d8164fae905455f3 );
#endif

    // Put the previous frame back on top.
    popFrameStack();

    goto frame_no_exception_1;

    frame_exception_exit_1:;

#if 0
    RESTORE_FRAME_EXCEPTION( frame_2e6fa05ef6c8f3e1d8164fae905455f3 );
#endif

    if ( exception_tb == NULL )
    {
        exception_tb = MAKE_TRACEBACK( frame_2e6fa05ef6c8f3e1d8164fae905455f3, exception_lineno );
    }
    else if ( exception_tb->tb_frame != &frame_2e6fa05ef6c8f3e1d8164fae905455f3->m_frame )
    {
        exception_tb = ADD_TRACEBACK( exception_tb, frame_2e6fa05ef6c8f3e1d8164fae905455f3, exception_lineno );
    }

    // Attachs locals to frame if any.
    Nuitka_Frame_AttachLocals(
        (struct Nuitka_FrameObject *)frame_2e6fa05ef6c8f3e1d8164fae905455f3,
        type_description_1,
        par_self,
        par_source,
        par_encoding
    );


    // Release cached frame.
    if ( frame_2e6fa05ef6c8f3e1d8164fae905455f3 == cache_frame_2e6fa05ef6c8f3e1d8164fae905455f3 )
    {
        Py_DECREF( frame_2e6fa05ef6c8f3e1d8164fae905455f3 );
    }
    cache_frame_2e6fa05ef6c8f3e1d8164fae905455f3 = NULL;

    assertFrameObject( frame_2e6fa05ef6c8f3e1d8164fae905455f3 );

    // Put the previous frame back on top.
    popFrameStack();

    // Return the error.
    goto try_except_handler_1;

    frame_no_exception_1:;
    {
    tmp_return_value = Py_None;
    Py_INCREF( tmp_return_value );
    goto try_return_handler_1;
    }
    // tried codes exits in all cases
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset$$$function_1___init__ );
    return NULL;
    // Return handler code:
    try_return_handler_1:;
    {
    Py_XDECREF( par_self );
    par_self = NULL;

    }
    {
    Py_XDECREF( par_source );
    par_source = NULL;

    }
    {
    Py_XDECREF( par_encoding );
    par_encoding = NULL;

    }
    {
    goto function_return_exit;
    }
    // Exception handler code:
    try_except_handler_1:;
    exception_keeper_type_1 = exception_type;
    exception_keeper_value_1 = exception_value;
    exception_keeper_tb_1 = exception_tb;
    exception_keeper_lineno_1 = exception_lineno;
    exception_type = NULL;
    exception_value = NULL;
    exception_tb = NULL;
    exception_lineno = 0;

    {
    Py_XDECREF( par_self );
    par_self = NULL;

    }
    {
    Py_XDECREF( par_source );
    par_source = NULL;

    }
    {
    Py_XDECREF( par_encoding );
    par_encoding = NULL;

    }
    {
    // Re-raise.
    exception_type = exception_keeper_type_1;
    exception_value = exception_keeper_value_1;
    exception_tb = exception_keeper_tb_1;
    exception_lineno = exception_keeper_lineno_1;

    goto function_exception_exit;
    }
    // End of try:
    }

    // Return statement must have exited already.
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset$$$function_1___init__ );
    return NULL;

function_exception_exit:
    assert( exception_type );
    RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );

    return NULL;
function_return_exit:

CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;

}


static PyObject *impl_html5lib$filters$inject_meta_charset$$$function_2___iter__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
    // Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
    NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif

    // Local variable declarations.
    struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
    PyObject *tmp_return_value = NULL;

    // Actual function code.
    {
    // Tried code:
    {
    tmp_return_value = html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___maker();

    ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
    Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );


    goto try_return_handler_1;
    }
    // tried codes exits in all cases
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset$$$function_2___iter__ );
    return NULL;
    // Return handler code:
    try_return_handler_1:;
    {
    CHECK_OBJECT( (PyObject *)par_self );
    Py_DECREF( par_self );
    par_self = NULL;

    }
    {
    goto function_return_exit;
    }
    // End of try:
    }
    {
    CHECK_OBJECT( (PyObject *)par_self );
    Py_DECREF( par_self );
    par_self = NULL;

    }

    // Return statement must have exited already.
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset$$$function_2___iter__ );
    return NULL;

function_return_exit:

CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;

}



struct html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___locals {
    PyObject *var_state;
    PyObject *var_meta_found;
    PyObject *var_pending;
    PyObject *var_token;
    PyObject *var_type;
    PyObject *var_has_http_equiv_content_type;
    PyObject *var_namespace;
    PyObject *var_name;
    PyObject *var_value;
    PyObject *tmp_for_loop_1__for_iterator;
    PyObject *tmp_for_loop_1__iter_value;
    PyObject *tmp_for_loop_2__break_indicator;
    PyObject *tmp_for_loop_2__for_iterator;
    PyObject *tmp_for_loop_2__iter_value;
    PyObject *tmp_tuple_unpack_1__element_1;
    PyObject *tmp_tuple_unpack_1__element_2;
    PyObject *tmp_tuple_unpack_1__source_iter;
    PyObject *tmp_tuple_unpack_2__element_1;
    PyObject *tmp_tuple_unpack_2__element_2;
    PyObject *tmp_tuple_unpack_2__source_iter;
    char const *type_description_1;
    PyObject *exception_type;
    PyObject *exception_value;
    PyTracebackObject *exception_tb;
    int exception_lineno;
    int tmp_res;
    PyObject *exception_keeper_type_1;
    PyObject *exception_keeper_value_1;
    PyTracebackObject *exception_keeper_tb_1;
    int exception_keeper_lineno_1;
    PyObject *tmp_iterator_attempt;
    PyObject *exception_keeper_type_2;
    PyObject *exception_keeper_value_2;
    PyTracebackObject *exception_keeper_tb_2;
    int exception_keeper_lineno_2;
    PyObject *exception_keeper_type_3;
    PyObject *exception_keeper_value_3;
    PyTracebackObject *exception_keeper_tb_3;
    int exception_keeper_lineno_3;
    PyObject *exception_keeper_type_4;
    PyObject *exception_keeper_value_4;
    PyTracebackObject *exception_keeper_tb_4;
    int exception_keeper_lineno_4;
    PyObject *exception_keeper_type_5;
    PyObject *exception_keeper_value_5;
    PyTracebackObject *exception_keeper_tb_5;
    int exception_keeper_lineno_5;
    bool tmp_result;
    PyObject *exception_keeper_type_6;
    PyObject *exception_keeper_value_6;
    PyTracebackObject *exception_keeper_tb_6;
    int exception_keeper_lineno_6;
    PyObject *exception_keeper_type_7;
    PyObject *exception_keeper_value_7;
    PyTracebackObject *exception_keeper_tb_7;
    int exception_keeper_lineno_7;
    char yield_tmps[1024];
    PyObject *exception_keeper_type_8;
    PyObject *exception_keeper_value_8;
    PyTracebackObject *exception_keeper_tb_8;
    int exception_keeper_lineno_8;
    PyObject *exception_keeper_type_9;
    PyObject *exception_keeper_value_9;
    PyTracebackObject *exception_keeper_tb_9;
    int exception_keeper_lineno_9;
};

static PyObject *html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
{
    CHECK_OBJECT( (PyObject *)generator );
    assert( Nuitka_Generator_Check( (PyObject *)generator ) );

    // Heap access if used.
    struct html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___locals *generator_heap = (struct html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___locals *)generator->m_heap_storage;

    // Dispatch to yield based on return label index:
    switch(generator->m_yield_return_index) {
    case 7: goto yield_return_7;
    case 6: goto yield_return_6;
    case 5: goto yield_return_5;
    case 4: goto yield_return_4;
    case 3: goto yield_return_3;
    case 2: goto yield_return_2;
    case 1: goto yield_return_1;
    }

    // Local variable initialization
    NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
    static struct Nuitka_FrameObject *cache_m_frame = NULL;
    generator_heap->var_state = NULL;
    generator_heap->var_meta_found = NULL;
    generator_heap->var_pending = NULL;
    generator_heap->var_token = NULL;
    generator_heap->var_type = NULL;
    generator_heap->var_has_http_equiv_content_type = NULL;
    generator_heap->var_namespace = NULL;
    generator_heap->var_name = NULL;
    generator_heap->var_value = NULL;
    generator_heap->tmp_for_loop_1__for_iterator = NULL;
    generator_heap->tmp_for_loop_1__iter_value = NULL;
    generator_heap->tmp_for_loop_2__break_indicator = NULL;
    generator_heap->tmp_for_loop_2__for_iterator = NULL;
    generator_heap->tmp_for_loop_2__iter_value = NULL;
    generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
    generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
    generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
    generator_heap->tmp_tuple_unpack_2__element_1 = NULL;
    generator_heap->tmp_tuple_unpack_2__element_2 = NULL;
    generator_heap->tmp_tuple_unpack_2__source_iter = NULL;
    generator_heap->type_description_1 = NULL;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    // Actual function code.
    {
    PyObject *tmp_assign_source_1;
    tmp_assign_source_1 = const_str_plain_pre_head;
    assert( generator_heap->var_state == NULL );
    Py_INCREF( tmp_assign_source_1 );
    generator_heap->var_state = tmp_assign_source_1;

    }
    {
    // Tried code:
    MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_14e72087e7756a11b5a4c06c7085fca4, module_html5lib$filters$inject_meta_charset, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
    generator->m_frame = cache_m_frame;

    // Mark the frame object as in use, ref count 1 will be up for reuse.
    Py_INCREF( generator->m_frame );
    assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack

#if PYTHON_VERSION >= 340
    generator->m_frame->m_frame.f_gen = (PyObject *)generator;
#endif

    Py_CLEAR( generator->m_frame->m_frame.f_back );

    generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
    Py_INCREF( generator->m_frame->m_frame.f_back );

    PyThreadState_GET()->frame = &generator->m_frame->m_frame;
    Py_INCREF( generator->m_frame );

    Nuitka_Frame_MarkAsExecuting( generator->m_frame );

#if PYTHON_VERSION >= 300
    // Accept currently existing exception as the one to publish again when we
    // yield or yield from.
    {
        PyThreadState *thread_state = PyThreadState_GET();

#if PYTHON_VERSION < 370
        generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
    if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
        Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
    generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
        Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
    generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
        Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
#else
        generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
        if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
        Py_XINCREF( generator->m_exc_state.exc_type );
        generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
        Py_XINCREF( generator->m_exc_state.exc_value );
        generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
        Py_XINCREF( generator->m_exc_state.exc_traceback );
#endif
    }

#endif

    // Framed code:
    {
    PyObject *tmp_assign_source_2;
    PyObject *tmp_compexpr_left_1;
    PyObject *tmp_compexpr_right_1;
    PyObject *tmp_source_name_1;
    if ( PyCell_GET( generator->m_closure[0] ) == NULL )
    {

        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 21;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }

    tmp_source_name_1 = PyCell_GET( generator->m_closure[0] );
    tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encoding );
    if ( tmp_compexpr_left_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 21;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }
    tmp_compexpr_right_1 = Py_None;
    tmp_assign_source_2 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? Py_True : Py_False;
    Py_DECREF( tmp_compexpr_left_1 );
    assert( generator_heap->var_meta_found == NULL );
    Py_INCREF( tmp_assign_source_2 );
    generator_heap->var_meta_found = tmp_assign_source_2;

    }
    {
    PyObject *tmp_assign_source_3;
    tmp_assign_source_3 = PyList_New( 0 );
    assert( generator_heap->var_pending == NULL );
    generator_heap->var_pending = tmp_assign_source_3;

    }
    {
    PyObject *tmp_assign_source_4;
    PyObject *tmp_iter_arg_1;
    PyObject *tmp_called_name_1;
    PyObject *tmp_source_name_2;
    PyObject *tmp_source_name_3;
    PyObject *tmp_mvar_value_1;
    PyObject *tmp_args_element_name_1;
    tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_base );

    if (unlikely( tmp_mvar_value_1 == NULL ))
    {
        tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base );
    }

    if ( tmp_mvar_value_1 == NULL )
    {

        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }

    tmp_source_name_3 = tmp_mvar_value_1;
    tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_Filter );
    if ( tmp_source_name_2 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }
    tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___iter__ );
    Py_DECREF( tmp_source_name_2 );
    if ( tmp_called_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }
    if ( PyCell_GET( generator->m_closure[0] ) == NULL )
    {
        Py_DECREF( tmp_called_name_1 );
        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }

    tmp_args_element_name_1 = PyCell_GET( generator->m_closure[0] );
    generator->m_frame->m_frame.f_lineno = 24;
    {
        PyObject *call_args[] = { tmp_args_element_name_1 };
        tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
    }

    Py_DECREF( tmp_called_name_1 );
    if ( tmp_iter_arg_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }
    tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_1 );
    Py_DECREF( tmp_iter_arg_1 );
    if ( tmp_assign_source_4 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto frame_exception_exit_1;
    }
    assert( generator_heap->tmp_for_loop_1__for_iterator == NULL );
    generator_heap->tmp_for_loop_1__for_iterator = tmp_assign_source_4;

    }
    {
    // Tried code:
    {
    loop_start_1:;
    {
    PyObject *tmp_next_source_1;
    PyObject *tmp_assign_source_5;
    CHECK_OBJECT( generator_heap->tmp_for_loop_1__for_iterator );
    tmp_next_source_1 = generator_heap->tmp_for_loop_1__for_iterator;
    tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_1 );
    if ( tmp_assign_source_5 == NULL )
    {
        if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
        {

            goto loop_end_1;
        }
        else
        {

            FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
            generator_heap->type_description_1 = "cooooooooo";
            generator_heap->exception_lineno = 24;
            goto try_except_handler_2;
        }
    }

    {
        PyObject *old = generator_heap->tmp_for_loop_1__iter_value;
        generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_5;
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_assign_source_6;
    CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value );
    tmp_assign_source_6 = generator_heap->tmp_for_loop_1__iter_value;
    {
        PyObject *old = generator_heap->var_token;
        generator_heap->var_token = tmp_assign_source_6;
        Py_INCREF( generator_heap->var_token );
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_assign_source_7;
    PyObject *tmp_subscribed_name_1;
    PyObject *tmp_subscript_name_1;
    CHECK_OBJECT( generator_heap->var_token );
    tmp_subscribed_name_1 = generator_heap->var_token;
    tmp_subscript_name_1 = const_str_plain_type;
    tmp_assign_source_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
    if ( tmp_assign_source_7 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 25;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    {
        PyObject *old = generator_heap->var_type;
        generator_heap->var_type = tmp_assign_source_7;
        Py_XDECREF( old );
    }

    }
    {
    nuitka_bool tmp_condition_result_1;
    PyObject *tmp_compexpr_left_2;
    PyObject *tmp_compexpr_right_2;
    CHECK_OBJECT( generator_heap->var_type );
    tmp_compexpr_left_2 = generator_heap->var_type;
    tmp_compexpr_right_2 = const_str_plain_StartTag;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 26;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_1 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_1;
    }
    else
    {
        goto branch_no_1;
    }
    branch_yes_1:;
    {
    nuitka_bool tmp_condition_result_2;
    PyObject *tmp_compexpr_left_3;
    PyObject *tmp_compexpr_right_3;
    PyObject *tmp_called_instance_1;
    PyObject *tmp_subscribed_name_2;
    PyObject *tmp_subscript_name_2;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 27;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_subscribed_name_2 = generator_heap->var_token;
    tmp_subscript_name_2 = const_str_plain_name;
    tmp_called_instance_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
    if ( tmp_called_instance_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 27;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    generator->m_frame->m_frame.f_lineno = 27;
    tmp_compexpr_left_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower );
    Py_DECREF( tmp_called_instance_1 );
    if ( tmp_compexpr_left_3 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 27;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_compexpr_right_3 = const_str_plain_head;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
    Py_DECREF( tmp_compexpr_left_3 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 27;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_2 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_2;
    }
    else
    {
        goto branch_no_2;
    }
    branch_yes_2:;
    {
    PyObject *tmp_assign_source_8;
    tmp_assign_source_8 = const_str_plain_in_head;
    {
        PyObject *old = generator_heap->var_state;
        generator_heap->var_state = tmp_assign_source_8;
        Py_INCREF( generator_heap->var_state );
        Py_XDECREF( old );
    }

    }
    branch_no_2:;
    }
    goto branch_end_1;
    branch_no_1:;
    {
    nuitka_bool tmp_condition_result_3;
    PyObject *tmp_compexpr_left_4;
    PyObject *tmp_compexpr_right_4;
    if ( generator_heap->var_type == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 30;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_compexpr_left_4 = generator_heap->var_type;
    tmp_compexpr_right_4 = const_str_plain_EmptyTag;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 30;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_3 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_3;
    }
    else
    {
        goto branch_no_3;
    }
    branch_yes_3:;
    {
    nuitka_bool tmp_condition_result_4;
    PyObject *tmp_compexpr_left_5;
    PyObject *tmp_compexpr_right_5;
    PyObject *tmp_called_instance_2;
    PyObject *tmp_subscribed_name_3;
    PyObject *tmp_subscript_name_3;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 31;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_subscribed_name_3 = generator_heap->var_token;
    tmp_subscript_name_3 = const_str_plain_name;
    tmp_called_instance_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
    if ( tmp_called_instance_2 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 31;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    generator->m_frame->m_frame.f_lineno = 31;
    tmp_compexpr_left_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_lower );
    Py_DECREF( tmp_called_instance_2 );
    if ( tmp_compexpr_left_5 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 31;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_compexpr_right_5 = const_str_plain_meta;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_5, tmp_compexpr_right_5 );
    Py_DECREF( tmp_compexpr_left_5 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 31;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_4 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_4;
    }
    else
    {
        goto branch_no_4;
    }
    branch_yes_4:;
    {
    PyObject *tmp_assign_source_9;
    tmp_assign_source_9 = Py_False;
    {
        PyObject *old = generator_heap->var_has_http_equiv_content_type;
        generator_heap->var_has_http_equiv_content_type = tmp_assign_source_9;
        Py_INCREF( generator_heap->var_has_http_equiv_content_type );
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_assign_source_10;
    tmp_assign_source_10 = Py_False;
    {
        PyObject *old = generator_heap->tmp_for_loop_2__break_indicator;
        generator_heap->tmp_for_loop_2__break_indicator = tmp_assign_source_10;
        Py_INCREF( generator_heap->tmp_for_loop_2__break_indicator );
        Py_XDECREF( old );
    }

    }
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_11;
    PyObject *tmp_iter_arg_2;
    PyObject *tmp_called_instance_3;
    PyObject *tmp_subscribed_name_4;
    PyObject *tmp_subscript_name_4;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }

    tmp_subscribed_name_4 = generator_heap->var_token;
    tmp_subscript_name_4 = const_str_plain_data;
    tmp_called_instance_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 );
    if ( tmp_called_instance_3 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    generator->m_frame->m_frame.f_lineno = 34;
    tmp_iter_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_items );
    Py_DECREF( tmp_called_instance_3 );
    if ( tmp_iter_arg_2 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    tmp_assign_source_11 = MAKE_ITERATOR( tmp_iter_arg_2 );
    Py_DECREF( tmp_iter_arg_2 );
    if ( tmp_assign_source_11 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    {
        PyObject *old = generator_heap->tmp_for_loop_2__for_iterator;
        generator_heap->tmp_for_loop_2__for_iterator = tmp_assign_source_11;
        Py_XDECREF( old );
    }

    }
    {
    // Tried code:
    {
    loop_start_2:;
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_12;
    PyObject *tmp_value_name_1;
    CHECK_OBJECT( generator_heap->tmp_for_loop_2__for_iterator );
    tmp_value_name_1 = generator_heap->tmp_for_loop_2__for_iterator;
    tmp_assign_source_12 = ITERATOR_NEXT( tmp_value_name_1 );
    if ( tmp_assign_source_12 == NULL )
    {
        if ( !ERROR_OCCURRED() )
        {
            generator_heap->exception_type = PyExc_StopIteration;
            Py_INCREF( generator_heap->exception_type );
            generator_heap->exception_value = NULL;
            generator_heap->exception_tb = NULL;
        }
        else
        {
            FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        }


        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_5;
    }
    {
        PyObject *old = generator_heap->tmp_for_loop_2__iter_value;
        generator_heap->tmp_for_loop_2__iter_value = tmp_assign_source_12;
        Py_XDECREF( old );
    }

    }
    goto try_end_1;
    // Exception handler code:
    try_except_handler_5:;
    generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    nuitka_bool tmp_condition_result_5;
    PyObject *tmp_compexpr_left_6;
    PyObject *tmp_compexpr_right_6;
    tmp_compexpr_left_6 = generator_heap->exception_keeper_type_1;
    tmp_compexpr_right_6 = PyExc_StopIteration;
    generator_heap->tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_6, tmp_compexpr_right_6 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );

        Py_DECREF( generator_heap->exception_keeper_type_1 );
        Py_XDECREF( generator_heap->exception_keeper_value_1 );
        Py_XDECREF( generator_heap->exception_keeper_tb_1 );

        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    tmp_condition_result_5 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_5;
    }
    else
    {
        goto branch_no_5;
    }
    branch_yes_5:;
    {
    PyObject *tmp_assign_source_13;
    tmp_assign_source_13 = Py_True;
    {
        PyObject *old = generator_heap->tmp_for_loop_2__break_indicator;
        assert( old != NULL );
        generator_heap->tmp_for_loop_2__break_indicator = tmp_assign_source_13;
        Py_INCREF( generator_heap->tmp_for_loop_2__break_indicator );
        Py_DECREF( old );
    }

    }
    {
    Py_DECREF( generator_heap->exception_keeper_type_1 );
    Py_XDECREF( generator_heap->exception_keeper_value_1 );
    Py_XDECREF( generator_heap->exception_keeper_tb_1 );
    goto loop_end_2;
    }
    goto branch_end_5;
    branch_no_5:;
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_1;
    generator_heap->exception_value = generator_heap->exception_keeper_value_1;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;

    goto try_except_handler_4;
    }
    branch_end_5:;
    }
    // End of try:
    try_end_1:;
    }
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_14;
    PyObject *tmp_iter_arg_3;
    CHECK_OBJECT( generator_heap->tmp_for_loop_2__iter_value );
    tmp_iter_arg_3 = generator_heap->tmp_for_loop_2__iter_value;
    tmp_assign_source_14 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 );
    if ( tmp_assign_source_14 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_6;
    }
    {
        PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter;
        generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_14;
        Py_XDECREF( old );
    }

    }
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_15;
    PyObject *tmp_unpack_1;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter );
    tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
    tmp_assign_source_15 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
    if ( tmp_assign_source_15 == NULL )
    {
        if ( !ERROR_OCCURRED() )
        {
            generator_heap->exception_type = PyExc_StopIteration;
            Py_INCREF( generator_heap->exception_type );
            generator_heap->exception_value = NULL;
            generator_heap->exception_tb = NULL;
        }
        else
        {
            FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        }


        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_7;
    }
    {
        PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1;
        generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_15;
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_assign_source_16;
    PyObject *tmp_unpack_2;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter );
    tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter;
    tmp_assign_source_16 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
    if ( tmp_assign_source_16 == NULL )
    {
        if ( !ERROR_OCCURRED() )
        {
            generator_heap->exception_type = PyExc_StopIteration;
            Py_INCREF( generator_heap->exception_type );
            generator_heap->exception_value = NULL;
            generator_heap->exception_tb = NULL;
        }
        else
        {
            FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        }


        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_7;
    }
    {
        PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2;
        generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_16;
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_iterator_name_1;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter );
    tmp_iterator_name_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
    // Check if iterator has left-over elements.
    CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );

    generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );

    if (likely( generator_heap->tmp_iterator_attempt == NULL ))
    {
        PyObject *error = GET_ERROR_OCCURRED();

        if ( error != NULL )
        {
            if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
            {
                CLEAR_ERROR_OCCURRED();
            }
            else
            {
                FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );

                generator_heap->type_description_1 = "cooooooooo";
                generator_heap->exception_lineno = 34;
                goto try_except_handler_7;
            }
        }
    }
    else
    {
        Py_DECREF( generator_heap->tmp_iterator_attempt );

        // TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
        PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
        PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );

        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_7;
    }
    }
    goto try_end_2;
    // Exception handler code:
    try_except_handler_7:;
    generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter );
    Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter );
    generator_heap->tmp_tuple_unpack_1__source_iter = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_2;
    generator_heap->exception_value = generator_heap->exception_keeper_value_2;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;

    goto try_except_handler_6;
    }
    // End of try:
    try_end_2:;
    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter );
    Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter );
    generator_heap->tmp_tuple_unpack_1__source_iter = NULL;

    }
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_17;
    PyObject *tmp_iter_arg_4;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_1 );
    tmp_iter_arg_4 = generator_heap->tmp_tuple_unpack_1__element_1;
    tmp_assign_source_17 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 );
    if ( tmp_assign_source_17 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_8;
    }
    {
        PyObject *old = generator_heap->tmp_tuple_unpack_2__source_iter;
        generator_heap->tmp_tuple_unpack_2__source_iter = tmp_assign_source_17;
        Py_XDECREF( old );
    }

    }
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_18;
    PyObject *tmp_unpack_3;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__source_iter );
    tmp_unpack_3 = generator_heap->tmp_tuple_unpack_2__source_iter;
    tmp_assign_source_18 = UNPACK_NEXT( tmp_unpack_3, 0, 2 );
    if ( tmp_assign_source_18 == NULL )
    {
        if ( !ERROR_OCCURRED() )
        {
            generator_heap->exception_type = PyExc_StopIteration;
            Py_INCREF( generator_heap->exception_type );
            generator_heap->exception_value = NULL;
            generator_heap->exception_tb = NULL;
        }
        else
        {
            FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        }


        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_9;
    }
    {
        PyObject *old = generator_heap->tmp_tuple_unpack_2__element_1;
        generator_heap->tmp_tuple_unpack_2__element_1 = tmp_assign_source_18;
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_assign_source_19;
    PyObject *tmp_unpack_4;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__source_iter );
    tmp_unpack_4 = generator_heap->tmp_tuple_unpack_2__source_iter;
    tmp_assign_source_19 = UNPACK_NEXT( tmp_unpack_4, 1, 2 );
    if ( tmp_assign_source_19 == NULL )
    {
        if ( !ERROR_OCCURRED() )
        {
            generator_heap->exception_type = PyExc_StopIteration;
            Py_INCREF( generator_heap->exception_type );
            generator_heap->exception_value = NULL;
            generator_heap->exception_tb = NULL;
        }
        else
        {
            FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        }


        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_9;
    }
    {
        PyObject *old = generator_heap->tmp_tuple_unpack_2__element_2;
        generator_heap->tmp_tuple_unpack_2__element_2 = tmp_assign_source_19;
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_iterator_name_2;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__source_iter );
    tmp_iterator_name_2 = generator_heap->tmp_tuple_unpack_2__source_iter;
    // Check if iterator has left-over elements.
    CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) );

    generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 );

    if (likely( generator_heap->tmp_iterator_attempt == NULL ))
    {
        PyObject *error = GET_ERROR_OCCURRED();

        if ( error != NULL )
        {
            if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
            {
                CLEAR_ERROR_OCCURRED();
            }
            else
            {
                FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );

                generator_heap->type_description_1 = "cooooooooo";
                generator_heap->exception_lineno = 34;
                goto try_except_handler_9;
            }
        }
    }
    else
    {
        Py_DECREF( generator_heap->tmp_iterator_attempt );

        // TODO: Could avoid PyErr_Format.
#if PYTHON_VERSION < 300
        PyErr_Format( PyExc_ValueError, "too many values to unpack" );
#else
        PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
#endif
        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );

        generator_heap->type_description_1 = "cooooooooo";
        generator_heap->exception_lineno = 34;
        goto try_except_handler_9;
    }
    }
    goto try_end_3;
    // Exception handler code:
    try_except_handler_9:;
    generator_heap->exception_keeper_type_3 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_3 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_2__source_iter );
    Py_DECREF( generator_heap->tmp_tuple_unpack_2__source_iter );
    generator_heap->tmp_tuple_unpack_2__source_iter = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_3;
    generator_heap->exception_value = generator_heap->exception_keeper_value_3;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_3;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3;

    goto try_except_handler_8;
    }
    // End of try:
    try_end_3:;
    }
    goto try_end_4;
    // Exception handler code:
    try_except_handler_8:;
    generator_heap->exception_keeper_type_4 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_4 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_1 );
    generator_heap->tmp_tuple_unpack_2__element_1 = NULL;

    }
    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_2 );
    generator_heap->tmp_tuple_unpack_2__element_2 = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_4;
    generator_heap->exception_value = generator_heap->exception_keeper_value_4;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_4;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4;

    goto try_except_handler_6;
    }
    // End of try:
    try_end_4:;
    }
    goto try_end_5;
    // Exception handler code:
    try_except_handler_6:;
    generator_heap->exception_keeper_type_5 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_5 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_5 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_5 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 );
    generator_heap->tmp_tuple_unpack_1__element_1 = NULL;

    }
    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 );
    generator_heap->tmp_tuple_unpack_1__element_2 = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_5;
    generator_heap->exception_value = generator_heap->exception_keeper_value_5;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_5;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_5;

    goto try_except_handler_4;
    }
    // End of try:
    try_end_5:;
    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_2__source_iter );
    Py_DECREF( generator_heap->tmp_tuple_unpack_2__source_iter );
    generator_heap->tmp_tuple_unpack_2__source_iter = NULL;

    }
    {
    PyObject *tmp_assign_source_20;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__element_1 );
    tmp_assign_source_20 = generator_heap->tmp_tuple_unpack_2__element_1;
    {
        PyObject *old = generator_heap->var_namespace;
        generator_heap->var_namespace = tmp_assign_source_20;
        Py_INCREF( generator_heap->var_namespace );
        Py_XDECREF( old );
    }

    }
    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_1 );
    generator_heap->tmp_tuple_unpack_2__element_1 = NULL;

    }
    {
    PyObject *tmp_assign_source_21;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_2__element_2 );
    tmp_assign_source_21 = generator_heap->tmp_tuple_unpack_2__element_2;
    {
        PyObject *old = generator_heap->var_name;
        generator_heap->var_name = tmp_assign_source_21;
        Py_INCREF( generator_heap->var_name );
        Py_XDECREF( old );
    }

    }
    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_2__element_2 );
    generator_heap->tmp_tuple_unpack_2__element_2 = NULL;

    }
    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 );
    generator_heap->tmp_tuple_unpack_1__element_1 = NULL;

    }
    {
    PyObject *tmp_assign_source_22;
    CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_2 );
    tmp_assign_source_22 = generator_heap->tmp_tuple_unpack_1__element_2;
    {
        PyObject *old = generator_heap->var_value;
        generator_heap->var_value = tmp_assign_source_22;
        Py_INCREF( generator_heap->var_value );
        Py_XDECREF( old );
    }

    }
    {
    Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 );
    generator_heap->tmp_tuple_unpack_1__element_2 = NULL;

    }
    {
    nuitka_bool tmp_condition_result_6;
    PyObject *tmp_compexpr_left_7;
    PyObject *tmp_compexpr_right_7;
    if ( generator_heap->var_namespace == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 35;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_compexpr_left_7 = generator_heap->var_namespace;
    tmp_compexpr_right_7 = Py_None;
    tmp_condition_result_6 = ( tmp_compexpr_left_7 != tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_6;
    }
    else
    {
        goto branch_no_6;
    }
    branch_yes_6:;
    {
    goto loop_start_2;
    }
    goto branch_end_6;
    branch_no_6:;
    {
    nuitka_bool tmp_condition_result_7;
    PyObject *tmp_compexpr_left_8;
    PyObject *tmp_compexpr_right_8;
    PyObject *tmp_called_instance_4;
    if ( generator_heap->var_name == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 37;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_called_instance_4 = generator_heap->var_name;
    generator->m_frame->m_frame.f_lineno = 37;
    tmp_compexpr_left_8 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_lower );
    if ( tmp_compexpr_left_8 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 37;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    tmp_compexpr_right_8 = const_str_plain_charset;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_8, tmp_compexpr_right_8 );
    Py_DECREF( tmp_compexpr_left_8 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 37;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    tmp_condition_result_7 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_7;
    }
    else
    {
        goto branch_no_7;
    }
    branch_yes_7:;
    {
    PyObject *tmp_ass_subvalue_1;
    PyObject *tmp_source_name_4;
    PyObject *tmp_ass_subscribed_1;
    PyObject *tmp_subscribed_name_5;
    PyObject *tmp_subscript_name_5;
    PyObject *tmp_ass_subscript_1;
    PyObject *tmp_tuple_element_1;
    if ( PyCell_GET( generator->m_closure[0] ) == NULL )
    {

        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_source_name_4 = PyCell_GET( generator->m_closure[0] );
    tmp_ass_subvalue_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_encoding );
    if ( tmp_ass_subvalue_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    if ( generator_heap->var_token == NULL )
    {
        Py_DECREF( tmp_ass_subvalue_1 );
        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_subscribed_name_5 = generator_heap->var_token;
    tmp_subscript_name_5 = const_str_plain_data;
    tmp_ass_subscribed_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_5, tmp_subscript_name_5 );
    if ( tmp_ass_subscribed_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        Py_DECREF( tmp_ass_subvalue_1 );

        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    if ( generator_heap->var_namespace == NULL )
    {
        Py_DECREF( tmp_ass_subvalue_1 );
        Py_DECREF( tmp_ass_subscribed_1 );
        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_tuple_element_1 = generator_heap->var_namespace;
    tmp_ass_subscript_1 = PyTuple_New( 2 );
    Py_INCREF( tmp_tuple_element_1 );
    PyTuple_SET_ITEM( tmp_ass_subscript_1, 0, tmp_tuple_element_1 );
    if ( generator_heap->var_name == NULL )
    {
        Py_DECREF( tmp_ass_subvalue_1 );
        Py_DECREF( tmp_ass_subscribed_1 );
        Py_DECREF( tmp_ass_subscript_1 );
        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_tuple_element_1 = generator_heap->var_name;
    Py_INCREF( tmp_tuple_element_1 );
    PyTuple_SET_ITEM( tmp_ass_subscript_1, 1, tmp_tuple_element_1 );
    generator_heap->tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
    Py_DECREF( tmp_ass_subscribed_1 );
    Py_DECREF( tmp_ass_subscript_1 );
    Py_DECREF( tmp_ass_subvalue_1 );
    if ( generator_heap->tmp_result == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 38;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    }
    {
    PyObject *tmp_assign_source_23;
    tmp_assign_source_23 = Py_True;
    {
        PyObject *old = generator_heap->var_meta_found;
        generator_heap->var_meta_found = tmp_assign_source_23;
        Py_INCREF( generator_heap->var_meta_found );
        Py_XDECREF( old );
    }

    }
    {
    goto loop_end_2;
    }
    goto branch_end_7;
    branch_no_7:;
    {
    nuitka_bool tmp_condition_result_8;
    int tmp_and_left_truth_1;
    nuitka_bool tmp_and_left_value_1;
    nuitka_bool tmp_and_right_value_1;
    PyObject *tmp_compexpr_left_9;
    PyObject *tmp_compexpr_right_9;
    PyObject *tmp_compexpr_left_10;
    PyObject *tmp_compexpr_right_10;
    PyObject *tmp_called_instance_5;
    if ( generator_heap->var_name == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 41;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_compexpr_left_9 = generator_heap->var_name;
    tmp_compexpr_right_9 = const_str_digest_d7782fffe22a56213578220c4d288bbd;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_9, tmp_compexpr_right_9 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 41;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    tmp_and_left_value_1 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
    if ( tmp_and_left_truth_1 == 1 )
    {
        goto and_right_1;
    }
    else
    {
        goto and_left_1;
    }
    and_right_1:;
    if ( generator_heap->var_value == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 41;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }

    tmp_called_instance_5 = generator_heap->var_value;
    generator->m_frame->m_frame.f_lineno = 41;
    tmp_compexpr_left_10 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_lower );
    if ( tmp_compexpr_left_10 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 41;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    tmp_compexpr_right_10 = const_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_10, tmp_compexpr_right_10 );
    Py_DECREF( tmp_compexpr_left_10 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 41;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    tmp_and_right_value_1 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_condition_result_8 = tmp_and_right_value_1;
    goto and_end_1;
    and_left_1:;
    tmp_condition_result_8 = tmp_and_left_value_1;
    and_end_1:;
    if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_8;
    }
    else
    {
        goto branch_no_8;
    }
    branch_yes_8:;
    {
    PyObject *tmp_assign_source_24;
    tmp_assign_source_24 = Py_True;
    {
        PyObject *old = generator_heap->var_has_http_equiv_content_type;
        generator_heap->var_has_http_equiv_content_type = tmp_assign_source_24;
        Py_INCREF( generator_heap->var_has_http_equiv_content_type );
        Py_XDECREF( old );
    }

    }
    branch_no_8:;
    }
    branch_end_7:;
    }
    branch_end_6:;
    }
    if ( CONSIDER_THREADING() == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 34;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_4;
    }
    goto loop_start_2;
    loop_end_2:;
    }
    goto try_end_6;
    // Exception handler code:
    try_except_handler_4:;
    generator_heap->exception_keeper_type_6 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_6 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_6 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_6 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    Py_XDECREF( generator_heap->tmp_for_loop_2__iter_value );
    generator_heap->tmp_for_loop_2__iter_value = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__for_iterator );
    Py_DECREF( generator_heap->tmp_for_loop_2__for_iterator );
    generator_heap->tmp_for_loop_2__for_iterator = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_6;
    generator_heap->exception_value = generator_heap->exception_keeper_value_6;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_6;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_6;

    goto try_except_handler_3;
    }
    // End of try:
    try_end_6:;
    }
    {
    Py_XDECREF( generator_heap->tmp_for_loop_2__iter_value );
    generator_heap->tmp_for_loop_2__iter_value = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__for_iterator );
    Py_DECREF( generator_heap->tmp_for_loop_2__for_iterator );
    generator_heap->tmp_for_loop_2__for_iterator = NULL;

    }
    {
    nuitka_bool tmp_condition_result_9;
    PyObject *tmp_compexpr_left_11;
    PyObject *tmp_compexpr_right_11;
    CHECK_OBJECT( generator_heap->tmp_for_loop_2__break_indicator );
    tmp_compexpr_left_11 = generator_heap->tmp_for_loop_2__break_indicator;
    tmp_compexpr_right_11 = Py_True;
    tmp_condition_result_9 = ( tmp_compexpr_left_11 == tmp_compexpr_right_11 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_9;
    }
    else
    {
        goto branch_no_9;
    }
    branch_yes_9:;
    {
    nuitka_bool tmp_condition_result_10;
    int tmp_and_left_truth_2;
    nuitka_bool tmp_and_left_value_2;
    nuitka_bool tmp_and_right_value_2;
    int tmp_truth_name_1;
    PyObject *tmp_compexpr_left_12;
    PyObject *tmp_compexpr_right_12;
    PyObject *tmp_subscribed_name_6;
    PyObject *tmp_subscript_name_6;
    if ( generator_heap->var_has_http_equiv_content_type == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "has_http_equiv_content_type" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 44;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }

    tmp_truth_name_1 = CHECK_IF_TRUE( generator_heap->var_has_http_equiv_content_type );
    if ( tmp_truth_name_1 == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 44;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    tmp_and_left_value_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
    if ( tmp_and_left_truth_2 == 1 )
    {
        goto and_right_2;
    }
    else
    {
        goto and_left_2;
    }
    and_right_2:;
    tmp_compexpr_left_12 = const_tuple_none_str_plain_content_tuple;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 44;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }

    tmp_subscribed_name_6 = generator_heap->var_token;
    tmp_subscript_name_6 = const_str_plain_data;
    tmp_compexpr_right_12 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_6, tmp_subscript_name_6 );
    if ( tmp_compexpr_right_12 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 44;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_12, tmp_compexpr_left_12 );
    Py_DECREF( tmp_compexpr_right_12 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 44;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    tmp_and_right_value_2 = ( generator_heap->tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_condition_result_10 = tmp_and_right_value_2;
    goto and_end_2;
    and_left_2:;
    tmp_condition_result_10 = tmp_and_left_value_2;
    and_end_2:;
    if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_10;
    }
    else
    {
        goto branch_no_10;
    }
    branch_yes_10:;
    {
    PyObject *tmp_ass_subvalue_2;
    PyObject *tmp_left_name_1;
    PyObject *tmp_right_name_1;
    PyObject *tmp_source_name_5;
    PyObject *tmp_ass_subscribed_2;
    PyObject *tmp_subscribed_name_7;
    PyObject *tmp_subscript_name_7;
    PyObject *tmp_ass_subscript_2;
    tmp_left_name_1 = const_str_digest_3d8ecf5e960186e135aaf716052308dd;
    if ( PyCell_GET( generator->m_closure[0] ) == NULL )
    {

        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 45;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }

    tmp_source_name_5 = PyCell_GET( generator->m_closure[0] );
    tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_encoding );
    if ( tmp_right_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 45;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    tmp_ass_subvalue_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
    Py_DECREF( tmp_right_name_1 );
    if ( tmp_ass_subvalue_2 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 45;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    if ( generator_heap->var_token == NULL )
    {
        Py_DECREF( tmp_ass_subvalue_2 );
        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 45;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }

    tmp_subscribed_name_7 = generator_heap->var_token;
    tmp_subscript_name_7 = const_str_plain_data;
    tmp_ass_subscribed_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_7, tmp_subscript_name_7 );
    if ( tmp_ass_subscribed_2 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        Py_DECREF( tmp_ass_subvalue_2 );

        generator_heap->exception_lineno = 45;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    tmp_ass_subscript_2 = const_tuple_none_str_plain_content_tuple;
    generator_heap->tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 );
    Py_DECREF( tmp_ass_subscribed_2 );
    Py_DECREF( tmp_ass_subvalue_2 );
    if ( generator_heap->tmp_result == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 45;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_3;
    }
    }
    {
    PyObject *tmp_assign_source_25;
    tmp_assign_source_25 = Py_True;
    {
        PyObject *old = generator_heap->var_meta_found;
        generator_heap->var_meta_found = tmp_assign_source_25;
        Py_INCREF( generator_heap->var_meta_found );
        Py_XDECREF( old );
    }

    }
    branch_no_10:;
    }
    branch_no_9:;
    }
    goto try_end_7;
    // Exception handler code:
    try_except_handler_3:;
    generator_heap->exception_keeper_type_7 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_7 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_7 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_7 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    Py_XDECREF( generator_heap->tmp_for_loop_2__break_indicator );
    generator_heap->tmp_for_loop_2__break_indicator = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_7;
    generator_heap->exception_value = generator_heap->exception_keeper_value_7;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_7;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_7;

    goto try_except_handler_2;
    }
    // End of try:
    try_end_7:;
    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__break_indicator );
    Py_DECREF( generator_heap->tmp_for_loop_2__break_indicator );
    generator_heap->tmp_for_loop_2__break_indicator = NULL;

    }
    goto branch_end_4;
    branch_no_4:;
    {
    nuitka_bool tmp_condition_result_11;
    int tmp_and_left_truth_3;
    nuitka_bool tmp_and_left_value_3;
    nuitka_bool tmp_and_right_value_3;
    PyObject *tmp_compexpr_left_13;
    PyObject *tmp_compexpr_right_13;
    PyObject *tmp_called_instance_6;
    PyObject *tmp_subscribed_name_8;
    PyObject *tmp_subscript_name_8;
    PyObject *tmp_operand_name_1;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 48;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_subscribed_name_8 = generator_heap->var_token;
    tmp_subscript_name_8 = const_str_plain_name;
    tmp_called_instance_6 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_8, tmp_subscript_name_8 );
    if ( tmp_called_instance_6 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 48;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    generator->m_frame->m_frame.f_lineno = 48;
    tmp_compexpr_left_13 = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_lower );
    Py_DECREF( tmp_called_instance_6 );
    if ( tmp_compexpr_left_13 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 48;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_compexpr_right_13 = const_str_plain_head;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_13, tmp_compexpr_right_13 );
    Py_DECREF( tmp_compexpr_left_13 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 48;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_and_left_value_3 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
    if ( tmp_and_left_truth_3 == 1 )
    {
        goto and_right_3;
    }
    else
    {
        goto and_left_3;
    }
    and_right_3:;
    if ( generator_heap->var_meta_found == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "meta_found" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 48;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_operand_name_1 = generator_heap->var_meta_found;
    generator_heap->tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 48;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_and_right_value_3 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_condition_result_11 = tmp_and_right_value_3;
    goto and_end_3;
    and_left_3:;
    tmp_condition_result_11 = tmp_and_left_value_3;
    and_end_3:;
    if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_11;
    }
    else
    {
        goto branch_no_11;
    }
    branch_yes_11:;
    {
    PyObject *tmp_expression_name_1;
    PyObject *tmp_dict_key_1;
    PyObject *tmp_dict_value_1;
    PyObject *tmp_dict_key_2;
    PyObject *tmp_dict_value_2;
    PyObject *tmp_dict_key_3;
    PyObject *tmp_dict_value_3;
    PyObject *tmp_subscribed_name_9;
    PyObject *tmp_subscript_name_9;
    tmp_dict_key_1 = const_str_plain_type;
    tmp_dict_value_1 = const_str_plain_StartTag;
    tmp_expression_name_1 = _PyDict_NewPresized( 3 );
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_1, tmp_dict_key_1, tmp_dict_value_1 );
    assert( !(generator_heap->tmp_res != 0) );
    tmp_dict_key_2 = const_str_plain_name;
    tmp_dict_value_2 = const_str_plain_head;
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_1, tmp_dict_key_2, tmp_dict_value_2 );
    assert( !(generator_heap->tmp_res != 0) );
    tmp_dict_key_3 = const_str_plain_data;
    if ( generator_heap->var_token == NULL )
    {
        Py_DECREF( tmp_expression_name_1 );
        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 51;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_subscribed_name_9 = generator_heap->var_token;
    tmp_subscript_name_9 = const_str_plain_data;
    tmp_dict_value_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_9, tmp_subscript_name_9 );
    if ( tmp_dict_value_3 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        Py_DECREF( tmp_expression_name_1 );

        generator_heap->exception_lineno = 51;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_1, tmp_dict_key_3, tmp_dict_value_3 );
    Py_DECREF( tmp_dict_value_3 );
    assert( !(generator_heap->tmp_res != 0) );
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_4, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_called_instance_2, sizeof(PyObject *), &tmp_subscribed_name_3, sizeof(PyObject *), &tmp_subscript_name_3, sizeof(PyObject *), &tmp_condition_result_11, sizeof(nuitka_bool), &tmp_and_left_truth_3, sizeof(int), &tmp_and_left_value_3, sizeof(nuitka_bool), &tmp_and_right_value_3, sizeof(nuitka_bool), &tmp_compexpr_left_13, sizeof(PyObject *), &tmp_compexpr_right_13, sizeof(PyObject *), &tmp_called_instance_6, sizeof(PyObject *), &tmp_subscribed_name_8, sizeof(PyObject *), &tmp_subscript_name_8, sizeof(PyObject *), &tmp_operand_name_1, sizeof(PyObject *), &tmp_dict_key_1, sizeof(PyObject *), &tmp_dict_value_1, sizeof(PyObject *), &tmp_dict_key_2, sizeof(PyObject *), &tmp_dict_value_2, sizeof(PyObject *), &tmp_dict_key_3, sizeof(PyObject *), &tmp_dict_value_3, sizeof(PyObject *), &tmp_subscribed_name_9, sizeof(PyObject *), &tmp_subscript_name_9, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 1;
    return tmp_expression_name_1;
    yield_return_1:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_4, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_called_instance_2, sizeof(PyObject *), &tmp_subscribed_name_3, sizeof(PyObject *), &tmp_subscript_name_3, sizeof(PyObject *), &tmp_condition_result_11, sizeof(nuitka_bool), &tmp_and_left_truth_3, sizeof(int), &tmp_and_left_value_3, sizeof(nuitka_bool), &tmp_and_right_value_3, sizeof(nuitka_bool), &tmp_compexpr_left_13, sizeof(PyObject *), &tmp_compexpr_right_13, sizeof(PyObject *), &tmp_called_instance_6, sizeof(PyObject *), &tmp_subscribed_name_8, sizeof(PyObject *), &tmp_subscript_name_8, sizeof(PyObject *), &tmp_operand_name_1, sizeof(PyObject *), &tmp_dict_key_1, sizeof(PyObject *), &tmp_dict_value_1, sizeof(PyObject *), &tmp_dict_key_2, sizeof(PyObject *), &tmp_dict_value_2, sizeof(PyObject *), &tmp_dict_key_3, sizeof(PyObject *), &tmp_dict_value_3, sizeof(PyObject *), &tmp_subscribed_name_9, sizeof(PyObject *), &tmp_subscript_name_9, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 50;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    {
    PyObject *tmp_expression_name_2;
    PyObject *tmp_dict_key_4;
    PyObject *tmp_dict_value_4;
    PyObject *tmp_dict_key_5;
    PyObject *tmp_dict_value_5;
    PyObject *tmp_dict_key_6;
    PyObject *tmp_dict_value_6;
    PyObject *tmp_dict_key_7;
    PyObject *tmp_dict_value_7;
    PyObject *tmp_source_name_6;
    tmp_dict_key_4 = const_str_plain_type;
    tmp_dict_value_4 = const_str_plain_EmptyTag;
    tmp_expression_name_2 = _PyDict_NewPresized( 3 );
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_2, tmp_dict_key_4, tmp_dict_value_4 );
    assert( !(generator_heap->tmp_res != 0) );
    tmp_dict_key_5 = const_str_plain_name;
    tmp_dict_value_5 = const_str_plain_meta;
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_2, tmp_dict_key_5, tmp_dict_value_5 );
    assert( !(generator_heap->tmp_res != 0) );
    tmp_dict_key_6 = const_str_plain_data;
    tmp_dict_key_7 = const_tuple_none_str_plain_charset_tuple;
    if ( PyCell_GET( generator->m_closure[0] ) == NULL )
    {
        Py_DECREF( tmp_expression_name_2 );
        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 53;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_source_name_6 = PyCell_GET( generator->m_closure[0] );
    tmp_dict_value_7 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_encoding );
    if ( tmp_dict_value_7 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        Py_DECREF( tmp_expression_name_2 );

        generator_heap->exception_lineno = 53;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_dict_value_6 = _PyDict_NewPresized( 1 );
    generator_heap->tmp_res = PyDict_SetItem( tmp_dict_value_6, tmp_dict_key_7, tmp_dict_value_7 );
    Py_DECREF( tmp_dict_value_7 );
    assert( !(generator_heap->tmp_res != 0) );
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_2, tmp_dict_key_6, tmp_dict_value_6 );
    Py_DECREF( tmp_dict_value_6 );
    assert( !(generator_heap->tmp_res != 0) );
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_4, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_called_instance_2, sizeof(PyObject *), &tmp_subscribed_name_3, sizeof(PyObject *), &tmp_subscript_name_3, sizeof(PyObject *), &tmp_condition_result_11, sizeof(nuitka_bool), &tmp_and_left_truth_3, sizeof(int), &tmp_and_left_value_3, sizeof(nuitka_bool), &tmp_and_right_value_3, sizeof(nuitka_bool), &tmp_compexpr_left_13, sizeof(PyObject *), &tmp_compexpr_right_13, sizeof(PyObject *), &tmp_called_instance_6, sizeof(PyObject *), &tmp_subscribed_name_8, sizeof(PyObject *), &tmp_subscript_name_8, sizeof(PyObject *), &tmp_operand_name_1, sizeof(PyObject *), &tmp_dict_key_4, sizeof(PyObject *), &tmp_dict_value_4, sizeof(PyObject *), &tmp_dict_key_5, sizeof(PyObject *), &tmp_dict_value_5, sizeof(PyObject *), &tmp_dict_key_6, sizeof(PyObject *), &tmp_dict_value_6, sizeof(PyObject *), &tmp_dict_key_7, sizeof(PyObject *), &tmp_dict_value_7, sizeof(PyObject *), &tmp_source_name_6, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 2;
    return tmp_expression_name_2;
    yield_return_2:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_4, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_called_instance_2, sizeof(PyObject *), &tmp_subscribed_name_3, sizeof(PyObject *), &tmp_subscript_name_3, sizeof(PyObject *), &tmp_condition_result_11, sizeof(nuitka_bool), &tmp_and_left_truth_3, sizeof(int), &tmp_and_left_value_3, sizeof(nuitka_bool), &tmp_and_right_value_3, sizeof(nuitka_bool), &tmp_compexpr_left_13, sizeof(PyObject *), &tmp_compexpr_right_13, sizeof(PyObject *), &tmp_called_instance_6, sizeof(PyObject *), &tmp_subscribed_name_8, sizeof(PyObject *), &tmp_subscript_name_8, sizeof(PyObject *), &tmp_operand_name_1, sizeof(PyObject *), &tmp_dict_key_4, sizeof(PyObject *), &tmp_dict_value_4, sizeof(PyObject *), &tmp_dict_key_5, sizeof(PyObject *), &tmp_dict_value_5, sizeof(PyObject *), &tmp_dict_key_6, sizeof(PyObject *), &tmp_dict_value_6, sizeof(PyObject *), &tmp_dict_key_7, sizeof(PyObject *), &tmp_dict_value_7, sizeof(PyObject *), &tmp_source_name_6, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 52;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    {
    PyObject *tmp_expression_name_3;
    tmp_expression_name_3 = PyDict_Copy( const_dict_983e873bc6e3472b758f67c39027e214 );
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_4, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_called_instance_2, sizeof(PyObject *), &tmp_subscribed_name_3, sizeof(PyObject *), &tmp_subscript_name_3, sizeof(PyObject *), &tmp_condition_result_11, sizeof(nuitka_bool), &tmp_and_left_truth_3, sizeof(int), &tmp_and_left_value_3, sizeof(nuitka_bool), &tmp_and_right_value_3, sizeof(nuitka_bool), &tmp_compexpr_left_13, sizeof(PyObject *), &tmp_compexpr_right_13, sizeof(PyObject *), &tmp_called_instance_6, sizeof(PyObject *), &tmp_subscribed_name_8, sizeof(PyObject *), &tmp_subscript_name_8, sizeof(PyObject *), &tmp_operand_name_1, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 3;
    return tmp_expression_name_3;
    yield_return_3:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_4, sizeof(nuitka_bool), &tmp_compexpr_left_5, sizeof(PyObject *), &tmp_compexpr_right_5, sizeof(PyObject *), &tmp_called_instance_2, sizeof(PyObject *), &tmp_subscribed_name_3, sizeof(PyObject *), &tmp_subscript_name_3, sizeof(PyObject *), &tmp_condition_result_11, sizeof(nuitka_bool), &tmp_and_left_truth_3, sizeof(int), &tmp_and_left_value_3, sizeof(nuitka_bool), &tmp_and_right_value_3, sizeof(nuitka_bool), &tmp_compexpr_left_13, sizeof(PyObject *), &tmp_compexpr_right_13, sizeof(PyObject *), &tmp_called_instance_6, sizeof(PyObject *), &tmp_subscribed_name_8, sizeof(PyObject *), &tmp_subscript_name_8, sizeof(PyObject *), &tmp_operand_name_1, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 54;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    {
    PyObject *tmp_assign_source_26;
    tmp_assign_source_26 = Py_True;
    {
        PyObject *old = generator_heap->var_meta_found;
        generator_heap->var_meta_found = tmp_assign_source_26;
        Py_INCREF( generator_heap->var_meta_found );
        Py_XDECREF( old );
    }

    }
    {
    goto loop_start_1;
    }
    branch_no_11:;
    }
    branch_end_4:;
    }
    goto branch_end_3;
    branch_no_3:;
    {
    nuitka_bool tmp_condition_result_12;
    PyObject *tmp_compexpr_left_14;
    PyObject *tmp_compexpr_right_14;
    if ( generator_heap->var_type == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 58;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_compexpr_left_14 = generator_heap->var_type;
    tmp_compexpr_right_14 = const_str_plain_EndTag;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_14, tmp_compexpr_right_14 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 58;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_12 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_12;
    }
    else
    {
        goto branch_no_12;
    }
    branch_yes_12:;
    {
    nuitka_bool tmp_condition_result_13;
    int tmp_and_left_truth_4;
    nuitka_bool tmp_and_left_value_4;
    nuitka_bool tmp_and_right_value_4;
    PyObject *tmp_compexpr_left_15;
    PyObject *tmp_compexpr_right_15;
    PyObject *tmp_called_instance_7;
    PyObject *tmp_subscribed_name_10;
    PyObject *tmp_subscript_name_10;
    int tmp_truth_name_2;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 59;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_subscribed_name_10 = generator_heap->var_token;
    tmp_subscript_name_10 = const_str_plain_name;
    tmp_called_instance_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_10, tmp_subscript_name_10 );
    if ( tmp_called_instance_7 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 59;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    generator->m_frame->m_frame.f_lineno = 59;
    tmp_compexpr_left_15 = CALL_METHOD_NO_ARGS( tmp_called_instance_7, const_str_plain_lower );
    Py_DECREF( tmp_called_instance_7 );
    if ( tmp_compexpr_left_15 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 59;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_compexpr_right_15 = const_str_plain_head;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_15, tmp_compexpr_right_15 );
    Py_DECREF( tmp_compexpr_left_15 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 59;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_and_left_value_4 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_and_left_truth_4 = tmp_and_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0;
    if ( tmp_and_left_truth_4 == 1 )
    {
        goto and_right_4;
    }
    else
    {
        goto and_left_4;
    }
    and_right_4:;
    if ( generator_heap->var_pending == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pending" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 59;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_truth_name_2 = CHECK_IF_TRUE( generator_heap->var_pending );
    if ( tmp_truth_name_2 == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 59;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_and_right_value_4 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    tmp_condition_result_13 = tmp_and_right_value_4;
    goto and_end_4;
    and_left_4:;
    tmp_condition_result_13 = tmp_and_left_value_4;
    and_end_4:;
    if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_13;
    }
    else
    {
        goto branch_no_13;
    }
    branch_yes_13:;
    {
    PyObject *tmp_expression_name_4;
    PyObject *tmp_called_instance_8;
    if ( generator_heap->var_pending == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pending" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 61;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_called_instance_8 = generator_heap->var_pending;
    generator->m_frame->m_frame.f_lineno = 61;
    tmp_expression_name_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_8, const_str_plain_pop, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) );

    if ( tmp_expression_name_4 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 61;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_14, sizeof(PyObject *), &tmp_compexpr_right_14, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_15, sizeof(PyObject *), &tmp_compexpr_right_15, sizeof(PyObject *), &tmp_called_instance_7, sizeof(PyObject *), &tmp_subscribed_name_10, sizeof(PyObject *), &tmp_subscript_name_10, sizeof(PyObject *), &tmp_truth_name_2, sizeof(int), &tmp_called_instance_8, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 4;
    return tmp_expression_name_4;
    yield_return_4:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_14, sizeof(PyObject *), &tmp_compexpr_right_14, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_15, sizeof(PyObject *), &tmp_compexpr_right_15, sizeof(PyObject *), &tmp_called_instance_7, sizeof(PyObject *), &tmp_subscribed_name_10, sizeof(PyObject *), &tmp_subscript_name_10, sizeof(PyObject *), &tmp_truth_name_2, sizeof(int), &tmp_called_instance_8, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 61;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    {
    nuitka_bool tmp_condition_result_14;
    PyObject *tmp_operand_name_2;
    if ( generator_heap->var_meta_found == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "meta_found" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 62;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_operand_name_2 = generator_heap->var_meta_found;
    generator_heap->tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 62;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_14 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_14;
    }
    else
    {
        goto branch_no_14;
    }
    branch_yes_14:;
    {
    PyObject *tmp_expression_name_5;
    PyObject *tmp_dict_key_8;
    PyObject *tmp_dict_value_8;
    PyObject *tmp_dict_key_9;
    PyObject *tmp_dict_value_9;
    PyObject *tmp_dict_key_10;
    PyObject *tmp_dict_value_10;
    PyObject *tmp_dict_key_11;
    PyObject *tmp_dict_value_11;
    PyObject *tmp_source_name_7;
    tmp_dict_key_8 = const_str_plain_type;
    tmp_dict_value_8 = const_str_plain_EmptyTag;
    tmp_expression_name_5 = _PyDict_NewPresized( 3 );
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_5, tmp_dict_key_8, tmp_dict_value_8 );
    assert( !(generator_heap->tmp_res != 0) );
    tmp_dict_key_9 = const_str_plain_name;
    tmp_dict_value_9 = const_str_plain_meta;
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_5, tmp_dict_key_9, tmp_dict_value_9 );
    assert( !(generator_heap->tmp_res != 0) );
    tmp_dict_key_10 = const_str_plain_data;
    tmp_dict_key_11 = const_tuple_none_str_plain_charset_tuple;
    if ( PyCell_GET( generator->m_closure[0] ) == NULL )
    {
        Py_DECREF( tmp_expression_name_5 );
        generator_heap->exception_type = PyExc_NameError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 64;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_source_name_7 = PyCell_GET( generator->m_closure[0] );
    tmp_dict_value_11 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_encoding );
    if ( tmp_dict_value_11 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        Py_DECREF( tmp_expression_name_5 );

        generator_heap->exception_lineno = 64;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_dict_value_10 = _PyDict_NewPresized( 1 );
    generator_heap->tmp_res = PyDict_SetItem( tmp_dict_value_10, tmp_dict_key_11, tmp_dict_value_11 );
    Py_DECREF( tmp_dict_value_11 );
    assert( !(generator_heap->tmp_res != 0) );
    generator_heap->tmp_res = PyDict_SetItem( tmp_expression_name_5, tmp_dict_key_10, tmp_dict_value_10 );
    Py_DECREF( tmp_dict_value_10 );
    assert( !(generator_heap->tmp_res != 0) );
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_14, sizeof(PyObject *), &tmp_compexpr_right_14, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_15, sizeof(PyObject *), &tmp_compexpr_right_15, sizeof(PyObject *), &tmp_called_instance_7, sizeof(PyObject *), &tmp_subscribed_name_10, sizeof(PyObject *), &tmp_subscript_name_10, sizeof(PyObject *), &tmp_truth_name_2, sizeof(int), &tmp_condition_result_14, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_dict_key_8, sizeof(PyObject *), &tmp_dict_value_8, sizeof(PyObject *), &tmp_dict_key_9, sizeof(PyObject *), &tmp_dict_value_9, sizeof(PyObject *), &tmp_dict_key_10, sizeof(PyObject *), &tmp_dict_value_10, sizeof(PyObject *), &tmp_dict_key_11, sizeof(PyObject *), &tmp_dict_value_11, sizeof(PyObject *), &tmp_source_name_7, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 5;
    return tmp_expression_name_5;
    yield_return_5:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_14, sizeof(PyObject *), &tmp_compexpr_right_14, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_15, sizeof(PyObject *), &tmp_compexpr_right_15, sizeof(PyObject *), &tmp_called_instance_7, sizeof(PyObject *), &tmp_subscribed_name_10, sizeof(PyObject *), &tmp_subscript_name_10, sizeof(PyObject *), &tmp_truth_name_2, sizeof(int), &tmp_condition_result_14, sizeof(nuitka_bool), &tmp_operand_name_2, sizeof(PyObject *), &tmp_dict_key_8, sizeof(PyObject *), &tmp_dict_value_8, sizeof(PyObject *), &tmp_dict_key_9, sizeof(PyObject *), &tmp_dict_value_9, sizeof(PyObject *), &tmp_dict_key_10, sizeof(PyObject *), &tmp_dict_value_10, sizeof(PyObject *), &tmp_dict_key_11, sizeof(PyObject *), &tmp_dict_value_11, sizeof(PyObject *), &tmp_source_name_7, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 63;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    branch_no_14:;
    }
    {
    loop_start_3:;
    {
    nuitka_bool tmp_condition_result_15;
    PyObject *tmp_operand_name_3;
    if ( generator_heap->var_pending == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pending" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 65;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_operand_name_3 = generator_heap->var_pending;
    generator_heap->tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 65;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_15 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_15;
    }
    else
    {
        goto branch_no_15;
    }
    branch_yes_15:;
    {
    goto loop_end_3;
    }
    branch_no_15:;
    }
    {
    PyObject *tmp_expression_name_6;
    PyObject *tmp_called_instance_9;
    if ( generator_heap->var_pending == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pending" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 66;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_called_instance_9 = generator_heap->var_pending;
    generator->m_frame->m_frame.f_lineno = 66;
    tmp_expression_name_6 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_9, const_str_plain_pop, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) );

    if ( tmp_expression_name_6 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 66;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_14, sizeof(PyObject *), &tmp_compexpr_right_14, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_15, sizeof(PyObject *), &tmp_compexpr_right_15, sizeof(PyObject *), &tmp_called_instance_7, sizeof(PyObject *), &tmp_subscribed_name_10, sizeof(PyObject *), &tmp_subscript_name_10, sizeof(PyObject *), &tmp_truth_name_2, sizeof(int), &tmp_called_instance_9, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 6;
    return tmp_expression_name_6;
    yield_return_6:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_condition_result_12, sizeof(nuitka_bool), &tmp_compexpr_left_14, sizeof(PyObject *), &tmp_compexpr_right_14, sizeof(PyObject *), &tmp_condition_result_13, sizeof(nuitka_bool), &tmp_and_left_truth_4, sizeof(int), &tmp_and_left_value_4, sizeof(nuitka_bool), &tmp_and_right_value_4, sizeof(nuitka_bool), &tmp_compexpr_left_15, sizeof(PyObject *), &tmp_compexpr_right_15, sizeof(PyObject *), &tmp_called_instance_7, sizeof(PyObject *), &tmp_subscribed_name_10, sizeof(PyObject *), &tmp_subscript_name_10, sizeof(PyObject *), &tmp_truth_name_2, sizeof(int), &tmp_called_instance_9, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 66;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    if ( CONSIDER_THREADING() == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 65;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    goto loop_start_3;
    loop_end_3:;
    }
    {
    PyObject *tmp_assign_source_27;
    tmp_assign_source_27 = Py_True;
    {
        PyObject *old = generator_heap->var_meta_found;
        generator_heap->var_meta_found = tmp_assign_source_27;
        Py_INCREF( generator_heap->var_meta_found );
        Py_XDECREF( old );
    }

    }
    {
    PyObject *tmp_assign_source_28;
    tmp_assign_source_28 = const_str_plain_post_head;
    {
        PyObject *old = generator_heap->var_state;
        generator_heap->var_state = tmp_assign_source_28;
        Py_INCREF( generator_heap->var_state );
        Py_XDECREF( old );
    }

    }
    branch_no_13:;
    }
    branch_no_12:;
    }
    branch_end_3:;
    }
    branch_end_1:;
    }
    {
    nuitka_bool tmp_condition_result_16;
    PyObject *tmp_compexpr_left_16;
    PyObject *tmp_compexpr_right_16;
    if ( generator_heap->var_state == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "state" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 70;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_compexpr_left_16 = generator_heap->var_state;
    tmp_compexpr_right_16 = const_str_plain_in_head;
    generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_16, tmp_compexpr_right_16 );
    if ( generator_heap->tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 70;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_condition_result_16 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_16;
    }
    else
    {
        goto branch_no_16;
    }
    branch_yes_16:;
    {
    PyObject *tmp_called_name_2;
    PyObject *tmp_source_name_8;
    PyObject *tmp_args_element_name_2;
    if ( generator_heap->var_pending == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pending" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 71;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_source_name_8 = generator_heap->var_pending;
    tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_append );
    if ( tmp_called_name_2 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 71;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    if ( generator_heap->var_token == NULL )
    {
        Py_DECREF( tmp_called_name_2 );
        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 71;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_args_element_name_2 = generator_heap->var_token;
    generator->m_frame->m_frame.f_lineno = 71;
    {
        PyObject *call_args[] = { tmp_args_element_name_2 };
        tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
    }

    Py_DECREF( tmp_called_name_2 );
    if ( tmp_unused == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 71;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    Py_DECREF( tmp_unused );
    }
    goto branch_end_16;
    branch_no_16:;
    {
    PyObject *tmp_expression_name_7;
    if ( generator_heap->var_token == NULL )
    {

        generator_heap->exception_type = PyExc_UnboundLocalError;
        Py_INCREF( generator_heap->exception_type );
        generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" );
        generator_heap->exception_tb = NULL;
        NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
        CHAIN_EXCEPTION( generator_heap->exception_value );

        generator_heap->exception_lineno = 73;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }

    tmp_expression_name_7 = generator_heap->var_token;
    Py_INCREF( tmp_expression_name_7 );
    Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_16, sizeof(nuitka_bool), &tmp_compexpr_left_16, sizeof(PyObject *), &tmp_compexpr_right_16, sizeof(PyObject *), NULL );
    generator->m_yield_return_index = 7;
    return tmp_expression_name_7;
    yield_return_7:
    Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_16, sizeof(nuitka_bool), &tmp_compexpr_left_16, sizeof(PyObject *), &tmp_compexpr_right_16, sizeof(PyObject *), NULL );
    if ( yield_return_value == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 73;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    tmp_unused = yield_return_value;
    }
    branch_end_16:;
    }
    if ( CONSIDER_THREADING() == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );


        generator_heap->exception_lineno = 24;
        generator_heap->type_description_1 = "cooooooooo";
        goto try_except_handler_2;
    }
    goto loop_start_1;
    loop_end_1:;
    }
    goto try_end_8;
    // Exception handler code:
    try_except_handler_2:;
    generator_heap->exception_keeper_type_8 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_8 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_8 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_8 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value );
    generator_heap->tmp_for_loop_1__iter_value = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator );
    Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator );
    generator_heap->tmp_for_loop_1__for_iterator = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_8;
    generator_heap->exception_value = generator_heap->exception_keeper_value_8;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_8;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_8;

    goto frame_exception_exit_1;
    }
    // End of try:
    try_end_8:;
    }

    Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );

#if PYTHON_VERSION >= 370
    Py_CLEAR( generator->m_exc_state.exc_type );
    Py_CLEAR( generator->m_exc_state.exc_value );
    Py_CLEAR( generator->m_exc_state.exc_traceback );
#elif PYTHON_VERSION >= 300
    Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
    Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
    Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
#endif

    // Allow re-use of the frame again.
    Py_DECREF( generator->m_frame );
    goto frame_no_exception_1;

    frame_exception_exit_1:;

    // If it's not an exit exception, consider and create a traceback for it.
    if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
    {
        if ( generator_heap->exception_tb == NULL )
        {
            generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
        }
        else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
        {
            generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
        }

        Nuitka_Frame_AttachLocals(
            (struct Nuitka_FrameObject *)generator->m_frame,
            generator_heap->type_description_1,
            generator->m_closure[0],
            generator_heap->var_state,
            generator_heap->var_meta_found,
            generator_heap->var_pending,
            generator_heap->var_token,
            generator_heap->var_type,
            generator_heap->var_has_http_equiv_content_type,
            generator_heap->var_namespace,
            generator_heap->var_name,
            generator_heap->var_value
        );


        // Release cached frame.
        if ( generator->m_frame == cache_m_frame )
        {
            Py_DECREF( generator->m_frame );
        }
        cache_m_frame = NULL;

        assertFrameObject( generator->m_frame );
    }

#if PYTHON_VERSION >= 370
    Py_CLEAR( generator->m_exc_state.exc_type );
    Py_CLEAR( generator->m_exc_state.exc_value );
    Py_CLEAR( generator->m_exc_state.exc_traceback );
#elif PYTHON_VERSION >= 300
    Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
    Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
    Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
#endif

    Py_DECREF( generator->m_frame );

    // Return the error.
    goto try_except_handler_1;

    frame_no_exception_1:;
    goto try_end_9;
    // Exception handler code:
    try_except_handler_1:;
    generator_heap->exception_keeper_type_9 = generator_heap->exception_type;
    generator_heap->exception_keeper_value_9 = generator_heap->exception_value;
    generator_heap->exception_keeper_tb_9 = generator_heap->exception_tb;
    generator_heap->exception_keeper_lineno_9 = generator_heap->exception_lineno;
    generator_heap->exception_type = NULL;
    generator_heap->exception_value = NULL;
    generator_heap->exception_tb = NULL;
    generator_heap->exception_lineno = 0;

    {
    Py_XDECREF( generator_heap->var_state );
    generator_heap->var_state = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_meta_found );
    generator_heap->var_meta_found = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_pending );
    generator_heap->var_pending = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_token );
    generator_heap->var_token = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_type );
    generator_heap->var_type = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_has_http_equiv_content_type );
    generator_heap->var_has_http_equiv_content_type = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_namespace );
    generator_heap->var_namespace = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_name );
    generator_heap->var_name = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_value );
    generator_heap->var_value = NULL;

    }
    {
    // Re-raise.
    generator_heap->exception_type = generator_heap->exception_keeper_type_9;
    generator_heap->exception_value = generator_heap->exception_keeper_value_9;
    generator_heap->exception_tb = generator_heap->exception_keeper_tb_9;
    generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_9;

    goto function_exception_exit;
    }
    // End of try:
    try_end_9:;
    }
    {
    Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value );
    generator_heap->tmp_for_loop_1__iter_value = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator );
    Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator );
    generator_heap->tmp_for_loop_1__for_iterator = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_state );
    generator_heap->var_state = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_meta_found );
    generator_heap->var_meta_found = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_pending );
    generator_heap->var_pending = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_token );
    generator_heap->var_token = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_type );
    generator_heap->var_type = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_has_http_equiv_content_type );
    generator_heap->var_has_http_equiv_content_type = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_namespace );
    generator_heap->var_namespace = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_name );
    generator_heap->var_name = NULL;

    }
    {
    Py_XDECREF( generator_heap->var_value );
    generator_heap->var_value = NULL;

    }


    return NULL;

    function_exception_exit:
    assert( generator_heap->exception_type );
    RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );

    return NULL;

}

static PyObject *html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___maker( void )
{
    return Nuitka_Generator_New(
        html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___context,
        module_html5lib$filters$inject_meta_charset,
        const_str_plain___iter__,
#if PYTHON_VERSION >= 350
        const_str_digest_d36ae9b750313709c035038320832426,
#endif
        codeobj_14e72087e7756a11b5a4c06c7085fca4,
        1,
        sizeof(struct html5lib$filters$inject_meta_charset$$$function_2___iter__$$$genobj_1___iter___locals)
    );
}



static PyObject *MAKE_FUNCTION_html5lib$filters$inject_meta_charset$$$function_1___init__(  )
{
    struct Nuitka_FunctionObject *result = Nuitka_Function_New(
        impl_html5lib$filters$inject_meta_charset$$$function_1___init__,
        const_str_plain___init__,
#if PYTHON_VERSION >= 300
        const_str_digest_8415e104b3f453e0ca424724427a294a,
#endif
        codeobj_2e6fa05ef6c8f3e1d8164fae905455f3,
        NULL,
#if PYTHON_VERSION >= 300
        NULL,
        NULL,
#endif
        module_html5lib$filters$inject_meta_charset,
        const_str_digest_442fd9d2cf00024a55091f50c671e35a,
        0
    );

    return (PyObject *)result;
}



static PyObject *MAKE_FUNCTION_html5lib$filters$inject_meta_charset$$$function_2___iter__(  )
{
    struct Nuitka_FunctionObject *result = Nuitka_Function_New(
        impl_html5lib$filters$inject_meta_charset$$$function_2___iter__,
        const_str_plain___iter__,
#if PYTHON_VERSION >= 300
        const_str_digest_d36ae9b750313709c035038320832426,
#endif
        codeobj_14e72087e7756a11b5a4c06c7085fca4,
        NULL,
#if PYTHON_VERSION >= 300
        NULL,
        NULL,
#endif
        module_html5lib$filters$inject_meta_charset,
        NULL,
        0
    );

    return (PyObject *)result;
}



#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_html5lib$filters$inject_meta_charset =
{
    PyModuleDef_HEAD_INIT,
    "html5lib.filters.inject_meta_charset",   /* m_name */
    NULL,                /* m_doc */
    -1,                  /* m_size */
    NULL,                /* m_methods */
    NULL,                /* m_reload */
    NULL,                /* m_traverse */
    NULL,                /* m_clear */
    NULL,                /* m_free */
  };
#endif

extern PyObject *const_str_plain___package__;

#if PYTHON_VERSION >= 300
extern PyObject *const_str_dot;

extern PyObject *const_str_plain___loader__;
extern PyObject *metapath_based_loader;
#endif

#if PYTHON_VERSION >= 340
extern PyObject *const_str_plain___spec__;
extern PyObject *const_str_plain__initializing;
#endif

extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
#if PYTHON_VERSION >= 350
extern void _initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
extern void _initCompiledAsyncgenTypes();
#endif

// The exported interface to CPython. On import of the module, this function
// gets called. It has to have an exact function name, in cases it's a shared
// library export. This is hidden behind the MOD_INIT_DECL.

MOD_INIT_DECL( html5lib$filters$inject_meta_charset )
{
#if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300
    static bool _init_done = false;

    // Modules might be imported repeatedly, which is to be ignored.
    if ( _init_done )
    {
        return MOD_RETURN_VALUE( module_html5lib$filters$inject_meta_charset );
    }
    else
    {
        _init_done = true;
    }
#endif

#ifdef _NUITKA_MODULE
    // In case of a stand alone extension module, need to call initialization
    // the init here because that's the first and only time we are going to get
    // called here.

    // Initialize the constant values used.
    _initBuiltinModule();
    createGlobalConstants();

    /* Initialize the compiled types of Nuitka. */
    _initCompiledCellType();
    _initCompiledGeneratorType();
    _initCompiledFunctionType();
    _initCompiledMethodType();
    _initCompiledFrameType();
#if PYTHON_VERSION >= 350
    _initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
    _initCompiledAsyncgenTypes();
#endif

#if PYTHON_VERSION < 300
    _initSlotCompare();
#endif
#if PYTHON_VERSION >= 270
    _initSlotIternext();
#endif

    patchBuiltinModule();
    patchTypeComparison();

    // Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
    puts("html5lib.filters.inject_meta_charset: Calling setupMetaPathBasedLoader().");
#endif
    setupMetaPathBasedLoader();

#if PYTHON_VERSION >= 300
    patchInspectModule();
#endif

#endif

    /* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
    puts("html5lib.filters.inject_meta_charset: Calling createModuleConstants().");
#endif
    createModuleConstants();

    /* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
    puts("html5lib.filters.inject_meta_charset: Calling createModuleCodeObjects().");
#endif
    createModuleCodeObjects();

    // puts( "in inithtml5lib$filters$inject_meta_charset" );

    // Create the module object first. There are no methods initially, all are
    // added dynamically in actual code only.  Also no "__doc__" is initially
    // set at this time, as it could not contain NUL characters this way, they
    // are instead set in early module code.  No "self" for modules, we have no
    // use for it.
#if PYTHON_VERSION < 300
    module_html5lib$filters$inject_meta_charset = Py_InitModule4(
        "html5lib.filters.inject_meta_charset",       // Module Name
        NULL,                    // No methods initially, all are added
                                 // dynamically in actual module code only.
        NULL,                    // No "__doc__" is initially set, as it could
                                 // not contain NUL this way, added early in
                                 // actual code.
        NULL,                    // No self for modules, we don't use it.
        PYTHON_API_VERSION
    );
#else

    module_html5lib$filters$inject_meta_charset = PyModule_Create( &mdef_html5lib$filters$inject_meta_charset );
#endif

    moduledict_html5lib$filters$inject_meta_charset = MODULE_DICT( module_html5lib$filters$inject_meta_charset );

    // Update "__package__" value to what it ought to be.
    {
#if 0
        PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___name__ );

        UPDATE_STRING_DICT1(
            moduledict_html5lib$filters$inject_meta_charset,
            (Nuitka_StringObject *)const_str_plain___package__,
            module_name
        );

#else

#if PYTHON_VERSION < 300
        PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___name__ );
        char const *module_name_cstr = PyString_AS_STRING( module_name );

        char const *last_dot = strrchr( module_name_cstr, '.' );

        if ( last_dot != NULL )
        {
            UPDATE_STRING_DICT1(
                moduledict_html5lib$filters$inject_meta_charset,
                (Nuitka_StringObject *)const_str_plain___package__,
                PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr )
            );
        }
#else
        PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___name__ );
        Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 );

        if ( dot_index != -1 )
        {
            UPDATE_STRING_DICT1(
                moduledict_html5lib$filters$inject_meta_charset,
                (Nuitka_StringObject *)const_str_plain___package__,
                PyUnicode_Substring( module_name, 0, dot_index )
            );
        }
#endif
#endif
    }

    CHECK_OBJECT( module_html5lib$filters$inject_meta_charset );

// Seems to work for Python2.7 out of the box, but for Python3, the module
// doesn't automatically enter "sys.modules", so do it manually.
#if PYTHON_VERSION >= 300
    {
        int r = PyObject_SetItem( PySys_GetObject( (char *)"modules" ), const_str_digest_24c64d789599e17133e21c2224c3d764, module_html5lib$filters$inject_meta_charset );

        assert( r != -1 );
    }
#endif

    // For deep importing of a module we need to have "__builtins__", so we set
    // it ourselves in the same way than CPython does. Note: This must be done
    // before the frame object is allocated, or else it may fail.

    if ( GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL )
    {
        PyObject *value = (PyObject *)builtin_module;

        // Check if main module, not a dict then but the module itself.
#if !defined(_NUITKA_EXE) || !0
        value = PyModule_GetDict( value );
#endif

        UPDATE_STRING_DICT0( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___builtins__, value );
    }

#if PYTHON_VERSION >= 300
    UPDATE_STRING_DICT0( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif

#if PYTHON_VERSION >= 340
#if 0
    UPDATE_STRING_DICT0( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___spec__, Py_None );
#else
    {
        PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap");
        CHECK_OBJECT( bootstrap_module );
        PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" );
        Py_DECREF( bootstrap_module );

        PyObject *args[] = {
            GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___name__ ),
            metapath_based_loader
        };

        PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2(
            module_spec_class,
            args
        );

        SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True );

        UPDATE_STRING_DICT1( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );

        Py_DECREF( module_spec_class );
    }
#endif
#endif


    // Temp variables if any
    PyObject *outline_0_var___class__ = NULL;
    PyObject *tmp_class_creation_1__bases = NULL;
    PyObject *tmp_class_creation_1__bases_orig = NULL;
    PyObject *tmp_class_creation_1__class_decl_dict = NULL;
    PyObject *tmp_class_creation_1__metaclass = NULL;
    PyObject *tmp_class_creation_1__prepared = NULL;
    PyObject *tmp_import_from_1__module = NULL;
    struct Nuitka_FrameObject *frame_ea192add51eb3cc4bd39d139a1005096;
    NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
    PyObject *exception_type = NULL;
    PyObject *exception_value = NULL;
    PyTracebackObject *exception_tb = NULL;
    NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
    PyObject *exception_keeper_type_1;
    PyObject *exception_keeper_value_1;
    PyTracebackObject *exception_keeper_tb_1;
    NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
    int tmp_res;
    PyObject *tmp_dictdel_dict;
    PyObject *tmp_dictdel_key;
    bool tmp_result;
    PyObject *locals_html5lib$filters$inject_meta_charset_6 = NULL;
    PyObject *tmp_dictset_value;
    struct Nuitka_FrameObject *frame_87d0b2214da34af7f3ec71cc2b10dd41_2;
    NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
    static struct Nuitka_FrameObject *cache_frame_87d0b2214da34af7f3ec71cc2b10dd41_2 = NULL;
    PyObject *exception_keeper_type_2;
    PyObject *exception_keeper_value_2;
    PyTracebackObject *exception_keeper_tb_2;
    NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
    PyObject *exception_keeper_type_3;
    PyObject *exception_keeper_value_3;
    PyTracebackObject *exception_keeper_tb_3;
    NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
    PyObject *exception_keeper_type_4;
    PyObject *exception_keeper_value_4;
    PyTracebackObject *exception_keeper_tb_4;
    NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;

    // Module code.
    {
    PyObject *tmp_assign_source_1;
    tmp_assign_source_1 = Py_None;
    UPDATE_STRING_DICT0( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
    }
    {
    PyObject *tmp_assign_source_2;
    tmp_assign_source_2 = const_str_digest_35cb4f852cd699e7e74d7388ef6f75bc;
    UPDATE_STRING_DICT0( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
    }
    {
    PyObject *tmp_assign_source_3;
    tmp_assign_source_3 = Py_None;
    UPDATE_STRING_DICT0( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
    }
    {
    PyObject *tmp_assign_source_4;
    tmp_assign_source_4 = PyImport_ImportModule("__future__");
    assert( !(tmp_assign_source_4 == NULL) );
    assert( tmp_import_from_1__module == NULL );
    Py_INCREF( tmp_assign_source_4 );
    tmp_import_from_1__module = tmp_assign_source_4;

    }
    // Frame without reuse.
    frame_ea192add51eb3cc4bd39d139a1005096 = MAKE_MODULE_FRAME( codeobj_ea192add51eb3cc4bd39d139a1005096, module_html5lib$filters$inject_meta_charset );

    // Push the new frame as the currently active one, and we should be exclusively
    // owning it.
    pushFrameStack( frame_ea192add51eb3cc4bd39d139a1005096 );
    assert( Py_REFCNT( frame_ea192add51eb3cc4bd39d139a1005096 ) == 2 );

    // Framed code:
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_5;
    PyObject *tmp_import_name_from_1;
    CHECK_OBJECT( tmp_import_from_1__module );
    tmp_import_name_from_1 = tmp_import_from_1__module;
    tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import );
    if ( tmp_assign_source_5 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 1;

        goto try_except_handler_1;
    }
    UPDATE_STRING_DICT1( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_5 );
    }
    {
    PyObject *tmp_assign_source_6;
    PyObject *tmp_import_name_from_2;
    CHECK_OBJECT( tmp_import_from_1__module );
    tmp_import_name_from_2 = tmp_import_from_1__module;
    tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division );
    if ( tmp_assign_source_6 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 1;

        goto try_except_handler_1;
    }
    UPDATE_STRING_DICT1( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 );
    }
    {
    PyObject *tmp_assign_source_7;
    PyObject *tmp_import_name_from_3;
    CHECK_OBJECT( tmp_import_from_1__module );
    tmp_import_name_from_3 = tmp_import_from_1__module;
    tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_unicode_literals );
    if ( tmp_assign_source_7 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 1;

        goto try_except_handler_1;
    }
    UPDATE_STRING_DICT1( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_7 );
    }
    goto try_end_1;
    // Exception handler code:
    try_except_handler_1:;
    exception_keeper_type_1 = exception_type;
    exception_keeper_value_1 = exception_value;
    exception_keeper_tb_1 = exception_tb;
    exception_keeper_lineno_1 = exception_lineno;
    exception_type = NULL;
    exception_value = NULL;
    exception_tb = NULL;
    exception_lineno = 0;

    {
    CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
    Py_DECREF( tmp_import_from_1__module );
    tmp_import_from_1__module = NULL;

    }
    {
    // Re-raise.
    exception_type = exception_keeper_type_1;
    exception_value = exception_keeper_value_1;
    exception_tb = exception_keeper_tb_1;
    exception_lineno = exception_keeper_lineno_1;

    goto frame_exception_exit_1;
    }
    // End of try:
    try_end_1:;
    }
    {
    CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
    Py_DECREF( tmp_import_from_1__module );
    tmp_import_from_1__module = NULL;

    }
    {
    PyObject *tmp_assign_source_8;
    PyObject *tmp_import_name_from_4;
    PyObject *tmp_name_name_1;
    PyObject *tmp_globals_name_1;
    PyObject *tmp_locals_name_1;
    PyObject *tmp_fromlist_name_1;
    PyObject *tmp_level_name_1;
    tmp_name_name_1 = const_str_empty;
    tmp_globals_name_1 = (PyObject *)moduledict_html5lib$filters$inject_meta_charset;
    tmp_locals_name_1 = Py_None;
    tmp_fromlist_name_1 = const_tuple_str_plain_base_tuple;
    tmp_level_name_1 = const_int_pos_1;
    frame_ea192add51eb3cc4bd39d139a1005096->m_frame.f_lineno = 3;
    tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
    if ( tmp_import_name_from_4 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 3;

        goto frame_exception_exit_1;
    }
    if ( PyModule_Check( tmp_import_name_from_4 ) )
    {
       tmp_assign_source_8 = IMPORT_NAME_OR_MODULE(
            tmp_import_name_from_4,
            (PyObject *)MODULE_DICT(tmp_import_name_from_4),
            const_str_plain_base,
            const_int_pos_1
        );
    }
    else
    {
       tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_base );
    }

    Py_DECREF( tmp_import_name_from_4 );
    if ( tmp_assign_source_8 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 3;

        goto frame_exception_exit_1;
    }
    UPDATE_STRING_DICT1( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_base, tmp_assign_source_8 );
    }
    {
    // Tried code:
    {
    PyObject *tmp_assign_source_9;
    PyObject *tmp_tuple_element_1;
    PyObject *tmp_source_name_1;
    PyObject *tmp_mvar_value_1;
    tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_base );

    if (unlikely( tmp_mvar_value_1 == NULL ))
    {
        tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base );
    }

    CHECK_OBJECT( tmp_mvar_value_1 );
    tmp_source_name_1 = tmp_mvar_value_1;
    tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Filter );
    if ( tmp_tuple_element_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_assign_source_9 = PyTuple_New( 1 );
    PyTuple_SET_ITEM( tmp_assign_source_9, 0, tmp_tuple_element_1 );
    assert( tmp_class_creation_1__bases_orig == NULL );
    tmp_class_creation_1__bases_orig = tmp_assign_source_9;

    }
    {
    PyObject *tmp_assign_source_10;
    PyObject *tmp_dircall_arg1_1;
    CHECK_OBJECT( tmp_class_creation_1__bases_orig );
    tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
    Py_INCREF( tmp_dircall_arg1_1 );

    {
        PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
        tmp_assign_source_10 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
    }
    if ( tmp_assign_source_10 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    assert( tmp_class_creation_1__bases == NULL );
    tmp_class_creation_1__bases = tmp_assign_source_10;

    }
    {
    PyObject *tmp_assign_source_11;
    tmp_assign_source_11 = PyDict_New();
    assert( tmp_class_creation_1__class_decl_dict == NULL );
    tmp_class_creation_1__class_decl_dict = tmp_assign_source_11;

    }
    {
    PyObject *tmp_assign_source_12;
    PyObject *tmp_metaclass_name_1;
    nuitka_bool tmp_condition_result_1;
    PyObject *tmp_key_name_1;
    PyObject *tmp_dict_name_1;
    PyObject *tmp_dict_name_2;
    PyObject *tmp_key_name_2;
    nuitka_bool tmp_condition_result_2;
    int tmp_truth_name_1;
    PyObject *tmp_type_arg_1;
    PyObject *tmp_subscribed_name_1;
    PyObject *tmp_subscript_name_1;
    PyObject *tmp_bases_name_1;
    tmp_key_name_1 = const_str_plain_metaclass;
    CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
    tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
    tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
    if ( tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
    {
        goto condexpr_true_1;
    }
    else
    {
        goto condexpr_false_1;
    }
    condexpr_true_1:;
    CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
    tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
    tmp_key_name_2 = const_str_plain_metaclass;
    tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
    if ( tmp_metaclass_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    goto condexpr_end_1;
    condexpr_false_1:;
    CHECK_OBJECT( tmp_class_creation_1__bases );
    tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
    if ( tmp_truth_name_1 == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
    {
        goto condexpr_true_2;
    }
    else
    {
        goto condexpr_false_2;
    }
    condexpr_true_2:;
    CHECK_OBJECT( tmp_class_creation_1__bases );
    tmp_subscribed_name_1 = tmp_class_creation_1__bases;
    tmp_subscript_name_1 = const_int_0;
    tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
    if ( tmp_type_arg_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
    Py_DECREF( tmp_type_arg_1 );
    if ( tmp_metaclass_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    goto condexpr_end_2;
    condexpr_false_2:;
    tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
    Py_INCREF( tmp_metaclass_name_1 );
    condexpr_end_2:;
    condexpr_end_1:;
    CHECK_OBJECT( tmp_class_creation_1__bases );
    tmp_bases_name_1 = tmp_class_creation_1__bases;
    tmp_assign_source_12 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
    Py_DECREF( tmp_metaclass_name_1 );
    if ( tmp_assign_source_12 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    assert( tmp_class_creation_1__metaclass == NULL );
    tmp_class_creation_1__metaclass = tmp_assign_source_12;

    }
    {
    nuitka_bool tmp_condition_result_3;
    PyObject *tmp_key_name_3;
    PyObject *tmp_dict_name_3;
    tmp_key_name_3 = const_str_plain_metaclass;
    CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
    tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
    tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
    if ( tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_1;
    }
    else
    {
        goto branch_no_1;
    }
    branch_yes_1:;
    {
    CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
    tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
    tmp_dictdel_key = const_str_plain_metaclass;
    tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
    if ( tmp_result == false )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    }
    branch_no_1:;
    }
    {
    nuitka_bool tmp_condition_result_4;
    PyObject *tmp_source_name_2;
    CHECK_OBJECT( tmp_class_creation_1__metaclass );
    tmp_source_name_2 = tmp_class_creation_1__metaclass;
    tmp_res = PyObject_HasAttr( tmp_source_name_2, const_str_plain___prepare__ );
    tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_2;
    }
    else
    {
        goto branch_no_2;
    }
    branch_yes_2:;
    {
    PyObject *tmp_assign_source_13;
    PyObject *tmp_called_name_1;
    PyObject *tmp_source_name_3;
    PyObject *tmp_args_name_1;
    PyObject *tmp_tuple_element_2;
    PyObject *tmp_kw_name_1;
    CHECK_OBJECT( tmp_class_creation_1__metaclass );
    tmp_source_name_3 = tmp_class_creation_1__metaclass;
    tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___prepare__ );
    if ( tmp_called_name_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_tuple_element_2 = const_str_plain_Filter;
    tmp_args_name_1 = PyTuple_New( 2 );
    Py_INCREF( tmp_tuple_element_2 );
    PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 );
    CHECK_OBJECT( tmp_class_creation_1__bases );
    tmp_tuple_element_2 = tmp_class_creation_1__bases;
    Py_INCREF( tmp_tuple_element_2 );
    PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 );
    CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
    tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
    frame_ea192add51eb3cc4bd39d139a1005096->m_frame.f_lineno = 6;
    tmp_assign_source_13 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
    Py_DECREF( tmp_called_name_1 );
    Py_DECREF( tmp_args_name_1 );
    if ( tmp_assign_source_13 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    assert( tmp_class_creation_1__prepared == NULL );
    tmp_class_creation_1__prepared = tmp_assign_source_13;

    }
    {
    nuitka_bool tmp_condition_result_5;
    PyObject *tmp_operand_name_1;
    PyObject *tmp_source_name_4;
    CHECK_OBJECT( tmp_class_creation_1__prepared );
    tmp_source_name_4 = tmp_class_creation_1__prepared;
    tmp_res = PyObject_HasAttr( tmp_source_name_4, const_str_plain___getitem__ );
    tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
    tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
    if ( tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_3;
    }
    else
    {
        goto branch_no_3;
    }
    branch_yes_3:;
    {
    PyObject *tmp_raise_type_1;
    PyObject *tmp_raise_value_1;
    PyObject *tmp_left_name_1;
    PyObject *tmp_right_name_1;
    PyObject *tmp_tuple_element_3;
    PyObject *tmp_getattr_target_1;
    PyObject *tmp_getattr_attr_1;
    PyObject *tmp_getattr_default_1;
    PyObject *tmp_source_name_5;
    PyObject *tmp_type_arg_2;
    tmp_raise_type_1 = PyExc_TypeError;
    tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
    CHECK_OBJECT( tmp_class_creation_1__metaclass );
    tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
    tmp_getattr_attr_1 = const_str_plain___name__;
    tmp_getattr_default_1 = const_str_angle_metaclass;
    tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
    if ( tmp_tuple_element_3 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    tmp_right_name_1 = PyTuple_New( 2 );
    PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 );
    CHECK_OBJECT( tmp_class_creation_1__prepared );
    tmp_type_arg_2 = tmp_class_creation_1__prepared;
    tmp_source_name_5 = BUILTIN_TYPE1( tmp_type_arg_2 );
    assert( !(tmp_source_name_5 == NULL) );
    tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___name__ );
    Py_DECREF( tmp_source_name_5 );
    if ( tmp_tuple_element_3 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
        Py_DECREF( tmp_right_name_1 );

        exception_lineno = 6;

        goto try_except_handler_2;
    }
    PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 );
    tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
    Py_DECREF( tmp_right_name_1 );
    if ( tmp_raise_value_1 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_2;
    }
    exception_type = tmp_raise_type_1;
    Py_INCREF( tmp_raise_type_1 );
    exception_value = tmp_raise_value_1;
    exception_lineno = 6;
    RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );

    goto try_except_handler_2;
    }
    branch_no_3:;
    }
    goto branch_end_2;
    branch_no_2:;
    {
    PyObject *tmp_assign_source_14;
    tmp_assign_source_14 = PyDict_New();
    assert( tmp_class_creation_1__prepared == NULL );
    tmp_class_creation_1__prepared = tmp_assign_source_14;

    }
    branch_end_2:;
    }
    {
    PyObject *tmp_assign_source_15;
    {
    PyObject *tmp_set_locals_1;
    CHECK_OBJECT( tmp_class_creation_1__prepared );
    tmp_set_locals_1 = tmp_class_creation_1__prepared;
    locals_html5lib$filters$inject_meta_charset_6 = tmp_set_locals_1;
    Py_INCREF( tmp_set_locals_1 );
    }
    {
    // Tried code:
    {
    // Tried code:
    {
    tmp_dictset_value = const_str_digest_24c64d789599e17133e21c2224c3d764;
    tmp_res = PyObject_SetItem( locals_html5lib$filters$inject_meta_charset_6, const_str_plain___module__, tmp_dictset_value );
    if ( tmp_res != 0 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_4;
    }
    }
    {
    tmp_dictset_value = const_str_digest_8af2581c6ae6a7ff8c31c1d6c5f5477b;
    tmp_res = PyObject_SetItem( locals_html5lib$filters$inject_meta_charset_6, const_str_plain___doc__, tmp_dictset_value );
    if ( tmp_res != 0 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_4;
    }
    }
    {
    tmp_dictset_value = const_str_plain_Filter;
    tmp_res = PyObject_SetItem( locals_html5lib$filters$inject_meta_charset_6, const_str_plain___qualname__, tmp_dictset_value );
    if ( tmp_res != 0 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_4;
    }
    }
    MAKE_OR_REUSE_FRAME( cache_frame_87d0b2214da34af7f3ec71cc2b10dd41_2, codeobj_87d0b2214da34af7f3ec71cc2b10dd41, module_html5lib$filters$inject_meta_charset, sizeof(void *) );
    frame_87d0b2214da34af7f3ec71cc2b10dd41_2 = cache_frame_87d0b2214da34af7f3ec71cc2b10dd41_2;

    // Push the new frame as the currently active one.
    pushFrameStack( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 );

    // Mark the frame object as in use, ref count 1 will be up for reuse.
    assert( Py_REFCNT( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 ) == 2 ); // Frame stack

    // Framed code:
    {
    tmp_dictset_value = MAKE_FUNCTION_html5lib$filters$inject_meta_charset$$$function_1___init__(  );



    tmp_res = PyObject_SetItem( locals_html5lib$filters$inject_meta_charset_6, const_str_plain___init__, tmp_dictset_value );
    Py_DECREF( tmp_dictset_value );
    if ( tmp_res != 0 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 8;
        type_description_2 = "o";
        goto frame_exception_exit_2;
    }
    }
    {
    tmp_dictset_value = MAKE_FUNCTION_html5lib$filters$inject_meta_charset$$$function_2___iter__(  );



    tmp_res = PyObject_SetItem( locals_html5lib$filters$inject_meta_charset_6, const_str_plain___iter__, tmp_dictset_value );
    Py_DECREF( tmp_dictset_value );
    if ( tmp_res != 0 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 19;
        type_description_2 = "o";
        goto frame_exception_exit_2;
    }
    }

#if 0
    RESTORE_FRAME_EXCEPTION( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 );
#endif

    // Put the previous frame back on top.
    popFrameStack();

    goto frame_no_exception_1;

    frame_exception_exit_2:;

#if 0
    RESTORE_FRAME_EXCEPTION( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 );
#endif

    if ( exception_tb == NULL )
    {
        exception_tb = MAKE_TRACEBACK( frame_87d0b2214da34af7f3ec71cc2b10dd41_2, exception_lineno );
    }
    else if ( exception_tb->tb_frame != &frame_87d0b2214da34af7f3ec71cc2b10dd41_2->m_frame )
    {
        exception_tb = ADD_TRACEBACK( exception_tb, frame_87d0b2214da34af7f3ec71cc2b10dd41_2, exception_lineno );
    }

    // Attachs locals to frame if any.
    Nuitka_Frame_AttachLocals(
        (struct Nuitka_FrameObject *)frame_87d0b2214da34af7f3ec71cc2b10dd41_2,
        type_description_2,
        outline_0_var___class__
    );


    // Release cached frame.
    if ( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 == cache_frame_87d0b2214da34af7f3ec71cc2b10dd41_2 )
    {
        Py_DECREF( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 );
    }
    cache_frame_87d0b2214da34af7f3ec71cc2b10dd41_2 = NULL;

    assertFrameObject( frame_87d0b2214da34af7f3ec71cc2b10dd41_2 );

    // Put the previous frame back on top.
    popFrameStack();

    // Return the error.
    goto nested_frame_exit_1;

    frame_no_exception_1:;
    goto skip_nested_handling_1;
    nested_frame_exit_1:;

    goto try_except_handler_4;
    skip_nested_handling_1:;
    {
    nuitka_bool tmp_condition_result_6;
    PyObject *tmp_compexpr_left_1;
    PyObject *tmp_compexpr_right_1;
    CHECK_OBJECT( tmp_class_creation_1__bases );
    tmp_compexpr_left_1 = tmp_class_creation_1__bases;
    CHECK_OBJECT( tmp_class_creation_1__bases_orig );
    tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig;
    tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
    if ( tmp_res == -1 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_4;
    }
    tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
    if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
    {
        goto branch_yes_4;
    }
    else
    {
        goto branch_no_4;
    }
    branch_yes_4:;
    {
    CHECK_OBJECT( tmp_class_creation_1__bases_orig );
    tmp_dictset_value = tmp_class_creation_1__bases_orig;
    tmp_res = PyObject_SetItem( locals_html5lib$filters$inject_meta_charset_6, const_str_plain___orig_bases__, tmp_dictset_value );
    if ( tmp_res != 0 )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_4;
    }
    }
    branch_no_4:;
    }
    {
    PyObject *tmp_assign_source_16;
    PyObject *tmp_called_name_2;
    PyObject *tmp_args_name_2;
    PyObject *tmp_tuple_element_4;
    PyObject *tmp_kw_name_2;
    CHECK_OBJECT( tmp_class_creation_1__metaclass );
    tmp_called_name_2 = tmp_class_creation_1__metaclass;
    tmp_tuple_element_4 = const_str_plain_Filter;
    tmp_args_name_2 = PyTuple_New( 3 );
    Py_INCREF( tmp_tuple_element_4 );
    PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 );
    CHECK_OBJECT( tmp_class_creation_1__bases );
    tmp_tuple_element_4 = tmp_class_creation_1__bases;
    Py_INCREF( tmp_tuple_element_4 );
    PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 );
    tmp_tuple_element_4 = locals_html5lib$filters$inject_meta_charset_6;
    Py_INCREF( tmp_tuple_element_4 );
    PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 );
    CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
    tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
    frame_ea192add51eb3cc4bd39d139a1005096->m_frame.f_lineno = 6;
    tmp_assign_source_16 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 );
    Py_DECREF( tmp_args_name_2 );
    if ( tmp_assign_source_16 == NULL )
    {
        assert( ERROR_OCCURRED() );

        FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );


        exception_lineno = 6;

        goto try_except_handler_4;
    }
    assert( outline_0_var___class__ == NULL );
    outline_0_var___class__ = tmp_assign_source_16;

    }
    {
    CHECK_OBJECT( outline_0_var___class__ );
    tmp_assign_source_15 = outline_0_var___class__;
    Py_INCREF( tmp_assign_source_15 );
    goto try_return_handler_4;
    }
    // tried codes exits in all cases
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset );
    return MOD_RETURN_VALUE( NULL );
    // Return handler code:
    try_return_handler_4:;
    {
    Py_DECREF( locals_html5lib$filters$inject_meta_charset_6 );
    locals_html5lib$filters$inject_meta_charset_6 = NULL;
    }
    {
    goto try_return_handler_3;
    }
    // Exception handler code:
    try_except_handler_4:;
    exception_keeper_type_2 = exception_type;
    exception_keeper_value_2 = exception_value;
    exception_keeper_tb_2 = exception_tb;
    exception_keeper_lineno_2 = exception_lineno;
    exception_type = NULL;
    exception_value = NULL;
    exception_tb = NULL;
    exception_lineno = 0;

    {
    Py_DECREF( locals_html5lib$filters$inject_meta_charset_6 );
    locals_html5lib$filters$inject_meta_charset_6 = NULL;
    }
    {
    // Re-raise.
    exception_type = exception_keeper_type_2;
    exception_value = exception_keeper_value_2;
    exception_tb = exception_keeper_tb_2;
    exception_lineno = exception_keeper_lineno_2;

    goto try_except_handler_3;
    }
    // End of try:
    }
    // tried codes exits in all cases
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset );
    return MOD_RETURN_VALUE( NULL );
    // Return handler code:
    try_return_handler_3:;
    {
    CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
    Py_DECREF( outline_0_var___class__ );
    outline_0_var___class__ = NULL;

    }
    {
    goto outline_result_1;
    }
    // Exception handler code:
    try_except_handler_3:;
    exception_keeper_type_3 = exception_type;
    exception_keeper_value_3 = exception_value;
    exception_keeper_tb_3 = exception_tb;
    exception_keeper_lineno_3 = exception_lineno;
    exception_type = NULL;
    exception_value = NULL;
    exception_tb = NULL;
    exception_lineno = 0;

    {
    // Re-raise.
    exception_type = exception_keeper_type_3;
    exception_value = exception_keeper_value_3;
    exception_tb = exception_keeper_tb_3;
    exception_lineno = exception_keeper_lineno_3;

    goto outline_exception_1;
    }
    // End of try:
    }
    // Return statement must have exited already.
    NUITKA_CANNOT_GET_HERE( html5lib$filters$inject_meta_charset );
    return MOD_RETURN_VALUE( NULL );
    outline_exception_1:;
    exception_lineno = 6;
    goto try_except_handler_2;
    outline_result_1:;
    UPDATE_STRING_DICT1( moduledict_html5lib$filters$inject_meta_charset, (Nuitka_StringObject *)const_str_plain_Filter, tmp_assign_source_15 );
    }
    goto try_end_2;
    // Exception handler code:
    try_except_handler_2:;
    exception_keeper_type_4 = exception_type;
    exception_keeper_value_4 = exception_value;
    exception_keeper_tb_4 = exception_tb;
    exception_keeper_lineno_4 = exception_lineno;
    exception_type = NULL;
    exception_value = NULL;
    exception_tb = NULL;
    exception_lineno = 0;

    {
    Py_XDECREF( tmp_class_creation_1__bases );
    tmp_class_creation_1__bases = NULL;

    }
    {
    Py_XDECREF( tmp_class_creation_1__class_decl_dict );
    tmp_class_creation_1__class_decl_dict = NULL;

    }
    {
    Py_XDECREF( tmp_class_creation_1__metaclass );
    tmp_class_creation_1__metaclass = NULL;

    }
    {
    Py_XDECREF( tmp_class_creation_1__prepared );
    tmp_class_creation_1__prepared = NULL;

    }
    {
    // Re-raise.
    exception_type = exception_keeper_type_4;
    exception_value = exception_keeper_value_4;
    exception_tb = exception_keeper_tb_4;
    exception_lineno = exception_keeper_lineno_4;

    goto frame_exception_exit_1;
    }
    // End of try:
    try_end_2:;
    }

    // Restore frame exception if necessary.
#if 0
    RESTORE_FRAME_EXCEPTION( frame_ea192add51eb3cc4bd39d139a1005096 );
#endif
    popFrameStack();

    assertFrameObject( frame_ea192add51eb3cc4bd39d139a1005096 );

    goto frame_no_exception_2;

    frame_exception_exit_1:;
#if 0
    RESTORE_FRAME_EXCEPTION( frame_ea192add51eb3cc4bd39d139a1005096 );
#endif

    if ( exception_tb == NULL )
    {
        exception_tb = MAKE_TRACEBACK( frame_ea192add51eb3cc4bd39d139a1005096, exception_lineno );
    }
    else if ( exception_tb->tb_frame != &frame_ea192add51eb3cc4bd39d139a1005096->m_frame )
    {
        exception_tb = ADD_TRACEBACK( exception_tb, frame_ea192add51eb3cc4bd39d139a1005096, exception_lineno );
    }

    // Put the previous frame back on top.
    popFrameStack();

    // Return the error.
    goto module_exception_exit;

    frame_no_exception_2:;
    {
    CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
    Py_DECREF( tmp_class_creation_1__bases );
    tmp_class_creation_1__bases = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
    Py_DECREF( tmp_class_creation_1__class_decl_dict );
    tmp_class_creation_1__class_decl_dict = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
    Py_DECREF( tmp_class_creation_1__metaclass );
    tmp_class_creation_1__metaclass = NULL;

    }
    {
    CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
    Py_DECREF( tmp_class_creation_1__prepared );
    tmp_class_creation_1__prepared = NULL;

    }

    return MOD_RETURN_VALUE( module_html5lib$filters$inject_meta_charset );
    module_exception_exit:
    RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
    return MOD_RETURN_VALUE( NULL );
}
