text: /* Generated code for Python source for module 'django.apps.registry'
   * created by Nuitka version 0.5.28.2
   *
   * This code is in part copyright 2017 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_django$apps$registry 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_django$apps$registry;
  PyDictObject *moduledict_django$apps$registry;
  
  /* The module constants used, if any. */
  extern PyObject *const_str_plain_threading;
  extern PyObject *const_str_plain_get_containing_app_config;
  extern PyObject *const_str_plain_warn;
  extern PyObject *const_str_plain_include_swapped;
  extern PyObject *const_str_plain_result;
  static PyObject *const_str_digest_2a846697ab9bffc8476eb3fe6cf42b20;
  extern PyObject *const_str_plain_metaclass;
  extern PyObject *const_str_plain___spec__;
  static PyObject *const_str_plain_unset_installed_apps;
  extern PyObject *const_str_plain__meta;
  static PyObject *const_tuple_str_plain_name_str_plain_count_str_plain_counts_tuple;
  extern PyObject *const_str_plain___name__;
  static PyObject *const_str_digest_a5ef9acdf2e2945a3d0f9c98d6c2efbf;
  static PyObject *const_tuple_9becb01dde1a7540cb305bd3c348a201_tuple;
  extern PyObject *const_str_plain_sorted;
  extern PyObject *const_dict_empty;
  static PyObject *const_str_digest_d22d2c3f570e6d98d25753e10952a650;
  extern PyObject *const_slice_int_pos_1_none_none;
  extern PyObject *const_str_plain___file__;
  extern PyObject *const_str_plain_lru_cache;
  extern PyObject *const_str_plain_counts;
  extern PyObject *const_str_plain_stacklevel;
  static PyObject *const_tuple_str_digest_57d5a55a5b2a277e5ae75495554bd0fc_tuple;
  extern PyObject *const_str_plain___exit__;
  static PyObject *const_str_digest_e8905377d2188f468e43fcc46b61d8a2;
  extern PyObject *const_str_angle_listcontraction;
  static PyObject *const_str_digest_925cc6db905b4f03932c31bfab6325c3;
  extern PyObject *const_str_plain_is_installed;
  static PyObject *const_str_plain_apply_next_model;
  extern PyObject *const_tuple_false_false_tuple;
  static PyObject *const_str_digest_0a339d6314f1d883e74f689d5e862d35;
  extern PyObject *const_str_plain_any;
  extern PyObject *const_str_plain_check_models_ready;
  static PyObject *const_str_digest_db59c7e488ceba6c57f5e86656fba734;
  extern PyObject *const_str_plain_apps_ready;
  extern PyObject *const_str_plain_entry;
  extern PyObject *const_str_plain_ready;
  extern PyObject *const_str_plain_cache_clear;
  extern PyObject *const_str_plain_items;
  static PyObject *const_str_plain_set_installed_apps;
  extern PyObject *const_dict_f154c9a58c9419d7e391901d7b7fe49e;
  extern PyObject *const_str_plain_app_config;
  static PyObject *const_str_digest_41c0590908e0d78ab9aa9d3546ab4b03;
  extern PyObject *const_str_plain_defaultdict;
  static PyObject *const_tuple_str_plain_self_str_plain_installed_tuple;
  extern PyObject *const_str_plain_to_string;
  extern PyObject *const_tuple_str_plain_partial_tuple;
  static PyObject *const_str_digest_51b31565441f4ffeb9b807aa3d8153b2;
  static PyObject *const_str_digest_e05b2ac223dce7c75bfd9de7d2ad056e;
  extern PyObject *const_str_plain___enter__;
  extern PyObject *const_str_plain__pending_operations;
  static PyObject *const_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee;
  extern PyObject *const_str_plain_func;
  static PyObject *const_str_digest_5b9f1068e55b773e27b4431c34ad3d72;
  static PyObject *const_str_digest_49ccc12900c8f200fc1bfc11f2522e82;
  extern PyObject *const_str_plain_available;
  extern PyObject *const_tuple_str_plain_AppConfig_tuple;
  extern PyObject *const_str_plain_AppRegistryNotReady;
  extern PyObject *const_str_plain_join;
  static PyObject *const_str_digest_f70b415a04415be4cbf0dea7ee7e5784;
  extern PyObject *const_str_plain_populate;
  extern PyObject *const_tuple_none_none_none_tuple;
  extern PyObject *const_str_plain_create;
  extern PyObject *const_str_plain___doc__;
  extern PyObject *const_str_plain_models;
  extern PyObject *const_str_plain_issubset;
  extern PyObject *const_str_dot;
  extern PyObject *const_str_plain_lower;
  static PyObject *const_str_digest_672608cb4e9b31e051366d893105dd65;
  extern PyObject *const_str_plain_extend;
  static PyObject *const_tuple_str_plain_self_str_plain_installed_apps_tuple;
  extern PyObject *const_tuple_tuple_empty_tuple;
  static PyObject *const_str_digest_7f1349b2999de8208eb8f43a4e883447;
  static PyObject *const_str_digest_372bab6fe16c3dfdcad7c6313f9c2ef3;
  extern PyObject *const_str_plain___package__;
  extern PyObject *const_str_plain_apps;
  extern PyObject *const_str_plain_warnings;
  extern PyObject *const_str_angle_genexpr;
  extern PyObject *const_str_plain_label;
  extern PyObject *const_str_plain_duplicates;
  extern PyObject *const_str_plain___qualname__;
  extern PyObject *const_str_digest_e8a773ce67a7c0e7a9cd33d42a1c4a06;
  static PyObject *const_str_digest_4dc583a67fa24357b2e6969311925e63;
  static PyObject *const_str_digest_3ccd65fe70e9c1a17bf372af3dee9d7e;
  static PyObject *const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple;
  static PyObject *const_str_digest_8cc4e5fd688286746812aa8637306235;
  static PyObject *const_tuple_7dadbdc37d8f348cd726acfcaa771ae9_tuple;
  static PyObject *const_str_digest_3400fc7e24b4f0a5d3c78829765d2f53;
  extern PyObject *const_str_plain_get_models;
  extern PyObject *const_str_plain_do_pending_operations;
  extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7;
  static PyObject *const_str_plain_set_available_apps;
  extern PyObject *const_tuple_str_plain_self_tuple;
  extern PyObject *const_str_plain_get_app_config;
  static PyObject *const_str_digest_12ed8f226caed1d60684c03dd6ccc2d7;
  static PyObject *const_str_digest_15bbdf6a59e855d51e38a2a6e85c2405;
  extern PyObject *const_str_plain_collections;
  static PyObject *const_str_digest_90ae8a8169e12d20ed0b4961d207227b;
  extern PyObject *const_str_plain_message;
  extern PyObject *const_str_digest_dfb6e1abbed3113ee07234fdc458a320;
  static PyObject *const_str_digest_cbf8bbc7020c4fb06e26e9b70008ae2c;
  static PyObject *const_str_digest_1076cfbef9952773b5605d60f1192271;
  extern PyObject *const_str_plain_app_configs;
  extern PyObject *const_tuple_str_dot_tuple;
  extern PyObject *const_tuple_empty;
  static PyObject *const_tuple_str_plain_self_str_plain_available_str_plain_installed_tuple;
  extern PyObject *const_str_digest_467c9722f19d9d40d148689532cdc0b1;
  static PyObject *const_str_plain_get_registered_model;
  extern PyObject *const_str_plain_Apps;
  extern PyObject *const_str_plain_model_name;
  extern PyObject *const_str_plain_append;
  static PyObject *const_tuple_str_plain_ac_tuple;
  extern PyObject *const_str_plain___loader__;
  extern PyObject *const_str_plain_name;
  extern PyObject *const_str_plain__expire_cache;
  static PyObject *const_str_digest_e39b4e4814a1a8b77c5de4e2f5388a44;
  static PyObject *const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple;
  static PyObject *const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple;
  extern PyObject *const_dict_8384876ba74383e707f9bc756fe371c1;
  extern PyObject *const_str_plain_model;
  static PyObject *const_str_digest_c6bcca48a71a89b6044e1739abef9dea;
  extern PyObject *const_str_plain_clear_cache;
  static PyObject *const_str_digest_57d5a55a5b2a277e5ae75495554bd0fc;
  static PyObject *const_str_digest_d9c5e1805cf6890c21fe95623cf618fd;
  extern PyObject *const_str_plain_RuntimeWarning;
  extern PyObject *const_str_plain_import_models;
  static PyObject *const_str_plain_next_function;
  static PyObject *const_str_digest_c72675406bc9e347c55658ada135533c;
  extern PyObject *const_str_plain_ImproperlyConfigured;
  static PyObject *const_str_digest_8b48c16d52857014a217220c5ed8e655;
  extern PyObject *const_str_plain__lock;
  static PyObject *const_str_digest_cf2e462a6d6c64d9c775e38faa312e7e;
  static PyObject *const_str_digest_43a9995711b5a7f34d8fbdb3cc5983b4;
  static PyObject *const_str_digest_031712d66030b197438336fdb69980f0;
  extern PyObject *const_str_plain_split;
  extern PyObject *const_str_plain_ModuleSpec;
  extern PyObject *const_str_plain_config;
  extern PyObject *const_str_plain_get_app_configs;
  static PyObject *const_str_digest_ea631a51c3864b6ba42e55a260a34768;
  extern PyObject *const_str_plain_object_name;
  static PyObject *const_str_digest_2a3759b8cbe1952a5f627603ab06ea4a;
  extern PyObject *const_tuple_type_list_tuple;
  extern PyObject *const_str_plain_app_label;
  extern PyObject *const_str_plain_app_name;
  extern PyObject *const_str_plain_count;
  extern PyObject *const_str_plain_pop;
  static PyObject *const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple;
  extern PyObject *const_int_0;
  static PyObject *const_str_digest_726b2454218564e897a8ac16fae0ec22;
  extern PyObject *const_str_plain_get_swappable_settings_name;
  static PyObject *const_str_digest_103bb7a8a94f5fc324bae19269770bef;
  static PyObject *const_str_plain_more_models;
  extern PyObject *const_str_plain_maxsize;
  static PyObject *const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple;
  extern PyObject *const_str_plain_get_model;
  extern PyObject *const_str_digest_46ce69d6f8e534feb92ab1e11d2ad2cd;
  extern PyObject *const_str_plain_AppConfig;
  static PyObject *const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple;
  extern PyObject *const_tuple_none_true_tuple;
  extern PyObject *const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77;
  extern PyObject *const_dict_d725099f0e2c36edb8e3dbd607bd6891;
  extern PyObject *const_str_plain_installed;
  static PyObject *const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple;
  extern PyObject *const_str_plain_OrderedDict;
  static PyObject *const_str_digest_6487498f9a814ed60e98f97752eff60c;
  extern PyObject *const_dict_4bdaa4dac2088f4ef25b63d20be32642;
  static PyObject *const_tuple_4aea14c628b0fbd36b35784967c50227_tuple;
  static PyObject *const_tuple_str_plain_self_str_plain_app_name_tuple;
  extern PyObject *const_str_plain_most_common;
  static PyObject *const_tuple_57849d5fa31b617545998239e5df51ff_tuple;
  static PyObject *const_str_plain_ac;
  extern PyObject *const_str_plain_model_keys;
  static PyObject *const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple;
  extern PyObject *const_str_plain_models_ready;
  static PyObject *const_str_digest_71146b503bda5bda9ffb33e50c144025;
  extern PyObject *const_str_plain_all_models;
  extern PyObject *const_str_angle_lambda;
  extern PyObject *const_str_plain_require_ready;
  static PyObject *const_str_digest_1b98cc38b2833d6a00280914a4c316ec;
  extern PyObject *const_tuple_dff3a713503ad6b52497a2719a25dc21_tuple;
  extern PyObject *const_str_plain___cached__;
  extern PyObject *const_str_plain_modules;
  extern PyObject *const_str_plain_Counter;
  static PyObject *const_str_digest_b6233ce6164f33c04a937915e6fb3de6;
  extern PyObject *const_str_plain_check_apps_ready;
  static PyObject *const_str_digest_fa83b439228fc30cdf28177e6d1b3e63;
  extern PyObject *const_tuple_none_tuple;
  static PyObject *const_str_digest_6a5609368ea32e44626bf739c2db1cf5;
  extern PyObject *const_str_plain_lazy_model_operation;
  static PyObject *const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple;
  extern PyObject *const_tuple_type_object_tuple;
  extern PyObject *const_str_plain___module__;
  extern PyObject *const_str_plain_functools;
  extern PyObject *const_str_plain_swapped;
  static PyObject *const_str_plain_unset_available_apps;
  extern PyObject *const_str_plain_sys;
  static PyObject *const_str_plain_installed_apps;
  static PyObject *const_tuple_str_plain_AppRegistryNotReady_str_plain_ImproperlyConfigured_tuple;
  static PyObject *const_str_digest_467c737c6e5b0a33ece292daf154152c;
  static PyObject *const_str_digest_00d7c6a4e1629d4b08e7a8e6c6f14a3b;
  static PyObject *const_tuple_ffe24314a3165d148beea9af2e0da548_tuple;
  static PyObject *const_str_digest_5e47c7c770c562af6fc33e57b6c46acd;
  extern PyObject *const_str_plain_partial;
  extern PyObject *const_int_pos_1;
  extern PyObject *const_str_plain_Lock;
  extern PyObject *const_str_plain_values;
  static PyObject *const_tuple_43434c69a6827d55e78b18b179272bd1_tuple;
  static PyObject *const_str_digest_944a35fa6f6d947826c6d1fd3c285825;
  extern PyObject *const_tuple_str_plain_lru_cache_tuple;
  static PyObject *const_str_digest_1c3007d3683f39c34907b242e0c662bb;
  static PyObject *const_str_plain_subpath;
  extern PyObject *const_str_plain_key;
  extern PyObject *const_str_plain_candidates;
  static PyObject *const_tuple_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee_tuple;
  static PyObject *const_tuple_str_plain_self_str_plain_app_config_str_plain_model_tuple;
  extern PyObject *const_str_plain___prepare__;
  extern PyObject *const_str_plain___init__;
  static PyObject *const_dict_3f118b0bcc3d392c36de26d575d4028b;
  static PyObject *const_str_plain_next_model;
  extern PyObject *const_str_plain_swappable;
  extern PyObject *const_str_plain_self;
  extern PyObject *const_str_plain_function;
  extern PyObject *const_str_plain_model_class;
  extern PyObject *const_str_plain_app_models;
  static PyObject *const_str_digest_9e6af0802dbdccb62ddff215d7b4b236;
  extern PyObject *const_str_plain_get;
  extern PyObject *const_int_pos_2;
  static PyObject *const_str_digest_01a6e2b5a7e52dc168bd5b0da2289b2c;
  static PyObject *const_str_digest_cabea8a49d8df4bba4754b218a7d3fbf;
  static PyObject *const_str_digest_54937574e0872f570590bbe4eb9938cb;
  extern PyObject *const_str_plain_startswith;
  extern PyObject *const_str_empty;
  static PyObject *const_str_digest_9fccea959b29f6041fa895ff4b90b296;
  static PyObject *const_str_digest_0f4268e55174a3672cc90c3bc2294b1f;
  static PyObject *const_str_plain_stored_app_configs;
  static PyObject *const_str_digest_8edf470709dc32d6418b0e27951264e1;
  static PyObject *const_str_digest_9bfe8139c88c87a5439db2769c6f2c4c;
  static PyObject *const_tuple_str_digest_8edf470709dc32d6418b0e27951264e1_tuple;
  static PyObject *const_str_digest_ba1b6cf04951ed9a9e25c8217efdb79f;
  extern PyObject *const_str_plain_register_model;
  extern PyObject *const_str_plain_include_auto_created;
  static PyObject *module_filename_obj;
  
  static bool constants_created = false;
  
  static void createModuleConstants( void )
  {
      const_str_digest_2a846697ab9bffc8476eb3fe6cf42b20 = UNSTREAM_STRING( &constant_bin[ 732107 ], 25, 0 );
      const_str_plain_unset_installed_apps = UNSTREAM_STRING( &constant_bin[ 732112 ], 20, 1 );
      const_tuple_str_plain_name_str_plain_count_str_plain_counts_tuple = PyTuple_New( 3 );
      PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_count_str_plain_counts_tuple, 0, const_str_plain_name ); Py_INCREF( const_str_plain_name );
      PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_count_str_plain_counts_tuple, 1, const_str_plain_count ); Py_INCREF( const_str_plain_count );
      PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_count_str_plain_counts_tuple, 2, const_str_plain_counts ); Py_INCREF( const_str_plain_counts );
      const_str_digest_a5ef9acdf2e2945a3d0f9c98d6c2efbf = UNSTREAM_STRING( &constant_bin[ 732132 ], 125, 0 );
      const_tuple_9becb01dde1a7540cb305bd3c348a201_tuple = PyTuple_New( 3 );
      PyTuple_SET_ITEM( const_tuple_9becb01dde1a7540cb305bd3c348a201_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 );
      const_str_plain_ac = UNSTREAM_STRING( &constant_bin[ 3041 ], 2, 1 );
      PyTuple_SET_ITEM( const_tuple_9becb01dde1a7540cb305bd3c348a201_tuple, 1, const_str_plain_ac ); Py_INCREF( const_str_plain_ac );
      PyTuple_SET_ITEM( const_tuple_9becb01dde1a7540cb305bd3c348a201_tuple, 2, const_str_plain_app_name ); Py_INCREF( const_str_plain_app_name );
      const_str_digest_d22d2c3f570e6d98d25753e10952a650 = UNSTREAM_STRING( &constant_bin[ 732257 ], 36, 0 );
      const_tuple_str_digest_57d5a55a5b2a277e5ae75495554bd0fc_tuple = PyTuple_New( 1 );
      const_str_digest_57d5a55a5b2a277e5ae75495554bd0fc = UNSTREAM_STRING( &constant_bin[ 732293 ], 23, 0 );
      PyTuple_SET_ITEM( const_tuple_str_digest_57d5a55a5b2a277e5ae75495554bd0fc_tuple, 0, const_str_digest_57d5a55a5b2a277e5ae75495554bd0fc ); Py_INCREF( const_str_digest_57d5a55a5b2a277e5ae75495554bd0fc );
      const_str_digest_e8905377d2188f468e43fcc46b61d8a2 = UNSTREAM_STRING( &constant_bin[ 732316 ], 55, 0 );
      const_str_digest_925cc6db905b4f03932c31bfab6325c3 = UNSTREAM_STRING( &constant_bin[ 732371 ], 23, 0 );
      const_str_plain_apply_next_model = UNSTREAM_STRING( &constant_bin[ 732394 ], 16, 1 );
      const_str_digest_0a339d6314f1d883e74f689d5e862d35 = UNSTREAM_STRING( &constant_bin[ 732410 ], 15, 0 );
      const_str_digest_db59c7e488ceba6c57f5e86656fba734 = UNSTREAM_STRING( &constant_bin[ 732425 ], 47, 0 );
      const_str_plain_set_installed_apps = UNSTREAM_STRING( &constant_bin[ 732114 ], 18, 1 );
      const_str_digest_41c0590908e0d78ab9aa9d3546ab4b03 = UNSTREAM_STRING( &constant_bin[ 732472 ], 43, 0 );
      const_tuple_str_plain_self_str_plain_installed_tuple = PyTuple_New( 2 );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_installed_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_installed_tuple, 1, const_str_plain_installed ); Py_INCREF( const_str_plain_installed );
      const_str_digest_51b31565441f4ffeb9b807aa3d8153b2 = UNSTREAM_STRING( &constant_bin[ 732410 ], 14, 0 );
      const_str_digest_e05b2ac223dce7c75bfd9de7d2ad056e = UNSTREAM_STRING( &constant_bin[ 732515 ], 23, 0 );
      const_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee = UNSTREAM_STRING( &constant_bin[ 732538 ], 25, 0 );
      const_str_digest_5b9f1068e55b773e27b4431c34ad3d72 = UNSTREAM_STRING( &constant_bin[ 732563 ], 160, 0 );
      const_str_digest_49ccc12900c8f200fc1bfc11f2522e82 = UNSTREAM_STRING( &constant_bin[ 732723 ], 155, 0 );
      const_str_digest_f70b415a04415be4cbf0dea7ee7e5784 = UNSTREAM_STRING( &constant_bin[ 732878 ], 352, 0 );
      const_str_digest_672608cb4e9b31e051366d893105dd65 = UNSTREAM_STRING( &constant_bin[ 733230 ], 33, 0 );
      const_tuple_str_plain_self_str_plain_installed_apps_tuple = PyTuple_New( 2 );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_installed_apps_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      const_str_plain_installed_apps = UNSTREAM_STRING( &constant_bin[ 732118 ], 14, 1 );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_installed_apps_tuple, 1, const_str_plain_installed_apps ); Py_INCREF( const_str_plain_installed_apps );
      const_str_digest_7f1349b2999de8208eb8f43a4e883447 = UNSTREAM_STRING( &constant_bin[ 733263 ], 16, 0 );
      const_str_digest_372bab6fe16c3dfdcad7c6313f9c2ef3 = UNSTREAM_STRING( &constant_bin[ 733279 ], 48, 0 );
      const_str_digest_4dc583a67fa24357b2e6969311925e63 = UNSTREAM_STRING( &constant_bin[ 733327 ], 32, 0 );
      const_str_digest_3ccd65fe70e9c1a17bf372af3dee9d7e = UNSTREAM_STRING( &constant_bin[ 733359 ], 373, 0 );
      const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple = PyTuple_New( 5 );
      PyTuple_SET_ITEM( const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple, 1, const_str_plain_include_auto_created ); Py_INCREF( const_str_plain_include_auto_created );
      PyTuple_SET_ITEM( const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple, 2, const_str_plain_include_swapped ); Py_INCREF( const_str_plain_include_swapped );
      PyTuple_SET_ITEM( const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple, 3, const_str_plain_result ); Py_INCREF( const_str_plain_result );
      PyTuple_SET_ITEM( const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple, 4, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      const_str_digest_8cc4e5fd688286746812aa8637306235 = UNSTREAM_STRING( &constant_bin[ 733732 ], 42, 0 );
      const_tuple_7dadbdc37d8f348cd726acfcaa771ae9_tuple = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 733774 ], 412 );
      const_str_digest_3400fc7e24b4f0a5d3c78829765d2f53 = UNSTREAM_STRING( &constant_bin[ 734186 ], 30, 0 );
      const_str_plain_set_available_apps = UNSTREAM_STRING( &constant_bin[ 733501 ], 18, 1 );
      const_str_digest_12ed8f226caed1d60684c03dd6ccc2d7 = UNSTREAM_STRING( &constant_bin[ 732257 ], 17, 0 );
      const_str_digest_15bbdf6a59e855d51e38a2a6e85c2405 = UNSTREAM_STRING( &constant_bin[ 734216 ], 48, 0 );
      const_str_digest_90ae8a8169e12d20ed0b4961d207227b = UNSTREAM_STRING( &constant_bin[ 734264 ], 29, 0 );
      const_str_digest_cbf8bbc7020c4fb06e26e9b70008ae2c = UNSTREAM_STRING( &constant_bin[ 734293 ], 78, 0 );
      const_str_digest_1076cfbef9952773b5605d60f1192271 = UNSTREAM_STRING( &constant_bin[ 734371 ], 20, 0 );
      const_tuple_str_plain_self_str_plain_available_str_plain_installed_tuple = PyTuple_New( 3 );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_available_str_plain_installed_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_available_str_plain_installed_tuple, 1, const_str_plain_available ); Py_INCREF( const_str_plain_available );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_available_str_plain_installed_tuple, 2, const_str_plain_installed ); Py_INCREF( const_str_plain_installed );
      const_str_plain_get_registered_model = UNSTREAM_STRING( &constant_bin[ 733995 ], 20, 1 );
      const_tuple_str_plain_ac_tuple = PyTuple_New( 1 );
      PyTuple_SET_ITEM( const_tuple_str_plain_ac_tuple, 0, const_str_plain_ac ); Py_INCREF( const_str_plain_ac );
      const_str_digest_e39b4e4814a1a8b77c5de4e2f5388a44 = UNSTREAM_STRING( &constant_bin[ 734391 ], 51, 0 );
      const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple = PyTuple_New( 5 );
      PyTuple_SET_ITEM( const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple, 0, const_str_plain_model ); Py_INCREF( const_str_plain_model );
      const_str_plain_next_function = UNSTREAM_STRING( &constant_bin[ 734442 ], 13, 1 );
      PyTuple_SET_ITEM( const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple, 1, const_str_plain_next_function ); Py_INCREF( const_str_plain_next_function );
      PyTuple_SET_ITEM( const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple, 2, const_str_plain_apply_next_model ); Py_INCREF( const_str_plain_apply_next_model );
      PyTuple_SET_ITEM( const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple, 3, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      const_str_plain_more_models = UNSTREAM_STRING( &constant_bin[ 734455 ], 11, 1 );
      PyTuple_SET_ITEM( const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple, 4, const_str_plain_more_models ); Py_INCREF( const_str_plain_more_models );
      const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple = PyTuple_New( 4 );
      PyTuple_SET_ITEM( const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple, 1, const_str_plain_to_string ); Py_INCREF( const_str_plain_to_string );
      PyTuple_SET_ITEM( const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple, 2, const_str_plain_model ); Py_INCREF( const_str_plain_model );
      PyTuple_SET_ITEM( const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple, 3, const_str_plain_swapped ); Py_INCREF( const_str_plain_swapped );
      const_str_digest_c6bcca48a71a89b6044e1739abef9dea = UNSTREAM_STRING( &constant_bin[ 734466 ], 66, 0 );
      const_str_digest_d9c5e1805cf6890c21fe95623cf618fd = UNSTREAM_STRING( &constant_bin[ 734532 ], 21, 0 );
      const_str_digest_c72675406bc9e347c55658ada135533c = UNSTREAM_STRING( &constant_bin[ 734553 ], 349, 0 );
      const_str_digest_8b48c16d52857014a217220c5ed8e655 = UNSTREAM_STRING( &constant_bin[ 734902 ], 157, 0 );
      const_str_digest_cf2e462a6d6c64d9c775e38faa312e7e = UNSTREAM_STRING( &constant_bin[ 735059 ], 66, 0 );
      const_str_digest_43a9995711b5a7f34d8fbdb3cc5983b4 = UNSTREAM_STRING( &constant_bin[ 735125 ], 278, 0 );
      const_str_digest_031712d66030b197438336fdb69980f0 = UNSTREAM_STRING( &constant_bin[ 735403 ], 19, 0 );
      const_str_digest_ea631a51c3864b6ba42e55a260a34768 = UNSTREAM_STRING( &constant_bin[ 734391 ], 25, 0 );
      const_str_digest_2a3759b8cbe1952a5f627603ab06ea4a = UNSTREAM_STRING( &constant_bin[ 733732 ], 23, 0 );
      const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple = PyTuple_New( 5 );
      PyTuple_SET_ITEM( const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple, 1, const_str_plain_app_label ); Py_INCREF( const_str_plain_app_label );
      PyTuple_SET_ITEM( const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple, 2, const_str_plain_model ); Py_INCREF( const_str_plain_model );
      PyTuple_SET_ITEM( const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple, 3, const_str_plain_model_name ); Py_INCREF( const_str_plain_model_name );
      PyTuple_SET_ITEM( const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple, 4, const_str_plain_app_models ); Py_INCREF( const_str_plain_app_models );
      const_str_digest_726b2454218564e897a8ac16fae0ec22 = UNSTREAM_STRING( &constant_bin[ 735027 ], 19, 0 );
      const_str_digest_103bb7a8a94f5fc324bae19269770bef = UNSTREAM_STRING( &constant_bin[ 735422 ], 26, 0 );
      const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple = PyTuple_New( 4 );
      PyTuple_SET_ITEM( const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple, 1, const_str_plain_app_label ); Py_INCREF( const_str_plain_app_label );
      PyTuple_SET_ITEM( const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple, 2, const_str_plain_model_name ); Py_INCREF( const_str_plain_model_name );
      PyTuple_SET_ITEM( const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple, 3, const_str_plain_model ); Py_INCREF( const_str_plain_model );
      const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple = PyTuple_New( 5 );
      PyTuple_SET_ITEM( const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple, 1, const_str_plain_object_name ); Py_INCREF( const_str_plain_object_name );
      PyTuple_SET_ITEM( const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple, 2, const_str_plain_candidates ); Py_INCREF( const_str_plain_candidates );
      PyTuple_SET_ITEM( const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple, 3, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      const_str_plain_subpath = UNSTREAM_STRING( &constant_bin[ 735448 ], 7, 1 );
      PyTuple_SET_ITEM( const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple, 4, const_str_plain_subpath ); Py_INCREF( const_str_plain_subpath );
      const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple = PyTuple_New( 4 );
      PyTuple_SET_ITEM( const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple, 1, const_str_plain_app_label ); Py_INCREF( const_str_plain_app_label );
      PyTuple_SET_ITEM( const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple, 2, const_str_plain_message ); Py_INCREF( const_str_plain_message );
      PyTuple_SET_ITEM( const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple, 3, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      const_str_digest_6487498f9a814ed60e98f97752eff60c = UNSTREAM_STRING( &constant_bin[ 735455 ], 221, 0 );
      const_tuple_4aea14c628b0fbd36b35784967c50227_tuple = PyTuple_New( 4 );
      PyTuple_SET_ITEM( const_tuple_4aea14c628b0fbd36b35784967c50227_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 );
      PyTuple_SET_ITEM( const_tuple_4aea14c628b0fbd36b35784967c50227_tuple, 1, const_str_plain_label ); Py_INCREF( const_str_plain_label );
      PyTuple_SET_ITEM( const_tuple_4aea14c628b0fbd36b35784967c50227_tuple, 2, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      PyTuple_SET_ITEM( const_tuple_4aea14c628b0fbd36b35784967c50227_tuple, 3, const_str_plain_available ); Py_INCREF( const_str_plain_available );
      const_tuple_str_plain_self_str_plain_app_name_tuple = PyTuple_New( 2 );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_app_name_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_app_name_tuple, 1, const_str_plain_app_name ); Py_INCREF( const_str_plain_app_name );
      const_tuple_57849d5fa31b617545998239e5df51ff_tuple = PyTuple_New( 5 );
      PyTuple_SET_ITEM( const_tuple_57849d5fa31b617545998239e5df51ff_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_57849d5fa31b617545998239e5df51ff_tuple, 1, const_str_plain_app_label ); Py_INCREF( const_str_plain_app_label );
      PyTuple_SET_ITEM( const_tuple_57849d5fa31b617545998239e5df51ff_tuple, 2, const_str_plain_model_name ); Py_INCREF( const_str_plain_model_name );
      PyTuple_SET_ITEM( const_tuple_57849d5fa31b617545998239e5df51ff_tuple, 3, const_str_plain_require_ready ); Py_INCREF( const_str_plain_require_ready );
      PyTuple_SET_ITEM( const_tuple_57849d5fa31b617545998239e5df51ff_tuple, 4, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple = PyTuple_New( 7 );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 1, const_str_plain_function ); Py_INCREF( const_str_plain_function );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 2, const_str_plain_model_keys ); Py_INCREF( const_str_plain_model_keys );
      const_str_plain_next_model = UNSTREAM_STRING( &constant_bin[ 732400 ], 10, 1 );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 3, const_str_plain_next_model ); Py_INCREF( const_str_plain_next_model );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 4, const_str_plain_more_models ); Py_INCREF( const_str_plain_more_models );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 5, const_str_plain_apply_next_model ); Py_INCREF( const_str_plain_apply_next_model );
      PyTuple_SET_ITEM( const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 6, const_str_plain_model_class ); Py_INCREF( const_str_plain_model_class );
      const_str_digest_71146b503bda5bda9ffb33e50c144025 = UNSTREAM_STRING( &constant_bin[ 735676 ], 29, 0 );
      const_str_digest_1b98cc38b2833d6a00280914a4c316ec = UNSTREAM_STRING( &constant_bin[ 735705 ], 25, 0 );
      const_str_digest_b6233ce6164f33c04a937915e6fb3de6 = UNSTREAM_STRING( &constant_bin[ 735730 ], 138, 0 );
      const_str_digest_fa83b439228fc30cdf28177e6d1b3e63 = UNSTREAM_STRING( &constant_bin[ 734371 ], 19, 0 );
      const_str_digest_6a5609368ea32e44626bf739c2db1cf5 = UNSTREAM_STRING( &constant_bin[ 735868 ], 25, 0 );
      const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple = PyTuple_New( 6 );
      PyTuple_SET_ITEM( const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 1, const_str_plain_installed_apps ); Py_INCREF( const_str_plain_installed_apps );
      PyTuple_SET_ITEM( const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 2, const_str_plain_entry ); Py_INCREF( const_str_plain_entry );
      PyTuple_SET_ITEM( const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 3, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      PyTuple_SET_ITEM( const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 4, const_str_plain_counts ); Py_INCREF( const_str_plain_counts );
      PyTuple_SET_ITEM( const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 5, const_str_plain_duplicates ); Py_INCREF( const_str_plain_duplicates );
      const_str_plain_unset_available_apps = UNSTREAM_STRING( &constant_bin[ 733544 ], 20, 1 );
      const_tuple_str_plain_AppRegistryNotReady_str_plain_ImproperlyConfigured_tuple = PyTuple_New( 2 );
      PyTuple_SET_ITEM( const_tuple_str_plain_AppRegistryNotReady_str_plain_ImproperlyConfigured_tuple, 0, const_str_plain_AppRegistryNotReady ); Py_INCREF( const_str_plain_AppRegistryNotReady );
      PyTuple_SET_ITEM( const_tuple_str_plain_AppRegistryNotReady_str_plain_ImproperlyConfigured_tuple, 1, const_str_plain_ImproperlyConfigured ); Py_INCREF( const_str_plain_ImproperlyConfigured );
      const_str_digest_467c737c6e5b0a33ece292daf154152c = UNSTREAM_STRING( &constant_bin[ 735893 ], 32, 0 );
      const_str_digest_00d7c6a4e1629d4b08e7a8e6c6f14a3b = UNSTREAM_STRING( &constant_bin[ 735925 ], 63, 0 );
      const_tuple_ffe24314a3165d148beea9af2e0da548_tuple = PyTuple_New( 3 );
      PyTuple_SET_ITEM( const_tuple_ffe24314a3165d148beea9af2e0da548_tuple, 0, const_str_plain_Counter ); Py_INCREF( const_str_plain_Counter );
      PyTuple_SET_ITEM( const_tuple_ffe24314a3165d148beea9af2e0da548_tuple, 1, const_str_plain_OrderedDict ); Py_INCREF( const_str_plain_OrderedDict );
      PyTuple_SET_ITEM( const_tuple_ffe24314a3165d148beea9af2e0da548_tuple, 2, const_str_plain_defaultdict ); Py_INCREF( const_str_plain_defaultdict );
      const_str_digest_5e47c7c770c562af6fc33e57b6c46acd = UNSTREAM_STRING( &constant_bin[ 735988 ], 13, 0 );
      const_tuple_43434c69a6827d55e78b18b179272bd1_tuple = PyTuple_New( 4 );
      PyTuple_SET_ITEM( const_tuple_43434c69a6827d55e78b18b179272bd1_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_43434c69a6827d55e78b18b179272bd1_tuple, 1, const_str_plain_model ); Py_INCREF( const_str_plain_model );
      PyTuple_SET_ITEM( const_tuple_43434c69a6827d55e78b18b179272bd1_tuple, 2, const_str_plain_key ); Py_INCREF( const_str_plain_key );
      PyTuple_SET_ITEM( const_tuple_43434c69a6827d55e78b18b179272bd1_tuple, 3, const_str_plain_function ); Py_INCREF( const_str_plain_function );
      const_str_digest_944a35fa6f6d947826c6d1fd3c285825 = UNSTREAM_STRING( &constant_bin[ 736001 ], 514, 0 );
      const_str_digest_1c3007d3683f39c34907b242e0c662bb = UNSTREAM_STRING( &constant_bin[ 736515 ], 78, 0 );
      const_tuple_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee_tuple = PyTuple_New( 1 );
      PyTuple_SET_ITEM( const_tuple_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee_tuple, 0, const_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee ); Py_INCREF( const_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee );
      const_tuple_str_plain_self_str_plain_app_config_str_plain_model_tuple = PyTuple_New( 3 );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_app_config_str_plain_model_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_app_config_str_plain_model_tuple, 1, const_str_plain_app_config ); Py_INCREF( const_str_plain_app_config );
      PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_app_config_str_plain_model_tuple, 2, const_str_plain_model ); Py_INCREF( const_str_plain_model );
      const_dict_3f118b0bcc3d392c36de26d575d4028b = _PyDict_NewPresized( 1 );
      PyDict_SetItem( const_dict_3f118b0bcc3d392c36de26d575d4028b, const_str_plain_installed_apps, Py_None );
      assert( PyDict_Size( const_dict_3f118b0bcc3d392c36de26d575d4028b ) == 1 );
      const_str_digest_9e6af0802dbdccb62ddff215d7b4b236 = UNSTREAM_STRING( &constant_bin[ 736593 ], 76, 0 );
      const_str_digest_01a6e2b5a7e52dc168bd5b0da2289b2c = UNSTREAM_STRING( &constant_bin[ 736669 ], 26, 0 );
      const_str_digest_cabea8a49d8df4bba4754b218a7d3fbf = UNSTREAM_STRING( &constant_bin[ 736695 ], 146, 0 );
      const_str_digest_54937574e0872f570590bbe4eb9938cb = UNSTREAM_STRING( &constant_bin[ 736841 ], 205, 0 );
      const_str_digest_9fccea959b29f6041fa895ff4b90b296 = UNSTREAM_STRING( &constant_bin[ 737046 ], 732, 0 );
      const_str_digest_0f4268e55174a3672cc90c3bc2294b1f = UNSTREAM_STRING( &constant_bin[ 737778 ], 23, 0 );
      const_str_plain_stored_app_configs = UNSTREAM_STRING( &constant_bin[ 737801 ], 18, 1 );
      const_str_digest_8edf470709dc32d6418b0e27951264e1 = UNSTREAM_STRING( &constant_bin[ 737819 ], 29, 0 );
      const_str_digest_9bfe8139c88c87a5439db2769c6f2c4c = UNSTREAM_STRING( &constant_bin[ 735893 ], 13, 0 );
      const_tuple_str_digest_8edf470709dc32d6418b0e27951264e1_tuple = PyTuple_New( 1 );
      PyTuple_SET_ITEM( const_tuple_str_digest_8edf470709dc32d6418b0e27951264e1_tuple, 0, const_str_digest_8edf470709dc32d6418b0e27951264e1 ); Py_INCREF( const_str_digest_8edf470709dc32d6418b0e27951264e1 );
      const_str_digest_ba1b6cf04951ed9a9e25c8217efdb79f = UNSTREAM_STRING( &constant_bin[ 737848 ], 465, 0 );
  
      constants_created = true;
  }
  
  #ifndef __NUITKA_NO_ASSERT__
  void checkModuleConstants_django$apps$registry( void )
  {
      // The module may not have been used at all.
      if (constants_created == false) return;
  
  
  }
  #endif
  
  // The module code objects.
  static PyCodeObject *codeobj_bb94bcc93e2c2c047df529df4f5e865e;
  static PyCodeObject *codeobj_da1e70395e16496d2f6593077beafdd1;
  static PyCodeObject *codeobj_518c12166671678afa0f8f5f4dd5d48e;
  static PyCodeObject *codeobj_344b1413da566685502f858be98691ad;
  static PyCodeObject *codeobj_3aa64c8f8b53c12ed4c39600eda38d58;
  static PyCodeObject *codeobj_89cfb6b370ccc1f29cafbc0cb2605d27;
  static PyCodeObject *codeobj_5562be08f98dc9e1d735bac6e5f4999b;
  static PyCodeObject *codeobj_cafc5120027c0335dc2e5aacba34d3e2;
  static PyCodeObject *codeobj_8a98a45ad34d0bcc4427c64ecd9029a8;
  static PyCodeObject *codeobj_c10c8708ef079f60b55e8d2e1e564ec5;
  static PyCodeObject *codeobj_42b88463eec1fe471015d6ea6d1b7e2e;
  static PyCodeObject *codeobj_59c16036285c75788cb56563c3d3d346;
  static PyCodeObject *codeobj_73e4e719b9cf6b1a1f10f5d04bf798ff;
  static PyCodeObject *codeobj_e766e8675b7e06347e469f5d2674408d;
  static PyCodeObject *codeobj_6a54829d35e9c26141a149340434de68;
  static PyCodeObject *codeobj_98d02a862a982544004d0229c9ba6a7a;
  static PyCodeObject *codeobj_9a930191ade815438a1bfafc974c93cf;
  static PyCodeObject *codeobj_604cee4c64d07f1b045ac4f208f297da;
  static PyCodeObject *codeobj_ecd86e663bee3c0efdea103478a12103;
  static PyCodeObject *codeobj_c5bccb37a299b39856e8847708515e76;
  static PyCodeObject *codeobj_40c144771bff7a98a9bbcba3f5adfe3a;
  static PyCodeObject *codeobj_708779e9e667a9b7e3a1811f16b74e42;
  static PyCodeObject *codeobj_22b5ab81e57e3c50b002464c6dac7652;
  static PyCodeObject *codeobj_e16f753485e64a2b194eb543ced1c7e7;
  static PyCodeObject *codeobj_f07c01e964fc61fc9e04b59e6c5e5cf4;
  static PyCodeObject *codeobj_2948f652c8dfb163b3a57a1c76989d89;
  static PyCodeObject *codeobj_213bc22176757c61d4b4f8b8ce676918;
  static PyCodeObject *codeobj_3534ad0b3f0a057ce068c99e103d7cce;
  static PyCodeObject *codeobj_847d74da1c850a5b12a8b35b58802687;
  
  static void createModuleCodeObjects(void)
  {
      module_filename_obj = MAKE_RELATIVE_PATH( const_str_digest_0f4268e55174a3672cc90c3bc2294b1f );
      codeobj_bb94bcc93e2c2c047df529df4f5e865e = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 96, const_tuple_dff3a713503ad6b52497a2719a25dc21_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_da1e70395e16496d2f6593077beafdd1 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 236, const_tuple_9becb01dde1a7540cb305bd3c348a201_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_518c12166671678afa0f8f5f4dd5d48e = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 306, const_tuple_dff3a713503ad6b52497a2719a25dc21_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_344b1413da566685502f858be98691ad = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 315, const_tuple_4aea14c628b0fbd36b35784967c50227_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_3aa64c8f8b53c12ed4c39600eda38d58 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 255, const_tuple_str_plain_ac_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_89cfb6b370ccc1f29cafbc0cb2605d27 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcontraction, 98, const_tuple_str_plain_name_str_plain_count_str_plain_counts_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_5562be08f98dc9e1d735bac6e5f4999b = MAKE_CODEOBJ( module_filename_obj, const_str_digest_71146b503bda5bda9ffb33e50c144025, 1, const_tuple_empty, 0, 0, CO_NOFREE );
      codeobj_cafc5120027c0335dc2e5aacba34d3e2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Apps, 13, const_tuple_7dadbdc37d8f348cd726acfcaa771ae9_tuple, 0, 0, CO_NOFREE );
      codeobj_8a98a45ad34d0bcc4427c64ecd9029a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 20, const_tuple_str_plain_self_str_plain_installed_apps_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_c10c8708ef079f60b55e8d2e1e564ec5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_apply_next_model, 399, const_tuple_a3db39e2571932c69e39c7823d4ad2d1_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS );
      codeobj_42b88463eec1fe471015d6ea6d1b7e2e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_check_apps_ready, 120, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_59c16036285c75788cb56563c3d3d346 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_check_models_ready, 127, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_73e4e719b9cf6b1a1f10f5d04bf798ff = MAKE_CODEOBJ( module_filename_obj, const_str_plain_clear_cache, 360, const_tuple_str_plain_self_str_plain_app_config_str_plain_model_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_e766e8675b7e06347e469f5d2674408d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_do_pending_operations, 415, const_tuple_43434c69a6827d55e78b18b179272bd1_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_6a54829d35e9c26141a149340434de68 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_app_config, 141, const_tuple_a2284e1d9707fcb9d6faae7bfc4dd627_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_98d02a862a982544004d0229c9ba6a7a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_app_configs, 134, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_9a930191ade815438a1bfafc974c93cf = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_containing_app_config, 238, const_tuple_1fff16f92f2804c53bfb387a5af1659c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_604cee4c64d07f1b045ac4f208f297da = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_model, 179, const_tuple_57849d5fa31b617545998239e5df51ff_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_ecd86e663bee3c0efdea103478a12103 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_models, 159, const_tuple_408f0a14e907886546f2e28909e6d7f7_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_c5bccb37a299b39856e8847708515e76 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_registered_model, 257, const_tuple_40c6b1f552298ad2b1e9020da08e3f07_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_40c144771bff7a98a9bbcba3f5adfe3a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_swappable_settings_name, 271, const_tuple_d46f88759f70dd72b3a9ffae35aac6c1_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_708779e9e667a9b7e3a1811f16b74e42 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_installed, 229, const_tuple_str_plain_self_str_plain_app_name_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_22b5ab81e57e3c50b002464c6dac7652 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_lazy_model_operation, 376, const_tuple_59049791f7e0118c598a6ad9dec6705d_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE );
      codeobj_e16f753485e64a2b194eb543ced1c7e7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_populate, 58, const_tuple_f4e3ad76382f2c73fcaa707585f67f6f_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_f07c01e964fc61fc9e04b59e6c5e5cf4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_register_model, 207, const_tuple_6b2ca4837b611e1cf3165cc4ec265255_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_2948f652c8dfb163b3a57a1c76989d89 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_set_available_apps, 293, const_tuple_str_plain_self_str_plain_available_str_plain_installed_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_213bc22176757c61d4b4f8b8ce676918 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_set_installed_apps, 327, const_tuple_str_plain_self_str_plain_installed_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_3534ad0b3f0a057ce068c99e103d7cce = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unset_available_apps, 320, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
      codeobj_847d74da1c850a5b12a8b35b58802687 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unset_installed_apps, 352, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
  }
  
  // The module function declarations.
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_2_populate$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value );
  #else
  static void django$apps$registry$$$function_2_populate$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator );
  #endif
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_10_is_installed$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value );
  #else
  static void django$apps$registry$$$function_10_is_installed$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator );
  #endif
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_14_set_available_apps$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value );
  #else
  static void django$apps$registry$$$function_14_set_available_apps$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator );
  #endif
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_14_set_available_apps$$$genexpr_2_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value );
  #else
  static void django$apps$registry$$$function_14_set_available_apps$$$genexpr_2_genexpr_context( struct Nuitka_GeneratorObject *generator );
  #endif
  
  
  NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_4_complex_call_helper_star_list( PyObject **python_pars );
  
  
  NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_12_complex_call_helper_pos_star_list( PyObject **python_pars );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_10_is_installed(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_11_get_containing_app_config(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_12_get_registered_model(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_13_get_swappable_settings_name(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_14_set_available_apps(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_15_unset_available_apps(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_16_set_installed_apps(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_17_unset_installed_apps(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_18_clear_cache(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_19_lazy_model_operation(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model( struct Nuitka_CellObject *closure_apply_next_model, struct Nuitka_CellObject *closure_more_models, struct Nuitka_CellObject *closure_self );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_1___init__( PyObject *defaults );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_20_do_pending_operations(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_2_populate( PyObject *defaults );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_3_check_apps_ready(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_4_check_models_ready(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_5_get_app_configs(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_6_get_app_config(  );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_7_get_models( PyObject *defaults );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_8_get_model( PyObject *defaults );
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_9_register_model(  );
  
  
  // The module function definitions.
  static PyObject *impl_django$apps$registry$$$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_installed_apps = python_pars[ 1 ];
      PyObject *tmp_assign_unpack_1__assign_source = 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;
      PyObject *exception_keeper_type_2;
      PyObject *exception_keeper_value_2;
      PyTracebackObject *exception_keeper_tb_2;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
      int tmp_and_left_truth_1;
      PyObject *tmp_and_left_value_1;
      PyObject *tmp_and_right_value_1;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_assattr_name_1;
      PyObject *tmp_assattr_name_2;
      PyObject *tmp_assattr_name_3;
      PyObject *tmp_assattr_name_4;
      PyObject *tmp_assattr_name_5;
      PyObject *tmp_assattr_name_6;
      PyObject *tmp_assattr_name_7;
      PyObject *tmp_assattr_name_8;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_assattr_target_2;
      PyObject *tmp_assattr_target_3;
      PyObject *tmp_assattr_target_4;
      PyObject *tmp_assattr_target_5;
      PyObject *tmp_assattr_target_6;
      PyObject *tmp_assattr_target_7;
      PyObject *tmp_assattr_target_8;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_called_name_4;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_right_1;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_hasattr_attr_1;
      PyObject *tmp_hasattr_value_1;
      bool tmp_isnot_1;
      PyObject *tmp_make_exception_arg_1;
      PyObject *tmp_raise_type_1;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscript_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_8a98a45ad34d0bcc4427c64ecd9029a8 = NULL;
  
      struct Nuitka_FrameObject *frame_8a98a45ad34d0bcc4427c64ecd9029a8;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_8a98a45ad34d0bcc4427c64ecd9029a8, codeobj_8a98a45ad34d0bcc4427c64ecd9029a8, module_django$apps$registry, sizeof(void *)+sizeof(void *) );
      frame_8a98a45ad34d0bcc4427c64ecd9029a8 = cache_frame_8a98a45ad34d0bcc4427c64ecd9029a8;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_8a98a45ad34d0bcc4427c64ecd9029a8 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_8a98a45ad34d0bcc4427c64ecd9029a8 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_compexpr_left_1 = par_installed_apps;
  
      CHECK_OBJECT( tmp_compexpr_left_1 );
      tmp_compexpr_right_1 = Py_None;
      tmp_and_left_value_1 = BOOL_FROM( tmp_compexpr_left_1 == tmp_compexpr_right_1 );
      tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 );
      assert( !(tmp_and_left_truth_1 == -1) );
      if ( tmp_and_left_truth_1 == 1 )
      {
          goto and_right_1;
      }
      else
      {
          goto and_left_1;
      }
      and_right_1:;
      tmp_source_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_sys );
  
      if (unlikely( tmp_source_name_1 == NULL ))
      {
          tmp_source_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys );
      }
  
      if ( tmp_source_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 24;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_modules );
      if ( tmp_subscribed_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 24;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_subscript_name_1 = const_str_digest_46ce69d6f8e534feb92ab1e11d2ad2cd;
      tmp_hasattr_value_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      Py_DECREF( tmp_subscribed_name_1 );
      if ( tmp_hasattr_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 24;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_hasattr_attr_1 = const_str_plain_apps;
      tmp_and_right_value_1 = BUILTIN_HASATTR( tmp_hasattr_value_1, tmp_hasattr_attr_1 );
      Py_DECREF( tmp_hasattr_value_1 );
      if ( tmp_and_right_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 24;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_cond_value_1 = tmp_and_right_value_1;
      goto and_end_1;
      and_left_1:;
      tmp_cond_value_1 = tmp_and_left_value_1;
      and_end_1:;
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 24;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_make_exception_arg_1 = const_str_digest_41c0590908e0d78ab9aa9d3546ab4b03;
      frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame.f_lineno = 25;
      {
          PyObject *call_args[] = { tmp_make_exception_arg_1 };
          tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_RuntimeError, call_args );
      }
  
      assert( tmp_raise_type_1 != NULL );
      exception_type = tmp_raise_type_1;
      exception_lineno = 25;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oo";
      goto frame_exception_exit_1;
      branch_no_1:;
      tmp_called_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_defaultdict );
  
      if (unlikely( tmp_called_name_1 == NULL ))
      {
          tmp_called_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_defaultdict );
      }
  
      if ( tmp_called_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "defaultdict" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 34;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_args_element_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_OrderedDict );
  
      if (unlikely( tmp_args_element_name_1 == NULL ))
      {
          tmp_args_element_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
      }
  
      if ( tmp_args_element_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 34;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame.f_lineno = 34;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      if ( tmp_assattr_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 34;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_1 = par_self;
  
      if ( tmp_assattr_target_1 == NULL )
      {
          Py_DECREF( tmp_assattr_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 = 34;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_all_models, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_1 );
  
          exception_lineno = 34;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_1 );
      tmp_called_name_2 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_OrderedDict );
  
      if (unlikely( tmp_called_name_2 == NULL ))
      {
          tmp_called_name_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
      }
  
      if ( tmp_called_name_2 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 37;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame.f_lineno = 37;
      tmp_assattr_name_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 );
      if ( tmp_assattr_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 37;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_2 = par_self;
  
      if ( tmp_assattr_target_2 == NULL )
      {
          Py_DECREF( tmp_assattr_name_2 );
          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 = 37;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_app_configs, tmp_assattr_name_2 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_2 );
  
          exception_lineno = 37;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_2 );
      tmp_assattr_name_3 = PyList_New( 0 );
      tmp_assattr_target_3 = par_self;
  
      if ( tmp_assattr_target_3 == NULL )
      {
          Py_DECREF( tmp_assattr_name_3 );
          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 = 41;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_stored_app_configs, tmp_assattr_name_3 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_3 );
  
          exception_lineno = 41;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_3 );
      tmp_assign_source_1 = Py_False;
      assert( tmp_assign_unpack_1__assign_source == NULL );
      Py_INCREF( tmp_assign_source_1 );
      tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
  
      // Tried code:
      tmp_assattr_name_4 = Py_False;
      tmp_assattr_target_4 = par_self;
  
      if ( tmp_assattr_target_4 == 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 = 44;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_apps_ready, tmp_assattr_name_4 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 44;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
      tmp_assattr_name_5 = tmp_assign_unpack_1__assign_source;
  
      CHECK_OBJECT( tmp_assattr_name_5 );
      tmp_assattr_target_5 = par_self;
  
      if ( tmp_assattr_target_5 == 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 = 44;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_models_ready, tmp_assattr_name_5 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 44;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
      tmp_assattr_name_6 = tmp_assign_unpack_1__assign_source;
  
      CHECK_OBJECT( tmp_assattr_name_6 );
      tmp_assattr_target_6 = par_self;
  
      if ( tmp_assattr_target_6 == 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 = 44;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_ready, tmp_assattr_name_6 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 44;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_assign_unpack_1__assign_source );
      tmp_assign_unpack_1__assign_source = 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:;
      Py_XDECREF( tmp_assign_unpack_1__assign_source );
      tmp_assign_unpack_1__assign_source = NULL;
  
      tmp_called_instance_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_threading );
  
      if (unlikely( tmp_called_instance_1 == NULL ))
      {
          tmp_called_instance_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_threading );
      }
  
      if ( tmp_called_instance_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "threading" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 47;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame.f_lineno = 47;
      tmp_assattr_name_7 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_Lock );
      if ( tmp_assattr_name_7 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 47;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_7 = par_self;
  
      if ( tmp_assattr_target_7 == NULL )
      {
          Py_DECREF( tmp_assattr_name_7 );
          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 = 47;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain__lock, tmp_assattr_name_7 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_7 );
  
          exception_lineno = 47;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_7 );
      tmp_called_name_3 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_defaultdict );
  
      if (unlikely( tmp_called_name_3 == NULL ))
      {
          tmp_called_name_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_defaultdict );
      }
  
      if ( tmp_called_name_3 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "defaultdict" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 52;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame.f_lineno = 52;
      tmp_assattr_name_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_type_list_tuple, 0 ) );
  
      if ( tmp_assattr_name_8 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 52;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_8 = par_self;
  
      if ( tmp_assattr_target_8 == NULL )
      {
          Py_DECREF( tmp_assattr_name_8 );
          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 = 52;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain__pending_operations, tmp_assattr_name_8 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_8 );
  
          exception_lineno = 52;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_8 );
      tmp_compare_left_1 = par_installed_apps;
  
      if ( tmp_compare_left_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "installed_apps" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 55;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_compare_right_1 = Py_None;
      tmp_isnot_1 = ( tmp_compare_left_1 != tmp_compare_right_1 );
      if ( tmp_isnot_1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      tmp_source_name_2 = par_self;
  
      if ( tmp_source_name_2 == 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 = 56;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_populate );
      if ( tmp_called_name_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 56;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_2 = par_installed_apps;
  
      if ( tmp_args_element_name_2 == NULL )
      {
          Py_DECREF( tmp_called_name_4 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "installed_apps" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 56;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame.f_lineno = 56;
      {
          PyObject *call_args[] = { tmp_args_element_name_2 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
      }
  
      Py_DECREF( tmp_called_name_4 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 56;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      branch_no_2:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_8a98a45ad34d0bcc4427c64ecd9029a8 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_8a98a45ad34d0bcc4427c64ecd9029a8 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_8a98a45ad34d0bcc4427c64ecd9029a8, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_8a98a45ad34d0bcc4427c64ecd9029a8->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_8a98a45ad34d0bcc4427c64ecd9029a8, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_8a98a45ad34d0bcc4427c64ecd9029a8,
          type_description_1,
          par_self,
          par_installed_apps
      );
  
  
      // Release cached frame.
      if ( frame_8a98a45ad34d0bcc4427c64ecd9029a8 == cache_frame_8a98a45ad34d0bcc4427c64ecd9029a8 )
      {
          Py_DECREF( frame_8a98a45ad34d0bcc4427c64ecd9029a8 );
      }
      cache_frame_8a98a45ad34d0bcc4427c64ecd9029a8 = NULL;
  
      assertFrameObject( frame_8a98a45ad34d0bcc4427c64ecd9029a8 );
  
      // 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( django$apps$registry$$$function_1___init__ );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_installed_apps );
      par_installed_apps = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_installed_apps );
      par_installed_apps = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$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_django$apps$registry$$$function_2_populate( 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_installed_apps = python_pars[ 1 ];
      PyObject *var_entry = NULL;
      PyObject *var_app_config = NULL;
      PyObject *var_counts = NULL;
      PyObject *var_duplicates = NULL;
      PyObject *outline_0_var_name = NULL;
      PyObject *outline_0_var_count = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = NULL;
      PyObject *tmp_for_loop_2__for_iterator = NULL;
      PyObject *tmp_for_loop_2__iter_value = NULL;
      PyObject *tmp_for_loop_3__for_iterator = NULL;
      PyObject *tmp_for_loop_3__iter_value = NULL;
      PyObject *tmp_genexpr_1__$0 = NULL;
      PyObject *tmp_listcontraction$tuple_unpack_1__element_1 = NULL;
      PyObject *tmp_listcontraction$tuple_unpack_1__element_2 = NULL;
      PyObject *tmp_listcontraction$tuple_unpack_1__source_iter = NULL;
      PyObject *tmp_listcontraction_1__$0 = NULL;
      PyObject *tmp_listcontraction_1__contraction = NULL;
      PyObject *tmp_listcontraction_1__iter_value_0 = NULL;
      PyObject *tmp_with_1__enter = NULL;
      PyObject *tmp_with_1__exit = NULL;
      PyObject *tmp_with_1__indicator = NULL;
      PyObject *tmp_with_1__source = 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;
      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;
      PyObject *exception_keeper_type_5;
      PyObject *exception_keeper_value_5;
      PyTracebackObject *exception_keeper_tb_5;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
      PyObject *exception_keeper_type_6;
      PyObject *exception_keeper_value_6;
      PyTracebackObject *exception_keeper_tb_6;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
      PyObject *exception_keeper_type_7;
      PyObject *exception_keeper_value_7;
      PyTracebackObject *exception_keeper_tb_7;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
      PyObject *exception_keeper_type_8;
      PyObject *exception_keeper_value_8;
      PyTracebackObject *exception_keeper_tb_8;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
      PyObject *exception_keeper_type_9;
      PyObject *exception_keeper_value_9;
      PyTracebackObject *exception_keeper_tb_9;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
      PyObject *exception_keeper_type_10;
      PyObject *exception_keeper_value_10;
      PyTracebackObject *exception_keeper_tb_10;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
      PyObject *exception_keeper_type_11;
      PyObject *exception_keeper_value_11;
      PyTracebackObject *exception_keeper_tb_11;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
      PyObject *exception_keeper_type_12;
      PyObject *exception_keeper_value_12;
      PyTracebackObject *exception_keeper_tb_12;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
      PyObject *exception_preserved_type_1;
      PyObject *exception_preserved_value_1;
      PyTracebackObject *exception_preserved_tb_1;
      PyObject *tmp_append_list_1;
      PyObject *tmp_append_value_1;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_args_element_name_3;
      PyObject *tmp_args_element_name_4;
      PyObject *tmp_args_element_name_5;
      PyObject *tmp_args_element_name_6;
      PyObject *tmp_args_element_name_7;
      PyObject *tmp_args_element_name_8;
      PyObject *tmp_ass_subscribed_1;
      PyObject *tmp_ass_subscript_1;
      PyObject *tmp_ass_subvalue_1;
      PyObject *tmp_assattr_name_1;
      PyObject *tmp_assattr_name_2;
      PyObject *tmp_assattr_name_3;
      PyObject *tmp_assattr_name_4;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_assattr_target_2;
      PyObject *tmp_assattr_target_3;
      PyObject *tmp_assattr_target_4;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      PyObject *tmp_assign_source_7;
      PyObject *tmp_assign_source_8;
      PyObject *tmp_assign_source_9;
      PyObject *tmp_assign_source_10;
      PyObject *tmp_assign_source_11;
      PyObject *tmp_assign_source_12;
      PyObject *tmp_assign_source_13;
      PyObject *tmp_assign_source_14;
      PyObject *tmp_assign_source_15;
      PyObject *tmp_assign_source_16;
      PyObject *tmp_assign_source_17;
      PyObject *tmp_assign_source_18;
      PyObject *tmp_assign_source_19;
      PyObject *tmp_assign_source_20;
      PyObject *tmp_assign_source_21;
      PyObject *tmp_assign_source_22;
      PyObject *tmp_assign_source_23;
      PyObject *tmp_assign_source_24;
      PyObject *tmp_assign_source_25;
      PyObject *tmp_assign_source_26;
      PyObject *tmp_assign_source_27;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_instance_3;
      PyObject *tmp_called_instance_4;
      PyObject *tmp_called_instance_5;
      PyObject *tmp_called_instance_6;
      PyObject *tmp_called_instance_7;
      PyObject *tmp_called_instance_8;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_called_name_4;
      PyObject *tmp_called_name_5;
      PyObject *tmp_called_name_6;
      PyObject *tmp_called_name_7;
      PyObject *tmp_called_name_8;
      PyObject *tmp_called_name_9;
      int tmp_cmp_Gt_1;
      int tmp_cmp_In_1;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_left_2;
      PyObject *tmp_compare_left_3;
      PyObject *tmp_compare_left_4;
      PyObject *tmp_compare_left_5;
      PyObject *tmp_compare_left_6;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compare_right_2;
      PyObject *tmp_compare_right_3;
      PyObject *tmp_compare_right_4;
      PyObject *tmp_compare_right_5;
      PyObject *tmp_compare_right_6;
      int tmp_cond_truth_1;
      int tmp_cond_truth_2;
      int tmp_cond_truth_3;
      int tmp_cond_truth_4;
      int tmp_cond_truth_5;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_cond_value_2;
      PyObject *tmp_cond_value_3;
      PyObject *tmp_cond_value_4;
      PyObject *tmp_cond_value_5;
      int tmp_exc_match_exception_match_1;
      bool tmp_is_1;
      bool tmp_is_2;
      bool tmp_is_3;
      PyObject *tmp_isinstance_cls_1;
      PyObject *tmp_isinstance_inst_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iter_arg_2;
      PyObject *tmp_iter_arg_3;
      PyObject *tmp_iter_arg_4;
      PyObject *tmp_iter_arg_5;
      PyObject *tmp_iter_arg_6;
      PyObject *tmp_iterator_attempt;
      PyObject *tmp_iterator_name_1;
      PyObject *tmp_left_name_1;
      PyObject *tmp_left_name_2;
      PyObject *tmp_make_exception_arg_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_next_source_2;
      PyObject *tmp_next_source_3;
      PyObject *tmp_next_source_4;
      PyObject *tmp_outline_return_value_1;
      PyObject *tmp_outline_return_value_2;
      PyObject *tmp_raise_type_1;
      PyObject *tmp_raise_type_2;
      PyObject *tmp_raise_type_3;
      int tmp_res;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_right_name_1;
      PyObject *tmp_right_name_2;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      PyObject *tmp_source_name_6;
      PyObject *tmp_source_name_7;
      PyObject *tmp_source_name_8;
      PyObject *tmp_source_name_9;
      PyObject *tmp_source_name_10;
      PyObject *tmp_source_name_11;
      PyObject *tmp_source_name_12;
      PyObject *tmp_source_name_13;
      PyObject *tmp_source_name_14;
      PyObject *tmp_unpack_1;
      PyObject *tmp_unpack_2;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 = NULL;
  
      struct Nuitka_FrameObject *frame_89cfb6b370ccc1f29cafbc0cb2605d27_2;
  
      static struct Nuitka_FrameObject *cache_frame_e16f753485e64a2b194eb543ced1c7e7 = NULL;
  
      struct Nuitka_FrameObject *frame_e16f753485e64a2b194eb543ced1c7e7;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
      tmp_return_value = NULL;
      tmp_outline_return_value_1 = NULL;
      tmp_outline_return_value_2 = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_e16f753485e64a2b194eb543ced1c7e7, codeobj_e16f753485e64a2b194eb543ced1c7e7, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_e16f753485e64a2b194eb543ced1c7e7 = cache_frame_e16f753485e64a2b194eb543ced1c7e7;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_e16f753485e64a2b194eb543ced1c7e7 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_e16f753485e64a2b194eb543ced1c7e7 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_cond_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ready );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 66;
          type_description_1 = "oooooo";
          goto frame_exception_exit_1;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 66;
          type_description_1 = "oooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_return_value = Py_None;
      Py_INCREF( tmp_return_value );
      goto frame_return_exit_1;
      branch_no_1:;
      // Tried code:
      tmp_source_name_2 = par_self;
  
      if ( tmp_source_name_2 == 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 = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
  
      tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__lock );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      assert( tmp_with_1__source == NULL );
      tmp_with_1__source = tmp_assign_source_1;
  
      tmp_source_name_3 = tmp_with_1__source;
  
      CHECK_OBJECT( tmp_source_name_3 );
      tmp_assign_source_2 = LOOKUP_SPECIAL( tmp_source_name_3, const_str_plain___exit__ );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      assert( tmp_with_1__exit == NULL );
      tmp_with_1__exit = tmp_assign_source_2;
  
      tmp_source_name_4 = tmp_with_1__source;
  
      CHECK_OBJECT( tmp_source_name_4 );
      tmp_called_name_1 = LOOKUP_SPECIAL( tmp_source_name_4, const_str_plain___enter__ );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 71;
      tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
      Py_DECREF( tmp_called_name_1 );
      if ( tmp_assign_source_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      assert( tmp_with_1__enter == NULL );
      tmp_with_1__enter = tmp_assign_source_3;
  
      tmp_assign_source_4 = Py_True;
      assert( tmp_with_1__indicator == NULL );
      Py_INCREF( tmp_assign_source_4 );
      tmp_with_1__indicator = tmp_assign_source_4;
  
      // Tried code:
      // Tried code:
      tmp_source_name_5 = par_self;
  
      if ( tmp_source_name_5 == 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 = 72;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_cond_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_ready );
      if ( tmp_cond_value_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 72;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_cond_truth_2 = CHECK_IF_TRUE( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_2 );
  
          exception_lineno = 72;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      Py_DECREF( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == 1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      tmp_return_value = Py_None;
      Py_INCREF( tmp_return_value );
      goto try_return_handler_3;
      branch_no_2:;
      tmp_source_name_6 = par_self;
  
      if ( tmp_source_name_6 == 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 = 77;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_cond_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_app_configs );
      if ( tmp_cond_value_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 77;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_cond_truth_3 = CHECK_IF_TRUE( tmp_cond_value_3 );
      if ( tmp_cond_truth_3 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_3 );
  
          exception_lineno = 77;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      Py_DECREF( tmp_cond_value_3 );
      if ( tmp_cond_truth_3 == 1 )
      {
          goto branch_yes_3;
      }
      else
      {
          goto branch_no_3;
      }
      branch_yes_3:;
      tmp_make_exception_arg_1 = const_str_digest_01a6e2b5a7e52dc168bd5b0da2289b2c;
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 78;
      {
          PyObject *call_args[] = { tmp_make_exception_arg_1 };
          tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_RuntimeError, call_args );
      }
  
      assert( tmp_raise_type_1 != NULL );
      exception_type = tmp_raise_type_1;
      exception_lineno = 78;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oooooo";
      goto try_except_handler_4;
      branch_no_3:;
      tmp_iter_arg_1 = par_installed_apps;
  
      if ( tmp_iter_arg_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "installed_apps" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 81;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_1 );
      if ( tmp_assign_source_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 81;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_5;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_6 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "oooooo";
              exception_lineno = 81;
              goto try_except_handler_5;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_6;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_7 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_7 );
      {
          PyObject *old = var_entry;
          var_entry = tmp_assign_source_7;
          Py_INCREF( var_entry );
          Py_XDECREF( old );
      }
  
      tmp_isinstance_inst_1 = var_entry;
  
      CHECK_OBJECT( tmp_isinstance_inst_1 );
      tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppConfig );
  
      if (unlikely( tmp_isinstance_cls_1 == NULL ))
      {
          tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AppConfig );
      }
  
      if ( tmp_isinstance_cls_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AppConfig" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 82;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
      if ( tmp_res == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 82;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      if ( tmp_res == 1 )
      {
          goto branch_yes_4;
      }
      else
      {
          goto branch_no_4;
      }
      branch_yes_4:;
      tmp_assign_source_8 = var_entry;
  
      CHECK_OBJECT( tmp_assign_source_8 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_8;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      goto branch_end_4;
      branch_no_4:;
      tmp_source_name_7 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppConfig );
  
      if (unlikely( tmp_source_name_7 == NULL ))
      {
          tmp_source_name_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AppConfig );
      }
  
      if ( tmp_source_name_7 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AppConfig" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 85;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_create );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 85;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      tmp_args_element_name_1 = var_entry;
  
      if ( tmp_args_element_name_1 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entry" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 85;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 85;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
      }
  
      Py_DECREF( tmp_called_name_2 );
      if ( tmp_assign_source_9 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 85;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_9;
          Py_XDECREF( old );
      }
  
      branch_end_4:;
      tmp_source_name_8 = var_app_config;
  
      CHECK_OBJECT( tmp_source_name_8 );
      tmp_compare_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_label );
      if ( tmp_compare_left_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 86;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      tmp_source_name_9 = par_self;
  
      if ( tmp_source_name_9 == NULL )
      {
          Py_DECREF( tmp_compare_left_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 = 86;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_compare_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_app_configs );
      if ( tmp_compare_right_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_compare_left_1 );
  
          exception_lineno = 86;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      tmp_cmp_In_1 = PySequence_Contains( tmp_compare_right_1, tmp_compare_left_1 );
      assert( !(tmp_cmp_In_1 == -1) );
      Py_DECREF( tmp_compare_left_1 );
      Py_DECREF( tmp_compare_right_1 );
      if ( tmp_cmp_In_1 == 1 )
      {
          goto branch_yes_5;
      }
      else
      {
          goto branch_no_5;
      }
      branch_yes_5:;
      tmp_called_name_3 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_ImproperlyConfigured );
  
      if (unlikely( tmp_called_name_3 == NULL ))
      {
          tmp_called_name_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ImproperlyConfigured );
      }
  
      if ( tmp_called_name_3 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ImproperlyConfigured" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 87;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_left_name_1 = const_str_digest_372bab6fe16c3dfdcad7c6313f9c2ef3;
      tmp_source_name_10 = var_app_config;
  
      if ( tmp_source_name_10 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 89;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_label );
      if ( tmp_right_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 89;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      tmp_args_element_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
      Py_DECREF( tmp_right_name_1 );
      if ( tmp_args_element_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 88;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 87;
      {
          PyObject *call_args[] = { tmp_args_element_name_2 };
          tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
      }
  
      Py_DECREF( tmp_args_element_name_2 );
      if ( tmp_raise_type_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 87;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      exception_type = tmp_raise_type_2;
      exception_lineno = 87;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oooooo";
      goto try_except_handler_5;
      branch_no_5:;
      tmp_ass_subvalue_1 = var_app_config;
  
      if ( tmp_ass_subvalue_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 91;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_source_name_11 = par_self;
  
      if ( tmp_source_name_11 == 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 = 91;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_app_configs );
      if ( tmp_ass_subscribed_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 91;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      tmp_source_name_12 = var_app_config;
  
      if ( tmp_source_name_12 == NULL )
      {
          Py_DECREF( tmp_ass_subscribed_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 91;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_label );
      if ( tmp_ass_subscript_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_ass_subscribed_1 );
  
          exception_lineno = 91;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      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 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 91;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      tmp_assattr_name_1 = par_self;
  
      if ( tmp_assattr_name_1 == 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 = 92;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_assattr_target_1 = var_app_config;
  
      if ( tmp_assattr_target_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 92;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_apps, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 92;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 81;
          type_description_1 = "oooooo";
          goto try_except_handler_5;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_5:;
      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( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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 try_except_handler_4;
      // End of try:
      try_end_1:;
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      tmp_called_name_4 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_Counter );
  
      if (unlikely( tmp_called_name_4 == NULL ))
      {
          tmp_called_name_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Counter );
      }
  
      if ( tmp_called_name_4 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Counter" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 95;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_source_name_13 = par_self;
  
      if ( tmp_source_name_13 == 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 = 96;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_app_configs );
      if ( tmp_called_instance_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 96;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 96;
      tmp_iter_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_values );
      Py_DECREF( tmp_called_instance_1 );
      if ( tmp_iter_arg_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 96;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      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( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 96;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      assert( tmp_genexpr_1__$0 == NULL );
      tmp_genexpr_1__$0 = tmp_assign_source_11;
  
      // Tried code:
      tmp_outline_return_value_1 = Nuitka_Generator_New(
          django$apps$registry$$$function_2_populate$$$genexpr_1_genexpr_context,
          module_django$apps$registry,
          const_str_angle_genexpr,
  #if PYTHON_VERSION >= 350
          const_str_digest_467c737c6e5b0a33ece292daf154152c,
  #endif
          codeobj_bb94bcc93e2c2c047df529df4f5e865e,
          1
      );
  
      ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_1)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 );
      assert( Py_SIZE( tmp_outline_return_value_1 ) >= 1 ); 
  
  
      goto try_return_handler_6;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      return NULL;
      // Return handler code:
      try_return_handler_6:;
      CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
      Py_DECREF( tmp_genexpr_1__$0 );
      tmp_genexpr_1__$0 = NULL;
  
      goto outline_result_1;
      // End of try:
      CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
      Py_DECREF( tmp_genexpr_1__$0 );
      tmp_genexpr_1__$0 = NULL;
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      return NULL;
      outline_result_1:;
      tmp_args_element_name_3 = tmp_outline_return_value_1;
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 95;
      {
          PyObject *call_args[] = { tmp_args_element_name_3 };
          tmp_assign_source_10 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
      }
  
      Py_DECREF( tmp_args_element_name_3 );
      if ( tmp_assign_source_10 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 95;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      assert( var_counts == NULL );
      var_counts = tmp_assign_source_10;
  
      // Tried code:
      tmp_called_instance_2 = var_counts;
  
      CHECK_OBJECT( tmp_called_instance_2 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 98;
      tmp_iter_arg_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_most_common );
      if ( tmp_iter_arg_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 98;
          type_description_1 = "oooooo";
          goto try_except_handler_7;
      }
      tmp_assign_source_13 = MAKE_ITERATOR( tmp_iter_arg_3 );
      Py_DECREF( tmp_iter_arg_3 );
      if ( tmp_assign_source_13 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 98;
          type_description_1 = "oooooo";
          goto try_except_handler_7;
      }
      assert( tmp_listcontraction_1__$0 == NULL );
      tmp_listcontraction_1__$0 = tmp_assign_source_13;
  
      tmp_assign_source_14 = PyList_New( 0 );
      assert( tmp_listcontraction_1__contraction == NULL );
      tmp_listcontraction_1__contraction = tmp_assign_source_14;
  
      MAKE_OR_REUSE_FRAME( cache_frame_89cfb6b370ccc1f29cafbc0cb2605d27_2, codeobj_89cfb6b370ccc1f29cafbc0cb2605d27, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 = cache_frame_89cfb6b370ccc1f29cafbc0cb2605d27_2;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 ) == 2 ); // Frame stack
  
      // Framed code:
      // Tried code:
      loop_start_2:;
      tmp_next_source_2 = tmp_listcontraction_1__$0;
  
      CHECK_OBJECT( tmp_next_source_2 );
      tmp_assign_source_15 = ITERATOR_NEXT( tmp_next_source_2 );
      if ( tmp_assign_source_15 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_2;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_2 = "ooo";
              exception_lineno = 98;
              goto try_except_handler_8;
          }
      }
  
      {
          PyObject *old = tmp_listcontraction_1__iter_value_0;
          tmp_listcontraction_1__iter_value_0 = tmp_assign_source_15;
          Py_XDECREF( old );
      }
  
      // Tried code:
      tmp_iter_arg_4 = tmp_listcontraction_1__iter_value_0;
  
      CHECK_OBJECT( tmp_iter_arg_4 );
      tmp_assign_source_16 = MAKE_ITERATOR( tmp_iter_arg_4 );
      if ( tmp_assign_source_16 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 98;
          type_description_2 = "ooo";
          goto try_except_handler_9;
      }
      {
          PyObject *old = tmp_listcontraction$tuple_unpack_1__source_iter;
          tmp_listcontraction$tuple_unpack_1__source_iter = tmp_assign_source_16;
          Py_XDECREF( old );
      }
  
      // Tried code:
      tmp_unpack_1 = tmp_listcontraction$tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_1 );
      tmp_assign_source_17 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
      if ( tmp_assign_source_17 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_2 = "ooo";
          exception_lineno = 98;
          goto try_except_handler_10;
      }
      {
          PyObject *old = tmp_listcontraction$tuple_unpack_1__element_1;
          tmp_listcontraction$tuple_unpack_1__element_1 = tmp_assign_source_17;
          Py_XDECREF( old );
      }
  
      tmp_unpack_2 = tmp_listcontraction$tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_2 );
      tmp_assign_source_18 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
      if ( tmp_assign_source_18 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_2 = "ooo";
          exception_lineno = 98;
          goto try_except_handler_10;
      }
      {
          PyObject *old = tmp_listcontraction$tuple_unpack_1__element_2;
          tmp_listcontraction$tuple_unpack_1__element_2 = tmp_assign_source_18;
          Py_XDECREF( old );
      }
  
      tmp_iterator_name_1 = tmp_listcontraction$tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_iterator_name_1 );
      // Check if iterator has left-over elements.
      CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
  
      tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
  
      if (likely( 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( &exception_type, &exception_value, &exception_tb );
  
                  type_description_2 = "ooo";
                  exception_lineno = 98;
                  goto try_except_handler_10;
              }
          }
      }
      else
      {
          Py_DECREF( 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( &exception_type, &exception_value, &exception_tb );
  
          type_description_2 = "ooo";
          exception_lineno = 98;
          goto try_except_handler_10;
      }
      goto try_end_2;
      // Exception handler code:
      try_except_handler_10:;
      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_XDECREF( tmp_listcontraction$tuple_unpack_1__source_iter );
      tmp_listcontraction$tuple_unpack_1__source_iter = 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_9;
      // End of try:
      try_end_2:;
      goto try_end_3;
      // Exception handler code:
      try_except_handler_9:;
      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;
  
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__element_1 );
      tmp_listcontraction$tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__element_2 );
      tmp_listcontraction$tuple_unpack_1__element_2 = NULL;
  
      // 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 try_except_handler_8;
      // End of try:
      try_end_3:;
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__source_iter );
      tmp_listcontraction$tuple_unpack_1__source_iter = NULL;
  
      tmp_assign_source_19 = tmp_listcontraction$tuple_unpack_1__element_1;
  
      CHECK_OBJECT( tmp_assign_source_19 );
      {
          PyObject *old = outline_0_var_name;
          outline_0_var_name = tmp_assign_source_19;
          Py_INCREF( outline_0_var_name );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__element_1 );
      tmp_listcontraction$tuple_unpack_1__element_1 = NULL;
  
      tmp_assign_source_20 = tmp_listcontraction$tuple_unpack_1__element_2;
  
      CHECK_OBJECT( tmp_assign_source_20 );
      {
          PyObject *old = outline_0_var_count;
          outline_0_var_count = tmp_assign_source_20;
          Py_INCREF( outline_0_var_count );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__element_2 );
      tmp_listcontraction$tuple_unpack_1__element_2 = NULL;
  
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__element_1 );
      tmp_listcontraction$tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_listcontraction$tuple_unpack_1__element_2 );
      tmp_listcontraction$tuple_unpack_1__element_2 = NULL;
  
      tmp_compare_left_2 = outline_0_var_count;
  
      if ( tmp_compare_left_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "count" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 98;
          type_description_2 = "ooo";
          goto try_except_handler_8;
      }
  
      tmp_compare_right_2 = const_int_pos_1;
      tmp_cmp_Gt_1 = RICH_COMPARE_BOOL_GT( tmp_compare_left_2, tmp_compare_right_2 );
      if ( tmp_cmp_Gt_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 98;
          type_description_2 = "ooo";
          goto try_except_handler_8;
      }
      if ( tmp_cmp_Gt_1 == 1 )
      {
          goto branch_yes_6;
      }
      else
      {
          goto branch_no_6;
      }
      branch_yes_6:;
      tmp_append_list_1 = tmp_listcontraction_1__contraction;
  
      CHECK_OBJECT( tmp_append_list_1 );
      tmp_append_value_1 = outline_0_var_name;
  
      if ( tmp_append_value_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 98;
          type_description_2 = "ooo";
          goto try_except_handler_8;
      }
  
      assert( PyList_Check( tmp_append_list_1 ) );
      tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
      if ( tmp_res == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 98;
          type_description_2 = "ooo";
          goto try_except_handler_8;
      }
      branch_no_6:;
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 98;
          type_description_2 = "ooo";
          goto try_except_handler_8;
      }
      goto loop_start_2;
      loop_end_2:;
      tmp_outline_return_value_2 = tmp_listcontraction_1__contraction;
  
      CHECK_OBJECT( tmp_outline_return_value_2 );
      Py_INCREF( tmp_outline_return_value_2 );
      goto try_return_handler_8;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      return NULL;
      // Return handler code:
      try_return_handler_8:;
      Py_XDECREF( tmp_listcontraction_1__$0 );
      tmp_listcontraction_1__$0 = NULL;
  
      Py_XDECREF( tmp_listcontraction_1__contraction );
      tmp_listcontraction_1__contraction = NULL;
  
      Py_XDECREF( tmp_listcontraction_1__iter_value_0 );
      tmp_listcontraction_1__iter_value_0 = NULL;
  
      goto frame_return_exit_2;
      // Exception handler code:
      try_except_handler_8:;
      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_listcontraction_1__$0 );
      tmp_listcontraction_1__$0 = NULL;
  
      Py_XDECREF( tmp_listcontraction_1__contraction );
      tmp_listcontraction_1__contraction = NULL;
  
      Py_XDECREF( tmp_listcontraction_1__iter_value_0 );
      tmp_listcontraction_1__iter_value_0 = 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_2;
      // End of try:
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_2:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_7;
  
      frame_exception_exit_2:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_89cfb6b370ccc1f29cafbc0cb2605d27_2->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_89cfb6b370ccc1f29cafbc0cb2605d27_2, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_89cfb6b370ccc1f29cafbc0cb2605d27_2,
          type_description_2,
          outline_0_var_name,
          outline_0_var_count,
          var_counts
      );
  
  
      // Release cached frame.
      if ( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 == cache_frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 )
      {
          Py_DECREF( frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 );
      }
      cache_frame_89cfb6b370ccc1f29cafbc0cb2605d27_2 = NULL;
  
      assertFrameObject( frame_89cfb6b370ccc1f29cafbc0cb2605d27_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:;
      type_description_1 = "oooooo";
      goto try_except_handler_7;
      skip_nested_handling_1:;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      return NULL;
      // Return handler code:
      try_return_handler_7:;
      Py_XDECREF( outline_0_var_name );
      outline_0_var_name = NULL;
  
      Py_XDECREF( outline_0_var_count );
      outline_0_var_count = NULL;
  
      goto outline_result_2;
      // Exception handler code:
      try_except_handler_7:;
      exception_keeper_type_5 = exception_type;
      exception_keeper_value_5 = exception_value;
      exception_keeper_tb_5 = exception_tb;
      exception_keeper_lineno_5 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      Py_XDECREF( outline_0_var_name );
      outline_0_var_name = NULL;
  
      Py_XDECREF( outline_0_var_count );
      outline_0_var_count = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_5;
      exception_value = exception_keeper_value_5;
      exception_tb = exception_keeper_tb_5;
      exception_lineno = exception_keeper_lineno_5;
  
      goto outline_exception_1;
      // End of try:
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      return NULL;
      outline_exception_1:;
      exception_lineno = 98;
      goto try_except_handler_4;
      outline_result_2:;
      tmp_assign_source_12 = tmp_outline_return_value_2;
      assert( var_duplicates == NULL );
      var_duplicates = tmp_assign_source_12;
  
      tmp_cond_value_4 = var_duplicates;
  
      CHECK_OBJECT( tmp_cond_value_4 );
      tmp_cond_truth_4 = CHECK_IF_TRUE( tmp_cond_value_4 );
      if ( tmp_cond_truth_4 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 99;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      if ( tmp_cond_truth_4 == 1 )
      {
          goto branch_yes_7;
      }
      else
      {
          goto branch_no_7;
      }
      branch_yes_7:;
      tmp_called_name_5 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_ImproperlyConfigured );
  
      if (unlikely( tmp_called_name_5 == NULL ))
      {
          tmp_called_name_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ImproperlyConfigured );
      }
  
      if ( tmp_called_name_5 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ImproperlyConfigured" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 100;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_left_name_2 = const_str_digest_db59c7e488ceba6c57f5e86656fba734;
      tmp_called_instance_3 = const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77;
      tmp_args_element_name_5 = var_duplicates;
  
      CHECK_OBJECT( tmp_args_element_name_5 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 102;
      {
          PyObject *call_args[] = { tmp_args_element_name_5 };
          tmp_right_name_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_join, call_args );
      }
  
      if ( tmp_right_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 102;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_args_element_name_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
      Py_DECREF( tmp_right_name_2 );
      if ( tmp_args_element_name_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 101;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 100;
      {
          PyObject *call_args[] = { tmp_args_element_name_4 };
          tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
      }
  
      Py_DECREF( tmp_args_element_name_4 );
      if ( tmp_raise_type_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 100;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      exception_type = tmp_raise_type_3;
      exception_lineno = 100;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oooooo";
      goto try_except_handler_4;
      branch_no_7:;
      tmp_assattr_name_2 = Py_True;
      tmp_assattr_target_2 = par_self;
  
      if ( tmp_assattr_target_2 == 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 = 104;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_apps_ready, tmp_assattr_name_2 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 104;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_source_name_14 = par_self;
  
      if ( tmp_source_name_14 == 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 = 107;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_called_instance_4 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_app_configs );
      if ( tmp_called_instance_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 107;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 107;
      tmp_iter_arg_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_values );
      Py_DECREF( tmp_called_instance_4 );
      if ( tmp_iter_arg_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 107;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_assign_source_21 = MAKE_ITERATOR( tmp_iter_arg_5 );
      Py_DECREF( tmp_iter_arg_5 );
      if ( tmp_assign_source_21 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 107;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      assert( tmp_for_loop_2__for_iterator == NULL );
      tmp_for_loop_2__for_iterator = tmp_assign_source_21;
  
      // Tried code:
      loop_start_3:;
      tmp_next_source_3 = tmp_for_loop_2__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_3 );
      tmp_assign_source_22 = ITERATOR_NEXT( tmp_next_source_3 );
      if ( tmp_assign_source_22 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_3;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "oooooo";
              exception_lineno = 107;
              goto try_except_handler_11;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_2__iter_value;
          tmp_for_loop_2__iter_value = tmp_assign_source_22;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_23 = tmp_for_loop_2__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_23 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_23;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_called_instance_5 = var_app_config;
  
      CHECK_OBJECT( tmp_called_instance_5 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 108;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_import_models );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 108;
          type_description_1 = "oooooo";
          goto try_except_handler_11;
      }
      Py_DECREF( tmp_unused );
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 107;
          type_description_1 = "oooooo";
          goto try_except_handler_11;
      }
      goto loop_start_3;
      loop_end_3:;
      goto try_end_4;
      // Exception handler code:
      try_except_handler_11:;
      exception_keeper_type_6 = exception_type;
      exception_keeper_value_6 = exception_value;
      exception_keeper_tb_6 = exception_tb;
      exception_keeper_lineno_6 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      Py_XDECREF( tmp_for_loop_2__iter_value );
      tmp_for_loop_2__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_2__for_iterator );
      tmp_for_loop_2__for_iterator = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_6;
      exception_value = exception_keeper_value_6;
      exception_tb = exception_keeper_tb_6;
      exception_lineno = exception_keeper_lineno_6;
  
      goto try_except_handler_4;
      // End of try:
      try_end_4:;
      Py_XDECREF( tmp_for_loop_2__iter_value );
      tmp_for_loop_2__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_2__for_iterator );
      tmp_for_loop_2__for_iterator = NULL;
  
      tmp_called_instance_6 = par_self;
  
      if ( tmp_called_instance_6 == 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 = 110;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 110;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_clear_cache );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 110;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      Py_DECREF( tmp_unused );
      tmp_assattr_name_3 = Py_True;
      tmp_assattr_target_3 = par_self;
  
      if ( tmp_assattr_target_3 == 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 = 112;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_models_ready, tmp_assattr_name_3 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 112;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_called_instance_7 = par_self;
  
      if ( tmp_called_instance_7 == 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 = 115;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 115;
      tmp_iter_arg_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_7, const_str_plain_get_app_configs );
      if ( tmp_iter_arg_6 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 115;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      tmp_assign_source_24 = MAKE_ITERATOR( tmp_iter_arg_6 );
      Py_DECREF( tmp_iter_arg_6 );
      if ( tmp_assign_source_24 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 115;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      assert( tmp_for_loop_3__for_iterator == NULL );
      tmp_for_loop_3__for_iterator = tmp_assign_source_24;
  
      // Tried code:
      loop_start_4:;
      tmp_next_source_4 = tmp_for_loop_3__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_4 );
      tmp_assign_source_25 = ITERATOR_NEXT( tmp_next_source_4 );
      if ( tmp_assign_source_25 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_4;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "oooooo";
              exception_lineno = 115;
              goto try_except_handler_12;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_3__iter_value;
          tmp_for_loop_3__iter_value = tmp_assign_source_25;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_26 = tmp_for_loop_3__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_26 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_26;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_called_instance_8 = var_app_config;
  
      CHECK_OBJECT( tmp_called_instance_8 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 116;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_8, const_str_plain_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 116;
          type_description_1 = "oooooo";
          goto try_except_handler_12;
      }
      Py_DECREF( tmp_unused );
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 115;
          type_description_1 = "oooooo";
          goto try_except_handler_12;
      }
      goto loop_start_4;
      loop_end_4:;
      goto try_end_5;
      // Exception handler code:
      try_except_handler_12:;
      exception_keeper_type_7 = exception_type;
      exception_keeper_value_7 = exception_value;
      exception_keeper_tb_7 = exception_tb;
      exception_keeper_lineno_7 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      Py_XDECREF( tmp_for_loop_3__iter_value );
      tmp_for_loop_3__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_3__for_iterator );
      tmp_for_loop_3__for_iterator = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_7;
      exception_value = exception_keeper_value_7;
      exception_tb = exception_keeper_tb_7;
      exception_lineno = exception_keeper_lineno_7;
  
      goto try_except_handler_4;
      // End of try:
      try_end_5:;
      Py_XDECREF( tmp_for_loop_3__iter_value );
      tmp_for_loop_3__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_3__for_iterator );
      tmp_for_loop_3__for_iterator = NULL;
  
      tmp_assattr_name_4 = Py_True;
      tmp_assattr_target_4 = par_self;
  
      if ( tmp_assattr_target_4 == 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 = 118;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_ready, tmp_assattr_name_4 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 118;
          type_description_1 = "oooooo";
          goto try_except_handler_4;
      }
      goto try_end_6;
      // Exception handler code:
      try_except_handler_4:;
      exception_keeper_type_8 = exception_type;
      exception_keeper_value_8 = exception_value;
      exception_keeper_tb_8 = exception_tb;
      exception_keeper_lineno_8 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      // Preserve existing published exception.
      exception_preserved_type_1 = PyThreadState_GET()->exc_type;
      Py_XINCREF( exception_preserved_type_1 );
      exception_preserved_value_1 = PyThreadState_GET()->exc_value;
      Py_XINCREF( exception_preserved_value_1 );
      exception_preserved_tb_1 = (PyTracebackObject *)PyThreadState_GET()->exc_traceback;
      Py_XINCREF( exception_preserved_tb_1 );
  
      if ( exception_keeper_tb_8 == NULL )
      {
          exception_keeper_tb_8 = MAKE_TRACEBACK( frame_e16f753485e64a2b194eb543ced1c7e7, exception_keeper_lineno_8 );
      }
      else if ( exception_keeper_lineno_8 != 0 )
      {
          exception_keeper_tb_8 = ADD_TRACEBACK( exception_keeper_tb_8, frame_e16f753485e64a2b194eb543ced1c7e7, exception_keeper_lineno_8 );
      }
  
      NORMALIZE_EXCEPTION( &exception_keeper_type_8, &exception_keeper_value_8, &exception_keeper_tb_8 );
      PyException_SetTraceback( exception_keeper_value_8, (PyObject *)exception_keeper_tb_8 );
      PUBLISH_EXCEPTION( &exception_keeper_type_8, &exception_keeper_value_8, &exception_keeper_tb_8 );
      // Tried code:
      tmp_compare_left_3 = PyThreadState_GET()->exc_type;
      tmp_compare_right_3 = PyExc_BaseException;
      tmp_exc_match_exception_match_1 = EXCEPTION_MATCH_BOOL( tmp_compare_left_3, tmp_compare_right_3 );
      if ( tmp_exc_match_exception_match_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_13;
      }
      if ( tmp_exc_match_exception_match_1 == 1 )
      {
          goto branch_yes_8;
      }
      else
      {
          goto branch_no_8;
      }
      branch_yes_8:;
      tmp_assign_source_27 = Py_False;
      {
          PyObject *old = tmp_with_1__indicator;
          tmp_with_1__indicator = tmp_assign_source_27;
          Py_INCREF( tmp_with_1__indicator );
          Py_XDECREF( old );
      }
  
      tmp_called_name_6 = tmp_with_1__exit;
  
      CHECK_OBJECT( tmp_called_name_6 );
      tmp_args_element_name_6 = PyThreadState_GET()->exc_type;
      tmp_args_element_name_7 = PyThreadState_GET()->exc_value;
      tmp_args_element_name_8 = PyThreadState_GET()->exc_traceback;
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 71;
      {
          PyObject *call_args[] = { tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8 };
          tmp_cond_value_5 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_6, call_args );
      }
  
      if ( tmp_cond_value_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_13;
      }
      tmp_cond_truth_5 = CHECK_IF_TRUE( tmp_cond_value_5 );
      if ( tmp_cond_truth_5 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_5 );
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_13;
      }
      Py_DECREF( tmp_cond_value_5 );
      if ( tmp_cond_truth_5 == 1 )
      {
          goto branch_no_9;
      }
      else
      {
          goto branch_yes_9;
      }
      branch_yes_9:;
      tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
      if (unlikely( tmp_result == false ))
      {
          exception_lineno = 71;
      }
  
      if (exception_tb && exception_tb->tb_frame == &frame_e16f753485e64a2b194eb543ced1c7e7->m_frame) frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = exception_tb->tb_lineno;
      type_description_1 = "oooooo";
      goto try_except_handler_13;
      branch_no_9:;
      goto branch_end_8;
      branch_no_8:;
      tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
      if (unlikely( tmp_result == false ))
      {
          exception_lineno = 71;
      }
  
      if (exception_tb && exception_tb->tb_frame == &frame_e16f753485e64a2b194eb543ced1c7e7->m_frame) frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = exception_tb->tb_lineno;
      type_description_1 = "oooooo";
      goto try_except_handler_13;
      branch_end_8:;
      goto try_end_7;
      // Exception handler code:
      try_except_handler_13:;
      exception_keeper_type_9 = exception_type;
      exception_keeper_value_9 = exception_value;
      exception_keeper_tb_9 = exception_tb;
      exception_keeper_lineno_9 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      // Restore previous exception.
      SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
      // Re-raise.
      exception_type = exception_keeper_type_9;
      exception_value = exception_keeper_value_9;
      exception_tb = exception_keeper_tb_9;
      exception_lineno = exception_keeper_lineno_9;
  
      goto try_except_handler_3;
      // End of try:
      try_end_7:;
      // Restore previous exception.
      SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
      goto try_end_6;
      // exception handler codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      return NULL;
      // End of try:
      try_end_6:;
      goto try_end_8;
      // Return handler code:
      try_return_handler_3:;
      tmp_compare_left_4 = tmp_with_1__indicator;
  
      CHECK_OBJECT( tmp_compare_left_4 );
      tmp_compare_right_4 = Py_True;
      tmp_is_1 = ( tmp_compare_left_4 == tmp_compare_right_4 );
      if ( tmp_is_1 )
      {
          goto branch_yes_10;
      }
      else
      {
          goto branch_no_10;
      }
      branch_yes_10:;
      tmp_called_name_7 = tmp_with_1__exit;
  
      CHECK_OBJECT( tmp_called_name_7 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 71;
      tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_7, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) );
  
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_unused );
      branch_no_10:;
      goto try_return_handler_2;
      // Exception handler code:
      try_except_handler_3:;
      exception_keeper_type_10 = exception_type;
      exception_keeper_value_10 = exception_value;
      exception_keeper_tb_10 = exception_tb;
      exception_keeper_lineno_10 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      tmp_compare_left_5 = tmp_with_1__indicator;
  
      CHECK_OBJECT( tmp_compare_left_5 );
      tmp_compare_right_5 = Py_True;
      tmp_is_2 = ( tmp_compare_left_5 == tmp_compare_right_5 );
      if ( tmp_is_2 )
      {
          goto branch_yes_11;
      }
      else
      {
          goto branch_no_11;
      }
      branch_yes_11:;
      tmp_called_name_8 = tmp_with_1__exit;
  
      CHECK_OBJECT( tmp_called_name_8 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 71;
      tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_8, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) );
  
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
          Py_DECREF( exception_keeper_type_10 );
          Py_XDECREF( exception_keeper_value_10 );
          Py_XDECREF( exception_keeper_tb_10 );
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_unused );
      branch_no_11:;
      // Re-raise.
      exception_type = exception_keeper_type_10;
      exception_value = exception_keeper_value_10;
      exception_tb = exception_keeper_tb_10;
      exception_lineno = exception_keeper_lineno_10;
  
      goto try_except_handler_2;
      // End of try:
      try_end_8:;
      tmp_compare_left_6 = tmp_with_1__indicator;
  
      CHECK_OBJECT( tmp_compare_left_6 );
      tmp_compare_right_6 = Py_True;
      tmp_is_3 = ( tmp_compare_left_6 == tmp_compare_right_6 );
      if ( tmp_is_3 )
      {
          goto branch_yes_12;
      }
      else
      {
          goto branch_no_12;
      }
      branch_yes_12:;
      tmp_called_name_9 = tmp_with_1__exit;
  
      CHECK_OBJECT( tmp_called_name_9 );
      frame_e16f753485e64a2b194eb543ced1c7e7->m_frame.f_lineno = 71;
      tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_9, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) );
  
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 71;
          type_description_1 = "oooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_unused );
      branch_no_12:;
      goto try_end_9;
      // Return handler code:
      try_return_handler_2:;
      Py_XDECREF( tmp_with_1__source );
      tmp_with_1__source = NULL;
  
      Py_XDECREF( tmp_with_1__enter );
      tmp_with_1__enter = NULL;
  
      Py_XDECREF( tmp_with_1__exit );
      tmp_with_1__exit = NULL;
  
      Py_XDECREF( tmp_with_1__indicator );
      tmp_with_1__indicator = NULL;
  
      goto frame_return_exit_1;
      // Exception handler code:
      try_except_handler_2:;
      exception_keeper_type_11 = exception_type;
      exception_keeper_value_11 = exception_value;
      exception_keeper_tb_11 = exception_tb;
      exception_keeper_lineno_11 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      Py_XDECREF( tmp_with_1__source );
      tmp_with_1__source = NULL;
  
      Py_XDECREF( tmp_with_1__enter );
      tmp_with_1__enter = NULL;
  
      Py_XDECREF( tmp_with_1__exit );
      tmp_with_1__exit = NULL;
  
      Py_XDECREF( tmp_with_1__indicator );
      tmp_with_1__indicator = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_11;
      exception_value = exception_keeper_value_11;
      exception_tb = exception_keeper_tb_11;
      exception_lineno = exception_keeper_lineno_11;
  
      goto frame_exception_exit_1;
      // End of try:
      try_end_9:;
  
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_e16f753485e64a2b194eb543ced1c7e7 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_2;
  
      frame_return_exit_1:;
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_e16f753485e64a2b194eb543ced1c7e7 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_e16f753485e64a2b194eb543ced1c7e7 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_e16f753485e64a2b194eb543ced1c7e7, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_e16f753485e64a2b194eb543ced1c7e7->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_e16f753485e64a2b194eb543ced1c7e7, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_e16f753485e64a2b194eb543ced1c7e7,
          type_description_1,
          par_self,
          par_installed_apps,
          var_entry,
          var_app_config,
          var_counts,
          var_duplicates
      );
  
  
      // Release cached frame.
      if ( frame_e16f753485e64a2b194eb543ced1c7e7 == cache_frame_e16f753485e64a2b194eb543ced1c7e7 )
      {
          Py_DECREF( frame_e16f753485e64a2b194eb543ced1c7e7 );
      }
      cache_frame_e16f753485e64a2b194eb543ced1c7e7 = NULL;
  
      assertFrameObject( frame_e16f753485e64a2b194eb543ced1c7e7 );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_2:;
  
      Py_XDECREF( tmp_with_1__source );
      tmp_with_1__source = NULL;
  
      Py_XDECREF( tmp_with_1__enter );
      tmp_with_1__enter = NULL;
  
      Py_XDECREF( tmp_with_1__exit );
      tmp_with_1__exit = NULL;
  
      Py_XDECREF( tmp_with_1__indicator );
      tmp_with_1__indicator = NULL;
  
      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( django$apps$registry$$$function_2_populate );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_installed_apps );
      par_installed_apps = NULL;
  
      Py_XDECREF( var_entry );
      var_entry = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      Py_XDECREF( var_counts );
      var_counts = NULL;
  
      Py_XDECREF( var_duplicates );
      var_duplicates = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      exception_keeper_type_12 = exception_type;
      exception_keeper_value_12 = exception_value;
      exception_keeper_tb_12 = exception_tb;
      exception_keeper_lineno_12 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_installed_apps );
      par_installed_apps = NULL;
  
      Py_XDECREF( var_entry );
      var_entry = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      Py_XDECREF( var_counts );
      var_counts = NULL;
  
      Py_XDECREF( var_duplicates );
      var_duplicates = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_12;
      exception_value = exception_keeper_value_12;
      exception_tb = exception_keeper_tb_12;
      exception_lineno = exception_keeper_lineno_12;
  
      goto function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_2_populate );
      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;
  
  }
  
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  struct django$apps$registry$$$function_2_populate$$$genexpr_1_genexpr_locals {
      PyObject *var_app_config
      PyObject *tmp_iter_value_0
      PyObject *exception_type
      PyObject *exception_value
      PyTracebackObject *exception_tb
      int exception_lineno
      PyObject *exception_keeper_type_1;
      PyObject *exception_keeper_value_1;
      PyTracebackObject *exception_keeper_tb_1;
      int exception_keeper_lineno_1;
      PyObject *exception_keeper_type_2;
      PyObject *exception_keeper_value_2;
      PyTracebackObject *exception_keeper_tb_2;
      int exception_keeper_lineno_2;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      char const *type_description_1
  };
  #endif
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_2_populate$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
  #else
  static void django$apps$registry$$$function_2_populate$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator )
  #endif
  {
      CHECK_OBJECT( (PyObject *)generator );
      assert( Nuitka_Generator_Check( (PyObject *)generator ) );
  
      // Local variable initialization
      PyObject *var_app_config = NULL;
      PyObject *tmp_iter_value_0 = 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;
      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 *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_generator = NULL;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
  
      // Dispatch to yield based on return label index:
  
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_generator, codeobj_bb94bcc93e2c2c047df529df4f5e865e, module_django$apps$registry, sizeof(void *)+sizeof(void *) );
      generator->m_frame = cache_frame_generator;
  
      // 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();
  
      generator->m_frame->m_frame.f_exc_type = thread_state->exc_type;
      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 = thread_state->exc_value;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
      generator->m_frame->m_frame.f_exc_traceback = thread_state->exc_traceback;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
  #endif
  
      // Framed code:
      // Tried code:
      loop_start_1:;
      if ( generator->m_closure[0] == NULL )
      {
          tmp_next_source_1 = NULL;
      }
      else
      {
          tmp_next_source_1 = PyCell_GET( generator->m_closure[0] );
      }
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "No";
              exception_lineno = 96;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_iter_value_0;
          tmp_iter_value_0 = tmp_assign_source_1;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_2 = tmp_iter_value_0;
  
      CHECK_OBJECT( tmp_assign_source_2 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_2;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_source_name_1 = var_app_config;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_expression_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name );
      if ( tmp_expression_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 96;
          type_description_1 = "No";
          goto try_except_handler_2;
      }
      tmp_unused = GENERATOR_YIELD( generator, tmp_expression_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 96;
          type_description_1 = "No";
          goto try_except_handler_2;
      }
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 96;
          type_description_1 = "No";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_iter_value_0 );
      tmp_iter_value_0 = 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:;
  
      Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
  
  #if 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( exception_type ) )
      {
          if ( exception_tb == NULL )
          {
              exception_tb = MAKE_TRACEBACK( generator->m_frame, exception_lineno );
          }
          else if ( exception_tb->tb_frame != &generator->m_frame->m_frame )
          {
              exception_tb = ADD_TRACEBACK( exception_tb, generator->m_frame, exception_lineno );
          }
  
          Nuitka_Frame_AttachLocals(
              (struct Nuitka_FrameObject *)generator->m_frame,
              type_description_1,
              NULL,
              var_app_config
          );
  
  
          // Release cached frame.
          if ( generator->m_frame == cache_frame_generator )
          {
              Py_DECREF( generator->m_frame );
          }
          cache_frame_generator = NULL;
  
          assertFrameObject( generator->m_frame );
      }
  
  #if 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_2;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( var_app_config );
      var_app_config = 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 function_exception_exit;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_iter_value_0 );
      tmp_iter_value_0 = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
      function_exception_exit:
      assert( exception_type );
      RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
  }
  
  
  static PyObject *impl_django$apps$registry$$$function_3_check_apps_ready( 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 *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;
      PyObject *tmp_called_name_1;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_raise_type_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      static struct Nuitka_FrameObject *cache_frame_42b88463eec1fe471015d6ea6d1b7e2e = NULL;
  
      struct Nuitka_FrameObject *frame_42b88463eec1fe471015d6ea6d1b7e2e;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_42b88463eec1fe471015d6ea6d1b7e2e, codeobj_42b88463eec1fe471015d6ea6d1b7e2e, module_django$apps$registry, sizeof(void *) );
      frame_42b88463eec1fe471015d6ea6d1b7e2e = cache_frame_42b88463eec1fe471015d6ea6d1b7e2e;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_42b88463eec1fe471015d6ea6d1b7e2e );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_42b88463eec1fe471015d6ea6d1b7e2e ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_cond_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_apps_ready );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 124;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 124;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_no_1;
      }
      else
      {
          goto branch_yes_1;
      }
      branch_yes_1:;
      tmp_called_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady );
  
      if (unlikely( tmp_called_name_1 == NULL ))
      {
          tmp_called_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady );
      }
  
      if ( tmp_called_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AppRegistryNotReady" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 125;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      frame_42b88463eec1fe471015d6ea6d1b7e2e->m_frame.f_lineno = 125;
      tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_digest_57d5a55a5b2a277e5ae75495554bd0fc_tuple, 0 ) );
  
      if ( tmp_raise_type_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 125;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      exception_type = tmp_raise_type_1;
      exception_lineno = 125;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "o";
      goto frame_exception_exit_1;
      branch_no_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_42b88463eec1fe471015d6ea6d1b7e2e );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_42b88463eec1fe471015d6ea6d1b7e2e );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_42b88463eec1fe471015d6ea6d1b7e2e, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_42b88463eec1fe471015d6ea6d1b7e2e->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_42b88463eec1fe471015d6ea6d1b7e2e, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_42b88463eec1fe471015d6ea6d1b7e2e,
          type_description_1,
          par_self
      );
  
  
      // Release cached frame.
      if ( frame_42b88463eec1fe471015d6ea6d1b7e2e == cache_frame_42b88463eec1fe471015d6ea6d1b7e2e )
      {
          Py_DECREF( frame_42b88463eec1fe471015d6ea6d1b7e2e );
      }
      cache_frame_42b88463eec1fe471015d6ea6d1b7e2e = NULL;
  
      assertFrameObject( frame_42b88463eec1fe471015d6ea6d1b7e2e );
  
      // 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( django$apps$registry$$$function_3_check_apps_ready );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = 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;
  
      // 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( django$apps$registry$$$function_3_check_apps_ready );
      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_django$apps$registry$$$function_4_check_models_ready( 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 *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;
      PyObject *tmp_called_name_1;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_raise_type_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      static struct Nuitka_FrameObject *cache_frame_59c16036285c75788cb56563c3d3d346 = NULL;
  
      struct Nuitka_FrameObject *frame_59c16036285c75788cb56563c3d3d346;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_59c16036285c75788cb56563c3d3d346, codeobj_59c16036285c75788cb56563c3d3d346, module_django$apps$registry, sizeof(void *) );
      frame_59c16036285c75788cb56563c3d3d346 = cache_frame_59c16036285c75788cb56563c3d3d346;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_59c16036285c75788cb56563c3d3d346 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_59c16036285c75788cb56563c3d3d346 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_cond_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_models_ready );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 131;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 131;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_no_1;
      }
      else
      {
          goto branch_yes_1;
      }
      branch_yes_1:;
      tmp_called_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady );
  
      if (unlikely( tmp_called_name_1 == NULL ))
      {
          tmp_called_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady );
      }
  
      if ( tmp_called_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AppRegistryNotReady" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 132;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      frame_59c16036285c75788cb56563c3d3d346->m_frame.f_lineno = 132;
      tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_digest_a6bfc6f5cfccbe9812cb992f9d1178ee_tuple, 0 ) );
  
      if ( tmp_raise_type_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 132;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      exception_type = tmp_raise_type_1;
      exception_lineno = 132;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "o";
      goto frame_exception_exit_1;
      branch_no_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_59c16036285c75788cb56563c3d3d346 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_59c16036285c75788cb56563c3d3d346 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_59c16036285c75788cb56563c3d3d346, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_59c16036285c75788cb56563c3d3d346->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_59c16036285c75788cb56563c3d3d346, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_59c16036285c75788cb56563c3d3d346,
          type_description_1,
          par_self
      );
  
  
      // Release cached frame.
      if ( frame_59c16036285c75788cb56563c3d3d346 == cache_frame_59c16036285c75788cb56563c3d3d346 )
      {
          Py_DECREF( frame_59c16036285c75788cb56563c3d3d346 );
      }
      cache_frame_59c16036285c75788cb56563c3d3d346 = NULL;
  
      assertFrameObject( frame_59c16036285c75788cb56563c3d3d346 );
  
      // 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( django$apps$registry$$$function_4_check_models_ready );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = 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;
  
      // 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( django$apps$registry$$$function_4_check_models_ready );
      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_django$apps$registry$$$function_5_get_app_configs( 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 *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;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_98d02a862a982544004d0229c9ba6a7a = NULL;
  
      struct Nuitka_FrameObject *frame_98d02a862a982544004d0229c9ba6a7a;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_98d02a862a982544004d0229c9ba6a7a, codeobj_98d02a862a982544004d0229c9ba6a7a, module_django$apps$registry, sizeof(void *) );
      frame_98d02a862a982544004d0229c9ba6a7a = cache_frame_98d02a862a982544004d0229c9ba6a7a;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_98d02a862a982544004d0229c9ba6a7a );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_98d02a862a982544004d0229c9ba6a7a ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_98d02a862a982544004d0229c9ba6a7a->m_frame.f_lineno = 138;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_check_apps_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 138;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_source_name_1 = par_self;
  
      if ( tmp_source_name_1 == 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 = 139;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_app_configs );
      if ( tmp_called_instance_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 139;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      frame_98d02a862a982544004d0229c9ba6a7a->m_frame.f_lineno = 139;
      tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_values );
      Py_DECREF( tmp_called_instance_2 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 139;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      goto frame_return_exit_1;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_98d02a862a982544004d0229c9ba6a7a );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_98d02a862a982544004d0229c9ba6a7a );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_98d02a862a982544004d0229c9ba6a7a );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_98d02a862a982544004d0229c9ba6a7a, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_98d02a862a982544004d0229c9ba6a7a->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_98d02a862a982544004d0229c9ba6a7a, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_98d02a862a982544004d0229c9ba6a7a,
          type_description_1,
          par_self
      );
  
  
      // Release cached frame.
      if ( frame_98d02a862a982544004d0229c9ba6a7a == cache_frame_98d02a862a982544004d0229c9ba6a7a )
      {
          Py_DECREF( frame_98d02a862a982544004d0229c9ba6a7a );
      }
      cache_frame_98d02a862a982544004d0229c9ba6a7a = NULL;
  
      assertFrameObject( frame_98d02a862a982544004d0229c9ba6a7a );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_5_get_app_configs );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = 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;
  
      // 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( django$apps$registry$$$function_5_get_app_configs );
      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_django$apps$registry$$$function_6_get_app_config( 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_app_label = python_pars[ 1 ];
      PyObject *var_message = NULL;
      PyObject *var_app_config = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = 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;
      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;
      PyObject *exception_preserved_type_1;
      PyObject *exception_preserved_value_1;
      PyTracebackObject *exception_preserved_tb_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      int tmp_cmp_Eq_1;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_left_2;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compare_right_2;
      int tmp_exc_match_exception_match_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_left_name_1;
      PyObject *tmp_left_name_2;
      PyObject *tmp_left_name_3;
      PyObject *tmp_make_exception_arg_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_raise_type_1;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_right_name_1;
      PyObject *tmp_right_name_2;
      PyObject *tmp_right_name_3;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscript_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_6a54829d35e9c26141a149340434de68 = NULL;
  
      struct Nuitka_FrameObject *frame_6a54829d35e9c26141a149340434de68;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_6a54829d35e9c26141a149340434de68, codeobj_6a54829d35e9c26141a149340434de68, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_6a54829d35e9c26141a149340434de68 = cache_frame_6a54829d35e9c26141a149340434de68;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_6a54829d35e9c26141a149340434de68 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_6a54829d35e9c26141a149340434de68 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_6a54829d35e9c26141a149340434de68->m_frame.f_lineno = 147;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_check_apps_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 147;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      // Tried code:
      tmp_source_name_1 = par_self;
  
      if ( tmp_source_name_1 == 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 = 149;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_app_configs );
      if ( tmp_subscribed_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 149;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_subscript_name_1 = par_app_label;
  
      if ( tmp_subscript_name_1 == NULL )
      {
          Py_DECREF( tmp_subscribed_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 149;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      Py_DECREF( tmp_subscribed_name_1 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 149;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      goto frame_return_exit_1;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_6_get_app_config );
      return NULL;
      // Exception handler code:
      try_except_handler_2:;
      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;
  
      // Preserve existing published exception.
      exception_preserved_type_1 = PyThreadState_GET()->exc_type;
      Py_XINCREF( exception_preserved_type_1 );
      exception_preserved_value_1 = PyThreadState_GET()->exc_value;
      Py_XINCREF( exception_preserved_value_1 );
      exception_preserved_tb_1 = (PyTracebackObject *)PyThreadState_GET()->exc_traceback;
      Py_XINCREF( exception_preserved_tb_1 );
  
      if ( exception_keeper_tb_1 == NULL )
      {
          exception_keeper_tb_1 = MAKE_TRACEBACK( frame_6a54829d35e9c26141a149340434de68, exception_keeper_lineno_1 );
      }
      else if ( exception_keeper_lineno_1 != 0 )
      {
          exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_6a54829d35e9c26141a149340434de68, exception_keeper_lineno_1 );
      }
  
      NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
      PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
      PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
      // Tried code:
      tmp_compare_left_1 = PyThreadState_GET()->exc_type;
      tmp_compare_right_1 = PyExc_KeyError;
      tmp_exc_match_exception_match_1 = EXCEPTION_MATCH_BOOL( tmp_compare_left_1, tmp_compare_right_1 );
      if ( tmp_exc_match_exception_match_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 150;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
      if ( tmp_exc_match_exception_match_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_left_name_1 = const_str_digest_672608cb4e9b31e051366d893105dd65;
      tmp_right_name_1 = par_app_label;
  
      if ( tmp_right_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 151;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
  
      tmp_assign_source_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 151;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
      assert( var_message == NULL );
      var_message = tmp_assign_source_1;
  
      tmp_called_instance_2 = par_self;
  
      if ( tmp_called_instance_2 == 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 = 152;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
  
      frame_6a54829d35e9c26141a149340434de68->m_frame.f_lineno = 152;
      tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_get_app_configs );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 152;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
      tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 152;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_2;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "oooo";
              exception_lineno = 152;
              goto try_except_handler_4;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_3;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_4 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_4 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_4;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_source_name_2 = var_app_config;
  
      CHECK_OBJECT( tmp_source_name_2 );
      tmp_compare_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name );
      if ( tmp_compare_left_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 153;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
      tmp_compare_right_2 = par_app_label;
  
      if ( tmp_compare_right_2 == NULL )
      {
          Py_DECREF( tmp_compare_left_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 153;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
  
      tmp_cmp_Eq_1 = RICH_COMPARE_BOOL_EQ( tmp_compare_left_2, tmp_compare_right_2 );
      if ( tmp_cmp_Eq_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_compare_left_2 );
  
          exception_lineno = 153;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
      Py_DECREF( tmp_compare_left_2 );
      if ( tmp_cmp_Eq_1 == 1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      tmp_left_name_2 = var_message;
  
      if ( tmp_left_name_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "message" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 154;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
  
      tmp_left_name_3 = const_str_digest_031712d66030b197438336fdb69980f0;
      tmp_source_name_3 = var_app_config;
  
      if ( tmp_source_name_3 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 154;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
  
      tmp_right_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_label );
      if ( tmp_right_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 154;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
      tmp_right_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
      Py_DECREF( tmp_right_name_3 );
      if ( tmp_right_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 154;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
      tmp_result = BINARY_OPERATION_ADD_INPLACE( &tmp_left_name_2, tmp_right_name_2 );
      tmp_assign_source_5 = tmp_left_name_2;
      Py_DECREF( tmp_right_name_2 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 154;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
      var_message = tmp_assign_source_5;
  
      goto loop_end_1;
      branch_no_2:;
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 152;
          type_description_1 = "oooo";
          goto try_except_handler_4;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // 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_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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:
      try_end_1:;
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      tmp_make_exception_arg_1 = var_message;
  
      if ( tmp_make_exception_arg_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "message" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 156;
          type_description_1 = "oooo";
          goto try_except_handler_3;
      }
  
      frame_6a54829d35e9c26141a149340434de68->m_frame.f_lineno = 156;
      {
          PyObject *call_args[] = { tmp_make_exception_arg_1 };
          tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_LookupError, call_args );
      }
  
      assert( tmp_raise_type_1 != NULL );
      exception_type = tmp_raise_type_1;
      exception_lineno = 156;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oooo";
      goto try_except_handler_3;
      goto branch_end_1;
      branch_no_1:;
      tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
      if (unlikely( tmp_result == false ))
      {
          exception_lineno = 148;
      }
  
      if (exception_tb && exception_tb->tb_frame == &frame_6a54829d35e9c26141a149340434de68->m_frame) frame_6a54829d35e9c26141a149340434de68->m_frame.f_lineno = exception_tb->tb_lineno;
      type_description_1 = "oooo";
      goto try_except_handler_3;
      branch_end_1:;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_6_get_app_config );
      return NULL;
      // 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;
  
      // Restore previous exception.
      SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
      // 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 frame_exception_exit_1;
      // End of try:
      // End of try:
  
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_6a54829d35e9c26141a149340434de68 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_6a54829d35e9c26141a149340434de68 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_6a54829d35e9c26141a149340434de68 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_6a54829d35e9c26141a149340434de68, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_6a54829d35e9c26141a149340434de68->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_6a54829d35e9c26141a149340434de68, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_6a54829d35e9c26141a149340434de68,
          type_description_1,
          par_self,
          par_app_label,
          var_message,
          var_app_config
      );
  
  
      // Release cached frame.
      if ( frame_6a54829d35e9c26141a149340434de68 == cache_frame_6a54829d35e9c26141a149340434de68 )
      {
          Py_DECREF( frame_6a54829d35e9c26141a149340434de68 );
      }
      cache_frame_6a54829d35e9c26141a149340434de68 = NULL;
  
      assertFrameObject( frame_6a54829d35e9c26141a149340434de68 );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_6_get_app_config );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_app_label );
      par_app_label = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( var_message );
      var_message = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_6_get_app_config );
      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_django$apps$registry$$$function_7_get_models( 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_include_auto_created = python_pars[ 1 ];
      PyObject *par_include_swapped = python_pars[ 2 ];
      PyObject *var_result = NULL;
      PyObject *var_app_config = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = 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;
      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 *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_args_element_name_3;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_list_arg_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_ecd86e663bee3c0efdea103478a12103 = NULL;
  
      struct Nuitka_FrameObject *frame_ecd86e663bee3c0efdea103478a12103;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_ecd86e663bee3c0efdea103478a12103, codeobj_ecd86e663bee3c0efdea103478a12103, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_ecd86e663bee3c0efdea103478a12103 = cache_frame_ecd86e663bee3c0efdea103478a12103;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_ecd86e663bee3c0efdea103478a12103 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_ecd86e663bee3c0efdea103478a12103 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_ecd86e663bee3c0efdea103478a12103->m_frame.f_lineno = 172;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_check_models_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 172;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_assign_source_1 = PyList_New( 0 );
      assert( var_result == NULL );
      var_result = tmp_assign_source_1;
  
      tmp_source_name_1 = par_self;
  
      if ( tmp_source_name_1 == 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 = 175;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_app_configs );
      if ( tmp_called_instance_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 175;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      frame_ecd86e663bee3c0efdea103478a12103->m_frame.f_lineno = 175;
      tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_values );
      Py_DECREF( tmp_called_instance_2 );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 175;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 175;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_2;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "ooooo";
              exception_lineno = 175;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_3;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_4 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_4 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_4;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_source_name_2 = var_result;
  
      if ( tmp_source_name_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_extend );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_source_name_3 = var_app_config;
  
      if ( tmp_source_name_3 == 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", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_get_models );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_1 );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_args_element_name_2 = par_include_auto_created;
  
      if ( tmp_args_element_name_2 == NULL )
      {
          Py_DECREF( tmp_called_name_1 );
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "include_auto_created" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_args_element_name_3 = par_include_swapped;
  
      if ( tmp_args_element_name_3 == NULL )
      {
          Py_DECREF( tmp_called_name_1 );
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "include_swapped" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      frame_ecd86e663bee3c0efdea103478a12103->m_frame.f_lineno = 176;
      {
          PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
          tmp_list_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
      }
  
      Py_DECREF( tmp_called_name_2 );
      if ( tmp_list_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_1 );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_args_element_name_1 = PySequence_List( tmp_list_arg_1 );
      Py_DECREF( tmp_list_arg_1 );
      if ( tmp_args_element_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_1 );
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      frame_ecd86e663bee3c0efdea103478a12103->m_frame.f_lineno = 176;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_called_name_1 );
      Py_DECREF( tmp_args_element_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 176;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_unused );
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 175;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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:;
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      tmp_return_value = var_result;
  
      if ( tmp_return_value == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 177;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_return_value );
      goto frame_return_exit_1;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_ecd86e663bee3c0efdea103478a12103 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_ecd86e663bee3c0efdea103478a12103 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_ecd86e663bee3c0efdea103478a12103 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_ecd86e663bee3c0efdea103478a12103, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_ecd86e663bee3c0efdea103478a12103->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_ecd86e663bee3c0efdea103478a12103, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_ecd86e663bee3c0efdea103478a12103,
          type_description_1,
          par_self,
          par_include_auto_created,
          par_include_swapped,
          var_result,
          var_app_config
      );
  
  
      // Release cached frame.
      if ( frame_ecd86e663bee3c0efdea103478a12103 == cache_frame_ecd86e663bee3c0efdea103478a12103 )
      {
          Py_DECREF( frame_ecd86e663bee3c0efdea103478a12103 );
      }
      cache_frame_ecd86e663bee3c0efdea103478a12103 = NULL;
  
      assertFrameObject( frame_ecd86e663bee3c0efdea103478a12103 );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_7_get_models );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_include_auto_created );
      par_include_auto_created = NULL;
  
      Py_XDECREF( par_include_swapped );
      par_include_swapped = NULL;
  
      Py_XDECREF( var_result );
      var_result = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_include_auto_created );
      par_include_auto_created = NULL;
  
      Py_XDECREF( par_include_swapped );
      par_include_swapped = NULL;
  
      Py_XDECREF( var_result );
      var_result = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_7_get_models );
      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_django$apps$registry$$$function_8_get_model( 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_app_label = python_pars[ 1 ];
      PyObject *par_model_name = python_pars[ 2 ];
      PyObject *par_require_ready = python_pars[ 3 ];
      PyObject *var_app_config = NULL;
      PyObject *tmp_tuple_unpack_1__element_1 = NULL;
      PyObject *tmp_tuple_unpack_1__element_2 = NULL;
      PyObject *tmp_tuple_unpack_1__source_iter = 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;
      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;
      int tmp_and_left_truth_1;
      PyObject *tmp_and_left_value_1;
      PyObject *tmp_and_right_value_1;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_name_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_instance_3;
      PyObject *tmp_called_instance_4;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_right_1;
      int tmp_cond_truth_1;
      int tmp_cond_truth_2;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_cond_value_2;
      PyObject *tmp_dict_key_1;
      PyObject *tmp_dict_value_1;
      bool tmp_is_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iterator_attempt;
      PyObject *tmp_iterator_name_1;
      PyObject *tmp_kw_name_1;
      PyObject *tmp_operand_name_1;
      int tmp_res;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_tuple_element_1;
      PyObject *tmp_unpack_1;
      PyObject *tmp_unpack_2;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_604cee4c64d07f1b045ac4f208f297da = NULL;
  
      struct Nuitka_FrameObject *frame_604cee4c64d07f1b045ac4f208f297da;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_604cee4c64d07f1b045ac4f208f297da, codeobj_604cee4c64d07f1b045ac4f208f297da, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_604cee4c64d07f1b045ac4f208f297da = cache_frame_604cee4c64d07f1b045ac4f208f297da;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_604cee4c64d07f1b045ac4f208f297da );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_604cee4c64d07f1b045ac4f208f297da ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_cond_value_1 = par_require_ready;
  
      CHECK_OBJECT( tmp_cond_value_1 );
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 192;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_604cee4c64d07f1b045ac4f208f297da->m_frame.f_lineno = 193;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_check_models_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 193;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      goto branch_end_1;
      branch_no_1:;
      tmp_called_instance_2 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_2 );
      frame_604cee4c64d07f1b045ac4f208f297da->m_frame.f_lineno = 195;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_check_apps_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 195;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      branch_end_1:;
      tmp_compare_left_1 = par_model_name;
  
      if ( tmp_compare_left_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 197;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_compare_right_1 = Py_None;
      tmp_is_1 = ( tmp_compare_left_1 == tmp_compare_right_1 );
      if ( tmp_is_1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      // Tried code:
      tmp_called_instance_3 = par_app_label;
  
      if ( tmp_called_instance_3 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 198;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      frame_604cee4c64d07f1b045ac4f208f297da->m_frame.f_lineno = 198;
      tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) );
  
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 198;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 198;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      assert( tmp_tuple_unpack_1__source_iter == NULL );
      tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
  
      // Tried code:
      tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_1 );
      tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
      if ( tmp_assign_source_2 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_1 = "ooooo";
          exception_lineno = 198;
          goto try_except_handler_3;
      }
      assert( tmp_tuple_unpack_1__element_1 == NULL );
      tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
  
      tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_2 );
      tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_1 = "ooooo";
          exception_lineno = 198;
          goto try_except_handler_3;
      }
      assert( tmp_tuple_unpack_1__element_2 == NULL );
      tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
  
      tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_iterator_name_1 );
      // Check if iterator has left-over elements.
      CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
  
      tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
  
      if (likely( 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( &exception_type, &exception_value, &exception_tb );
  
                  type_description_1 = "ooooo";
                  exception_lineno = 198;
                  goto try_except_handler_3;
              }
          }
      }
      else
      {
          Py_DECREF( 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( &exception_type, &exception_value, &exception_tb );
  
          type_description_1 = "ooooo";
          exception_lineno = 198;
          goto try_except_handler_3;
      }
      goto try_end_1;
      // Exception handler code:
      try_except_handler_3:;
      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( tmp_tuple_unpack_1__source_iter );
      tmp_tuple_unpack_1__source_iter = 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 try_except_handler_2;
      // End of try:
      try_end_1:;
      goto try_end_2;
      // Exception handler code:
      try_except_handler_2:;
      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_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = 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 frame_exception_exit_1;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_tuple_unpack_1__source_iter );
      tmp_tuple_unpack_1__source_iter = NULL;
  
      tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
  
      CHECK_OBJECT( tmp_assign_source_4 );
      {
          PyObject *old = par_app_label;
          par_app_label = tmp_assign_source_4;
          Py_INCREF( par_app_label );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
  
      CHECK_OBJECT( tmp_assign_source_5 );
      {
          PyObject *old = par_model_name;
          par_model_name = tmp_assign_source_5;
          Py_INCREF( par_model_name );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = NULL;
  
      branch_no_2:;
      tmp_source_name_1 = par_self;
  
      if ( tmp_source_name_1 == 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 = 200;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_app_config );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 200;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_1 = par_app_label;
  
      if ( tmp_args_element_name_1 == 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", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 200;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      frame_604cee4c64d07f1b045ac4f208f297da->m_frame.f_lineno = 200;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_called_name_1 );
      if ( tmp_assign_source_6 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 200;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      assert( var_app_config == NULL );
      var_app_config = tmp_assign_source_6;
  
      tmp_operand_name_1 = par_require_ready;
  
      if ( tmp_operand_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "require_ready" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 202;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_and_left_value_1 = UNARY_OPERATION( UNARY_NOT, tmp_operand_name_1 );
      if ( tmp_and_left_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 202;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 );
      if ( tmp_and_left_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 202;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      if ( tmp_and_left_truth_1 == 1 )
      {
          goto and_right_1;
      }
      else
      {
          goto and_left_1;
      }
      and_right_1:;
      tmp_source_name_2 = var_app_config;
  
      if ( tmp_source_name_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 202;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_models );
      if ( tmp_compexpr_left_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 202;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_compexpr_right_1 = Py_None;
      tmp_and_right_value_1 = BOOL_FROM( tmp_compexpr_left_1 == tmp_compexpr_right_1 );
      Py_DECREF( tmp_compexpr_left_1 );
      tmp_cond_value_2 = tmp_and_right_value_1;
      goto and_end_1;
      and_left_1:;
      tmp_cond_value_2 = tmp_and_left_value_1;
      and_end_1:;
      tmp_cond_truth_2 = CHECK_IF_TRUE( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 202;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      if ( tmp_cond_truth_2 == 1 )
      {
          goto branch_yes_3;
      }
      else
      {
          goto branch_no_3;
      }
      branch_yes_3:;
      tmp_called_instance_4 = var_app_config;
  
      if ( tmp_called_instance_4 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 203;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      frame_604cee4c64d07f1b045ac4f208f297da->m_frame.f_lineno = 203;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_import_models );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 203;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      branch_no_3:;
      tmp_source_name_3 = var_app_config;
  
      if ( tmp_source_name_3 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 205;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_get_model );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 205;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_args_name_1 = PyTuple_New( 1 );
      tmp_tuple_element_1 = par_model_name;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          Py_DECREF( tmp_args_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 205;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
      tmp_kw_name_1 = _PyDict_NewPresized( 1 );
      tmp_dict_key_1 = const_str_plain_require_ready;
      tmp_dict_value_1 = par_require_ready;
  
      if ( tmp_dict_value_1 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          Py_DECREF( tmp_args_name_1 );
          Py_DECREF( tmp_kw_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "require_ready" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 205;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
      assert( !(tmp_res != 0) );
      frame_604cee4c64d07f1b045ac4f208f297da->m_frame.f_lineno = 205;
      tmp_return_value = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 );
      Py_DECREF( tmp_called_name_2 );
      Py_DECREF( tmp_args_name_1 );
      Py_DECREF( tmp_kw_name_1 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 205;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      goto frame_return_exit_1;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_604cee4c64d07f1b045ac4f208f297da );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_604cee4c64d07f1b045ac4f208f297da );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_604cee4c64d07f1b045ac4f208f297da );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_604cee4c64d07f1b045ac4f208f297da, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_604cee4c64d07f1b045ac4f208f297da->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_604cee4c64d07f1b045ac4f208f297da, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_604cee4c64d07f1b045ac4f208f297da,
          type_description_1,
          par_self,
          par_app_label,
          par_model_name,
          par_require_ready,
          var_app_config
      );
  
  
      // Release cached frame.
      if ( frame_604cee4c64d07f1b045ac4f208f297da == cache_frame_604cee4c64d07f1b045ac4f208f297da )
      {
          Py_DECREF( frame_604cee4c64d07f1b045ac4f208f297da );
      }
      cache_frame_604cee4c64d07f1b045ac4f208f297da = NULL;
  
      assertFrameObject( frame_604cee4c64d07f1b045ac4f208f297da );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_8_get_model );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( par_model_name );
      par_model_name = NULL;
  
      Py_XDECREF( par_require_ready );
      par_require_ready = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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;
  
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( par_model_name );
      par_model_name = NULL;
  
      Py_XDECREF( par_require_ready );
      par_require_ready = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      // 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_8_get_model );
      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_django$apps$registry$$$function_9_register_model( 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_app_label = python_pars[ 1 ];
      PyObject *par_model = python_pars[ 2 ];
      PyObject *var_model_name = NULL;
      PyObject *var_app_models = 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_and_left_truth_1;
      PyObject *tmp_and_left_value_1;
      PyObject *tmp_and_right_value_1;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_name_1;
      PyObject *tmp_ass_subscribed_1;
      PyObject *tmp_ass_subscript_1;
      PyObject *tmp_ass_subvalue_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      int tmp_cmp_In_1;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_left_2;
      PyObject *tmp_compexpr_right_1;
      PyObject *tmp_compexpr_right_2;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_kw_name_1;
      PyObject *tmp_left_name_1;
      PyObject *tmp_left_name_2;
      PyObject *tmp_make_exception_arg_1;
      PyObject *tmp_raise_type_1;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_right_name_1;
      PyObject *tmp_right_name_2;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      PyObject *tmp_source_name_6;
      PyObject *tmp_source_name_7;
      PyObject *tmp_source_name_8;
      PyObject *tmp_source_name_9;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscribed_name_2;
      PyObject *tmp_subscribed_name_3;
      PyObject *tmp_subscribed_name_4;
      PyObject *tmp_subscript_name_1;
      PyObject *tmp_subscript_name_2;
      PyObject *tmp_subscript_name_3;
      PyObject *tmp_subscript_name_4;
      PyObject *tmp_tuple_element_1;
      PyObject *tmp_tuple_element_2;
      PyObject *tmp_tuple_element_3;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_f07c01e964fc61fc9e04b59e6c5e5cf4 = NULL;
  
      struct Nuitka_FrameObject *frame_f07c01e964fc61fc9e04b59e6c5e5cf4;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_f07c01e964fc61fc9e04b59e6c5e5cf4, codeobj_f07c01e964fc61fc9e04b59e6c5e5cf4, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_f07c01e964fc61fc9e04b59e6c5e5cf4 = cache_frame_f07c01e964fc61fc9e04b59e6c5e5cf4;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_2 = par_model;
  
      CHECK_OBJECT( tmp_source_name_2 );
      tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__meta );
      if ( tmp_source_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 211;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_model_name );
      Py_DECREF( tmp_source_name_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 211;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      assert( var_model_name == NULL );
      var_model_name = tmp_assign_source_1;
  
      tmp_source_name_3 = par_self;
  
      if ( tmp_source_name_3 == 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 = 212;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_all_models );
      if ( tmp_subscribed_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 212;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_subscript_name_1 = par_app_label;
  
      if ( tmp_subscript_name_1 == NULL )
      {
          Py_DECREF( tmp_subscribed_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 212;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      Py_DECREF( tmp_subscribed_name_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 212;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      assert( var_app_models == NULL );
      var_app_models = tmp_assign_source_2;
  
      tmp_compare_left_1 = var_model_name;
  
      if ( tmp_compare_left_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 213;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_compare_right_1 = var_app_models;
  
      CHECK_OBJECT( tmp_compare_right_1 );
      tmp_cmp_In_1 = PySequence_Contains( tmp_compare_right_1, tmp_compare_left_1 );
      assert( !(tmp_cmp_In_1 == -1) );
      if ( tmp_cmp_In_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_source_name_4 = par_model;
  
      if ( tmp_source_name_4 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
      if ( tmp_compexpr_left_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_subscribed_name_2 = var_app_models;
  
      if ( tmp_subscribed_name_2 == NULL )
      {
          Py_DECREF( tmp_compexpr_left_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_models" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_subscript_name_2 = var_model_name;
  
      if ( tmp_subscript_name_2 == NULL )
      {
          Py_DECREF( tmp_compexpr_left_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
      if ( tmp_source_name_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_compexpr_left_1 );
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___name__ );
      Py_DECREF( tmp_source_name_5 );
      if ( tmp_compexpr_right_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_compexpr_left_1 );
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_and_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
      Py_DECREF( tmp_compexpr_left_1 );
      Py_DECREF( tmp_compexpr_right_1 );
      if ( tmp_and_left_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 214;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 );
      if ( tmp_and_left_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_and_left_value_1 );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      if ( tmp_and_left_truth_1 == 1 )
      {
          goto and_right_1;
      }
      else
      {
          goto and_left_1;
      }
      and_right_1:;
      Py_DECREF( tmp_and_left_value_1 );
      tmp_source_name_6 = par_model;
  
      if ( tmp_source_name_6 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___module__ );
      if ( tmp_compexpr_left_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_subscribed_name_3 = var_app_models;
  
      if ( tmp_subscribed_name_3 == NULL )
      {
          Py_DECREF( tmp_compexpr_left_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_models" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_subscript_name_3 = var_model_name;
  
      if ( tmp_subscript_name_3 == NULL )
      {
          Py_DECREF( tmp_compexpr_left_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
      if ( tmp_source_name_7 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_compexpr_left_2 );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___module__ );
      Py_DECREF( tmp_source_name_7 );
      if ( tmp_compexpr_right_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_compexpr_left_2 );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_and_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
      Py_DECREF( tmp_compexpr_left_2 );
      Py_DECREF( tmp_compexpr_right_2 );
      if ( tmp_and_right_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_cond_value_1 = tmp_and_right_value_1;
      goto and_end_1;
      and_left_1:;
      tmp_cond_value_1 = tmp_and_left_value_1;
      and_end_1:;
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 215;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      tmp_source_name_8 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_warnings );
  
      if (unlikely( tmp_source_name_8 == NULL ))
      {
          tmp_source_name_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings );
      }
  
      if ( tmp_source_name_8 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 216;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_warn );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 216;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_args_name_1 = PyTuple_New( 2 );
      tmp_left_name_1 = const_str_digest_b6233ce6164f33c04a937915e6fb3de6;
      tmp_right_name_1 = PyTuple_New( 2 );
      tmp_tuple_element_2 = par_app_label;
  
      if ( tmp_tuple_element_2 == NULL )
      {
          Py_DECREF( tmp_called_name_1 );
          Py_DECREF( tmp_args_name_1 );
          Py_DECREF( tmp_right_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 219;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_2 );
      PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
      tmp_tuple_element_2 = var_model_name;
  
      if ( tmp_tuple_element_2 == NULL )
      {
          Py_DECREF( tmp_called_name_1 );
          Py_DECREF( tmp_args_name_1 );
          Py_DECREF( tmp_right_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 219;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_2 );
      PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
      tmp_tuple_element_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
      Py_DECREF( tmp_right_name_1 );
      if ( tmp_tuple_element_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_1 );
          Py_DECREF( tmp_args_name_1 );
  
          exception_lineno = 217;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
      tmp_tuple_element_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_RuntimeWarning );
  
      if (unlikely( tmp_tuple_element_1 == NULL ))
      {
          tmp_tuple_element_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RuntimeWarning );
      }
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_called_name_1 );
          Py_DECREF( tmp_args_name_1 );
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "RuntimeWarning" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 220;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
      tmp_kw_name_1 = PyDict_Copy( const_dict_f154c9a58c9419d7e391901d7b7fe49e );
      frame_f07c01e964fc61fc9e04b59e6c5e5cf4->m_frame.f_lineno = 216;
      tmp_unused = 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 );
      Py_DECREF( tmp_kw_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 216;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      goto branch_end_2;
      branch_no_2:;
      tmp_left_name_2 = const_str_digest_e8905377d2188f468e43fcc46b61d8a2;
      tmp_right_name_2 = PyTuple_New( 4 );
      tmp_tuple_element_3 = var_model_name;
  
      if ( tmp_tuple_element_3 == NULL )
      {
          Py_DECREF( tmp_right_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 224;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_3 );
      PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_3 );
      tmp_tuple_element_3 = par_app_label;
  
      if ( tmp_tuple_element_3 == NULL )
      {
          Py_DECREF( tmp_right_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 224;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_3 );
      PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_3 );
      tmp_subscribed_name_4 = var_app_models;
  
      if ( tmp_subscribed_name_4 == NULL )
      {
          Py_DECREF( tmp_right_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_models" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 224;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_subscript_name_4 = var_model_name;
  
      if ( tmp_subscript_name_4 == NULL )
      {
          Py_DECREF( tmp_right_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 224;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_tuple_element_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 );
      if ( tmp_tuple_element_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_right_name_2 );
  
          exception_lineno = 224;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      PyTuple_SET_ITEM( tmp_right_name_2, 2, tmp_tuple_element_3 );
      tmp_tuple_element_3 = par_model;
  
      if ( tmp_tuple_element_3 == NULL )
      {
          Py_DECREF( tmp_right_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 224;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_3 );
      PyTuple_SET_ITEM( tmp_right_name_2, 3, tmp_tuple_element_3 );
      tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
      Py_DECREF( tmp_right_name_2 );
      if ( tmp_make_exception_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 223;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      frame_f07c01e964fc61fc9e04b59e6c5e5cf4->m_frame.f_lineno = 222;
      {
          PyObject *call_args[] = { tmp_make_exception_arg_1 };
          tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_RuntimeError, call_args );
      }
  
      Py_DECREF( tmp_make_exception_arg_1 );
      assert( tmp_raise_type_1 != NULL );
      exception_type = tmp_raise_type_1;
      exception_lineno = 222;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "ooooo";
      goto frame_exception_exit_1;
      branch_end_2:;
      branch_no_1:;
      tmp_ass_subvalue_1 = par_model;
  
      if ( tmp_ass_subvalue_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 225;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_ass_subscribed_1 = var_app_models;
  
      if ( tmp_ass_subscribed_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_models" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 225;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_ass_subscript_1 = var_model_name;
  
      if ( tmp_ass_subscript_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 225;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 225;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_source_name_9 = par_self;
  
      if ( tmp_source_name_9 == 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 = 226;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_do_pending_operations );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 226;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_1 = par_model;
  
      if ( tmp_args_element_name_1 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 226;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      frame_f07c01e964fc61fc9e04b59e6c5e5cf4->m_frame.f_lineno = 226;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          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( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 226;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_called_instance_1 = par_self;
  
      if ( tmp_called_instance_1 == 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 = 227;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      frame_f07c01e964fc61fc9e04b59e6c5e5cf4->m_frame.f_lineno = 227;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_clear_cache );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 227;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_f07c01e964fc61fc9e04b59e6c5e5cf4, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_f07c01e964fc61fc9e04b59e6c5e5cf4->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_f07c01e964fc61fc9e04b59e6c5e5cf4, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_f07c01e964fc61fc9e04b59e6c5e5cf4,
          type_description_1,
          par_self,
          par_app_label,
          par_model,
          var_model_name,
          var_app_models
      );
  
  
      // Release cached frame.
      if ( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 == cache_frame_f07c01e964fc61fc9e04b59e6c5e5cf4 )
      {
          Py_DECREF( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 );
      }
      cache_frame_f07c01e964fc61fc9e04b59e6c5e5cf4 = NULL;
  
      assertFrameObject( frame_f07c01e964fc61fc9e04b59e6c5e5cf4 );
  
      // 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( django$apps$registry$$$function_9_register_model );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( par_model );
      par_model = NULL;
  
      Py_XDECREF( var_model_name );
      var_model_name = NULL;
  
      Py_XDECREF( var_app_models );
      var_app_models = 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_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( par_model );
      par_model = NULL;
  
      Py_XDECREF( var_model_name );
      var_model_name = NULL;
  
      Py_XDECREF( var_app_models );
      var_app_models = 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( django$apps$registry$$$function_9_register_model );
      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_django$apps$registry$$$function_10_is_installed( 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 ];
      struct Nuitka_CellObject *par_app_name = PyCell_NEW1( python_pars[ 1 ] );
      PyObject *tmp_genexpr_1__$0 = 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;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_name_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_outline_return_value_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_708779e9e667a9b7e3a1811f16b74e42 = NULL;
  
      struct Nuitka_FrameObject *frame_708779e9e667a9b7e3a1811f16b74e42;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
      tmp_outline_return_value_1 = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_708779e9e667a9b7e3a1811f16b74e42, codeobj_708779e9e667a9b7e3a1811f16b74e42, module_django$apps$registry, sizeof(void *)+sizeof(void *) );
      frame_708779e9e667a9b7e3a1811f16b74e42 = cache_frame_708779e9e667a9b7e3a1811f16b74e42;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_708779e9e667a9b7e3a1811f16b74e42 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_708779e9e667a9b7e3a1811f16b74e42 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_708779e9e667a9b7e3a1811f16b74e42->m_frame.f_lineno = 235;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_check_apps_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 235;
          type_description_1 = "oc";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_any );
      assert( tmp_called_name_1 != NULL );
      tmp_source_name_1 = par_self;
  
      if ( tmp_source_name_1 == 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 = 236;
          type_description_1 = "oc";
          goto frame_exception_exit_1;
      }
  
      tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_app_configs );
      if ( tmp_called_instance_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "oc";
          goto frame_exception_exit_1;
      }
      frame_708779e9e667a9b7e3a1811f16b74e42->m_frame.f_lineno = 236;
      tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_values );
      Py_DECREF( tmp_called_instance_2 );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "oc";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "oc";
          goto frame_exception_exit_1;
      }
      assert( tmp_genexpr_1__$0 == NULL );
      tmp_genexpr_1__$0 = tmp_assign_source_1;
  
      // Tried code:
      tmp_outline_return_value_1 = Nuitka_Generator_New(
          django$apps$registry$$$function_10_is_installed$$$genexpr_1_genexpr_context,
          module_django$apps$registry,
          const_str_angle_genexpr,
  #if PYTHON_VERSION >= 350
          const_str_digest_d22d2c3f570e6d98d25753e10952a650,
  #endif
          codeobj_da1e70395e16496d2f6593077beafdd1,
          2
      );
  
      ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_1)->m_closure[0] = par_app_name;
      Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_1)->m_closure[0] );
      ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_1)->m_closure[1] = PyCell_NEW0( tmp_genexpr_1__$0 );
      assert( Py_SIZE( tmp_outline_return_value_1 ) >= 2 ); 
  
  
      goto try_return_handler_2;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_10_is_installed );
      return NULL;
      // Return handler code:
      try_return_handler_2:;
      CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
      Py_DECREF( tmp_genexpr_1__$0 );
      tmp_genexpr_1__$0 = NULL;
  
      goto outline_result_1;
      // End of try:
      CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
      Py_DECREF( tmp_genexpr_1__$0 );
      tmp_genexpr_1__$0 = NULL;
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_10_is_installed );
      return NULL;
      outline_result_1:;
      tmp_args_element_name_1 = tmp_outline_return_value_1;
      frame_708779e9e667a9b7e3a1811f16b74e42->m_frame.f_lineno = 236;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_args_element_name_1 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "oc";
          goto frame_exception_exit_1;
      }
      goto frame_return_exit_1;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_708779e9e667a9b7e3a1811f16b74e42 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_708779e9e667a9b7e3a1811f16b74e42 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_708779e9e667a9b7e3a1811f16b74e42 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_708779e9e667a9b7e3a1811f16b74e42, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_708779e9e667a9b7e3a1811f16b74e42->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_708779e9e667a9b7e3a1811f16b74e42, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_708779e9e667a9b7e3a1811f16b74e42,
          type_description_1,
          par_self,
          par_app_name
      );
  
  
      // Release cached frame.
      if ( frame_708779e9e667a9b7e3a1811f16b74e42 == cache_frame_708779e9e667a9b7e3a1811f16b74e42 )
      {
          Py_DECREF( frame_708779e9e667a9b7e3a1811f16b74e42 );
      }
      cache_frame_708779e9e667a9b7e3a1811f16b74e42 = NULL;
  
      assertFrameObject( frame_708779e9e667a9b7e3a1811f16b74e42 );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_10_is_installed );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      CHECK_OBJECT( (PyObject *)par_app_name );
      Py_DECREF( par_app_name );
      par_app_name = 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;
  
      CHECK_OBJECT( (PyObject *)par_app_name );
      Py_DECREF( par_app_name );
      par_app_name = 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( django$apps$registry$$$function_10_is_installed );
      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;
  
  }
  
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  struct django$apps$registry$$$function_10_is_installed$$$genexpr_1_genexpr_locals {
      PyObject *var_ac
      PyObject *tmp_iter_value_0
      PyObject *exception_type
      PyObject *exception_value
      PyTracebackObject *exception_tb
      int exception_lineno
      PyObject *exception_keeper_type_1;
      PyObject *exception_keeper_value_1;
      PyTracebackObject *exception_keeper_tb_1;
      int exception_keeper_lineno_1;
      PyObject *exception_keeper_type_2;
      PyObject *exception_keeper_value_2;
      PyTracebackObject *exception_keeper_tb_2;
      int exception_keeper_lineno_2;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_right_1;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      char const *type_description_1
  };
  #endif
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_10_is_installed$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
  #else
  static void django$apps$registry$$$function_10_is_installed$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator )
  #endif
  {
      CHECK_OBJECT( (PyObject *)generator );
      assert( Nuitka_Generator_Check( (PyObject *)generator ) );
  
      // Local variable initialization
      PyObject *var_ac = NULL;
      PyObject *tmp_iter_value_0 = 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;
      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 *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_right_1;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_generator = NULL;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
  
      // Dispatch to yield based on return label index:
  
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_generator, codeobj_da1e70395e16496d2f6593077beafdd1, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *) );
      generator->m_frame = cache_frame_generator;
  
      // 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();
  
      generator->m_frame->m_frame.f_exc_type = thread_state->exc_type;
      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 = thread_state->exc_value;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
      generator->m_frame->m_frame.f_exc_traceback = thread_state->exc_traceback;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
  #endif
  
      // Framed code:
      // Tried code:
      loop_start_1:;
      if ( generator->m_closure[1] == NULL )
      {
          tmp_next_source_1 = NULL;
      }
      else
      {
          tmp_next_source_1 = PyCell_GET( generator->m_closure[1] );
      }
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "Noc";
              exception_lineno = 236;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_iter_value_0;
          tmp_iter_value_0 = tmp_assign_source_1;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_2 = tmp_iter_value_0;
  
      CHECK_OBJECT( tmp_assign_source_2 );
      {
          PyObject *old = var_ac;
          var_ac = tmp_assign_source_2;
          Py_INCREF( var_ac );
          Py_XDECREF( old );
      }
  
      tmp_source_name_1 = var_ac;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name );
      if ( tmp_compexpr_left_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "Noc";
          goto try_except_handler_2;
      }
      if ( generator->m_closure[0] == NULL )
      {
          tmp_compexpr_right_1 = NULL;
      }
      else
      {
          tmp_compexpr_right_1 = PyCell_GET( generator->m_closure[0] );
      }
  
      if ( tmp_compexpr_right_1 == NULL )
      {
          Py_DECREF( tmp_compexpr_left_1 );
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "app_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 236;
          type_description_1 = "Noc";
          goto try_except_handler_2;
      }
  
      tmp_expression_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
      Py_DECREF( tmp_compexpr_left_1 );
      if ( tmp_expression_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "Noc";
          goto try_except_handler_2;
      }
      tmp_unused = GENERATOR_YIELD( generator, tmp_expression_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "Noc";
          goto try_except_handler_2;
      }
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 236;
          type_description_1 = "Noc";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_iter_value_0 );
      tmp_iter_value_0 = 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:;
  
      Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
  
  #if 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( exception_type ) )
      {
          if ( exception_tb == NULL )
          {
              exception_tb = MAKE_TRACEBACK( generator->m_frame, exception_lineno );
          }
          else if ( exception_tb->tb_frame != &generator->m_frame->m_frame )
          {
              exception_tb = ADD_TRACEBACK( exception_tb, generator->m_frame, exception_lineno );
          }
  
          Nuitka_Frame_AttachLocals(
              (struct Nuitka_FrameObject *)generator->m_frame,
              type_description_1,
              NULL,
              var_ac,
              generator->m_closure[0]
          );
  
  
          // Release cached frame.
          if ( generator->m_frame == cache_frame_generator )
          {
              Py_DECREF( generator->m_frame );
          }
          cache_frame_generator = NULL;
  
          assertFrameObject( generator->m_frame );
      }
  
  #if 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_2;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( var_ac );
      var_ac = 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 function_exception_exit;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_iter_value_0 );
      tmp_iter_value_0 = NULL;
  
      Py_XDECREF( var_ac );
      var_ac = NULL;
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
      function_exception_exit:
      assert( exception_type );
      RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
  }
  
  
  static PyObject *impl_django$apps$registry$$$function_11_get_containing_app_config( 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_object_name = python_pars[ 1 ];
      PyObject *var_candidates = NULL;
      PyObject *var_app_config = NULL;
      PyObject *var_subpath = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = 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;
      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 *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_args_name_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_left_2;
      PyObject *tmp_compexpr_right_1;
      PyObject *tmp_compexpr_right_2;
      int tmp_cond_truth_1;
      int tmp_cond_truth_2;
      int tmp_cond_truth_3;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_cond_value_2;
      PyObject *tmp_cond_value_3;
      PyObject *tmp_dict_key_1;
      PyObject *tmp_dict_value_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_kw_name_1;
      PyObject *tmp_len_arg_1;
      PyObject *tmp_next_source_1;
      int tmp_or_left_truth_1;
      PyObject *tmp_or_left_value_1;
      PyObject *tmp_or_right_value_1;
      int tmp_res;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      PyObject *tmp_start_name_1;
      PyObject *tmp_step_name_1;
      PyObject *tmp_stop_name_1;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscribed_name_2;
      PyObject *tmp_subscribed_name_3;
      PyObject *tmp_subscript_name_1;
      PyObject *tmp_subscript_name_2;
      PyObject *tmp_subscript_name_3;
      PyObject *tmp_tuple_element_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_9a930191ade815438a1bfafc974c93cf = NULL;
  
      struct Nuitka_FrameObject *frame_9a930191ade815438a1bfafc974c93cf;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_9a930191ade815438a1bfafc974c93cf, codeobj_9a930191ade815438a1bfafc974c93cf, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_9a930191ade815438a1bfafc974c93cf = cache_frame_9a930191ade815438a1bfafc974c93cf;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_9a930191ade815438a1bfafc974c93cf );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_9a930191ade815438a1bfafc974c93cf ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_9a930191ade815438a1bfafc974c93cf->m_frame.f_lineno = 247;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_check_apps_ready );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 247;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_assign_source_1 = PyList_New( 0 );
      assert( var_candidates == NULL );
      var_candidates = tmp_assign_source_1;
  
      tmp_source_name_1 = par_self;
  
      if ( tmp_source_name_1 == 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 = 249;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_app_configs );
      if ( tmp_called_instance_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 249;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      frame_9a930191ade815438a1bfafc974c93cf->m_frame.f_lineno = 249;
      tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_values );
      Py_DECREF( tmp_called_instance_2 );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 249;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 249;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_2;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "ooooo";
              exception_lineno = 249;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_3;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_4 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_4 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_4;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_source_name_2 = par_object_name;
  
      if ( tmp_source_name_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "object_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 250;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_startswith );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 250;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_source_name_3 = var_app_config;
  
      if ( tmp_source_name_3 == 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", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 250;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_name );
      if ( tmp_args_element_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_1 );
  
          exception_lineno = 250;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      frame_9a930191ade815438a1bfafc974c93cf->m_frame.f_lineno = 250;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_cond_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_called_name_1 );
      Py_DECREF( tmp_args_element_name_1 );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 250;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 250;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_subscribed_name_1 = par_object_name;
  
      if ( tmp_subscribed_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "object_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 251;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_source_name_4 = var_app_config;
  
      if ( tmp_source_name_4 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 251;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name );
      if ( tmp_len_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 251;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_start_name_1 = BUILTIN_LEN( tmp_len_arg_1 );
      Py_DECREF( tmp_len_arg_1 );
      if ( tmp_start_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 251;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_stop_name_1 = Py_None;
      tmp_step_name_1 = Py_None;
      tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 );
      Py_DECREF( tmp_start_name_1 );
      assert( tmp_subscript_name_1 != NULL );
      tmp_assign_source_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      Py_DECREF( tmp_subscript_name_1 );
      if ( tmp_assign_source_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 251;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      {
          PyObject *old = var_subpath;
          var_subpath = tmp_assign_source_5;
          Py_XDECREF( old );
      }
  
      tmp_compexpr_left_1 = var_subpath;
  
      CHECK_OBJECT( tmp_compexpr_left_1 );
      tmp_compexpr_right_1 = const_str_empty;
      tmp_or_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
      if ( tmp_or_left_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 252;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 );
      if ( tmp_or_left_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_or_left_value_1 );
  
          exception_lineno = 252;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      if ( tmp_or_left_truth_1 == 1 )
      {
          goto or_left_1;
      }
      else
      {
          goto or_right_1;
      }
      or_right_1:;
      Py_DECREF( tmp_or_left_value_1 );
      tmp_subscribed_name_2 = var_subpath;
  
      if ( tmp_subscribed_name_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "subpath" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 252;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_subscript_name_2 = const_int_0;
      tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
      if ( tmp_compexpr_left_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 252;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_compexpr_right_2 = const_str_dot;
      tmp_or_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
      Py_DECREF( tmp_compexpr_left_2 );
      if ( tmp_or_right_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 252;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_cond_value_2 = tmp_or_right_value_1;
      goto or_end_1;
      or_left_1:;
      tmp_cond_value_2 = tmp_or_left_value_1;
      or_end_1:;
      tmp_cond_truth_2 = CHECK_IF_TRUE( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_2 );
  
          exception_lineno = 252;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == 1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      tmp_source_name_5 = var_candidates;
  
      if ( tmp_source_name_5 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidates" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 253;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_append );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 253;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      tmp_args_element_name_2 = var_app_config;
  
      if ( tmp_args_element_name_2 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 253;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
  
      frame_9a930191ade815438a1bfafc974c93cf->m_frame.f_lineno = 253;
      {
          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( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 253;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_unused );
      branch_no_2:;
      branch_no_1:;
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 249;
          type_description_1 = "ooooo";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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:;
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      tmp_cond_value_3 = var_candidates;
  
      if ( tmp_cond_value_3 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidates" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 254;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      tmp_cond_truth_3 = CHECK_IF_TRUE( tmp_cond_value_3 );
      if ( tmp_cond_truth_3 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 254;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      if ( tmp_cond_truth_3 == 1 )
      {
          goto branch_yes_3;
      }
      else
      {
          goto branch_no_3;
      }
      branch_yes_3:;
      tmp_called_name_3 = LOOKUP_BUILTIN( const_str_plain_sorted );
      assert( tmp_called_name_3 != NULL );
      tmp_args_name_1 = PyTuple_New( 1 );
      tmp_tuple_element_1 = var_candidates;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_args_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidates" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 255;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
      tmp_kw_name_1 = _PyDict_NewPresized( 1 );
      tmp_dict_key_1 = const_str_plain_key;
      tmp_dict_value_1 = MAKE_FUNCTION_django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda(  );
      tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
      Py_DECREF( tmp_dict_value_1 );
      assert( !(tmp_res != 0) );
      frame_9a930191ade815438a1bfafc974c93cf->m_frame.f_lineno = 255;
      tmp_subscribed_name_3 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_1, tmp_kw_name_1 );
      Py_DECREF( tmp_args_name_1 );
      Py_DECREF( tmp_kw_name_1 );
      if ( tmp_subscribed_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 255;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      tmp_subscript_name_3 = const_int_0;
      tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
      Py_DECREF( tmp_subscribed_name_3 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 255;
          type_description_1 = "ooooo";
          goto frame_exception_exit_1;
      }
      goto frame_return_exit_1;
      branch_no_3:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_9a930191ade815438a1bfafc974c93cf );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_9a930191ade815438a1bfafc974c93cf );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_9a930191ade815438a1bfafc974c93cf );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_9a930191ade815438a1bfafc974c93cf, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_9a930191ade815438a1bfafc974c93cf->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_9a930191ade815438a1bfafc974c93cf, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_9a930191ade815438a1bfafc974c93cf,
          type_description_1,
          par_self,
          par_object_name,
          var_candidates,
          var_app_config,
          var_subpath
      );
  
  
      // Release cached frame.
      if ( frame_9a930191ade815438a1bfafc974c93cf == cache_frame_9a930191ade815438a1bfafc974c93cf )
      {
          Py_DECREF( frame_9a930191ade815438a1bfafc974c93cf );
      }
      cache_frame_9a930191ade815438a1bfafc974c93cf = NULL;
  
      assertFrameObject( frame_9a930191ade815438a1bfafc974c93cf );
  
      // 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( django$apps$registry$$$function_11_get_containing_app_config );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_object_name );
      par_object_name = NULL;
  
      Py_XDECREF( var_candidates );
      var_candidates = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      Py_XDECREF( var_subpath );
      var_subpath = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_object_name );
      par_object_name = NULL;
  
      Py_XDECREF( var_candidates );
      var_candidates = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      Py_XDECREF( var_subpath );
      var_subpath = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_11_get_containing_app_config );
      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_django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda( 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_ac = python_pars[ 0 ];
      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;
      PyObject *tmp_len_arg_1;
      PyObject *tmp_operand_name_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      static struct Nuitka_FrameObject *cache_frame_3aa64c8f8b53c12ed4c39600eda38d58 = NULL;
  
      struct Nuitka_FrameObject *frame_3aa64c8f8b53c12ed4c39600eda38d58;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_3aa64c8f8b53c12ed4c39600eda38d58, codeobj_3aa64c8f8b53c12ed4c39600eda38d58, module_django$apps$registry, sizeof(void *) );
      frame_3aa64c8f8b53c12ed4c39600eda38d58 = cache_frame_3aa64c8f8b53c12ed4c39600eda38d58;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_3aa64c8f8b53c12ed4c39600eda38d58 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_3aa64c8f8b53c12ed4c39600eda38d58 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_ac;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name );
      if ( tmp_len_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 255;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      tmp_operand_name_1 = BUILTIN_LEN( tmp_len_arg_1 );
      Py_DECREF( tmp_len_arg_1 );
      if ( tmp_operand_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 255;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      tmp_return_value = UNARY_OPERATION( PyNumber_Negative, tmp_operand_name_1 );
      Py_DECREF( tmp_operand_name_1 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 255;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      goto frame_return_exit_1;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_3aa64c8f8b53c12ed4c39600eda38d58 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_3aa64c8f8b53c12ed4c39600eda38d58 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_3aa64c8f8b53c12ed4c39600eda38d58 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_3aa64c8f8b53c12ed4c39600eda38d58, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_3aa64c8f8b53c12ed4c39600eda38d58->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_3aa64c8f8b53c12ed4c39600eda38d58, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_3aa64c8f8b53c12ed4c39600eda38d58,
          type_description_1,
          par_ac
      );
  
  
      // Release cached frame.
      if ( frame_3aa64c8f8b53c12ed4c39600eda38d58 == cache_frame_3aa64c8f8b53c12ed4c39600eda38d58 )
      {
          Py_DECREF( frame_3aa64c8f8b53c12ed4c39600eda38d58 );
      }
      cache_frame_3aa64c8f8b53c12ed4c39600eda38d58 = NULL;
  
      assertFrameObject( frame_3aa64c8f8b53c12ed4c39600eda38d58 );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_ac );
      par_ac = 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_ac );
      par_ac = 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( django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda );
      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_django$apps$registry$$$function_12_get_registered_model( 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_app_label = python_pars[ 1 ];
      PyObject *par_model_name = python_pars[ 2 ];
      PyObject *var_model = 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;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_name_1;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_right_1;
      bool tmp_is_1;
      PyObject *tmp_left_name_1;
      PyObject *tmp_make_exception_arg_1;
      PyObject *tmp_raise_type_1;
      PyObject *tmp_return_value;
      PyObject *tmp_right_name_1;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscript_name_1;
      PyObject *tmp_tuple_element_1;
      static struct Nuitka_FrameObject *cache_frame_c5bccb37a299b39856e8847708515e76 = NULL;
  
      struct Nuitka_FrameObject *frame_c5bccb37a299b39856e8847708515e76;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_c5bccb37a299b39856e8847708515e76, codeobj_c5bccb37a299b39856e8847708515e76, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_c5bccb37a299b39856e8847708515e76 = cache_frame_c5bccb37a299b39856e8847708515e76;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_c5bccb37a299b39856e8847708515e76 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_c5bccb37a299b39856e8847708515e76 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_2 = par_self;
  
      CHECK_OBJECT( tmp_source_name_2 );
      tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_all_models );
      if ( tmp_subscribed_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_subscript_name_1 = par_app_label;
  
      if ( tmp_subscript_name_1 == NULL )
      {
          Py_DECREF( tmp_subscribed_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      Py_DECREF( tmp_subscribed_name_1 );
      if ( tmp_source_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get );
      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 = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_called_instance_1 = par_model_name;
  
      if ( tmp_called_instance_1 == 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", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      frame_c5bccb37a299b39856e8847708515e76->m_frame.f_lineno = 265;
      tmp_args_element_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower );
      if ( tmp_args_element_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_1 );
  
          exception_lineno = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      frame_c5bccb37a299b39856e8847708515e76->m_frame.f_lineno = 265;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_called_name_1 );
      Py_DECREF( tmp_args_element_name_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 265;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      assert( var_model == NULL );
      var_model = tmp_assign_source_1;
  
      tmp_compare_left_1 = var_model;
  
      CHECK_OBJECT( tmp_compare_left_1 );
      tmp_compare_right_1 = Py_None;
      tmp_is_1 = ( tmp_compare_left_1 == tmp_compare_right_1 );
      if ( tmp_is_1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_left_name_1 = const_str_digest_90ae8a8169e12d20ed0b4961d207227b;
      tmp_right_name_1 = PyTuple_New( 2 );
      tmp_tuple_element_1 = par_app_label;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_right_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 268;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
      tmp_tuple_element_1 = par_model_name;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_right_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_name" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 268;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 );
      tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
      Py_DECREF( tmp_right_name_1 );
      if ( tmp_make_exception_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 268;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      frame_c5bccb37a299b39856e8847708515e76->m_frame.f_lineno = 267;
      {
          PyObject *call_args[] = { tmp_make_exception_arg_1 };
          tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_LookupError, call_args );
      }
  
      Py_DECREF( tmp_make_exception_arg_1 );
      assert( tmp_raise_type_1 != NULL );
      exception_type = tmp_raise_type_1;
      exception_lineno = 267;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oooo";
      goto frame_exception_exit_1;
      branch_no_1:;
      tmp_return_value = var_model;
  
      if ( tmp_return_value == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 269;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_return_value );
      goto frame_return_exit_1;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_c5bccb37a299b39856e8847708515e76 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_c5bccb37a299b39856e8847708515e76 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_c5bccb37a299b39856e8847708515e76 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_c5bccb37a299b39856e8847708515e76, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_c5bccb37a299b39856e8847708515e76->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_c5bccb37a299b39856e8847708515e76, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_c5bccb37a299b39856e8847708515e76,
          type_description_1,
          par_self,
          par_app_label,
          par_model_name,
          var_model
      );
  
  
      // Release cached frame.
      if ( frame_c5bccb37a299b39856e8847708515e76 == cache_frame_c5bccb37a299b39856e8847708515e76 )
      {
          Py_DECREF( frame_c5bccb37a299b39856e8847708515e76 );
      }
      cache_frame_c5bccb37a299b39856e8847708515e76 = NULL;
  
      assertFrameObject( frame_c5bccb37a299b39856e8847708515e76 );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_12_get_registered_model );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( par_model_name );
      par_model_name = NULL;
  
      Py_XDECREF( var_model );
      var_model = 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_app_label );
      par_app_label = NULL;
  
      Py_XDECREF( par_model_name );
      par_model_name = NULL;
  
      Py_XDECREF( var_model );
      var_model = 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( django$apps$registry$$$function_12_get_registered_model );
      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_django$apps$registry$$$function_13_get_swappable_settings_name( 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_to_string = python_pars[ 1 ];
      PyObject *var_model = NULL;
      PyObject *var_swapped = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = 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;
      PyObject *exception_keeper_type_2;
      PyObject *exception_keeper_value_2;
      PyTracebackObject *exception_keeper_tb_2;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
      int tmp_and_left_truth_1;
      int tmp_and_left_truth_2;
      PyObject *tmp_and_left_value_1;
      PyObject *tmp_and_left_value_2;
      PyObject *tmp_and_right_value_1;
      PyObject *tmp_and_right_value_2;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_called_name_1;
      PyObject *tmp_compexpr_left_1;
      PyObject *tmp_compexpr_left_2;
      PyObject *tmp_compexpr_right_1;
      PyObject *tmp_compexpr_right_2;
      int tmp_cond_truth_1;
      int tmp_cond_truth_2;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_cond_value_2;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_kw_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      PyObject *tmp_source_name_6;
      PyObject *tmp_source_name_7;
      PyObject *tmp_source_name_8;
      PyObject *tmp_source_name_9;
      PyObject *tmp_source_name_10;
      PyObject *tmp_source_name_11;
      static struct Nuitka_FrameObject *cache_frame_40c144771bff7a98a9bbcba3f5adfe3a = NULL;
  
      struct Nuitka_FrameObject *frame_40c144771bff7a98a9bbcba3f5adfe3a;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_40c144771bff7a98a9bbcba3f5adfe3a, codeobj_40c144771bff7a98a9bbcba3f5adfe3a, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_40c144771bff7a98a9bbcba3f5adfe3a = cache_frame_40c144771bff7a98a9bbcba3f5adfe3a;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_40c144771bff7a98a9bbcba3f5adfe3a );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_40c144771bff7a98a9bbcba3f5adfe3a ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_models );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 283;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_kw_name_1 = PyDict_Copy( const_dict_d725099f0e2c36edb8e3dbd607bd6891 );
      frame_40c144771bff7a98a9bbcba3f5adfe3a->m_frame.f_lineno = 283;
      tmp_iter_arg_1 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_1, tmp_kw_name_1 );
      Py_DECREF( tmp_called_name_1 );
      Py_DECREF( tmp_kw_name_1 );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 283;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 283;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_1;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "oooo";
              exception_lineno = 283;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_2;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_3 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_3 );
      {
          PyObject *old = var_model;
          var_model = tmp_assign_source_3;
          Py_INCREF( var_model );
          Py_XDECREF( old );
      }
  
      tmp_source_name_3 = var_model;
  
      CHECK_OBJECT( tmp_source_name_3 );
      tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__meta );
      if ( tmp_source_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 284;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_assign_source_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_swapped );
      Py_DECREF( tmp_source_name_2 );
      if ( tmp_assign_source_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 284;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      {
          PyObject *old = var_swapped;
          var_swapped = tmp_assign_source_4;
          Py_XDECREF( old );
      }
  
      tmp_and_left_value_1 = var_swapped;
  
      CHECK_OBJECT( tmp_and_left_value_1 );
      tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 );
      if ( tmp_and_left_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 286;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      if ( tmp_and_left_truth_1 == 1 )
      {
          goto and_right_1;
      }
      else
      {
          goto and_left_1;
      }
      and_right_1:;
      tmp_compexpr_left_1 = var_swapped;
  
      CHECK_OBJECT( tmp_compexpr_left_1 );
      tmp_compexpr_right_1 = par_to_string;
  
      if ( tmp_compexpr_right_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "to_string" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 286;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_and_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
      if ( tmp_and_right_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 286;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_cond_value_1 = tmp_and_right_value_1;
      goto and_end_1;
      and_left_1:;
      Py_INCREF( tmp_and_left_value_1 );
      tmp_cond_value_1 = tmp_and_left_value_1;
      and_end_1:;
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 286;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_source_name_5 = var_model;
  
      if ( tmp_source_name_5 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 287;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__meta );
      if ( tmp_source_name_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 287;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_swappable );
      Py_DECREF( tmp_source_name_4 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 287;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      goto try_return_handler_2;
      branch_no_1:;
      tmp_source_name_7 = var_model;
  
      if ( tmp_source_name_7 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__meta );
      if ( tmp_source_name_6 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_and_left_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_swappable );
      Py_DECREF( tmp_source_name_6 );
      if ( tmp_and_left_value_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_and_left_truth_2 = CHECK_IF_TRUE( tmp_and_left_value_2 );
      if ( tmp_and_left_truth_2 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_and_left_value_2 );
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      if ( tmp_and_left_truth_2 == 1 )
      {
          goto and_right_2;
      }
      else
      {
          goto and_left_2;
      }
      and_right_2:;
      Py_DECREF( tmp_and_left_value_2 );
      tmp_source_name_9 = var_model;
  
      if ( tmp_source_name_9 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain__meta );
      if ( tmp_source_name_8 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_label );
      Py_DECREF( tmp_source_name_8 );
      if ( tmp_compexpr_left_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_compexpr_right_2 = par_to_string;
  
      if ( tmp_compexpr_right_2 == NULL )
      {
          Py_DECREF( tmp_compexpr_left_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "to_string" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_and_right_value_2 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
      Py_DECREF( tmp_compexpr_left_2 );
      if ( tmp_and_right_value_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_cond_value_2 = tmp_and_right_value_2;
      goto and_end_2;
      and_left_2:;
      tmp_cond_value_2 = tmp_and_left_value_2;
      and_end_2:;
      tmp_cond_truth_2 = CHECK_IF_TRUE( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_2 );
  
          exception_lineno = 289;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_cond_value_2 );
      if ( tmp_cond_truth_2 == 1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      tmp_source_name_11 = var_model;
  
      if ( tmp_source_name_11 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 290;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain__meta );
      if ( tmp_source_name_10 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 290;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_swappable );
      Py_DECREF( tmp_source_name_10 );
      if ( tmp_return_value == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 290;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      goto try_return_handler_2;
      branch_no_2:;
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 283;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Return handler code:
      try_return_handler_2:;
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      goto frame_return_exit_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_40c144771bff7a98a9bbcba3f5adfe3a );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_return_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_40c144771bff7a98a9bbcba3f5adfe3a );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto try_return_handler_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_40c144771bff7a98a9bbcba3f5adfe3a );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_40c144771bff7a98a9bbcba3f5adfe3a, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_40c144771bff7a98a9bbcba3f5adfe3a->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_40c144771bff7a98a9bbcba3f5adfe3a, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_40c144771bff7a98a9bbcba3f5adfe3a,
          type_description_1,
          par_self,
          par_to_string,
          var_model,
          var_swapped
      );
  
  
      // Release cached frame.
      if ( frame_40c144771bff7a98a9bbcba3f5adfe3a == cache_frame_40c144771bff7a98a9bbcba3f5adfe3a )
      {
          Py_DECREF( frame_40c144771bff7a98a9bbcba3f5adfe3a );
      }
      cache_frame_40c144771bff7a98a9bbcba3f5adfe3a = NULL;
  
      assertFrameObject( frame_40c144771bff7a98a9bbcba3f5adfe3a );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      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( django$apps$registry$$$function_13_get_swappable_settings_name );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_to_string );
      par_to_string = NULL;
  
      Py_XDECREF( var_model );
      var_model = NULL;
  
      Py_XDECREF( var_swapped );
      var_swapped = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_to_string );
      par_to_string = NULL;
  
      Py_XDECREF( var_model );
      var_model = NULL;
  
      Py_XDECREF( var_swapped );
      var_swapped = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_13_get_swappable_settings_name );
      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_django$apps$registry$$$function_14_set_available_apps( 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 ];
      struct Nuitka_CellObject *par_available = PyCell_NEW1( python_pars[ 1 ] );
      PyObject *var_installed = NULL;
      PyObject *tmp_genexpr_1__$0 = NULL;
      PyObject *tmp_genexpr_2__$0 = 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;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_args_element_name_3;
      PyObject *tmp_args_element_name_4;
      PyObject *tmp_assattr_name_1;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_instance_3;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_called_name_4;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iter_arg_2;
      PyObject *tmp_left_name_1;
      PyObject *tmp_left_name_2;
      PyObject *tmp_make_exception_arg_1;
      PyObject *tmp_outline_return_value_1;
      PyObject *tmp_outline_return_value_2;
      PyObject *tmp_raise_type_1;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_right_name_1;
      PyObject *tmp_right_name_2;
      PyObject *tmp_set_arg_1;
      PyObject *tmp_set_arg_2;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      PyObject *tmp_source_name_6;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_2948f652c8dfb163b3a57a1c76989d89 = NULL;
  
      struct Nuitka_FrameObject *frame_2948f652c8dfb163b3a57a1c76989d89;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
      tmp_outline_return_value_1 = NULL;
      tmp_outline_return_value_2 = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_2948f652c8dfb163b3a57a1c76989d89, codeobj_2948f652c8dfb163b3a57a1c76989d89, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_2948f652c8dfb163b3a57a1c76989d89 = cache_frame_2948f652c8dfb163b3a57a1c76989d89;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_2948f652c8dfb163b3a57a1c76989d89 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_2948f652c8dfb163b3a57a1c76989d89 ) == 2 ); // Frame stack
  
      // Framed code:
      if ( par_available == NULL )
      {
          tmp_set_arg_1 = NULL;
      }
      else
      {
          tmp_set_arg_1 = PyCell_GET( par_available );
      }
  
      if ( tmp_set_arg_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "available" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 305;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_assign_source_1 = PySet_New( tmp_set_arg_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 305;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      {
          PyObject *old = PyCell_GET( par_available );
          PyCell_SET( par_available, tmp_assign_source_1 );
          Py_XDECREF( old );
      }
  
      tmp_called_instance_1 = par_self;
  
      CHECK_OBJECT( tmp_called_instance_1 );
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 306;
      tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_app_configs );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 306;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 306;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      assert( tmp_genexpr_1__$0 == NULL );
      tmp_genexpr_1__$0 = tmp_assign_source_3;
  
      // Tried code:
      tmp_outline_return_value_1 = Nuitka_Generator_New(
          django$apps$registry$$$function_14_set_available_apps$$$genexpr_1_genexpr_context,
          module_django$apps$registry,
          const_str_angle_genexpr,
  #if PYTHON_VERSION >= 350
          const_str_digest_8cc4e5fd688286746812aa8637306235,
  #endif
          codeobj_518c12166671678afa0f8f5f4dd5d48e,
          1
      );
  
      ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_1)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 );
      assert( Py_SIZE( tmp_outline_return_value_1 ) >= 1 ); 
  
  
      goto try_return_handler_2;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_14_set_available_apps );
      return NULL;
      // Return handler code:
      try_return_handler_2:;
      CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
      Py_DECREF( tmp_genexpr_1__$0 );
      tmp_genexpr_1__$0 = NULL;
  
      goto outline_result_1;
      // End of try:
      CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
      Py_DECREF( tmp_genexpr_1__$0 );
      tmp_genexpr_1__$0 = NULL;
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_14_set_available_apps );
      return NULL;
      outline_result_1:;
      tmp_set_arg_2 = tmp_outline_return_value_1;
      tmp_assign_source_2 = PySet_New( tmp_set_arg_2 );
      Py_DECREF( tmp_set_arg_2 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 306;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      assert( var_installed == NULL );
      var_installed = tmp_assign_source_2;
  
      if ( par_available == NULL )
      {
          tmp_source_name_1 = NULL;
      }
      else
      {
          tmp_source_name_1 = PyCell_GET( par_available );
      }
  
      if ( tmp_source_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "available" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 307;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_issubset );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 307;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_1 = var_installed;
  
      if ( tmp_args_element_name_1 == 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", "installed" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 307;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 307;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_cond_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_called_name_1 );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 307;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 307;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_no_1;
      }
      else
      {
          goto branch_yes_1;
      }
      branch_yes_1:;
      tmp_left_name_1 = const_str_digest_00d7c6a4e1629d4b08e7a8e6c6f14a3b;
      tmp_source_name_2 = const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77;
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_join );
      assert( tmp_called_name_2 != NULL );
      if ( par_available == NULL )
      {
          tmp_left_name_2 = NULL;
      }
      else
      {
          tmp_left_name_2 = PyCell_GET( par_available );
      }
  
      if ( tmp_left_name_2 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "available" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 310;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_right_name_2 = var_installed;
  
      if ( tmp_right_name_2 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "installed" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 310;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_args_element_name_2 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_2 );
      if ( tmp_args_element_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_2 );
  
          exception_lineno = 310;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 310;
      {
          PyObject *call_args[] = { tmp_args_element_name_2 };
          tmp_right_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
      }
  
      Py_DECREF( tmp_called_name_2 );
      Py_DECREF( tmp_args_element_name_2 );
      if ( tmp_right_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 310;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
      Py_DECREF( tmp_right_name_1 );
      if ( tmp_make_exception_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 309;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 308;
      {
          PyObject *call_args[] = { tmp_make_exception_arg_1 };
          tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args );
      }
  
      Py_DECREF( tmp_make_exception_arg_1 );
      assert( tmp_raise_type_1 != NULL );
      exception_type = tmp_raise_type_1;
      exception_lineno = 308;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oco";
      goto frame_exception_exit_1;
      branch_no_1:;
      tmp_source_name_4 = par_self;
  
      if ( tmp_source_name_4 == 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 = 313;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_stored_app_configs );
      if ( tmp_source_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 313;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_append );
      Py_DECREF( tmp_source_name_3 );
      if ( tmp_called_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 313;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_source_name_5 = par_self;
  
      if ( tmp_source_name_5 == NULL )
      {
          Py_DECREF( tmp_called_name_3 );
          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 = 313;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_app_configs );
      if ( tmp_args_element_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_3 );
  
          exception_lineno = 313;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 313;
      {
          PyObject *call_args[] = { tmp_args_element_name_3 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
      }
  
      Py_DECREF( tmp_called_name_3 );
      Py_DECREF( tmp_args_element_name_3 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 313;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_called_name_4 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_OrderedDict );
  
      if (unlikely( tmp_called_name_4 == NULL ))
      {
          tmp_called_name_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
      }
  
      if ( tmp_called_name_4 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 314;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_6 = par_self;
  
      if ( tmp_source_name_6 == 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 = 316;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_app_configs );
      if ( tmp_called_instance_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 316;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 316;
      tmp_iter_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
      Py_DECREF( tmp_called_instance_2 );
      if ( tmp_iter_arg_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 316;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_2 );
      Py_DECREF( tmp_iter_arg_2 );
      if ( tmp_assign_source_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 315;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      assert( tmp_genexpr_2__$0 == NULL );
      tmp_genexpr_2__$0 = tmp_assign_source_4;
  
      // Tried code:
      tmp_outline_return_value_2 = Nuitka_Generator_New(
          django$apps$registry$$$function_14_set_available_apps$$$genexpr_2_genexpr_context,
          module_django$apps$registry,
          const_str_angle_genexpr,
  #if PYTHON_VERSION >= 350
          const_str_digest_8cc4e5fd688286746812aa8637306235,
  #endif
          codeobj_344b1413da566685502f858be98691ad,
          2
      );
  
      ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_2)->m_closure[0] = par_available;
      Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_2)->m_closure[0] );
      ((struct Nuitka_GeneratorObject *)tmp_outline_return_value_2)->m_closure[1] = PyCell_NEW0( tmp_genexpr_2__$0 );
      assert( Py_SIZE( tmp_outline_return_value_2 ) >= 2 ); 
  
  
      goto try_return_handler_3;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_14_set_available_apps );
      return NULL;
      // Return handler code:
      try_return_handler_3:;
      CHECK_OBJECT( (PyObject *)tmp_genexpr_2__$0 );
      Py_DECREF( tmp_genexpr_2__$0 );
      tmp_genexpr_2__$0 = NULL;
  
      goto outline_result_2;
      // End of try:
      CHECK_OBJECT( (PyObject *)tmp_genexpr_2__$0 );
      Py_DECREF( tmp_genexpr_2__$0 );
      tmp_genexpr_2__$0 = NULL;
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_14_set_available_apps );
      return NULL;
      outline_result_2:;
      tmp_args_element_name_4 = tmp_outline_return_value_2;
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 314;
      {
          PyObject *call_args[] = { tmp_args_element_name_4 };
          tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
      }
  
      Py_DECREF( tmp_args_element_name_4 );
      if ( tmp_assattr_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 314;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_1 = par_self;
  
      if ( tmp_assattr_target_1 == NULL )
      {
          Py_DECREF( tmp_assattr_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 = 314;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_app_configs, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_1 );
  
          exception_lineno = 314;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_1 );
      tmp_called_instance_3 = par_self;
  
      if ( tmp_called_instance_3 == 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 = 318;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
  
      frame_2948f652c8dfb163b3a57a1c76989d89->m_frame.f_lineno = 318;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_clear_cache );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 318;
          type_description_1 = "oco";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_2948f652c8dfb163b3a57a1c76989d89 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_2948f652c8dfb163b3a57a1c76989d89 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_2948f652c8dfb163b3a57a1c76989d89, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_2948f652c8dfb163b3a57a1c76989d89->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_2948f652c8dfb163b3a57a1c76989d89, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_2948f652c8dfb163b3a57a1c76989d89,
          type_description_1,
          par_self,
          par_available,
          var_installed
      );
  
  
      // Release cached frame.
      if ( frame_2948f652c8dfb163b3a57a1c76989d89 == cache_frame_2948f652c8dfb163b3a57a1c76989d89 )
      {
          Py_DECREF( frame_2948f652c8dfb163b3a57a1c76989d89 );
      }
      cache_frame_2948f652c8dfb163b3a57a1c76989d89 = NULL;
  
      assertFrameObject( frame_2948f652c8dfb163b3a57a1c76989d89 );
  
      // 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( django$apps$registry$$$function_14_set_available_apps );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      CHECK_OBJECT( (PyObject *)par_available );
      Py_DECREF( par_available );
      par_available = NULL;
  
      Py_XDECREF( var_installed );
      var_installed = 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;
  
      CHECK_OBJECT( (PyObject *)par_available );
      Py_DECREF( par_available );
      par_available = NULL;
  
      Py_XDECREF( var_installed );
      var_installed = 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( django$apps$registry$$$function_14_set_available_apps );
      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;
  
  }
  
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  struct django$apps$registry$$$function_14_set_available_apps$$$genexpr_1_genexpr_locals {
      PyObject *var_app_config
      PyObject *tmp_iter_value_0
      PyObject *exception_type
      PyObject *exception_value
      PyTracebackObject *exception_tb
      int exception_lineno
      PyObject *exception_keeper_type_1;
      PyObject *exception_keeper_value_1;
      PyTracebackObject *exception_keeper_tb_1;
      int exception_keeper_lineno_1;
      PyObject *exception_keeper_type_2;
      PyObject *exception_keeper_value_2;
      PyTracebackObject *exception_keeper_tb_2;
      int exception_keeper_lineno_2;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      char const *type_description_1
  };
  #endif
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_14_set_available_apps$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
  #else
  static void django$apps$registry$$$function_14_set_available_apps$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator )
  #endif
  {
      CHECK_OBJECT( (PyObject *)generator );
      assert( Nuitka_Generator_Check( (PyObject *)generator ) );
  
      // Local variable initialization
      PyObject *var_app_config = NULL;
      PyObject *tmp_iter_value_0 = 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;
      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 *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_generator = NULL;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
  
      // Dispatch to yield based on return label index:
  
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_generator, codeobj_518c12166671678afa0f8f5f4dd5d48e, module_django$apps$registry, sizeof(void *)+sizeof(void *) );
      generator->m_frame = cache_frame_generator;
  
      // 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();
  
      generator->m_frame->m_frame.f_exc_type = thread_state->exc_type;
      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 = thread_state->exc_value;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
      generator->m_frame->m_frame.f_exc_traceback = thread_state->exc_traceback;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
  #endif
  
      // Framed code:
      // Tried code:
      loop_start_1:;
      if ( generator->m_closure[0] == NULL )
      {
          tmp_next_source_1 = NULL;
      }
      else
      {
          tmp_next_source_1 = PyCell_GET( generator->m_closure[0] );
      }
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "No";
              exception_lineno = 306;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_iter_value_0;
          tmp_iter_value_0 = tmp_assign_source_1;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_2 = tmp_iter_value_0;
  
      CHECK_OBJECT( tmp_assign_source_2 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_2;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_source_name_1 = var_app_config;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_expression_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name );
      if ( tmp_expression_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 306;
          type_description_1 = "No";
          goto try_except_handler_2;
      }
      tmp_unused = GENERATOR_YIELD( generator, tmp_expression_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 306;
          type_description_1 = "No";
          goto try_except_handler_2;
      }
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 306;
          type_description_1 = "No";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_iter_value_0 );
      tmp_iter_value_0 = 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:;
  
      Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
  
  #if 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( exception_type ) )
      {
          if ( exception_tb == NULL )
          {
              exception_tb = MAKE_TRACEBACK( generator->m_frame, exception_lineno );
          }
          else if ( exception_tb->tb_frame != &generator->m_frame->m_frame )
          {
              exception_tb = ADD_TRACEBACK( exception_tb, generator->m_frame, exception_lineno );
          }
  
          Nuitka_Frame_AttachLocals(
              (struct Nuitka_FrameObject *)generator->m_frame,
              type_description_1,
              NULL,
              var_app_config
          );
  
  
          // Release cached frame.
          if ( generator->m_frame == cache_frame_generator )
          {
              Py_DECREF( generator->m_frame );
          }
          cache_frame_generator = NULL;
  
          assertFrameObject( generator->m_frame );
      }
  
  #if 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_2;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( var_app_config );
      var_app_config = 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 function_exception_exit;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_iter_value_0 );
      tmp_iter_value_0 = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
      function_exception_exit:
      assert( exception_type );
      RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
  }
  
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  struct django$apps$registry$$$function_14_set_available_apps$$$genexpr_2_genexpr_locals {
      PyObject *var_label
      PyObject *var_app_config
      PyObject *tmp_iter_value_0
      PyObject *tmp_tuple_unpack_1__element_1
      PyObject *tmp_tuple_unpack_1__element_2
      PyObject *tmp_tuple_unpack_1__source_iter
      PyObject *exception_type
      PyObject *exception_value
      PyTracebackObject *exception_tb
      int exception_lineno
      PyObject *exception_keeper_type_1;
      PyObject *exception_keeper_value_1;
      PyTracebackObject *exception_keeper_tb_1;
      int exception_keeper_lineno_1;
      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 *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      int tmp_cmp_In_1;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iterator_attempt;
      PyObject *tmp_iterator_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      PyObject *tmp_tuple_element_1;
      PyObject *tmp_unpack_1;
      PyObject *tmp_unpack_2;
      char const *type_description_1
  };
  #endif
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
  static PyObject *django$apps$registry$$$function_14_set_available_apps$$$genexpr_2_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
  #else
  static void django$apps$registry$$$function_14_set_available_apps$$$genexpr_2_genexpr_context( struct Nuitka_GeneratorObject *generator )
  #endif
  {
      CHECK_OBJECT( (PyObject *)generator );
      assert( Nuitka_Generator_Check( (PyObject *)generator ) );
  
      // Local variable initialization
      PyObject *var_label = NULL;
      PyObject *var_app_config = NULL;
      PyObject *tmp_iter_value_0 = NULL;
      PyObject *tmp_tuple_unpack_1__element_1 = NULL;
      PyObject *tmp_tuple_unpack_1__element_2 = NULL;
      PyObject *tmp_tuple_unpack_1__source_iter = 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;
      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;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      int tmp_cmp_In_1;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_expression_name_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iterator_attempt;
      PyObject *tmp_iterator_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_source_name_1;
      PyObject *tmp_tuple_element_1;
      PyObject *tmp_unpack_1;
      PyObject *tmp_unpack_2;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_generator = NULL;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
  
      // Dispatch to yield based on return label index:
  
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_generator, codeobj_344b1413da566685502f858be98691ad, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      generator->m_frame = cache_frame_generator;
  
      // 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();
  
      generator->m_frame->m_frame.f_exc_type = thread_state->exc_type;
      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 = thread_state->exc_value;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
      generator->m_frame->m_frame.f_exc_traceback = thread_state->exc_traceback;
      Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
  #endif
  
      // Framed code:
      // Tried code:
      loop_start_1:;
      if ( generator->m_closure[1] == NULL )
      {
          tmp_next_source_1 = NULL;
      }
      else
      {
          tmp_next_source_1 = PyCell_GET( generator->m_closure[1] );
      }
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "Nooc";
              exception_lineno = 315;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_iter_value_0;
          tmp_iter_value_0 = tmp_assign_source_1;
          Py_XDECREF( old );
      }
  
      // Tried code:
      tmp_iter_arg_1 = tmp_iter_value_0;
  
      CHECK_OBJECT( tmp_iter_arg_1 );
      tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 315;
          type_description_1 = "Nooc";
          goto try_except_handler_3;
      }
      {
          PyObject *old = tmp_tuple_unpack_1__source_iter;
          tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
          Py_XDECREF( old );
      }
  
      // Tried code:
      tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_1 );
      tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_1 = "Nooc";
          exception_lineno = 315;
          goto try_except_handler_4;
      }
      {
          PyObject *old = tmp_tuple_unpack_1__element_1;
          tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
          Py_XDECREF( old );
      }
  
      tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_2 );
      tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
      if ( tmp_assign_source_4 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_1 = "Nooc";
          exception_lineno = 315;
          goto try_except_handler_4;
      }
      {
          PyObject *old = tmp_tuple_unpack_1__element_2;
          tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
          Py_XDECREF( old );
      }
  
      tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_iterator_name_1 );
      // Check if iterator has left-over elements.
      CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
  
      tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
  
      if (likely( 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( &exception_type, &exception_value, &exception_tb );
  
                  type_description_1 = "Nooc";
                  exception_lineno = 315;
                  goto try_except_handler_4;
              }
          }
      }
      else
      {
          Py_DECREF( 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( &exception_type, &exception_value, &exception_tb );
  
          type_description_1 = "Nooc";
          exception_lineno = 315;
          goto try_except_handler_4;
      }
      goto try_end_1;
      // Exception handler code:
      try_except_handler_4:;
      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( tmp_tuple_unpack_1__source_iter );
      tmp_tuple_unpack_1__source_iter = 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 try_except_handler_3;
      // End of try:
      try_end_1:;
      goto try_end_2;
      // Exception handler code:
      try_except_handler_3:;
      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_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = 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_2;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_tuple_unpack_1__source_iter );
      tmp_tuple_unpack_1__source_iter = NULL;
  
      tmp_assign_source_5 = tmp_tuple_unpack_1__element_1;
  
      CHECK_OBJECT( tmp_assign_source_5 );
      {
          PyObject *old = var_label;
          var_label = tmp_assign_source_5;
          Py_INCREF( var_label );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      tmp_assign_source_6 = tmp_tuple_unpack_1__element_2;
  
      CHECK_OBJECT( tmp_assign_source_6 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_6;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = NULL;
  
      tmp_source_name_1 = var_app_config;
  
      if ( tmp_source_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 317;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
  
      tmp_compare_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name );
      if ( tmp_compare_left_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 317;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
      if ( generator->m_closure[0] == NULL )
      {
          tmp_compare_right_1 = NULL;
      }
      else
      {
          tmp_compare_right_1 = PyCell_GET( generator->m_closure[0] );
      }
  
      if ( tmp_compare_right_1 == NULL )
      {
          Py_DECREF( tmp_compare_left_1 );
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "available" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 317;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
  
      tmp_cmp_In_1 = PySequence_Contains( tmp_compare_right_1, tmp_compare_left_1 );
      assert( !(tmp_cmp_In_1 == -1) );
      Py_DECREF( tmp_compare_left_1 );
      if ( tmp_cmp_In_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_expression_name_1 = PyTuple_New( 2 );
      tmp_tuple_element_1 = var_label;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_expression_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "label" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 315;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_expression_name_1, 0, tmp_tuple_element_1 );
      tmp_tuple_element_1 = var_app_config;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_expression_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app_config" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 315;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 );
      tmp_unused = GENERATOR_YIELD( generator, tmp_expression_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 315;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
      branch_no_1:;
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 315;
          type_description_1 = "Nooc";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_3;
      // Exception handler code:
      try_except_handler_2:;
      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;
  
      Py_XDECREF( tmp_iter_value_0 );
      tmp_iter_value_0 = NULL;
  
      // 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 frame_exception_exit_1;
      // End of try:
      try_end_3:;
  
      Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
  
  #if 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( exception_type ) )
      {
          if ( exception_tb == NULL )
          {
              exception_tb = MAKE_TRACEBACK( generator->m_frame, exception_lineno );
          }
          else if ( exception_tb->tb_frame != &generator->m_frame->m_frame )
          {
              exception_tb = ADD_TRACEBACK( exception_tb, generator->m_frame, exception_lineno );
          }
  
          Nuitka_Frame_AttachLocals(
              (struct Nuitka_FrameObject *)generator->m_frame,
              type_description_1,
              NULL,
              var_label,
              var_app_config,
              generator->m_closure[0]
          );
  
  
          // Release cached frame.
          if ( generator->m_frame == cache_frame_generator )
          {
              Py_DECREF( generator->m_frame );
          }
          cache_frame_generator = NULL;
  
          assertFrameObject( generator->m_frame );
      }
  
  #if 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_4;
      // Exception handler code:
      try_except_handler_1:;
      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( var_label );
      var_label = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = 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 function_exception_exit;
      // End of try:
      try_end_4:;
      Py_XDECREF( tmp_iter_value_0 );
      tmp_iter_value_0 = NULL;
  
      Py_XDECREF( var_label );
      var_label = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
      function_exception_exit:
      assert( exception_type );
      RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
  
  #if _NUITKA_EXPERIMENTAL_GENERATOR_GOTO
      return NULL;
  #else
      generator->m_yielded = NULL;
      return;
  #endif
  
  }
  
  
  static PyObject *impl_django$apps$registry$$$function_15_unset_available_apps( 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 *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;
      PyObject *tmp_assattr_name_1;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_3534ad0b3f0a057ce068c99e103d7cce = NULL;
  
      struct Nuitka_FrameObject *frame_3534ad0b3f0a057ce068c99e103d7cce;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_3534ad0b3f0a057ce068c99e103d7cce, codeobj_3534ad0b3f0a057ce068c99e103d7cce, module_django$apps$registry, sizeof(void *) );
      frame_3534ad0b3f0a057ce068c99e103d7cce = cache_frame_3534ad0b3f0a057ce068c99e103d7cce;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_3534ad0b3f0a057ce068c99e103d7cce );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_3534ad0b3f0a057ce068c99e103d7cce ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_stored_app_configs );
      if ( tmp_called_instance_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 324;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      frame_3534ad0b3f0a057ce068c99e103d7cce->m_frame.f_lineno = 324;
      tmp_assattr_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_pop );
      Py_DECREF( tmp_called_instance_1 );
      if ( tmp_assattr_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 324;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_1 = par_self;
  
      if ( tmp_assattr_target_1 == NULL )
      {
          Py_DECREF( tmp_assattr_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 = 324;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_app_configs, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_1 );
  
          exception_lineno = 324;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_1 );
      tmp_called_instance_2 = par_self;
  
      if ( tmp_called_instance_2 == 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 = 325;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      frame_3534ad0b3f0a057ce068c99e103d7cce->m_frame.f_lineno = 325;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_clear_cache );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 325;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_3534ad0b3f0a057ce068c99e103d7cce );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_3534ad0b3f0a057ce068c99e103d7cce );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_3534ad0b3f0a057ce068c99e103d7cce, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_3534ad0b3f0a057ce068c99e103d7cce->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_3534ad0b3f0a057ce068c99e103d7cce, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_3534ad0b3f0a057ce068c99e103d7cce,
          type_description_1,
          par_self
      );
  
  
      // Release cached frame.
      if ( frame_3534ad0b3f0a057ce068c99e103d7cce == cache_frame_3534ad0b3f0a057ce068c99e103d7cce )
      {
          Py_DECREF( frame_3534ad0b3f0a057ce068c99e103d7cce );
      }
      cache_frame_3534ad0b3f0a057ce068c99e103d7cce = NULL;
  
      assertFrameObject( frame_3534ad0b3f0a057ce068c99e103d7cce );
  
      // 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( django$apps$registry$$$function_15_unset_available_apps );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = 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;
  
      // 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( django$apps$registry$$$function_15_unset_available_apps );
      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_django$apps$registry$$$function_16_set_installed_apps( 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_installed = python_pars[ 1 ];
      PyObject *tmp_assign_unpack_1__assign_source = 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;
      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 *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_assattr_name_1;
      PyObject *tmp_assattr_name_2;
      PyObject *tmp_assattr_name_3;
      PyObject *tmp_assattr_name_4;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_assattr_target_2;
      PyObject *tmp_assattr_target_3;
      PyObject *tmp_assattr_target_4;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_called_name_4;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_raise_type_1;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_213bc22176757c61d4b4f8b8ce676918 = NULL;
  
      struct Nuitka_FrameObject *frame_213bc22176757c61d4b4f8b8ce676918;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_213bc22176757c61d4b4f8b8ce676918, codeobj_213bc22176757c61d4b4f8b8ce676918, module_django$apps$registry, sizeof(void *)+sizeof(void *) );
      frame_213bc22176757c61d4b4f8b8ce676918 = cache_frame_213bc22176757c61d4b4f8b8ce676918;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_213bc22176757c61d4b4f8b8ce676918 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_213bc22176757c61d4b4f8b8ce676918 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_cond_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ready );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 344;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 344;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_no_1;
      }
      else
      {
          goto branch_yes_1;
      }
      branch_yes_1:;
      tmp_called_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady );
  
      if (unlikely( tmp_called_name_1 == NULL ))
      {
          tmp_called_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady );
      }
  
      if ( tmp_called_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AppRegistryNotReady" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 345;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_213bc22176757c61d4b4f8b8ce676918->m_frame.f_lineno = 345;
      tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_digest_8edf470709dc32d6418b0e27951264e1_tuple, 0 ) );
  
      if ( tmp_raise_type_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 345;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      exception_type = tmp_raise_type_1;
      exception_lineno = 345;
      RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
      type_description_1 = "oo";
      goto frame_exception_exit_1;
      branch_no_1:;
      tmp_source_name_3 = par_self;
  
      if ( tmp_source_name_3 == 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 = 346;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_stored_app_configs );
      if ( tmp_source_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 346;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append );
      Py_DECREF( tmp_source_name_2 );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 346;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_source_name_4 = par_self;
  
      if ( tmp_source_name_4 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          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 = 346;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_app_configs );
      if ( tmp_args_element_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_called_name_2 );
  
          exception_lineno = 346;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      frame_213bc22176757c61d4b4f8b8ce676918->m_frame.f_lineno = 346;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
      }
  
      Py_DECREF( tmp_called_name_2 );
      Py_DECREF( tmp_args_element_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 346;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_called_name_3 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_OrderedDict );
  
      if (unlikely( tmp_called_name_3 == NULL ))
      {
          tmp_called_name_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
      }
  
      if ( tmp_called_name_3 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 347;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_213bc22176757c61d4b4f8b8ce676918->m_frame.f_lineno = 347;
      tmp_assattr_name_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_3 );
      if ( tmp_assattr_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 347;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_1 = par_self;
  
      if ( tmp_assattr_target_1 == NULL )
      {
          Py_DECREF( tmp_assattr_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 = 347;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_app_configs, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_1 );
  
          exception_lineno = 347;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_1 );
      tmp_assign_source_1 = Py_False;
      assert( tmp_assign_unpack_1__assign_source == NULL );
      Py_INCREF( tmp_assign_source_1 );
      tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
  
      // Tried code:
      tmp_assattr_name_2 = Py_False;
      tmp_assattr_target_2 = par_self;
  
      if ( tmp_assattr_target_2 == 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 = 348;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_apps_ready, tmp_assattr_name_2 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 348;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
      tmp_assattr_name_3 = tmp_assign_unpack_1__assign_source;
  
      CHECK_OBJECT( tmp_assattr_name_3 );
      tmp_assattr_target_3 = par_self;
  
      if ( tmp_assattr_target_3 == 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 = 348;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_models_ready, tmp_assattr_name_3 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 348;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
      tmp_assattr_name_4 = tmp_assign_unpack_1__assign_source;
  
      CHECK_OBJECT( tmp_assattr_name_4 );
      tmp_assattr_target_4 = par_self;
  
      if ( tmp_assattr_target_4 == 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 = 348;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_ready, tmp_assattr_name_4 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 348;
          type_description_1 = "oo";
          goto try_except_handler_2;
      }
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_assign_unpack_1__assign_source );
      tmp_assign_unpack_1__assign_source = 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:;
      Py_XDECREF( tmp_assign_unpack_1__assign_source );
      tmp_assign_unpack_1__assign_source = NULL;
  
      tmp_called_instance_1 = par_self;
  
      if ( tmp_called_instance_1 == 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 = 349;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_213bc22176757c61d4b4f8b8ce676918->m_frame.f_lineno = 349;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_clear_cache );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 349;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_source_name_5 = par_self;
  
      if ( tmp_source_name_5 == 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 = 350;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_populate );
      if ( tmp_called_name_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 350;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_2 = par_installed;
  
      if ( tmp_args_element_name_2 == NULL )
      {
          Py_DECREF( tmp_called_name_4 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "installed" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 350;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
  
      frame_213bc22176757c61d4b4f8b8ce676918->m_frame.f_lineno = 350;
      {
          PyObject *call_args[] = { tmp_args_element_name_2 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
      }
  
      Py_DECREF( tmp_called_name_4 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 350;
          type_description_1 = "oo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_213bc22176757c61d4b4f8b8ce676918 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_213bc22176757c61d4b4f8b8ce676918 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_213bc22176757c61d4b4f8b8ce676918, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_213bc22176757c61d4b4f8b8ce676918->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_213bc22176757c61d4b4f8b8ce676918, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_213bc22176757c61d4b4f8b8ce676918,
          type_description_1,
          par_self,
          par_installed
      );
  
  
      // Release cached frame.
      if ( frame_213bc22176757c61d4b4f8b8ce676918 == cache_frame_213bc22176757c61d4b4f8b8ce676918 )
      {
          Py_DECREF( frame_213bc22176757c61d4b4f8b8ce676918 );
      }
      cache_frame_213bc22176757c61d4b4f8b8ce676918 = NULL;
  
      assertFrameObject( frame_213bc22176757c61d4b4f8b8ce676918 );
  
      // 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( django$apps$registry$$$function_16_set_installed_apps );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_installed );
      par_installed = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_installed );
      par_installed = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_16_set_installed_apps );
      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_django$apps$registry$$$function_17_unset_installed_apps( 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 *tmp_assign_unpack_1__assign_source = 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;
      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 *tmp_assattr_name_1;
      PyObject *tmp_assattr_name_2;
      PyObject *tmp_assattr_name_3;
      PyObject *tmp_assattr_name_4;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_assattr_target_2;
      PyObject *tmp_assattr_target_3;
      PyObject *tmp_assattr_target_4;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_847d74da1c850a5b12a8b35b58802687 = NULL;
  
      struct Nuitka_FrameObject *frame_847d74da1c850a5b12a8b35b58802687;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_847d74da1c850a5b12a8b35b58802687, codeobj_847d74da1c850a5b12a8b35b58802687, module_django$apps$registry, sizeof(void *) );
      frame_847d74da1c850a5b12a8b35b58802687 = cache_frame_847d74da1c850a5b12a8b35b58802687;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_847d74da1c850a5b12a8b35b58802687 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_847d74da1c850a5b12a8b35b58802687 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_stored_app_configs );
      if ( tmp_called_instance_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 356;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      frame_847d74da1c850a5b12a8b35b58802687->m_frame.f_lineno = 356;
      tmp_assattr_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_pop );
      Py_DECREF( tmp_called_instance_1 );
      if ( tmp_assattr_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 356;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      tmp_assattr_target_1 = par_self;
  
      if ( tmp_assattr_target_1 == NULL )
      {
          Py_DECREF( tmp_assattr_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 = 356;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_app_configs, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assattr_name_1 );
  
          exception_lineno = 356;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_assattr_name_1 );
      tmp_assign_source_1 = Py_True;
      assert( tmp_assign_unpack_1__assign_source == NULL );
      Py_INCREF( tmp_assign_source_1 );
      tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
  
      // Tried code:
      tmp_assattr_name_2 = Py_True;
      tmp_assattr_target_2 = par_self;
  
      if ( tmp_assattr_target_2 == 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 = 357;
          type_description_1 = "o";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_apps_ready, tmp_assattr_name_2 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 357;
          type_description_1 = "o";
          goto try_except_handler_2;
      }
      tmp_assattr_name_3 = tmp_assign_unpack_1__assign_source;
  
      CHECK_OBJECT( tmp_assattr_name_3 );
      tmp_assattr_target_3 = par_self;
  
      if ( tmp_assattr_target_3 == 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 = 357;
          type_description_1 = "o";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_models_ready, tmp_assattr_name_3 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 357;
          type_description_1 = "o";
          goto try_except_handler_2;
      }
      tmp_assattr_name_4 = tmp_assign_unpack_1__assign_source;
  
      CHECK_OBJECT( tmp_assattr_name_4 );
      tmp_assattr_target_4 = par_self;
  
      if ( tmp_assattr_target_4 == 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 = 357;
          type_description_1 = "o";
          goto try_except_handler_2;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_ready, tmp_assattr_name_4 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 357;
          type_description_1 = "o";
          goto try_except_handler_2;
      }
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_assign_unpack_1__assign_source );
      tmp_assign_unpack_1__assign_source = 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:;
      Py_XDECREF( tmp_assign_unpack_1__assign_source );
      tmp_assign_unpack_1__assign_source = NULL;
  
      tmp_called_instance_2 = par_self;
  
      if ( tmp_called_instance_2 == 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 = 358;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
  
      frame_847d74da1c850a5b12a8b35b58802687->m_frame.f_lineno = 358;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_clear_cache );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 358;
          type_description_1 = "o";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_847d74da1c850a5b12a8b35b58802687 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_847d74da1c850a5b12a8b35b58802687 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_847d74da1c850a5b12a8b35b58802687, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_847d74da1c850a5b12a8b35b58802687->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_847d74da1c850a5b12a8b35b58802687, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_847d74da1c850a5b12a8b35b58802687,
          type_description_1,
          par_self
      );
  
  
      // Release cached frame.
      if ( frame_847d74da1c850a5b12a8b35b58802687 == cache_frame_847d74da1c850a5b12a8b35b58802687 )
      {
          Py_DECREF( frame_847d74da1c850a5b12a8b35b58802687 );
      }
      cache_frame_847d74da1c850a5b12a8b35b58802687 = NULL;
  
      assertFrameObject( frame_847d74da1c850a5b12a8b35b58802687 );
  
      // 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( django$apps$registry$$$function_17_unset_installed_apps );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_17_unset_installed_apps );
      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_django$apps$registry$$$function_18_clear_cache( 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 *var_app_config = NULL;
      PyObject *var_model = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = NULL;
      PyObject *tmp_for_loop_2__for_iterator = NULL;
      PyObject *tmp_for_loop_2__iter_value = 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;
      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 *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      PyObject *tmp_called_instance_1;
      PyObject *tmp_called_instance_2;
      PyObject *tmp_called_instance_3;
      PyObject *tmp_called_name_1;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iter_arg_2;
      PyObject *tmp_kw_name_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_next_source_2;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_73e4e719b9cf6b1a1f10f5d04bf798ff = NULL;
  
      struct Nuitka_FrameObject *frame_73e4e719b9cf6b1a1f10f5d04bf798ff;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_73e4e719b9cf6b1a1f10f5d04bf798ff, codeobj_73e4e719b9cf6b1a1f10f5d04bf798ff, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_73e4e719b9cf6b1a1f10f5d04bf798ff = cache_frame_73e4e719b9cf6b1a1f10f5d04bf798ff;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_73e4e719b9cf6b1a1f10f5d04bf798ff );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_73e4e719b9cf6b1a1f10f5d04bf798ff ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_1 = par_self;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_models );
      if ( tmp_called_instance_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 368;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      frame_73e4e719b9cf6b1a1f10f5d04bf798ff->m_frame.f_lineno = 368;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_cache_clear );
      Py_DECREF( tmp_called_instance_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 368;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      tmp_source_name_2 = par_self;
  
      if ( tmp_source_name_2 == 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 = 369;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
  
      tmp_cond_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_ready );
      if ( tmp_cond_value_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 369;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_cond_value_1 );
  
          exception_lineno = 369;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_source_name_3 = par_self;
  
      if ( tmp_source_name_3 == 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 = 372;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
  
      tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_app_configs );
      if ( tmp_called_instance_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 372;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      frame_73e4e719b9cf6b1a1f10f5d04bf798ff->m_frame.f_lineno = 372;
      tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_values );
      Py_DECREF( tmp_called_instance_2 );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 372;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 372;
          type_description_1 = "ooo";
          goto frame_exception_exit_1;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_1;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "ooo";
              exception_lineno = 372;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_2;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_3 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_3 );
      {
          PyObject *old = var_app_config;
          var_app_config = tmp_assign_source_3;
          Py_INCREF( var_app_config );
          Py_XDECREF( old );
      }
  
      tmp_source_name_4 = var_app_config;
  
      CHECK_OBJECT( tmp_source_name_4 );
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_get_models );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 373;
          type_description_1 = "ooo";
          goto try_except_handler_2;
      }
      tmp_kw_name_1 = PyDict_Copy( const_dict_4bdaa4dac2088f4ef25b63d20be32642 );
      frame_73e4e719b9cf6b1a1f10f5d04bf798ff->m_frame.f_lineno = 373;
      tmp_iter_arg_2 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_1, tmp_kw_name_1 );
      Py_DECREF( tmp_called_name_1 );
      Py_DECREF( tmp_kw_name_1 );
      if ( tmp_iter_arg_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 373;
          type_description_1 = "ooo";
          goto try_except_handler_2;
      }
      tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_2 );
      Py_DECREF( tmp_iter_arg_2 );
      if ( tmp_assign_source_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 373;
          type_description_1 = "ooo";
          goto try_except_handler_2;
      }
      {
          PyObject *old = tmp_for_loop_2__for_iterator;
          tmp_for_loop_2__for_iterator = tmp_assign_source_4;
          Py_XDECREF( old );
      }
  
      // Tried code:
      loop_start_2:;
      tmp_next_source_2 = tmp_for_loop_2__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_2 );
      tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_2 );
      if ( tmp_assign_source_5 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_2;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "ooo";
              exception_lineno = 373;
              goto try_except_handler_3;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_2__iter_value;
          tmp_for_loop_2__iter_value = tmp_assign_source_5;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_6 = tmp_for_loop_2__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_6 );
      {
          PyObject *old = var_model;
          var_model = tmp_assign_source_6;
          Py_INCREF( var_model );
          Py_XDECREF( old );
      }
  
      tmp_source_name_5 = var_model;
  
      CHECK_OBJECT( tmp_source_name_5 );
      tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__meta );
      if ( tmp_called_instance_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 374;
          type_description_1 = "ooo";
          goto try_except_handler_3;
      }
      frame_73e4e719b9cf6b1a1f10f5d04bf798ff->m_frame.f_lineno = 374;
      tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain__expire_cache );
      Py_DECREF( tmp_called_instance_3 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 374;
          type_description_1 = "ooo";
          goto try_except_handler_3;
      }
      Py_DECREF( tmp_unused );
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 373;
          type_description_1 = "ooo";
          goto try_except_handler_3;
      }
      goto loop_start_2;
      loop_end_2:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_3:;
      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( tmp_for_loop_2__iter_value );
      tmp_for_loop_2__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_2__for_iterator );
      tmp_for_loop_2__for_iterator = 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 try_except_handler_2;
      // End of try:
      try_end_1:;
      Py_XDECREF( tmp_for_loop_2__iter_value );
      tmp_for_loop_2__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_2__for_iterator );
      tmp_for_loop_2__for_iterator = NULL;
  
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 372;
          type_description_1 = "ooo";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_2;
      // Exception handler code:
      try_except_handler_2:;
      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_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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 frame_exception_exit_1;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      branch_no_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_73e4e719b9cf6b1a1f10f5d04bf798ff );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_73e4e719b9cf6b1a1f10f5d04bf798ff );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_73e4e719b9cf6b1a1f10f5d04bf798ff, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_73e4e719b9cf6b1a1f10f5d04bf798ff->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_73e4e719b9cf6b1a1f10f5d04bf798ff, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_73e4e719b9cf6b1a1f10f5d04bf798ff,
          type_description_1,
          par_self,
          var_app_config,
          var_model
      );
  
  
      // Release cached frame.
      if ( frame_73e4e719b9cf6b1a1f10f5d04bf798ff == cache_frame_73e4e719b9cf6b1a1f10f5d04bf798ff )
      {
          Py_DECREF( frame_73e4e719b9cf6b1a1f10f5d04bf798ff );
      }
      cache_frame_73e4e719b9cf6b1a1f10f5d04bf798ff = NULL;
  
      assertFrameObject( frame_73e4e719b9cf6b1a1f10f5d04bf798ff );
  
      // 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( django$apps$registry$$$function_18_clear_cache );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      Py_XDECREF( var_model );
      var_model = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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;
  
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( var_app_config );
      var_app_config = NULL;
  
      Py_XDECREF( var_model );
      var_model = NULL;
  
      // 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_18_clear_cache );
      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_django$apps$registry$$$function_19_lazy_model_operation( 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 *par_function = python_pars[ 1 ];
      PyObject *par_model_keys = python_pars[ 2 ];
      PyObject *var_next_model = NULL;
      struct Nuitka_CellObject *var_more_models = PyCell_EMPTY();
      struct Nuitka_CellObject *var_apply_next_model = PyCell_EMPTY();
      PyObject *var_model_class = NULL;
      PyObject *tmp_try_except_1__unhandled_indicator = NULL;
      PyObject *tmp_tuple_unpack_1__element_1 = NULL;
      PyObject *tmp_tuple_unpack_1__element_2 = NULL;
      PyObject *tmp_tuple_unpack_1__source_iter = 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;
      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;
      PyObject *exception_keeper_type_5;
      PyObject *exception_keeper_value_5;
      PyTracebackObject *exception_keeper_tb_5;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
      PyObject *exception_keeper_type_6;
      PyObject *exception_keeper_value_6;
      PyTracebackObject *exception_keeper_tb_6;
      NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
      PyObject *exception_preserved_type_1;
      PyObject *exception_preserved_value_1;
      PyTracebackObject *exception_preserved_tb_1;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_assattr_name_1;
      PyObject *tmp_assattr_target_1;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      PyObject *tmp_assign_source_7;
      PyObject *tmp_assign_source_8;
      PyObject *tmp_assign_source_9;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_left_2;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compare_right_2;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_dircall_arg1_1;
      PyObject *tmp_dircall_arg2_1;
      int tmp_exc_match_exception_match_1;
      bool tmp_is_1;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_iterator_attempt;
      PyObject *tmp_iterator_name_1;
      bool tmp_result;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscribed_name_2;
      PyObject *tmp_subscribed_name_3;
      PyObject *tmp_subscript_name_1;
      PyObject *tmp_subscript_name_2;
      PyObject *tmp_subscript_name_3;
      PyObject *tmp_tuple_element_1;
      PyObject *tmp_unpack_1;
      PyObject *tmp_unpack_2;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_22b5ab81e57e3c50b002464c6dac7652 = NULL;
  
      struct Nuitka_FrameObject *frame_22b5ab81e57e3c50b002464c6dac7652;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_22b5ab81e57e3c50b002464c6dac7652, codeobj_22b5ab81e57e3c50b002464c6dac7652, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_22b5ab81e57e3c50b002464c6dac7652 = cache_frame_22b5ab81e57e3c50b002464c6dac7652;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_22b5ab81e57e3c50b002464c6dac7652 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_22b5ab81e57e3c50b002464c6dac7652 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_cond_value_1 = par_model_keys;
  
      CHECK_OBJECT( tmp_cond_value_1 );
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 386;
          type_description_1 = "cooocco";
          goto frame_exception_exit_1;
      }
      if ( tmp_cond_truth_1 == 1 )
      {
          goto branch_no_1;
      }
      else
      {
          goto branch_yes_1;
      }
      branch_yes_1:;
      tmp_called_name_1 = par_function;
  
      if ( tmp_called_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "function" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 387;
          type_description_1 = "cooocco";
          goto frame_exception_exit_1;
      }
  
      frame_22b5ab81e57e3c50b002464c6dac7652->m_frame.f_lineno = 387;
      tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 387;
          type_description_1 = "cooocco";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
      goto branch_end_1;
      branch_no_1:;
      // Tried code:
      tmp_iter_arg_1 = PyTuple_New( 2 );
      tmp_subscribed_name_1 = par_model_keys;
  
      if ( tmp_subscribed_name_1 == NULL )
      {
          Py_DECREF( tmp_iter_arg_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_keys" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 394;
          type_description_1 = "cooocco";
          goto try_except_handler_2;
      }
  
      tmp_subscript_name_1 = const_int_0;
      tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      if ( tmp_tuple_element_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_iter_arg_1 );
  
          exception_lineno = 394;
          type_description_1 = "cooocco";
          goto try_except_handler_2;
      }
      PyTuple_SET_ITEM( tmp_iter_arg_1, 0, tmp_tuple_element_1 );
      tmp_subscribed_name_2 = par_model_keys;
  
      if ( tmp_subscribed_name_2 == NULL )
      {
          Py_DECREF( tmp_iter_arg_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_keys" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 394;
          type_description_1 = "cooocco";
          goto try_except_handler_2;
      }
  
      tmp_subscript_name_2 = const_slice_int_pos_1_none_none;
      tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
      if ( tmp_tuple_element_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_iter_arg_1 );
  
          exception_lineno = 394;
          type_description_1 = "cooocco";
          goto try_except_handler_2;
      }
      PyTuple_SET_ITEM( tmp_iter_arg_1, 1, tmp_tuple_element_1 );
      tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 394;
          type_description_1 = "cooocco";
          goto try_except_handler_2;
      }
      assert( tmp_tuple_unpack_1__source_iter == NULL );
      tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
  
      // Tried code:
      tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_1 );
      tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
      if ( tmp_assign_source_2 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_1 = "cooocco";
          exception_lineno = 394;
          goto try_except_handler_3;
      }
      assert( tmp_tuple_unpack_1__element_1 == NULL );
      tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
  
      tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_unpack_2 );
      tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( !ERROR_OCCURRED() )
          {
              exception_type = PyExc_StopIteration;
              Py_INCREF( exception_type );
              exception_value = NULL;
              exception_tb = NULL;
          }
          else
          {
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          }
  
  
          type_description_1 = "cooocco";
          exception_lineno = 394;
          goto try_except_handler_3;
      }
      assert( tmp_tuple_unpack_1__element_2 == NULL );
      tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
  
      tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
  
      CHECK_OBJECT( tmp_iterator_name_1 );
      // Check if iterator has left-over elements.
      CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
  
      tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
  
      if (likely( 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( &exception_type, &exception_value, &exception_tb );
  
                  type_description_1 = "cooocco";
                  exception_lineno = 394;
                  goto try_except_handler_3;
              }
          }
      }
      else
      {
          Py_DECREF( 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( &exception_type, &exception_value, &exception_tb );
  
          type_description_1 = "cooocco";
          exception_lineno = 394;
          goto try_except_handler_3;
      }
      goto try_end_1;
      // Exception handler code:
      try_except_handler_3:;
      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( tmp_tuple_unpack_1__source_iter );
      tmp_tuple_unpack_1__source_iter = 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 try_except_handler_2;
      // End of try:
      try_end_1:;
      goto try_end_2;
      // Exception handler code:
      try_except_handler_2:;
      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_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = 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 frame_exception_exit_1;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_tuple_unpack_1__source_iter );
      tmp_tuple_unpack_1__source_iter = NULL;
  
      tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
  
      CHECK_OBJECT( tmp_assign_source_4 );
      assert( var_next_model == NULL );
      Py_INCREF( tmp_assign_source_4 );
      var_next_model = tmp_assign_source_4;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
  
      CHECK_OBJECT( tmp_assign_source_5 );
      {
          PyObject *old = PyCell_GET( var_more_models );
          PyCell_SET( var_more_models, tmp_assign_source_5 );
          Py_INCREF( tmp_assign_source_5 );
          Py_XDECREF( old );
      }
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_1 );
      tmp_tuple_unpack_1__element_1 = NULL;
  
      Py_XDECREF( tmp_tuple_unpack_1__element_2 );
      tmp_tuple_unpack_1__element_2 = NULL;
  
      tmp_assign_source_6 = MAKE_FUNCTION_django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model( var_apply_next_model, var_more_models, par_self );
      {
          PyObject *old = PyCell_GET( var_apply_next_model );
          PyCell_SET( var_apply_next_model, tmp_assign_source_6 );
          Py_XDECREF( old );
      }
  
      tmp_assattr_name_1 = par_function;
  
      if ( tmp_assattr_name_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "function" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 402;
          type_description_1 = "cooocco";
          goto frame_exception_exit_1;
      }
  
      if ( var_apply_next_model == NULL )
      {
          tmp_assattr_target_1 = NULL;
      }
      else
      {
          tmp_assattr_target_1 = PyCell_GET( var_apply_next_model );
      }
  
      if ( tmp_assattr_target_1 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "apply_next_model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 402;
          type_description_1 = "cooocco";
          goto frame_exception_exit_1;
      }
  
      tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_func, tmp_assattr_name_1 );
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 402;
          type_description_1 = "cooocco";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_7 = Py_True;
      assert( tmp_try_except_1__unhandled_indicator == NULL );
      Py_INCREF( tmp_assign_source_7 );
      tmp_try_except_1__unhandled_indicator = tmp_assign_source_7;
  
      // Tried code:
      // Tried code:
      if ( par_self == NULL )
      {
          tmp_source_name_1 = NULL;
      }
      else
      {
          tmp_source_name_1 = PyCell_GET( par_self );
      }
  
      if ( tmp_source_name_1 == 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 = 409;
          type_description_1 = "cooocco";
          goto try_except_handler_5;
      }
  
      tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_registered_model );
      if ( tmp_dircall_arg1_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 409;
          type_description_1 = "cooocco";
          goto try_except_handler_5;
      }
      tmp_dircall_arg2_1 = var_next_model;
  
      if ( tmp_dircall_arg2_1 == NULL )
      {
          Py_DECREF( tmp_dircall_arg1_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 409;
          type_description_1 = "cooocco";
          goto try_except_handler_5;
      }
  
      Py_INCREF( tmp_dircall_arg2_1 );
  
      {
          PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
          tmp_assign_source_8 = impl___internal__$$$function_4_complex_call_helper_star_list( dir_call_args );
      }
      if ( tmp_assign_source_8 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 409;
          type_description_1 = "cooocco";
          goto try_except_handler_5;
      }
      assert( var_model_class == NULL );
      var_model_class = tmp_assign_source_8;
  
      goto try_end_3;
      // Exception handler code:
      try_except_handler_5:;
      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;
  
      tmp_assign_source_9 = Py_False;
      {
          PyObject *old = tmp_try_except_1__unhandled_indicator;
          tmp_try_except_1__unhandled_indicator = tmp_assign_source_9;
          Py_INCREF( tmp_try_except_1__unhandled_indicator );
          Py_XDECREF( old );
      }
  
      // Preserve existing published exception.
      exception_preserved_type_1 = PyThreadState_GET()->exc_type;
      Py_XINCREF( exception_preserved_type_1 );
      exception_preserved_value_1 = PyThreadState_GET()->exc_value;
      Py_XINCREF( exception_preserved_value_1 );
      exception_preserved_tb_1 = (PyTracebackObject *)PyThreadState_GET()->exc_traceback;
      Py_XINCREF( exception_preserved_tb_1 );
  
      if ( exception_keeper_tb_3 == NULL )
      {
          exception_keeper_tb_3 = MAKE_TRACEBACK( frame_22b5ab81e57e3c50b002464c6dac7652, exception_keeper_lineno_3 );
      }
      else if ( exception_keeper_lineno_3 != 0 )
      {
          exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_22b5ab81e57e3c50b002464c6dac7652, exception_keeper_lineno_3 );
      }
  
      NORMALIZE_EXCEPTION( &exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3 );
      PyException_SetTraceback( exception_keeper_value_3, (PyObject *)exception_keeper_tb_3 );
      PUBLISH_EXCEPTION( &exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3 );
      // Tried code:
      tmp_compare_left_1 = PyThreadState_GET()->exc_type;
      tmp_compare_right_1 = PyExc_LookupError;
      tmp_exc_match_exception_match_1 = EXCEPTION_MATCH_BOOL( tmp_compare_left_1, tmp_compare_right_1 );
      if ( tmp_exc_match_exception_match_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 410;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
      if ( tmp_exc_match_exception_match_1 == 1 )
      {
          goto branch_yes_2;
      }
      else
      {
          goto branch_no_2;
      }
      branch_yes_2:;
      if ( par_self == NULL )
      {
          tmp_source_name_3 = NULL;
      }
      else
      {
          tmp_source_name_3 = PyCell_GET( par_self );
      }
  
      if ( tmp_source_name_3 == 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 = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
  
      tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__pending_operations );
      if ( tmp_subscribed_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
      tmp_subscript_name_3 = var_next_model;
  
      if ( tmp_subscript_name_3 == NULL )
      {
          Py_DECREF( tmp_subscribed_name_3 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
  
      tmp_source_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
      Py_DECREF( tmp_subscribed_name_3 );
      if ( tmp_source_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append );
      Py_DECREF( tmp_source_name_2 );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
      if ( var_apply_next_model == NULL )
      {
          tmp_args_element_name_1 = NULL;
      }
      else
      {
          tmp_args_element_name_1 = PyCell_GET( var_apply_next_model );
      }
  
      if ( tmp_args_element_name_1 == NULL )
      {
          Py_DECREF( tmp_called_name_2 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "apply_next_model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
  
      frame_22b5ab81e57e3c50b002464c6dac7652->m_frame.f_lineno = 411;
      {
          PyObject *call_args[] = { tmp_args_element_name_1 };
          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( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 411;
          type_description_1 = "cooocco";
          goto try_except_handler_6;
      }
      Py_DECREF( tmp_unused );
      goto branch_end_2;
      branch_no_2:;
      tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
      if (unlikely( tmp_result == false ))
      {
          exception_lineno = 408;
      }
  
      if (exception_tb && exception_tb->tb_frame == &frame_22b5ab81e57e3c50b002464c6dac7652->m_frame) frame_22b5ab81e57e3c50b002464c6dac7652->m_frame.f_lineno = exception_tb->tb_lineno;
      type_description_1 = "cooocco";
      goto try_except_handler_6;
      branch_end_2:;
      goto try_end_4;
      // Exception handler code:
      try_except_handler_6:;
      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;
  
      // Restore previous exception.
      SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
      // 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 try_except_handler_4;
      // End of try:
      try_end_4:;
      // Restore previous exception.
      SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
      goto try_end_3;
      // exception handler codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_19_lazy_model_operation );
      return NULL;
      // End of try:
      try_end_3:;
      tmp_compare_left_2 = tmp_try_except_1__unhandled_indicator;
  
      CHECK_OBJECT( tmp_compare_left_2 );
      tmp_compare_right_2 = Py_True;
      tmp_is_1 = ( tmp_compare_left_2 == tmp_compare_right_2 );
      if ( tmp_is_1 )
      {
          goto branch_yes_3;
      }
      else
      {
          goto branch_no_3;
      }
      branch_yes_3:;
      if ( var_apply_next_model == NULL )
      {
          tmp_called_name_3 = NULL;
      }
      else
      {
          tmp_called_name_3 = PyCell_GET( var_apply_next_model );
      }
  
      if ( tmp_called_name_3 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "apply_next_model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 413;
          type_description_1 = "cooocco";
          goto try_except_handler_4;
      }
  
      tmp_args_element_name_2 = var_model_class;
  
      if ( tmp_args_element_name_2 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model_class" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 413;
          type_description_1 = "cooocco";
          goto try_except_handler_4;
      }
  
      frame_22b5ab81e57e3c50b002464c6dac7652->m_frame.f_lineno = 413;
      {
          PyObject *call_args[] = { tmp_args_element_name_2 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
      }
  
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 413;
          type_description_1 = "cooocco";
          goto try_except_handler_4;
      }
      Py_DECREF( tmp_unused );
      branch_no_3:;
      goto try_end_5;
      // Exception handler code:
      try_except_handler_4:;
      exception_keeper_type_5 = exception_type;
      exception_keeper_value_5 = exception_value;
      exception_keeper_tb_5 = exception_tb;
      exception_keeper_lineno_5 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      Py_XDECREF( tmp_try_except_1__unhandled_indicator );
      tmp_try_except_1__unhandled_indicator = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_5;
      exception_value = exception_keeper_value_5;
      exception_tb = exception_keeper_tb_5;
      exception_lineno = exception_keeper_lineno_5;
  
      goto frame_exception_exit_1;
      // End of try:
      try_end_5:;
      Py_XDECREF( tmp_try_except_1__unhandled_indicator );
      tmp_try_except_1__unhandled_indicator = NULL;
  
      branch_end_1:;
  
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_22b5ab81e57e3c50b002464c6dac7652 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 1
      RESTORE_FRAME_EXCEPTION( frame_22b5ab81e57e3c50b002464c6dac7652 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_22b5ab81e57e3c50b002464c6dac7652, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_22b5ab81e57e3c50b002464c6dac7652->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_22b5ab81e57e3c50b002464c6dac7652, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_22b5ab81e57e3c50b002464c6dac7652,
          type_description_1,
          par_self,
          par_function,
          par_model_keys,
          var_next_model,
          var_more_models,
          var_apply_next_model,
          var_model_class
      );
  
  
      // Release cached frame.
      if ( frame_22b5ab81e57e3c50b002464c6dac7652 == cache_frame_22b5ab81e57e3c50b002464c6dac7652 )
      {
          Py_DECREF( frame_22b5ab81e57e3c50b002464c6dac7652 );
      }
      cache_frame_22b5ab81e57e3c50b002464c6dac7652 = NULL;
  
      assertFrameObject( frame_22b5ab81e57e3c50b002464c6dac7652 );
  
      // 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( django$apps$registry$$$function_19_lazy_model_operation );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      CHECK_OBJECT( (PyObject *)par_self );
      Py_DECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_function );
      par_function = NULL;
  
      Py_XDECREF( par_model_keys );
      par_model_keys = NULL;
  
      Py_XDECREF( var_next_model );
      var_next_model = NULL;
  
      CHECK_OBJECT( (PyObject *)var_more_models );
      Py_DECREF( var_more_models );
      var_more_models = NULL;
  
      CHECK_OBJECT( (PyObject *)var_apply_next_model );
      Py_DECREF( var_apply_next_model );
      var_apply_next_model = NULL;
  
      Py_XDECREF( var_model_class );
      var_model_class = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      exception_keeper_type_6 = exception_type;
      exception_keeper_value_6 = exception_value;
      exception_keeper_tb_6 = exception_tb;
      exception_keeper_lineno_6 = exception_lineno;
      exception_type = NULL;
      exception_value = NULL;
      exception_tb = NULL;
      exception_lineno = 0;
  
      CHECK_OBJECT( (PyObject *)par_self );
      Py_DECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_function );
      par_function = NULL;
  
      Py_XDECREF( par_model_keys );
      par_model_keys = NULL;
  
      Py_XDECREF( var_next_model );
      var_next_model = NULL;
  
      CHECK_OBJECT( (PyObject *)var_more_models );
      Py_DECREF( var_more_models );
      var_more_models = NULL;
  
      CHECK_OBJECT( (PyObject *)var_apply_next_model );
      Py_DECREF( var_apply_next_model );
      var_apply_next_model = NULL;
  
      Py_XDECREF( var_model_class );
      var_model_class = NULL;
  
      // Re-raise.
      exception_type = exception_keeper_type_6;
      exception_value = exception_keeper_value_6;
      exception_tb = exception_keeper_tb_6;
      exception_lineno = exception_keeper_lineno_6;
  
      goto function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_19_lazy_model_operation );
      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_django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model( 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_model = python_pars[ 0 ];
      PyObject *var_next_function = 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;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_called_name_1;
      PyObject *tmp_dircall_arg1_1;
      PyObject *tmp_dircall_arg2_1;
      PyObject *tmp_dircall_arg3_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_tuple_element_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_c10c8708ef079f60b55e8d2e1e564ec5 = NULL;
  
      struct Nuitka_FrameObject *frame_c10c8708ef079f60b55e8d2e1e564ec5;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_c10c8708ef079f60b55e8d2e1e564ec5, codeobj_c10c8708ef079f60b55e8d2e1e564ec5, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_c10c8708ef079f60b55e8d2e1e564ec5 = cache_frame_c10c8708ef079f60b55e8d2e1e564ec5;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_c10c8708ef079f60b55e8d2e1e564ec5 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_c10c8708ef079f60b55e8d2e1e564ec5 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_called_name_1 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_partial );
  
      if (unlikely( tmp_called_name_1 == NULL ))
      {
          tmp_called_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_partial );
      }
  
      if ( tmp_called_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "partial" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 400;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
  
      if ( self->m_closure[0] == NULL )
      {
          tmp_source_name_1 = NULL;
      }
      else
      {
          tmp_source_name_1 = PyCell_GET( self->m_closure[0] );
      }
  
      if ( tmp_source_name_1 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "apply_next_model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 400;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
  
      tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_func );
      if ( tmp_args_element_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 400;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_2 = par_model;
  
      if ( tmp_args_element_name_2 == NULL )
      {
          Py_DECREF( tmp_args_element_name_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 400;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
  
      frame_c10c8708ef079f60b55e8d2e1e564ec5->m_frame.f_lineno = 400;
      {
          PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
          tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_args_element_name_1 );
      if ( tmp_assign_source_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 400;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
      assert( var_next_function == NULL );
      var_next_function = tmp_assign_source_1;
  
      if ( self->m_closure[2] == NULL )
      {
          tmp_source_name_2 = NULL;
      }
      else
      {
          tmp_source_name_2 = PyCell_GET( self->m_closure[2] );
      }
  
      if ( tmp_source_name_2 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 401;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
  
      tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_lazy_model_operation );
      if ( tmp_dircall_arg1_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 401;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
      tmp_dircall_arg2_1 = PyTuple_New( 1 );
      tmp_tuple_element_1 = var_next_function;
  
      if ( tmp_tuple_element_1 == NULL )
      {
          Py_DECREF( tmp_dircall_arg1_1 );
          Py_DECREF( tmp_dircall_arg2_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_function" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 401;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 );
      if ( self->m_closure[1] == NULL )
      {
          tmp_dircall_arg3_1 = NULL;
      }
      else
      {
          tmp_dircall_arg3_1 = PyCell_GET( self->m_closure[1] );
      }
  
      if ( tmp_dircall_arg3_1 == NULL )
      {
          Py_DECREF( tmp_dircall_arg1_1 );
          Py_DECREF( tmp_dircall_arg2_1 );
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "more_models" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 401;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
  
      Py_INCREF( tmp_dircall_arg3_1 );
  
      {
          PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
          tmp_unused = impl___internal__$$$function_12_complex_call_helper_pos_star_list( dir_call_args );
      }
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 401;
          type_description_1 = "ooccc";
          goto frame_exception_exit_1;
      }
      Py_DECREF( tmp_unused );
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_c10c8708ef079f60b55e8d2e1e564ec5 );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_c10c8708ef079f60b55e8d2e1e564ec5 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_c10c8708ef079f60b55e8d2e1e564ec5, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_c10c8708ef079f60b55e8d2e1e564ec5->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_c10c8708ef079f60b55e8d2e1e564ec5, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_c10c8708ef079f60b55e8d2e1e564ec5,
          type_description_1,
          par_model,
          var_next_function,
          self->m_closure[0],
          self->m_closure[2],
          self->m_closure[1]
      );
  
  
      // Release cached frame.
      if ( frame_c10c8708ef079f60b55e8d2e1e564ec5 == cache_frame_c10c8708ef079f60b55e8d2e1e564ec5 )
      {
          Py_DECREF( frame_c10c8708ef079f60b55e8d2e1e564ec5 );
      }
      cache_frame_c10c8708ef079f60b55e8d2e1e564ec5 = NULL;
  
      assertFrameObject( frame_c10c8708ef079f60b55e8d2e1e564ec5 );
  
      // 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( django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_model );
      par_model = NULL;
  
      Py_XDECREF( var_next_function );
      var_next_function = 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_model );
      par_model = NULL;
  
      Py_XDECREF( var_next_function );
      var_next_function = 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( django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model );
      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_django$apps$registry$$$function_20_do_pending_operations( 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_model = python_pars[ 1 ];
      PyObject *var_key = NULL;
      PyObject *var_function = NULL;
      PyObject *tmp_for_loop_1__for_iterator = NULL;
      PyObject *tmp_for_loop_1__iter_value = 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;
      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 *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_args_element_name_3;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_iter_arg_1;
      PyObject *tmp_next_source_1;
      PyObject *tmp_return_value;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_source_name_4;
      PyObject *tmp_source_name_5;
      PyObject *tmp_source_name_6;
      PyObject *tmp_tuple_element_1;
      NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
      static struct Nuitka_FrameObject *cache_frame_e766e8675b7e06347e469f5d2674408d = NULL;
  
      struct Nuitka_FrameObject *frame_e766e8675b7e06347e469f5d2674408d;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      tmp_return_value = NULL;
  
      // Actual function code.
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_e766e8675b7e06347e469f5d2674408d, codeobj_e766e8675b7e06347e469f5d2674408d, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_e766e8675b7e06347e469f5d2674408d = cache_frame_e766e8675b7e06347e469f5d2674408d;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_e766e8675b7e06347e469f5d2674408d );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_e766e8675b7e06347e469f5d2674408d ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_assign_source_1 = PyTuple_New( 2 );
      tmp_source_name_2 = par_model;
  
      CHECK_OBJECT( tmp_source_name_2 );
      tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__meta );
      if ( tmp_source_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assign_source_1 );
  
          exception_lineno = 420;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_app_label );
      Py_DECREF( tmp_source_name_1 );
      if ( tmp_tuple_element_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assign_source_1 );
  
          exception_lineno = 420;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      PyTuple_SET_ITEM( tmp_assign_source_1, 0, tmp_tuple_element_1 );
      tmp_source_name_4 = par_model;
  
      if ( tmp_source_name_4 == NULL )
      {
          Py_DECREF( tmp_assign_source_1 );
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 420;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__meta );
      if ( tmp_source_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assign_source_1 );
  
          exception_lineno = 420;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_model_name );
      Py_DECREF( tmp_source_name_3 );
      if ( tmp_tuple_element_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_assign_source_1 );
  
          exception_lineno = 420;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      PyTuple_SET_ITEM( tmp_assign_source_1, 1, tmp_tuple_element_1 );
      assert( var_key == NULL );
      var_key = tmp_assign_source_1;
  
      tmp_source_name_6 = par_self;
  
      if ( tmp_source_name_6 == 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 = 421;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__pending_operations );
      if ( tmp_source_name_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 421;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_pop );
      Py_DECREF( tmp_source_name_5 );
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 421;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_1 = var_key;
  
      if ( tmp_args_element_name_1 == 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", "key" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 421;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
  
      tmp_args_element_name_2 = PyList_New( 0 );
      frame_e766e8675b7e06347e469f5d2674408d->m_frame.f_lineno = 421;
      {
          PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
          tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
      }
  
      Py_DECREF( tmp_called_name_1 );
      Py_DECREF( tmp_args_element_name_2 );
      if ( tmp_iter_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 421;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
      Py_DECREF( tmp_iter_arg_1 );
      if ( tmp_assign_source_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 421;
          type_description_1 = "oooo";
          goto frame_exception_exit_1;
      }
      assert( tmp_for_loop_1__for_iterator == NULL );
      tmp_for_loop_1__for_iterator = tmp_assign_source_2;
  
      // Tried code:
      loop_start_1:;
      tmp_next_source_1 = tmp_for_loop_1__for_iterator;
  
      CHECK_OBJECT( tmp_next_source_1 );
      tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
      if ( tmp_assign_source_3 == NULL )
      {
          if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
          {
  
              goto loop_end_1;
          }
          else
          {
  
              FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
              type_description_1 = "oooo";
              exception_lineno = 421;
              goto try_except_handler_2;
          }
      }
  
      {
          PyObject *old = tmp_for_loop_1__iter_value;
          tmp_for_loop_1__iter_value = tmp_assign_source_3;
          Py_XDECREF( old );
      }
  
      tmp_assign_source_4 = tmp_for_loop_1__iter_value;
  
      CHECK_OBJECT( tmp_assign_source_4 );
      {
          PyObject *old = var_function;
          var_function = tmp_assign_source_4;
          Py_INCREF( var_function );
          Py_XDECREF( old );
      }
  
      tmp_called_name_2 = var_function;
  
      CHECK_OBJECT( tmp_called_name_2 );
      tmp_args_element_name_3 = par_model;
  
      if ( tmp_args_element_name_3 == NULL )
      {
  
          exception_type = PyExc_UnboundLocalError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "model" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 422;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
  
      frame_e766e8675b7e06347e469f5d2674408d->m_frame.f_lineno = 422;
      {
          PyObject *call_args[] = { tmp_args_element_name_3 };
          tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
      }
  
      if ( tmp_unused == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 422;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      Py_DECREF( tmp_unused );
      if ( CONSIDER_THREADING() == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 421;
          type_description_1 = "oooo";
          goto try_except_handler_2;
      }
      goto loop_start_1;
      loop_end_1:;
      goto try_end_1;
      // Exception handler code:
      try_except_handler_2:;
      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( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = 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:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_e766e8675b7e06347e469f5d2674408d );
  #endif
  
      // Put the previous frame back on top.
      popFrameStack();
  
      goto frame_no_exception_1;
  
      frame_exception_exit_1:;
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_e766e8675b7e06347e469f5d2674408d );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_e766e8675b7e06347e469f5d2674408d, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_e766e8675b7e06347e469f5d2674408d->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_e766e8675b7e06347e469f5d2674408d, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_e766e8675b7e06347e469f5d2674408d,
          type_description_1,
          par_self,
          par_model,
          var_key,
          var_function
      );
  
  
      // Release cached frame.
      if ( frame_e766e8675b7e06347e469f5d2674408d == cache_frame_e766e8675b7e06347e469f5d2674408d )
      {
          Py_DECREF( frame_e766e8675b7e06347e469f5d2674408d );
      }
      cache_frame_e766e8675b7e06347e469f5d2674408d = NULL;
  
      assertFrameObject( frame_e766e8675b7e06347e469f5d2674408d );
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto try_except_handler_1;
  
      frame_no_exception_1:;
  
      Py_XDECREF( tmp_for_loop_1__iter_value );
      tmp_for_loop_1__iter_value = NULL;
  
      Py_XDECREF( tmp_for_loop_1__for_iterator );
      tmp_for_loop_1__for_iterator = NULL;
  
      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( django$apps$registry$$$function_20_do_pending_operations );
      return NULL;
      // Return handler code:
      try_return_handler_1:;
      Py_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_model );
      par_model = NULL;
  
      Py_XDECREF( var_key );
      var_key = NULL;
  
      Py_XDECREF( var_function );
      var_function = NULL;
  
      goto function_return_exit;
      // Exception handler code:
      try_except_handler_1:;
      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_XDECREF( par_self );
      par_self = NULL;
  
      Py_XDECREF( par_model );
      par_model = NULL;
  
      Py_XDECREF( var_key );
      var_key = NULL;
  
      Py_XDECREF( var_function );
      var_function = 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 function_exception_exit;
      // End of try:
  
      // Return statement must have exited already.
      NUITKA_CANNOT_GET_HERE( django$apps$registry$$$function_20_do_pending_operations );
      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 *MAKE_FUNCTION_django$apps$registry$$$function_10_is_installed(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_10_is_installed,
          const_str_plain_is_installed,
  #if PYTHON_VERSION >= 330
          const_str_digest_12ed8f226caed1d60684c03dd6ccc2d7,
  #endif
          codeobj_708779e9e667a9b7e3a1811f16b74e42,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_5b9f1068e55b773e27b4431c34ad3d72,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_11_get_containing_app_config(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_11_get_containing_app_config,
          const_str_plain_get_containing_app_config,
  #if PYTHON_VERSION >= 330
          const_str_digest_3400fc7e24b4f0a5d3c78829765d2f53,
  #endif
          codeobj_9a930191ade815438a1bfafc974c93cf,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_43a9995711b5a7f34d8fbdb3cc5983b4,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_11_get_containing_app_config$$$function_1_lambda,
          const_str_angle_lambda,
  #if PYTHON_VERSION >= 330
          const_str_digest_15bbdf6a59e855d51e38a2a6e85c2405,
  #endif
          codeobj_3aa64c8f8b53c12ed4c39600eda38d58,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          Py_None,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_12_get_registered_model(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_12_get_registered_model,
          const_str_plain_get_registered_model,
  #if PYTHON_VERSION >= 330
          const_str_digest_1b98cc38b2833d6a00280914a4c316ec,
  #endif
          codeobj_c5bccb37a299b39856e8847708515e76,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_6487498f9a814ed60e98f97752eff60c,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_13_get_swappable_settings_name(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_13_get_swappable_settings_name,
          const_str_plain_get_swappable_settings_name,
  #if PYTHON_VERSION >= 330
          const_str_digest_4dc583a67fa24357b2e6969311925e63,
  #endif
          codeobj_40c144771bff7a98a9bbcba3f5adfe3a,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_944a35fa6f6d947826c6d1fd3c285825,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_14_set_available_apps(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_14_set_available_apps,
          const_str_plain_set_available_apps,
  #if PYTHON_VERSION >= 330
          const_str_digest_2a3759b8cbe1952a5f627603ab06ea4a,
  #endif
          codeobj_2948f652c8dfb163b3a57a1c76989d89,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_3ccd65fe70e9c1a17bf372af3dee9d7e,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_15_unset_available_apps(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_15_unset_available_apps,
          const_str_plain_unset_available_apps,
  #if PYTHON_VERSION >= 330
          const_str_digest_6a5609368ea32e44626bf739c2db1cf5,
  #endif
          codeobj_3534ad0b3f0a057ce068c99e103d7cce,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_cf2e462a6d6c64d9c775e38faa312e7e,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_16_set_installed_apps(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_16_set_installed_apps,
          const_str_plain_set_installed_apps,
  #if PYTHON_VERSION >= 330
          const_str_digest_e05b2ac223dce7c75bfd9de7d2ad056e,
  #endif
          codeobj_213bc22176757c61d4b4f8b8ce676918,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_9fccea959b29f6041fa895ff4b90b296,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_17_unset_installed_apps(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_17_unset_installed_apps,
          const_str_plain_unset_installed_apps,
  #if PYTHON_VERSION >= 330
          const_str_digest_2a846697ab9bffc8476eb3fe6cf42b20,
  #endif
          codeobj_847d74da1c850a5b12a8b35b58802687,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_c6bcca48a71a89b6044e1739abef9dea,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_18_clear_cache(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_18_clear_cache,
          const_str_plain_clear_cache,
  #if PYTHON_VERSION >= 330
          const_str_digest_7f1349b2999de8208eb8f43a4e883447,
  #endif
          codeobj_73e4e719b9cf6b1a1f10f5d04bf798ff,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_a5ef9acdf2e2945a3d0f9c98d6c2efbf,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_19_lazy_model_operation(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_19_lazy_model_operation,
          const_str_plain_lazy_model_operation,
  #if PYTHON_VERSION >= 330
          const_str_digest_ea631a51c3864b6ba42e55a260a34768,
  #endif
          codeobj_22b5ab81e57e3c50b002464c6dac7652,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_f70b415a04415be4cbf0dea7ee7e5784,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model( struct Nuitka_CellObject *closure_apply_next_model, struct Nuitka_CellObject *closure_more_models, struct Nuitka_CellObject *closure_self )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_19_lazy_model_operation$$$function_1_apply_next_model,
          const_str_plain_apply_next_model,
  #if PYTHON_VERSION >= 330
          const_str_digest_e39b4e4814a1a8b77c5de4e2f5388a44,
  #endif
          codeobj_c10c8708ef079f60b55e8d2e1e564ec5,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          Py_None,
          3
      );
  
  result->m_closure[0] = closure_apply_next_model;
  Py_INCREF( result->m_closure[0] );
  result->m_closure[1] = closure_more_models;
  Py_INCREF( result->m_closure[1] );
  result->m_closure[2] = closure_self;
  Py_INCREF( result->m_closure[2] );
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_1___init__( PyObject *defaults )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_1___init__,
          const_str_plain___init__,
  #if PYTHON_VERSION >= 330
          const_str_digest_5e47c7c770c562af6fc33e57b6c46acd,
  #endif
          codeobj_8a98a45ad34d0bcc4427c64ecd9029a8,
          defaults,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          Py_None,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_20_do_pending_operations(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_20_do_pending_operations,
          const_str_plain_do_pending_operations,
  #if PYTHON_VERSION >= 330
          const_str_digest_103bb7a8a94f5fc324bae19269770bef,
  #endif
          codeobj_e766e8675b7e06347e469f5d2674408d,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_8b48c16d52857014a217220c5ed8e655,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_2_populate( PyObject *defaults )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_2_populate,
          const_str_plain_populate,
  #if PYTHON_VERSION >= 330
          const_str_digest_9bfe8139c88c87a5439db2769c6f2c4c,
  #endif
          codeobj_e16f753485e64a2b194eb543ced1c7e7,
          defaults,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_54937574e0872f570590bbe4eb9938cb,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_3_check_apps_ready(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_3_check_apps_ready,
          const_str_plain_check_apps_ready,
  #if PYTHON_VERSION >= 330
          const_str_digest_d9c5e1805cf6890c21fe95623cf618fd,
  #endif
          codeobj_42b88463eec1fe471015d6ea6d1b7e2e,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_9e6af0802dbdccb62ddff215d7b4b236,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_4_check_models_ready(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_4_check_models_ready,
          const_str_plain_check_models_ready,
  #if PYTHON_VERSION >= 330
          const_str_digest_925cc6db905b4f03932c31bfab6325c3,
  #endif
          codeobj_59c16036285c75788cb56563c3d3d346,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_1c3007d3683f39c34907b242e0c662bb,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_5_get_app_configs(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_5_get_app_configs,
          const_str_plain_get_app_configs,
  #if PYTHON_VERSION >= 330
          const_str_digest_1076cfbef9952773b5605d60f1192271,
  #endif
          codeobj_98d02a862a982544004d0229c9ba6a7a,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_cbf8bbc7020c4fb06e26e9b70008ae2c,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_6_get_app_config(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_6_get_app_config,
          const_str_plain_get_app_config,
  #if PYTHON_VERSION >= 330
          const_str_digest_fa83b439228fc30cdf28177e6d1b3e63,
  #endif
          codeobj_6a54829d35e9c26141a149340434de68,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_49ccc12900c8f200fc1bfc11f2522e82,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_7_get_models( PyObject *defaults )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_7_get_models,
          const_str_plain_get_models,
  #if PYTHON_VERSION >= 330
          const_str_digest_0a339d6314f1d883e74f689d5e862d35,
  #endif
          codeobj_ecd86e663bee3c0efdea103478a12103,
          defaults,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_c72675406bc9e347c55658ada135533c,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_8_get_model( PyObject *defaults )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_8_get_model,
          const_str_plain_get_model,
  #if PYTHON_VERSION >= 330
          const_str_digest_51b31565441f4ffeb9b807aa3d8153b2,
  #endif
          codeobj_604cee4c64d07f1b045ac4f208f297da,
          defaults,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          const_str_digest_ba1b6cf04951ed9a9e25c8217efdb79f,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  static PyObject *MAKE_FUNCTION_django$apps$registry$$$function_9_register_model(  )
  {
      struct Nuitka_FunctionObject *result = Nuitka_Function_New(
          impl_django$apps$registry$$$function_9_register_model,
          const_str_plain_register_model,
  #if PYTHON_VERSION >= 330
          const_str_digest_726b2454218564e897a8ac16fae0ec22,
  #endif
          codeobj_f07c01e964fc61fc9e04b59e6c5e5cf4,
          NULL,
  #if PYTHON_VERSION >= 300
          NULL,
          const_dict_empty,
  #endif
          module_django$apps$registry,
          Py_None,
          0
      );
  
  
      return (PyObject *)result;
  }
  
  
  
  #if PYTHON_VERSION >= 300
  static struct PyModuleDef mdef_django$apps$registry =
  {
      PyModuleDef_HEAD_INIT,
      "django.apps.registry",   /* m_name */
      NULL,                /* m_doc */
      -1,                  /* m_size */
      NULL,                /* m_methods */
      NULL,                /* m_reload */
      NULL,                /* m_traverse */
      NULL,                /* m_clear */
      NULL,                /* m_free */
    };
  #endif
  
  #if PYTHON_VERSION >= 300
  extern PyObject *metapath_based_loader;
  #endif
  #if PYTHON_VERSION >= 330
  extern PyObject *const_str_plain___loader__;
  #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( django$apps$registry )
  {
  #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_django$apps$registry );
      }
      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.
      setupMetaPathBasedLoader();
  
  #if PYTHON_VERSION >= 300
      patchInspectModule();
  #endif
  
  #endif
  
      /* The constants only used by this module are created now. */
  #ifdef _NUITKA_TRACE
      puts("django.apps.registry: Calling createModuleConstants().");
  #endif
      createModuleConstants();
  
      /* The code objects used by this module are created now. */
  #ifdef _NUITKA_TRACE
      puts("django.apps.registry: Calling createModuleCodeObjects().");
  #endif
      createModuleCodeObjects();
  
      // puts( "in initdjango$apps$registry" );
  
      // 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_django$apps$registry = Py_InitModule4(
          "django.apps.registry",       // 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_django$apps$registry = PyModule_Create( &mdef_django$apps$registry );
  #endif
  
      moduledict_django$apps$registry = MODULE_DICT( module_django$apps$registry );
  
      CHECK_OBJECT( module_django$apps$registry );
  
  // 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_46ce69d6f8e534feb92ab1e11d2ad2cd, module_django$apps$registry );
  
          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_django$apps$registry, (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_django$apps$registry, (Nuitka_StringObject *)const_str_plain___builtins__, value );
      }
  
  #if PYTHON_VERSION >= 330
      UPDATE_STRING_DICT0( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
  #endif
  
      // Temp variables if any
      PyObject *outline_0_var___class__ = NULL;
      PyObject *outline_0_var___qualname__ = NULL;
      PyObject *outline_0_var___module__ = NULL;
      PyObject *outline_0_var___doc__ = NULL;
      PyObject *outline_0_var___init__ = NULL;
      PyObject *outline_0_var_populate = NULL;
      PyObject *outline_0_var_check_apps_ready = NULL;
      PyObject *outline_0_var_check_models_ready = NULL;
      PyObject *outline_0_var_get_app_configs = NULL;
      PyObject *outline_0_var_get_app_config = NULL;
      PyObject *outline_0_var_get_models = NULL;
      PyObject *outline_0_var_get_model = NULL;
      PyObject *outline_0_var_register_model = NULL;
      PyObject *outline_0_var_is_installed = NULL;
      PyObject *outline_0_var_get_containing_app_config = NULL;
      PyObject *outline_0_var_get_registered_model = NULL;
      PyObject *outline_0_var_get_swappable_settings_name = NULL;
      PyObject *outline_0_var_set_available_apps = NULL;
      PyObject *outline_0_var_unset_available_apps = NULL;
      PyObject *outline_0_var_set_installed_apps = NULL;
      PyObject *outline_0_var_unset_installed_apps = NULL;
      PyObject *outline_0_var_clear_cache = NULL;
      PyObject *outline_0_var_lazy_model_operation = NULL;
      PyObject *outline_0_var_do_pending_operations = NULL;
      PyObject *tmp_class_creation_1__bases = 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;
      PyObject *tmp_import_from_2__module = 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;
      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;
      PyObject *tmp_args_element_name_1;
      PyObject *tmp_args_element_name_2;
      PyObject *tmp_args_element_name_3;
      PyObject *tmp_args_element_name_4;
      PyObject *tmp_args_name_1;
      PyObject *tmp_args_name_2;
      PyObject *tmp_assign_source_1;
      PyObject *tmp_assign_source_2;
      PyObject *tmp_assign_source_3;
      PyObject *tmp_assign_source_4;
      PyObject *tmp_assign_source_5;
      PyObject *tmp_assign_source_6;
      PyObject *tmp_assign_source_7;
      PyObject *tmp_assign_source_8;
      PyObject *tmp_assign_source_9;
      PyObject *tmp_assign_source_10;
      PyObject *tmp_assign_source_11;
      PyObject *tmp_assign_source_12;
      PyObject *tmp_assign_source_13;
      PyObject *tmp_assign_source_14;
      PyObject *tmp_assign_source_15;
      PyObject *tmp_assign_source_16;
      PyObject *tmp_assign_source_17;
      PyObject *tmp_assign_source_18;
      PyObject *tmp_assign_source_19;
      PyObject *tmp_assign_source_20;
      PyObject *tmp_assign_source_21;
      PyObject *tmp_assign_source_22;
      PyObject *tmp_assign_source_23;
      PyObject *tmp_assign_source_24;
      PyObject *tmp_assign_source_25;
      PyObject *tmp_assign_source_26;
      PyObject *tmp_assign_source_27;
      PyObject *tmp_assign_source_28;
      PyObject *tmp_assign_source_29;
      PyObject *tmp_assign_source_30;
      PyObject *tmp_assign_source_31;
      PyObject *tmp_assign_source_32;
      PyObject *tmp_assign_source_33;
      PyObject *tmp_assign_source_34;
      PyObject *tmp_assign_source_35;
      PyObject *tmp_assign_source_36;
      PyObject *tmp_assign_source_37;
      PyObject *tmp_assign_source_38;
      PyObject *tmp_assign_source_39;
      PyObject *tmp_assign_source_40;
      PyObject *tmp_assign_source_41;
      PyObject *tmp_assign_source_42;
      PyObject *tmp_assign_source_43;
      PyObject *tmp_assign_source_44;
      PyObject *tmp_assign_source_45;
      PyObject *tmp_assign_source_46;
      PyObject *tmp_assign_source_47;
      PyObject *tmp_assign_source_48;
      PyObject *tmp_assign_source_49;
      PyObject *tmp_bases_name_1;
      PyObject *tmp_called_name_1;
      PyObject *tmp_called_name_2;
      PyObject *tmp_called_name_3;
      PyObject *tmp_called_name_4;
      PyObject *tmp_called_name_5;
      PyObject *tmp_called_name_6;
      PyObject *tmp_called_name_7;
      PyObject *tmp_called_name_8;
      int tmp_cmp_In_1;
      int tmp_cmp_In_2;
      PyObject *tmp_compare_left_1;
      PyObject *tmp_compare_left_2;
      PyObject *tmp_compare_right_1;
      PyObject *tmp_compare_right_2;
      int tmp_cond_truth_1;
      PyObject *tmp_cond_value_1;
      PyObject *tmp_defaults_1;
      PyObject *tmp_defaults_2;
      PyObject *tmp_defaults_3;
      PyObject *tmp_defaults_4;
      PyObject *tmp_dict_name_1;
      PyObject *tmp_dictdel_dict;
      PyObject *tmp_dictdel_key;
      PyObject *tmp_fromlist_name_1;
      PyObject *tmp_fromlist_name_2;
      PyObject *tmp_fromlist_name_3;
      PyObject *tmp_fromlist_name_4;
      PyObject *tmp_fromlist_name_5;
      PyObject *tmp_fromlist_name_6;
      PyObject *tmp_fromlist_name_7;
      PyObject *tmp_fromlist_name_8;
      PyObject *tmp_globals_name_1;
      PyObject *tmp_globals_name_2;
      PyObject *tmp_globals_name_3;
      PyObject *tmp_globals_name_4;
      PyObject *tmp_globals_name_5;
      PyObject *tmp_globals_name_6;
      PyObject *tmp_globals_name_7;
      PyObject *tmp_globals_name_8;
      PyObject *tmp_hasattr_attr_1;
      PyObject *tmp_hasattr_source_1;
      PyObject *tmp_import_name_from_1;
      PyObject *tmp_import_name_from_2;
      PyObject *tmp_import_name_from_3;
      PyObject *tmp_import_name_from_4;
      PyObject *tmp_import_name_from_5;
      PyObject *tmp_import_name_from_6;
      PyObject *tmp_import_name_from_7;
      PyObject *tmp_import_name_from_8;
      PyObject *tmp_key_name_1;
      PyObject *tmp_kw_name_1;
      PyObject *tmp_kw_name_2;
      PyObject *tmp_kw_name_3;
      PyObject *tmp_kw_name_4;
      PyObject *tmp_kw_name_5;
      PyObject *tmp_level_name_1;
      PyObject *tmp_level_name_2;
      PyObject *tmp_level_name_3;
      PyObject *tmp_level_name_4;
      PyObject *tmp_level_name_5;
      PyObject *tmp_level_name_6;
      PyObject *tmp_level_name_7;
      PyObject *tmp_level_name_8;
      PyObject *tmp_locals_name_1;
      PyObject *tmp_locals_name_2;
      PyObject *tmp_locals_name_3;
      PyObject *tmp_locals_name_4;
      PyObject *tmp_locals_name_5;
      PyObject *tmp_locals_name_6;
      PyObject *tmp_locals_name_7;
      PyObject *tmp_locals_name_8;
      PyObject *tmp_metaclass_name_1;
      PyObject *tmp_name_name_1;
      PyObject *tmp_name_name_2;
      PyObject *tmp_name_name_3;
      PyObject *tmp_name_name_4;
      PyObject *tmp_name_name_5;
      PyObject *tmp_name_name_6;
      PyObject *tmp_name_name_7;
      PyObject *tmp_name_name_8;
      PyObject *tmp_outline_return_value_1;
      int tmp_res;
      bool tmp_result;
      PyObject *tmp_set_locals;
      PyObject *tmp_source_name_1;
      PyObject *tmp_source_name_2;
      PyObject *tmp_source_name_3;
      PyObject *tmp_subscribed_name_1;
      PyObject *tmp_subscript_name_1;
      PyObject *tmp_tuple_element_1;
      PyObject *tmp_tuple_element_2;
      PyObject *tmp_type_arg_1;
      static struct Nuitka_FrameObject *cache_frame_cafc5120027c0335dc2e5aacba34d3e2_2 = NULL;
  
      struct Nuitka_FrameObject *frame_cafc5120027c0335dc2e5aacba34d3e2_2;
  
      struct Nuitka_FrameObject *frame_5562be08f98dc9e1d735bac6e5f4999b;
  
      NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
      NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
      tmp_outline_return_value_1 = NULL;
      // Locals dictionary setup.
  PyObject *locals_dict_1 = PyDict_New();
  
  
      // Module code.
      tmp_assign_source_1 = Py_None;
      UPDATE_STRING_DICT0( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
      tmp_assign_source_2 = module_filename_obj;
      UPDATE_STRING_DICT0( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
      tmp_assign_source_3 = metapath_based_loader;
      UPDATE_STRING_DICT0( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___loader__, tmp_assign_source_3 );
      // Frame without reuse.
      frame_5562be08f98dc9e1d735bac6e5f4999b = MAKE_MODULE_FRAME( codeobj_5562be08f98dc9e1d735bac6e5f4999b, module_django$apps$registry );
  
      // Push the new frame as the currently active one, and we should be exclusively
      // owning it.
      pushFrameStack( frame_5562be08f98dc9e1d735bac6e5f4999b );
      assert( Py_REFCNT( frame_5562be08f98dc9e1d735bac6e5f4999b ) == 2 );
  
      // Framed code:
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 1;
      {
          PyObject *module = PyImport_ImportModule("importlib._bootstrap");
          if (likely( module != NULL ))
          {
              tmp_called_name_1 = PyObject_GetAttr( module, const_str_plain_ModuleSpec );
          }
          else
          {
              tmp_called_name_1 = NULL;
          }
      }
  
      if ( tmp_called_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 1;
  
          goto frame_exception_exit_1;
      }
      tmp_args_element_name_1 = const_str_digest_46ce69d6f8e534feb92ab1e11d2ad2cd;
      tmp_args_element_name_2 = metapath_based_loader;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 1;
      {
          PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
          tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
      }
  
      if ( tmp_assign_source_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 1;
  
          goto frame_exception_exit_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___spec__, tmp_assign_source_4 );
      tmp_assign_source_5 = Py_None;
      UPDATE_STRING_DICT0( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_5 );
      tmp_assign_source_6 = const_str_digest_e8a773ce67a7c0e7a9cd33d42a1c4a06;
      UPDATE_STRING_DICT0( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain___package__, tmp_assign_source_6 );
      tmp_name_name_1 = const_str_plain_sys;
      tmp_globals_name_1 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_1 = Py_None;
      tmp_fromlist_name_1 = Py_None;
      tmp_level_name_1 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 1;
      tmp_assign_source_7 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
      assert( tmp_assign_source_7 != NULL );
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_7 );
      tmp_name_name_2 = const_str_plain_threading;
      tmp_globals_name_2 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_2 = Py_None;
      tmp_fromlist_name_2 = Py_None;
      tmp_level_name_2 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 2;
      tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
      if ( tmp_assign_source_8 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 2;
  
          goto frame_exception_exit_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_threading, tmp_assign_source_8 );
      tmp_name_name_3 = const_str_plain_warnings;
      tmp_globals_name_3 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_3 = Py_None;
      tmp_fromlist_name_3 = Py_None;
      tmp_level_name_3 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 3;
      tmp_assign_source_9 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 );
      if ( tmp_assign_source_9 == 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_django$apps$registry, (Nuitka_StringObject *)const_str_plain_warnings, tmp_assign_source_9 );
      tmp_name_name_4 = const_str_plain_collections;
      tmp_globals_name_4 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_4 = Py_None;
      tmp_fromlist_name_4 = const_tuple_ffe24314a3165d148beea9af2e0da548_tuple;
      tmp_level_name_4 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 4;
      tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 );
      if ( tmp_assign_source_10 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 4;
  
          goto frame_exception_exit_1;
      }
      assert( tmp_import_from_1__module == NULL );
      tmp_import_from_1__module = tmp_assign_source_10;
  
      // Tried code:
      tmp_import_name_from_1 = tmp_import_from_1__module;
  
      CHECK_OBJECT( tmp_import_name_from_1 );
      tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_Counter );
      if ( tmp_assign_source_11 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 4;
  
          goto try_except_handler_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_Counter, tmp_assign_source_11 );
      tmp_import_name_from_2 = tmp_import_from_1__module;
  
      CHECK_OBJECT( tmp_import_name_from_2 );
      tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_OrderedDict );
      if ( tmp_assign_source_12 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 4;
  
          goto try_except_handler_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_OrderedDict, tmp_assign_source_12 );
      tmp_import_name_from_3 = tmp_import_from_1__module;
  
      CHECK_OBJECT( tmp_import_name_from_3 );
      tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_defaultdict );
      if ( tmp_assign_source_13 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 4;
  
          goto try_except_handler_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_defaultdict, tmp_assign_source_13 );
      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;
  
      Py_XDECREF( 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:;
      Py_XDECREF( tmp_import_from_1__module );
      tmp_import_from_1__module = NULL;
  
      tmp_name_name_5 = const_str_plain_functools;
      tmp_globals_name_5 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_5 = Py_None;
      tmp_fromlist_name_5 = const_tuple_str_plain_partial_tuple;
      tmp_level_name_5 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 5;
      tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 );
      if ( tmp_import_name_from_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 5;
  
          goto frame_exception_exit_1;
      }
      tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_partial );
      Py_DECREF( tmp_import_name_from_4 );
      if ( tmp_assign_source_14 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 5;
  
          goto frame_exception_exit_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_partial, tmp_assign_source_14 );
      tmp_name_name_6 = const_str_digest_dfb6e1abbed3113ee07234fdc458a320;
      tmp_globals_name_6 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_6 = Py_None;
      tmp_fromlist_name_6 = const_tuple_str_plain_AppRegistryNotReady_str_plain_ImproperlyConfigured_tuple;
      tmp_level_name_6 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 7;
      tmp_assign_source_15 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 );
      if ( tmp_assign_source_15 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 7;
  
          goto frame_exception_exit_1;
      }
      assert( tmp_import_from_2__module == NULL );
      tmp_import_from_2__module = tmp_assign_source_15;
  
      // Tried code:
      tmp_import_name_from_5 = tmp_import_from_2__module;
  
      CHECK_OBJECT( tmp_import_name_from_5 );
      tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_AppRegistryNotReady );
      if ( tmp_assign_source_16 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 7;
  
          goto try_except_handler_2;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppRegistryNotReady, tmp_assign_source_16 );
      tmp_import_name_from_6 = tmp_import_from_2__module;
  
      CHECK_OBJECT( tmp_import_name_from_6 );
      tmp_assign_source_17 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_ImproperlyConfigured );
      if ( tmp_assign_source_17 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 7;
  
          goto try_except_handler_2;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_ImproperlyConfigured, tmp_assign_source_17 );
      goto try_end_2;
      // Exception handler code:
      try_except_handler_2:;
      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_XDECREF( tmp_import_from_2__module );
      tmp_import_from_2__module = 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 frame_exception_exit_1;
      // End of try:
      try_end_2:;
      Py_XDECREF( tmp_import_from_2__module );
      tmp_import_from_2__module = NULL;
  
      tmp_name_name_7 = const_str_digest_467c9722f19d9d40d148689532cdc0b1;
      tmp_globals_name_7 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_7 = Py_None;
      tmp_fromlist_name_7 = const_tuple_str_plain_lru_cache_tuple;
      tmp_level_name_7 = const_int_0;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 8;
      tmp_import_name_from_7 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 );
      if ( tmp_import_name_from_7 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 8;
  
          goto frame_exception_exit_1;
      }
      tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_lru_cache );
      Py_DECREF( tmp_import_name_from_7 );
      if ( tmp_assign_source_18 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 8;
  
          goto frame_exception_exit_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_lru_cache, tmp_assign_source_18 );
      tmp_name_name_8 = const_str_plain_config;
      tmp_globals_name_8 = (PyObject *)moduledict_django$apps$registry;
      tmp_locals_name_8 = Py_None;
      tmp_fromlist_name_8 = const_tuple_str_plain_AppConfig_tuple;
      tmp_level_name_8 = const_int_pos_1;
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 10;
      tmp_import_name_from_8 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 );
      if ( tmp_import_name_from_8 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 10;
  
          goto frame_exception_exit_1;
      }
      tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_AppConfig );
      Py_DECREF( tmp_import_name_from_8 );
      if ( tmp_assign_source_19 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 10;
  
          goto frame_exception_exit_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_AppConfig, tmp_assign_source_19 );
      tmp_assign_source_20 = const_tuple_type_object_tuple;
      assert( tmp_class_creation_1__bases == NULL );
      Py_INCREF( tmp_assign_source_20 );
      tmp_class_creation_1__bases = tmp_assign_source_20;
  
      tmp_assign_source_21 = PyDict_New();
      assert( tmp_class_creation_1__class_decl_dict == NULL );
      tmp_class_creation_1__class_decl_dict = tmp_assign_source_21;
  
      // Tried code:
      tmp_compare_left_1 = const_str_plain_metaclass;
      tmp_compare_right_1 = tmp_class_creation_1__class_decl_dict;
  
      CHECK_OBJECT( tmp_compare_right_1 );
      tmp_cmp_In_1 = PySequence_Contains( tmp_compare_right_1, tmp_compare_left_1 );
      assert( !(tmp_cmp_In_1 == -1) );
      if ( tmp_cmp_In_1 == 1 )
      {
          goto condexpr_true_1;
      }
      else
      {
          goto condexpr_false_1;
      }
      condexpr_true_1:;
      tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
  
      CHECK_OBJECT( tmp_dict_name_1 );
      tmp_key_name_1 = const_str_plain_metaclass;
      tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_1, tmp_key_name_1 );
      if ( tmp_metaclass_name_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      goto condexpr_end_1;
      condexpr_false_1:;
      tmp_cond_value_1 = tmp_class_creation_1__bases;
  
      CHECK_OBJECT( tmp_cond_value_1 );
      tmp_cond_truth_1 = CHECK_IF_TRUE( tmp_cond_value_1 );
      if ( tmp_cond_truth_1 == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      if ( tmp_cond_truth_1 == 1 )
      {
          goto condexpr_true_2;
      }
      else
      {
          goto condexpr_false_2;
      }
      condexpr_true_2:;
      tmp_subscribed_name_1 = tmp_class_creation_1__bases;
  
      CHECK_OBJECT( tmp_subscribed_name_1 );
      tmp_subscript_name_1 = const_int_0;
      tmp_type_arg_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
      if ( tmp_type_arg_1 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      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 = 13;
  
          goto try_except_handler_3;
      }
      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:;
      tmp_bases_name_1 = tmp_class_creation_1__bases;
  
      CHECK_OBJECT( tmp_bases_name_1 );
      tmp_assign_source_22 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
      if ( tmp_assign_source_22 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_metaclass_name_1 );
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      Py_DECREF( tmp_metaclass_name_1 );
      assert( tmp_class_creation_1__metaclass == NULL );
      tmp_class_creation_1__metaclass = tmp_assign_source_22;
  
      tmp_compare_left_2 = const_str_plain_metaclass;
      tmp_compare_right_2 = tmp_class_creation_1__class_decl_dict;
  
      CHECK_OBJECT( tmp_compare_right_2 );
      tmp_cmp_In_2 = PySequence_Contains( tmp_compare_right_2, tmp_compare_left_2 );
      assert( !(tmp_cmp_In_2 == -1) );
      if ( tmp_cmp_In_2 == 1 )
      {
          goto branch_yes_1;
      }
      else
      {
          goto branch_no_1;
      }
      branch_yes_1:;
      tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
  
      CHECK_OBJECT( tmp_dictdel_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 = 13;
  
          goto try_except_handler_3;
      }
      branch_no_1:;
      tmp_hasattr_source_1 = tmp_class_creation_1__metaclass;
  
      CHECK_OBJECT( tmp_hasattr_source_1 );
      tmp_hasattr_attr_1 = const_str_plain___prepare__;
      tmp_res = PyObject_HasAttr( tmp_hasattr_source_1, tmp_hasattr_attr_1 );
      if ( tmp_res == -1 )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      if ( tmp_res == 1 )
      {
          goto condexpr_true_3;
      }
      else
      {
          goto condexpr_false_3;
      }
      condexpr_true_3:;
      tmp_source_name_1 = tmp_class_creation_1__metaclass;
  
      CHECK_OBJECT( tmp_source_name_1 );
      tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___prepare__ );
      if ( tmp_called_name_2 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      tmp_args_name_1 = PyTuple_New( 2 );
      tmp_tuple_element_1 = const_str_plain_Apps;
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
      tmp_tuple_element_1 = tmp_class_creation_1__bases;
  
      CHECK_OBJECT( tmp_tuple_element_1 );
      Py_INCREF( tmp_tuple_element_1 );
      PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
      tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
  
      CHECK_OBJECT( tmp_kw_name_1 );
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 13;
      tmp_assign_source_23 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 );
      Py_DECREF( tmp_called_name_2 );
      Py_DECREF( tmp_args_name_1 );
      if ( tmp_assign_source_23 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_3;
      }
      goto condexpr_end_3;
      condexpr_false_3:;
      tmp_assign_source_23 = PyDict_New();
      condexpr_end_3:;
      assert( tmp_class_creation_1__prepared == NULL );
      tmp_class_creation_1__prepared = tmp_assign_source_23;
  
      tmp_set_locals = tmp_class_creation_1__prepared;
  
      CHECK_OBJECT( tmp_set_locals );
      Py_DECREF(locals_dict_1);
      locals_dict_1 = tmp_set_locals;
      Py_INCREF( tmp_set_locals );
      tmp_assign_source_25 = const_str_digest_46ce69d6f8e534feb92ab1e11d2ad2cd;
      assert( outline_0_var___module__ == NULL );
      Py_INCREF( tmp_assign_source_25 );
      outline_0_var___module__ = tmp_assign_source_25;
  
      tmp_assign_source_26 = const_str_digest_cabea8a49d8df4bba4754b218a7d3fbf;
      assert( outline_0_var___doc__ == NULL );
      Py_INCREF( tmp_assign_source_26 );
      outline_0_var___doc__ = tmp_assign_source_26;
  
      tmp_assign_source_27 = const_str_plain_Apps;
      assert( outline_0_var___qualname__ == NULL );
      Py_INCREF( tmp_assign_source_27 );
      outline_0_var___qualname__ = tmp_assign_source_27;
  
      tmp_defaults_1 = const_tuple_tuple_empty_tuple;
      Py_INCREF( tmp_defaults_1 );
      tmp_assign_source_28 = MAKE_FUNCTION_django$apps$registry$$$function_1___init__( tmp_defaults_1 );
      assert( outline_0_var___init__ == NULL );
      outline_0_var___init__ = tmp_assign_source_28;
  
      tmp_defaults_2 = const_tuple_none_tuple;
      Py_INCREF( tmp_defaults_2 );
      tmp_assign_source_29 = MAKE_FUNCTION_django$apps$registry$$$function_2_populate( tmp_defaults_2 );
      assert( outline_0_var_populate == NULL );
      outline_0_var_populate = tmp_assign_source_29;
  
      tmp_assign_source_30 = MAKE_FUNCTION_django$apps$registry$$$function_3_check_apps_ready(  );
      assert( outline_0_var_check_apps_ready == NULL );
      outline_0_var_check_apps_ready = tmp_assign_source_30;
  
      tmp_assign_source_31 = MAKE_FUNCTION_django$apps$registry$$$function_4_check_models_ready(  );
      assert( outline_0_var_check_models_ready == NULL );
      outline_0_var_check_models_ready = tmp_assign_source_31;
  
      tmp_assign_source_32 = MAKE_FUNCTION_django$apps$registry$$$function_5_get_app_configs(  );
      assert( outline_0_var_get_app_configs == NULL );
      outline_0_var_get_app_configs = tmp_assign_source_32;
  
      tmp_assign_source_33 = MAKE_FUNCTION_django$apps$registry$$$function_6_get_app_config(  );
      assert( outline_0_var_get_app_config == NULL );
      outline_0_var_get_app_config = tmp_assign_source_33;
  
      // Tried code:
      MAKE_OR_REUSE_FRAME( cache_frame_cafc5120027c0335dc2e5aacba34d3e2_2, codeobj_cafc5120027c0335dc2e5aacba34d3e2, module_django$apps$registry, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
      frame_cafc5120027c0335dc2e5aacba34d3e2_2 = cache_frame_cafc5120027c0335dc2e5aacba34d3e2_2;
  
      // Push the new frame as the currently active one.
      pushFrameStack( frame_cafc5120027c0335dc2e5aacba34d3e2_2 );
  
      // Mark the frame object as in use, ref count 1 will be up for reuse.
      assert( Py_REFCNT( frame_cafc5120027c0335dc2e5aacba34d3e2_2 ) == 2 ); // Frame stack
  
      // Framed code:
      tmp_source_name_2 = PyDict_GetItem( locals_dict_1, const_str_plain_lru_cache );
  
      if ( tmp_source_name_2 == NULL )
      {
          tmp_source_name_2 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_lru_cache );
  
          if (unlikely( tmp_source_name_2 == NULL ))
          {
              tmp_source_name_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lru_cache );
          }
  
          if ( tmp_source_name_2 == NULL )
          {
  
              exception_type = PyExc_NameError;
              Py_INCREF( exception_type );
              exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lru_cache" );
              exception_tb = NULL;
              NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
              CHAIN_EXCEPTION( exception_value );
  
              exception_lineno = 159;
              type_description_2 = "NoooooooooNNNNNNNNNNNNNN";
              goto frame_exception_exit_2;
          }
  
      }
  
      tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_lru_cache );
      if ( tmp_called_name_4 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 159;
          type_description_2 = "NoooooooooNNNNNNNNNNNNNN";
          goto frame_exception_exit_2;
      }
      tmp_kw_name_2 = PyDict_Copy( const_dict_8384876ba74383e707f9bc756fe371c1 );
      frame_cafc5120027c0335dc2e5aacba34d3e2_2->m_frame.f_lineno = 159;
      tmp_called_name_3 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_4, tmp_kw_name_2 );
      Py_DECREF( tmp_called_name_4 );
      Py_DECREF( tmp_kw_name_2 );
      if ( tmp_called_name_3 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 159;
          type_description_2 = "NoooooooooNNNNNNNNNNNNNN";
          goto frame_exception_exit_2;
      }
      tmp_defaults_3 = const_tuple_false_false_tuple;
      Py_INCREF( tmp_defaults_3 );
      tmp_args_element_name_3 = MAKE_FUNCTION_django$apps$registry$$$function_7_get_models( tmp_defaults_3 );
      frame_cafc5120027c0335dc2e5aacba34d3e2_2->m_frame.f_lineno = 159;
      {
          PyObject *call_args[] = { tmp_args_element_name_3 };
          tmp_assign_source_34 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
      }
  
      Py_DECREF( tmp_called_name_3 );
      Py_DECREF( tmp_args_element_name_3 );
      if ( tmp_assign_source_34 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 159;
          type_description_2 = "NoooooooooNNNNNNNNNNNNNN";
          goto frame_exception_exit_2;
      }
      assert( outline_0_var_get_models == NULL );
      outline_0_var_get_models = tmp_assign_source_34;
  
      tmp_defaults_4 = const_tuple_none_true_tuple;
      Py_INCREF( tmp_defaults_4 );
      tmp_assign_source_35 = MAKE_FUNCTION_django$apps$registry$$$function_8_get_model( tmp_defaults_4 );
      assert( outline_0_var_get_model == NULL );
      outline_0_var_get_model = tmp_assign_source_35;
  
      tmp_assign_source_36 = MAKE_FUNCTION_django$apps$registry$$$function_9_register_model(  );
      assert( outline_0_var_register_model == NULL );
      outline_0_var_register_model = tmp_assign_source_36;
  
      tmp_assign_source_37 = MAKE_FUNCTION_django$apps$registry$$$function_10_is_installed(  );
      assert( outline_0_var_is_installed == NULL );
      outline_0_var_is_installed = tmp_assign_source_37;
  
      tmp_assign_source_38 = MAKE_FUNCTION_django$apps$registry$$$function_11_get_containing_app_config(  );
      assert( outline_0_var_get_containing_app_config == NULL );
      outline_0_var_get_containing_app_config = tmp_assign_source_38;
  
      tmp_assign_source_39 = MAKE_FUNCTION_django$apps$registry$$$function_12_get_registered_model(  );
      assert( outline_0_var_get_registered_model == NULL );
      outline_0_var_get_registered_model = tmp_assign_source_39;
  
      tmp_source_name_3 = PyDict_GetItem( locals_dict_1, const_str_plain_lru_cache );
  
      if ( tmp_source_name_3 == NULL )
      {
          tmp_source_name_3 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_lru_cache );
  
          if (unlikely( tmp_source_name_3 == NULL ))
          {
              tmp_source_name_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lru_cache );
          }
  
          if ( tmp_source_name_3 == NULL )
          {
  
              exception_type = PyExc_NameError;
              Py_INCREF( exception_type );
              exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lru_cache" );
              exception_tb = NULL;
              NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
              CHAIN_EXCEPTION( exception_value );
  
              exception_lineno = 271;
              type_description_2 = "NoooooooooooooooNNNNNNNN";
              goto frame_exception_exit_2;
          }
  
      }
  
      tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_lru_cache );
      if ( tmp_called_name_6 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 271;
          type_description_2 = "NoooooooooooooooNNNNNNNN";
          goto frame_exception_exit_2;
      }
      tmp_kw_name_3 = PyDict_Copy( const_dict_8384876ba74383e707f9bc756fe371c1 );
      frame_cafc5120027c0335dc2e5aacba34d3e2_2->m_frame.f_lineno = 271;
      tmp_called_name_5 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_6, tmp_kw_name_3 );
      Py_DECREF( tmp_called_name_6 );
      Py_DECREF( tmp_kw_name_3 );
      if ( tmp_called_name_5 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 271;
          type_description_2 = "NoooooooooooooooNNNNNNNN";
          goto frame_exception_exit_2;
      }
      tmp_args_element_name_4 = MAKE_FUNCTION_django$apps$registry$$$function_13_get_swappable_settings_name(  );
      frame_cafc5120027c0335dc2e5aacba34d3e2_2->m_frame.f_lineno = 271;
      {
          PyObject *call_args[] = { tmp_args_element_name_4 };
          tmp_assign_source_40 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
      }
  
      Py_DECREF( tmp_called_name_5 );
      Py_DECREF( tmp_args_element_name_4 );
      if ( tmp_assign_source_40 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 271;
          type_description_2 = "NoooooooooooooooNNNNNNNN";
          goto frame_exception_exit_2;
      }
      assert( outline_0_var_get_swappable_settings_name == NULL );
      outline_0_var_get_swappable_settings_name = tmp_assign_source_40;
  
  
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_cafc5120027c0335dc2e5aacba34d3e2_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_cafc5120027c0335dc2e5aacba34d3e2_2 );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_cafc5120027c0335dc2e5aacba34d3e2_2, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_cafc5120027c0335dc2e5aacba34d3e2_2->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_cafc5120027c0335dc2e5aacba34d3e2_2, exception_lineno );
      }
  
      // Attachs locals to frame if any.
      Nuitka_Frame_AttachLocals(
          (struct Nuitka_FrameObject *)frame_cafc5120027c0335dc2e5aacba34d3e2_2,
          type_description_2,
          NULL,
          outline_0_var___qualname__,
          outline_0_var___module__,
          outline_0_var___doc__,
          outline_0_var___init__,
          outline_0_var_populate,
          outline_0_var_check_apps_ready,
          outline_0_var_check_models_ready,
          outline_0_var_get_app_configs,
          outline_0_var_get_app_config,
          outline_0_var_get_models,
          outline_0_var_get_model,
          outline_0_var_register_model,
          outline_0_var_is_installed,
          outline_0_var_get_containing_app_config,
          outline_0_var_get_registered_model,
          outline_0_var_get_swappable_settings_name,
          NULL,
          NULL,
          NULL,
          NULL,
          NULL,
          NULL,
          NULL
      );
  
  
      // Release cached frame.
      if ( frame_cafc5120027c0335dc2e5aacba34d3e2_2 == cache_frame_cafc5120027c0335dc2e5aacba34d3e2_2 )
      {
          Py_DECREF( frame_cafc5120027c0335dc2e5aacba34d3e2_2 );
      }
      cache_frame_cafc5120027c0335dc2e5aacba34d3e2_2 = NULL;
  
      assertFrameObject( frame_cafc5120027c0335dc2e5aacba34d3e2_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:;
      tmp_assign_source_41 = MAKE_FUNCTION_django$apps$registry$$$function_14_set_available_apps(  );
      assert( outline_0_var_set_available_apps == NULL );
      outline_0_var_set_available_apps = tmp_assign_source_41;
  
      tmp_assign_source_42 = MAKE_FUNCTION_django$apps$registry$$$function_15_unset_available_apps(  );
      assert( outline_0_var_unset_available_apps == NULL );
      outline_0_var_unset_available_apps = tmp_assign_source_42;
  
      tmp_assign_source_43 = MAKE_FUNCTION_django$apps$registry$$$function_16_set_installed_apps(  );
      assert( outline_0_var_set_installed_apps == NULL );
      outline_0_var_set_installed_apps = tmp_assign_source_43;
  
      tmp_assign_source_44 = MAKE_FUNCTION_django$apps$registry$$$function_17_unset_installed_apps(  );
      assert( outline_0_var_unset_installed_apps == NULL );
      outline_0_var_unset_installed_apps = tmp_assign_source_44;
  
      tmp_assign_source_45 = MAKE_FUNCTION_django$apps$registry$$$function_18_clear_cache(  );
      assert( outline_0_var_clear_cache == NULL );
      outline_0_var_clear_cache = tmp_assign_source_45;
  
      tmp_assign_source_46 = MAKE_FUNCTION_django$apps$registry$$$function_19_lazy_model_operation(  );
      assert( outline_0_var_lazy_model_operation == NULL );
      outline_0_var_lazy_model_operation = tmp_assign_source_46;
  
      tmp_assign_source_47 = MAKE_FUNCTION_django$apps$registry$$$function_20_do_pending_operations(  );
      assert( outline_0_var_do_pending_operations == NULL );
      outline_0_var_do_pending_operations = tmp_assign_source_47;
  
      tmp_called_name_7 = tmp_class_creation_1__metaclass;
  
      CHECK_OBJECT( tmp_called_name_7 );
      tmp_args_name_2 = PyTuple_New( 3 );
      tmp_tuple_element_2 = const_str_plain_Apps;
      Py_INCREF( tmp_tuple_element_2 );
      PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_2 );
      tmp_tuple_element_2 = tmp_class_creation_1__bases;
  
      CHECK_OBJECT( tmp_tuple_element_2 );
      Py_INCREF( tmp_tuple_element_2 );
      PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_2 );
      tmp_tuple_element_2 = locals_dict_1;
      Py_INCREF( tmp_tuple_element_2 );
      if ( outline_0_var___qualname__ != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain___qualname__,
              outline_0_var___qualname__
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain___qualname__
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain___qualname__
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var___module__ != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain___module__,
              outline_0_var___module__
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain___module__
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain___module__
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var___doc__ != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain___doc__,
              outline_0_var___doc__
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain___doc__
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain___doc__
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var___init__ != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain___init__,
              outline_0_var___init__
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain___init__
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain___init__
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_populate != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_populate,
              outline_0_var_populate
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_populate
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_populate
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_check_apps_ready != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_check_apps_ready,
              outline_0_var_check_apps_ready
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_check_apps_ready
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_check_apps_ready
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_check_models_ready != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_check_models_ready,
              outline_0_var_check_models_ready
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_check_models_ready
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_check_models_ready
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_app_configs != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_app_configs,
              outline_0_var_get_app_configs
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_app_configs
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_app_configs
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_app_config != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_app_config,
              outline_0_var_get_app_config
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_app_config
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_app_config
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_models != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_models,
              outline_0_var_get_models
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_models
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_models
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_model != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_model,
              outline_0_var_get_model
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_model
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_model
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_register_model != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_register_model,
              outline_0_var_register_model
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_register_model
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_register_model
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_is_installed != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_is_installed,
              outline_0_var_is_installed
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_is_installed
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_is_installed
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_containing_app_config != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_containing_app_config,
              outline_0_var_get_containing_app_config
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_containing_app_config
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_containing_app_config
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_registered_model != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_registered_model,
              outline_0_var_get_registered_model
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_registered_model
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_registered_model
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_get_swappable_settings_name != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_get_swappable_settings_name,
              outline_0_var_get_swappable_settings_name
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_get_swappable_settings_name
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_get_swappable_settings_name
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_set_available_apps != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_set_available_apps,
              outline_0_var_set_available_apps
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_set_available_apps
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_set_available_apps
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_unset_available_apps != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_unset_available_apps,
              outline_0_var_unset_available_apps
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_unset_available_apps
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_unset_available_apps
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_set_installed_apps != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_set_installed_apps,
              outline_0_var_set_installed_apps
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_set_installed_apps
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_set_installed_apps
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_unset_installed_apps != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_unset_installed_apps,
              outline_0_var_unset_installed_apps
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_unset_installed_apps
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_unset_installed_apps
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_clear_cache != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_clear_cache,
              outline_0_var_clear_cache
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_clear_cache
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_clear_cache
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_lazy_model_operation != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_lazy_model_operation,
              outline_0_var_lazy_model_operation
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_lazy_model_operation
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_lazy_model_operation
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      if ( outline_0_var_do_pending_operations != NULL )
      {
          int res = PyObject_SetItem(
              tmp_tuple_element_2,
              const_str_plain_do_pending_operations,
              outline_0_var_do_pending_operations
          );
  
          tmp_result = res == 0;
      }
      else
      {
          PyObject *test_value = PyObject_GetItem(
              tmp_tuple_element_2,
              const_str_plain_do_pending_operations
          );
  
          if ( test_value )
          {
              Py_DECREF( test_value );
  
              int res = PyObject_DelItem(
                  tmp_tuple_element_2,
                  const_str_plain_do_pending_operations
              );
  
              tmp_result = res == 0;
          }
          else
          {
              CLEAR_ERROR_OCCURRED();
              tmp_result = true;
          }
      }
  
      if ( tmp_result == false )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
          Py_DECREF( tmp_args_name_2 );
          Py_DECREF( tmp_tuple_element_2 );
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_2 );
      tmp_kw_name_4 = tmp_class_creation_1__class_decl_dict;
  
      CHECK_OBJECT( tmp_kw_name_4 );
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 13;
      tmp_assign_source_48 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_2, tmp_kw_name_4 );
      Py_DECREF( tmp_args_name_2 );
      if ( tmp_assign_source_48 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 13;
  
          goto try_except_handler_4;
      }
      assert( outline_0_var___class__ == NULL );
      outline_0_var___class__ = tmp_assign_source_48;
  
      tmp_outline_return_value_1 = outline_0_var___class__;
  
      CHECK_OBJECT( tmp_outline_return_value_1 );
      Py_INCREF( tmp_outline_return_value_1 );
      goto try_return_handler_4;
      // tried codes exits in all cases
      NUITKA_CANNOT_GET_HERE( django$apps$registry );
      return MOD_RETURN_VALUE( NULL );
      // Return handler code:
      try_return_handler_4:;
      CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
      Py_DECREF( outline_0_var___class__ );
      outline_0_var___class__ = NULL;
  
      Py_XDECREF( outline_0_var___qualname__ );
      outline_0_var___qualname__ = NULL;
  
      Py_XDECREF( outline_0_var___module__ );
      outline_0_var___module__ = NULL;
  
      Py_XDECREF( outline_0_var___doc__ );
      outline_0_var___doc__ = NULL;
  
      Py_XDECREF( outline_0_var___init__ );
      outline_0_var___init__ = NULL;
  
      Py_XDECREF( outline_0_var_populate );
      outline_0_var_populate = NULL;
  
      Py_XDECREF( outline_0_var_check_apps_ready );
      outline_0_var_check_apps_ready = NULL;
  
      Py_XDECREF( outline_0_var_check_models_ready );
      outline_0_var_check_models_ready = NULL;
  
      Py_XDECREF( outline_0_var_get_app_configs );
      outline_0_var_get_app_configs = NULL;
  
      Py_XDECREF( outline_0_var_get_app_config );
      outline_0_var_get_app_config = NULL;
  
      Py_XDECREF( outline_0_var_get_models );
      outline_0_var_get_models = NULL;
  
      Py_XDECREF( outline_0_var_get_model );
      outline_0_var_get_model = NULL;
  
      Py_XDECREF( outline_0_var_register_model );
      outline_0_var_register_model = NULL;
  
      Py_XDECREF( outline_0_var_is_installed );
      outline_0_var_is_installed = NULL;
  
      Py_XDECREF( outline_0_var_get_containing_app_config );
      outline_0_var_get_containing_app_config = NULL;
  
      Py_XDECREF( outline_0_var_get_registered_model );
      outline_0_var_get_registered_model = NULL;
  
      Py_XDECREF( outline_0_var_get_swappable_settings_name );
      outline_0_var_get_swappable_settings_name = NULL;
  
      Py_XDECREF( outline_0_var_set_available_apps );
      outline_0_var_set_available_apps = NULL;
  
      Py_XDECREF( outline_0_var_unset_available_apps );
      outline_0_var_unset_available_apps = NULL;
  
      Py_XDECREF( outline_0_var_set_installed_apps );
      outline_0_var_set_installed_apps = NULL;
  
      Py_XDECREF( outline_0_var_unset_installed_apps );
      outline_0_var_unset_installed_apps = NULL;
  
      Py_XDECREF( outline_0_var_clear_cache );
      outline_0_var_clear_cache = NULL;
  
      Py_XDECREF( outline_0_var_lazy_model_operation );
      outline_0_var_lazy_model_operation = NULL;
  
      Py_XDECREF( outline_0_var_do_pending_operations );
      outline_0_var_do_pending_operations = NULL;
  
      goto outline_result_1;
      // Exception handler code:
      try_except_handler_4:;
      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;
  
      Py_XDECREF( outline_0_var___qualname__ );
      outline_0_var___qualname__ = NULL;
  
      Py_XDECREF( outline_0_var___module__ );
      outline_0_var___module__ = NULL;
  
      Py_XDECREF( outline_0_var___doc__ );
      outline_0_var___doc__ = NULL;
  
      Py_XDECREF( outline_0_var___init__ );
      outline_0_var___init__ = NULL;
  
      Py_XDECREF( outline_0_var_populate );
      outline_0_var_populate = NULL;
  
      Py_XDECREF( outline_0_var_check_apps_ready );
      outline_0_var_check_apps_ready = NULL;
  
      Py_XDECREF( outline_0_var_check_models_ready );
      outline_0_var_check_models_ready = NULL;
  
      Py_XDECREF( outline_0_var_get_app_configs );
      outline_0_var_get_app_configs = NULL;
  
      Py_XDECREF( outline_0_var_get_app_config );
      outline_0_var_get_app_config = NULL;
  
      Py_XDECREF( outline_0_var_get_models );
      outline_0_var_get_models = NULL;
  
      Py_XDECREF( outline_0_var_get_model );
      outline_0_var_get_model = NULL;
  
      Py_XDECREF( outline_0_var_register_model );
      outline_0_var_register_model = NULL;
  
      Py_XDECREF( outline_0_var_is_installed );
      outline_0_var_is_installed = NULL;
  
      Py_XDECREF( outline_0_var_get_containing_app_config );
      outline_0_var_get_containing_app_config = NULL;
  
      Py_XDECREF( outline_0_var_get_registered_model );
      outline_0_var_get_registered_model = NULL;
  
      Py_XDECREF( outline_0_var_get_swappable_settings_name );
      outline_0_var_get_swappable_settings_name = NULL;
  
      Py_XDECREF( outline_0_var_set_available_apps );
      outline_0_var_set_available_apps = NULL;
  
      Py_XDECREF( outline_0_var_unset_available_apps );
      outline_0_var_unset_available_apps = NULL;
  
      Py_XDECREF( outline_0_var_set_installed_apps );
      outline_0_var_set_installed_apps = NULL;
  
      Py_XDECREF( outline_0_var_unset_installed_apps );
      outline_0_var_unset_installed_apps = NULL;
  
      Py_XDECREF( outline_0_var_clear_cache );
      outline_0_var_clear_cache = NULL;
  
      Py_XDECREF( outline_0_var_lazy_model_operation );
      outline_0_var_lazy_model_operation = NULL;
  
      Py_XDECREF( outline_0_var_do_pending_operations );
      outline_0_var_do_pending_operations = NULL;
  
      // 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( django$apps$registry );
      return MOD_RETURN_VALUE( NULL );
      outline_exception_1:;
      exception_lineno = 13;
      goto try_except_handler_3;
      outline_result_1:;
      tmp_assign_source_24 = tmp_outline_return_value_1;
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_Apps, tmp_assign_source_24 );
      goto try_end_3;
      // Exception handler code:
      try_except_handler_3:;
      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_3:;
      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;
  
      tmp_called_name_8 = GET_STRING_DICT_VALUE( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_Apps );
  
      if (unlikely( tmp_called_name_8 == NULL ))
      {
          tmp_called_name_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Apps );
      }
  
      if ( tmp_called_name_8 == NULL )
      {
  
          exception_type = PyExc_NameError;
          Py_INCREF( exception_type );
          exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Apps" );
          exception_tb = NULL;
          NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
          CHAIN_EXCEPTION( exception_value );
  
          exception_lineno = 425;
  
          goto frame_exception_exit_1;
      }
  
      tmp_kw_name_5 = PyDict_Copy( const_dict_3f118b0bcc3d392c36de26d575d4028b );
      frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame.f_lineno = 425;
      tmp_assign_source_49 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_8, tmp_kw_name_5 );
      Py_DECREF( tmp_kw_name_5 );
      if ( tmp_assign_source_49 == NULL )
      {
          assert( ERROR_OCCURRED() );
  
          FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
  
  
          exception_lineno = 425;
  
          goto frame_exception_exit_1;
      }
      UPDATE_STRING_DICT1( moduledict_django$apps$registry, (Nuitka_StringObject *)const_str_plain_apps, tmp_assign_source_49 );
  
      // Restore frame exception if necessary.
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_5562be08f98dc9e1d735bac6e5f4999b );
  #endif
      popFrameStack();
  
      assertFrameObject( frame_5562be08f98dc9e1d735bac6e5f4999b );
  
      goto frame_no_exception_2;
      frame_exception_exit_1:;
  #if 0
      RESTORE_FRAME_EXCEPTION( frame_5562be08f98dc9e1d735bac6e5f4999b );
  #endif
  
      if ( exception_tb == NULL )
      {
          exception_tb = MAKE_TRACEBACK( frame_5562be08f98dc9e1d735bac6e5f4999b, exception_lineno );
      }
      else if ( exception_tb->tb_frame != &frame_5562be08f98dc9e1d735bac6e5f4999b->m_frame )
      {
          exception_tb = ADD_TRACEBACK( exception_tb, frame_5562be08f98dc9e1d735bac6e5f4999b, exception_lineno );
      }
  
      // Put the previous frame back on top.
      popFrameStack();
  
      // Return the error.
      goto module_exception_exit;
      frame_no_exception_2:;
  
      return MOD_RETURN_VALUE( module_django$apps$registry );
      module_exception_exit:
      RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
      return MOD_RETURN_VALUE( NULL );
  }
  