; LLVM IR from Optiroc/SuperFamiconv :: src/Map.ll (ZNK3sfc3Map7to_jsonB5cxx11Ebjj)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.46 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.46 = type { i64, [8 x i8] }
%"class.nlohmann::json_abi_v3_11_3::basic_json" = type { %"struct.nlohmann::json_abi_v3_11_3::basic_json<>::data" }
%"struct.nlohmann::json_abi_v3_11_3::basic_json<>::data" = type { i8, %"union.nlohmann::json_abi_v3_11_3::basic_json<>::json_value" }
%"union.nlohmann::json_abi_v3_11_3::basic_json<>::json_value" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.40" = type { ptr }
%"class.nlohmann::json_abi_v3_11_3::detail::json_ref" = type { %"class.nlohmann::json_abi_v3_11_3::basic_json", ptr }
%"struct.sfc::Map" = type { i32, i32, i32, i32, i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sfc::Mapentry, std::allocator<sfc::Mapentry>>::_Vector_impl" }
%"struct.std::_Vector_base<sfc::Mapentry, std::allocator<sfc::Mapentry>>::_Vector_impl" = type { %"struct.std::_Vector_base<sfc::Mapentry, std::allocator<sfc::Mapentry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sfc::Mapentry, std::allocator<sfc::Mapentry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.sfc::Mapentry" = type <{ i32, i32, i8, i8, [2 x i8] }>

@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3sfc3Map15collect_entriesEbjj(ptr dead_on_unwind noalias writable sret(%"class.std::vector.34") align 8, ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3sfc3Map7to_jsonB5cxx11Ebjj(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i32 noundef %3, i32 noundef %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.nlohmann::json_abi_v3_11_3::basic_json", align 8
  %12 = alloca %"class.std::vector.34", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.nlohmann::json_abi_v3_11_3::basic_json", align 8
  %21 = alloca %"class.std::initializer_list", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::initializer_list", align 8
  %27 = alloca [4 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::initializer_list", align 8
  %33 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"class.std::initializer_list", align 8
  %36 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca i1, align 1
  %40 = alloca %"class.std::initializer_list", align 8
  %41 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  %44 = alloca i1, align 1
  %45 = alloca i1, align 1
  %46 = alloca ptr, align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %49 = alloca ptr, align 8
  %50 = alloca %"class.std::initializer_list", align 8
  %51 = alloca [3 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %52 = alloca ptr, align 8
  %53 = alloca %"class.std::initializer_list", align 8
  %54 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %55 = alloca ptr, align 8
  %56 = alloca %"class.std::initializer_list", align 8
  %57 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %58 = alloca ptr, align 8
  %59 = alloca i32, align 4
  %60 = alloca i1, align 1
  %61 = alloca %"class.std::initializer_list", align 8
  %62 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %63 = alloca ptr, align 8
  %64 = alloca i32, align 4
  %65 = alloca i1, align 1
  %66 = alloca i1, align 1
  %67 = alloca ptr, align 8
  %68 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %69 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %70 = alloca ptr, align 8
  %71 = alloca %"class.std::initializer_list", align 8
  %72 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %73 = alloca ptr, align 8
  %74 = alloca %"class.std::initializer_list", align 8
  %75 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %76 = alloca ptr, align 8
  %77 = alloca %"class.std::initializer_list", align 8
  %78 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %79 = alloca ptr, align 8
  %80 = alloca i1, align 1
  %81 = alloca ptr, align 8
  %82 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %83 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %84 = alloca ptr, align 8
  %85 = alloca %"class.std::initializer_list", align 8
  %86 = alloca [1 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %87 = alloca ptr, align 8
  %88 = alloca %"class.std::initializer_list", align 8
  %89 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %90 = alloca ptr, align 8
  %91 = alloca i1, align 1
  %92 = alloca %"class.nlohmann::json_abi_v3_11_3::basic_json", align 8
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  %93 = zext i1 %2 to i8
  store i8 %93, ptr %8, align 1, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !11
  store i32 %4, ptr %10, align 4, !tbaa !11
  %94 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr null) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  %95 = load i8, ptr %8, align 1, !tbaa !9, !range !13, !noundef !14
  %96 = trunc i8 %95 to i1
  %97 = load i32, ptr %9, align 4, !tbaa !11
  %98 = load i32, ptr %10, align 4, !tbaa !11
  invoke void @_ZNK3sfc3Map15collect_entriesEbjj(ptr dead_on_unwind writable sret(%"class.std::vector.34") align 8 %12, ptr noundef nonnull align 8 dereferenceable(48) %94, i1 noundef zeroext %96, i32 noundef %97, i32 noundef %98)
          to label %99 unwind label %109

99:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store ptr %12, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = call ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #4
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %16, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %103 = load ptr, ptr %15, align 8, !tbaa !5
  %104 = call ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #4
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %17, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  br label %106

106:                                              ; preds = %853, %99
  %107 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  br i1 %107, label %113, label %108

108:                                              ; preds = %106
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %857

109:                                              ; preds = %5
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %13, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %14, align 4
  br label %864

113:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #4
  store ptr %114, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @_ZNSt16initializer_listIN8nlohmann16json_abi_v3_11_36detail8json_refINS1_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS1_14adl_serializerES6_IhSaIhEEvEEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  %115 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8
  %117 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %118 = load i64, ptr %117, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5arrayESt16initializer_listINS0_6detail8json_refISD_EEE(ptr dead_on_unwind writable sret(%"class.nlohmann::json_abi_v3_11_3::basic_json") align 8 %20, ptr %116, i64 %118)
          to label %119 unwind label %141

119:                                              ; preds = %113
  %120 = getelementptr inbounds %"struct.sfc::Map", ptr %94, i32 0, i32 0
  %121 = load i32, ptr %120, align 8, !tbaa !15
  %122 = invoke noundef zeroext i1 @_ZN3sfc30tile_flipping_allowed_for_modeENS_4ModeE(i32 noundef %121)
          to label %123 unwind label %145

123:                                              ; preds = %119
  br i1 %122, label %124, label %386

124:                                              ; preds = %123
  %125 = getelementptr inbounds %"struct.sfc::Map", ptr %94, i32 0, i32 0
  %126 = load i32, ptr %125, align 8, !tbaa !15
  %127 = invoke noundef i32 @_ZN3sfc30default_palette_count_for_modeENS_4ModeE(i32 noundef %126)
          to label %128 unwind label %145

128:                                              ; preds = %124
  %129 = icmp ugt i32 %127, 1
  br i1 %129, label %130, label %386

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %131 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %131, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #4
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %23, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %135 = load ptr, ptr %22, align 8, !tbaa !5
  %136 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #4
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %24, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  br label %138

138:                                              ; preds = %250, %130
  %139 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #4
  br i1 %139, label %149, label %140

140:                                              ; preds = %138
  store i32 4, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %385

141:                                              ; preds = %113
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %13, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %14, align 4
  br label %856

145:                                              ; preds = %843, %840, %838, %595, %386, %124, %119
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %13, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %14, align 4
  br label %855

149:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %150 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #4
  store ptr %150, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %27) #4
  store i1 true, ptr %45, align 1
  store ptr %27, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #4
  store ptr %30, ptr %31, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %151 unwind label %252

151:                                              ; preds = %149
  %152 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %30, i64 1
  store ptr %152, ptr %31, align 8
  %153 = load ptr, ptr %25, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %153, i32 0, i32 0
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull align 4 dereferenceable(4) %154)
          to label %155 unwind label %252

155:                                              ; preds = %151
  %156 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %156, align 8, !tbaa !22
  %157 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 2, ptr %157, align 8, !tbaa !25
  %158 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8
  %160 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %161 = load i64, ptr %160, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr %159, i64 %161)
          to label %162 unwind label %263

162:                                              ; preds = %155
  %163 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %27, i64 1
  store ptr %163, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #4
  store ptr %33, ptr %34, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA8_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 1 dereferenceable(8) @.str.5)
          to label %164 unwind label %267

164:                                              ; preds = %162
  %165 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %33, i64 1
  store ptr %165, ptr %34, align 8
  %166 = load ptr, ptr %25, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %166, i32 0, i32 1
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %165, ptr noundef nonnull align 4 dereferenceable(4) %167)
          to label %168 unwind label %267

168:                                              ; preds = %164
  %169 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 0
  store ptr %33, ptr %169, align 8, !tbaa !22
  %170 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 1
  store i64 2, ptr %170, align 8, !tbaa !25
  %171 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8
  %173 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %174 = load i64, ptr %173, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %163, ptr %172, i64 %174)
          to label %175 unwind label %278

175:                                              ; preds = %168
  %176 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %27, i64 2
  store ptr %176, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %36) #4
  store i1 true, ptr %39, align 1
  store ptr %36, ptr %37, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 1 dereferenceable(7) @.str.6)
          to label %177 unwind label %282

177:                                              ; preds = %175
  %178 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %36, i64 1
  store ptr %178, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #4
  %179 = load ptr, ptr %25, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %179, i32 0, i32 2
  %181 = load i8, ptr %180, align 4, !tbaa !26, !range !13, !noundef !14
  %182 = trunc i8 %181 to i1
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %38, align 4, !tbaa !11
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %178, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %184 unwind label %286

184:                                              ; preds = %177
  store i1 false, ptr %39, align 1
  %185 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 0
  store ptr %36, ptr %185, align 8, !tbaa !22
  %186 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 1
  store i64 2, ptr %186, align 8, !tbaa !25
  %187 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8
  %189 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %190 = load i64, ptr %189, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %176, ptr %188, i64 %190)
          to label %191 unwind label %290

191:                                              ; preds = %184
  %192 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %27, i64 3
  store ptr %192, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %41) #4
  store i1 true, ptr %44, align 1
  store ptr %41, ptr %42, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
          to label %193 unwind label %294

193:                                              ; preds = %191
  %194 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %41, i64 1
  store ptr %194, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #4
  %195 = load ptr, ptr %25, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %195, i32 0, i32 3
  %197 = load i8, ptr %196, align 1, !tbaa !28, !range !13, !noundef !14
  %198 = trunc i8 %197 to i1
  %199 = zext i1 %198 to i32
  store i32 %199, ptr %43, align 4, !tbaa !11
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %194, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %200 unwind label %298

200:                                              ; preds = %193
  store i1 false, ptr %44, align 1
  %201 = getelementptr inbounds %"class.std::initializer_list", ptr %40, i32 0, i32 0
  store ptr %41, ptr %201, align 8, !tbaa !22
  %202 = getelementptr inbounds %"class.std::initializer_list", ptr %40, i32 0, i32 1
  store i64 2, ptr %202, align 8, !tbaa !25
  %203 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %204 = load ptr, ptr %203, align 8
  %205 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %206 = load i64, ptr %205, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %192, ptr %204, i64 %206)
          to label %207 unwind label %302

207:                                              ; preds = %200
  store i1 false, ptr %45, align 1
  %208 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 0
  store ptr %27, ptr %208, align 8, !tbaa !22
  %209 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 1
  store i64 4, ptr %209, align 8, !tbaa !25
  %210 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %211 = load ptr, ptr %210, align 8
  %212 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %213 = load i64, ptr %212, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr %211, i64 %213)
          to label %214 unwind label %306

214:                                              ; preds = %207
  %215 = getelementptr inbounds [4 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %27, i32 0, i32 0
  %216 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %215, i64 4
  br label %217

217:                                              ; preds = %217, %214
  %218 = phi ptr [ %216, %214 ], [ %219, %217 ]
  %219 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %218, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %219) #4
  %220 = icmp eq ptr %219, %215
  br i1 %220, label %221, label %217

221:                                              ; preds = %217
  %222 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %41, i32 0, i32 0
  %223 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %222, i64 2
  br label %224

224:                                              ; preds = %224, %221
  %225 = phi ptr [ %223, %221 ], [ %226, %224 ]
  %226 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %225, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %226) #4
  %227 = icmp eq ptr %226, %222
  br i1 %227, label %228, label %224

228:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #4
  %229 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %36, i32 0, i32 0
  %230 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %229, i64 2
  br label %231

231:                                              ; preds = %231, %228
  %232 = phi ptr [ %230, %228 ], [ %233, %231 ]
  %233 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %232, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %233) #4
  %234 = icmp eq ptr %233, %229
  br i1 %234, label %235, label %231

235:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #4
  %236 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %33, i32 0, i32 0
  %237 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %236, i64 2
  br label %238

238:                                              ; preds = %238, %235
  %239 = phi ptr [ %237, %235 ], [ %240, %238 ]
  %240 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %239, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %240) #4
  %241 = icmp eq ptr %240, %236
  br i1 %241, label %242, label %238

242:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #4
  %243 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %30, i32 0, i32 0
  %244 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %243, i64 2
  br label %245

245:                                              ; preds = %245, %242
  %246 = phi ptr [ %244, %242 ], [ %247, %245 ]
  %247 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %246, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %247) #4
  %248 = icmp eq ptr %247, %243
  br i1 %248, label %249, label %245

249:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %250

250:                                              ; preds = %249
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #4
  br label %138

252:                                              ; preds = %151, %149
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %13, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %14, align 4
  %256 = load ptr, ptr %31, align 8
  %257 = icmp eq ptr %30, %256
  br i1 %257, label %262, label %258

258:                                              ; preds = %258, %252
  %259 = phi ptr [ %256, %252 ], [ %260, %258 ]
  %260 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %259, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %260) #4
  %261 = icmp eq ptr %260, %30
  br i1 %261, label %262, label %258

262:                                              ; preds = %258, %252
  br label %374

263:                                              ; preds = %155
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %13, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %14, align 4
  br label %366

267:                                              ; preds = %164, %162
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %13, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %14, align 4
  %271 = load ptr, ptr %34, align 8
  %272 = icmp eq ptr %33, %271
  br i1 %272, label %277, label %273

273:                                              ; preds = %273, %267
  %274 = phi ptr [ %271, %267 ], [ %275, %273 ]
  %275 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %274, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %275) #4
  %276 = icmp eq ptr %275, %33
  br i1 %276, label %277, label %273

277:                                              ; preds = %273, %267
  br label %365

278:                                              ; preds = %168
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %13, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %14, align 4
  br label %357

282:                                              ; preds = %175
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %13, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %14, align 4
  br label %346

286:                                              ; preds = %177
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %13, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %14, align 4
  br label %345

290:                                              ; preds = %184
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %13, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %14, align 4
  br label %337

294:                                              ; preds = %191
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %13, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %14, align 4
  br label %326

298:                                              ; preds = %193
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %13, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %14, align 4
  br label %325

302:                                              ; preds = %200
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %13, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %14, align 4
  br label %317

306:                                              ; preds = %207
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %13, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %14, align 4
  %310 = getelementptr inbounds [4 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %27, i32 0, i32 0
  %311 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %310, i64 4
  br label %312

312:                                              ; preds = %312, %306
  %313 = phi ptr [ %311, %306 ], [ %314, %312 ]
  %314 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %313, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %314) #4
  %315 = icmp eq ptr %314, %310
  br i1 %315, label %316, label %312

316:                                              ; preds = %312
  br label %317

317:                                              ; preds = %316, %302
  %318 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %41, i32 0, i32 0
  %319 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %318, i64 2
  br label %320

320:                                              ; preds = %320, %317
  %321 = phi ptr [ %319, %317 ], [ %322, %320 ]
  %322 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %321, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %322) #4
  %323 = icmp eq ptr %322, %318
  br i1 %323, label %324, label %320

324:                                              ; preds = %320
  br label %325

325:                                              ; preds = %324, %298
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  br label %326

326:                                              ; preds = %325, %294
  %327 = load i1, ptr %44, align 1
  br i1 %327, label %328, label %336

328:                                              ; preds = %326
  %329 = load ptr, ptr %42, align 8
  %330 = icmp eq ptr %41, %329
  br i1 %330, label %335, label %331

331:                                              ; preds = %331, %328
  %332 = phi ptr [ %329, %328 ], [ %333, %331 ]
  %333 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %332, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %333) #4
  %334 = icmp eq ptr %333, %41
  br i1 %334, label %335, label %331

335:                                              ; preds = %331, %328
  br label %336

336:                                              ; preds = %335, %326
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #4
  br label %337

337:                                              ; preds = %336, %290
  %338 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %36, i32 0, i32 0
  %339 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %338, i64 2
  br label %340

340:                                              ; preds = %340, %337
  %341 = phi ptr [ %339, %337 ], [ %342, %340 ]
  %342 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %341, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %342) #4
  %343 = icmp eq ptr %342, %338
  br i1 %343, label %344, label %340

344:                                              ; preds = %340
  br label %345

345:                                              ; preds = %344, %286
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  br label %346

346:                                              ; preds = %345, %282
  %347 = load i1, ptr %39, align 1
  br i1 %347, label %348, label %356

348:                                              ; preds = %346
  %349 = load ptr, ptr %37, align 8
  %350 = icmp eq ptr %36, %349
  br i1 %350, label %355, label %351

351:                                              ; preds = %351, %348
  %352 = phi ptr [ %349, %348 ], [ %353, %351 ]
  %353 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %352, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %353) #4
  %354 = icmp eq ptr %353, %36
  br i1 %354, label %355, label %351

355:                                              ; preds = %351, %348
  br label %356

356:                                              ; preds = %355, %346
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #4
  br label %357

357:                                              ; preds = %356, %278
  %358 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %33, i32 0, i32 0
  %359 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %358, i64 2
  br label %360

360:                                              ; preds = %360, %357
  %361 = phi ptr [ %359, %357 ], [ %362, %360 ]
  %362 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %361, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %362) #4
  %363 = icmp eq ptr %362, %358
  br i1 %363, label %364, label %360

364:                                              ; preds = %360
  br label %365

365:                                              ; preds = %364, %277
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #4
  br label %366

366:                                              ; preds = %365, %263
  %367 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %30, i32 0, i32 0
  %368 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %367, i64 2
  br label %369

369:                                              ; preds = %369, %366
  %370 = phi ptr [ %368, %366 ], [ %371, %369 ]
  %371 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %370, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %371) #4
  %372 = icmp eq ptr %371, %367
  br i1 %372, label %373, label %369

373:                                              ; preds = %369
  br label %374

374:                                              ; preds = %373, %262
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #4
  %375 = load i1, ptr %45, align 1
  br i1 %375, label %376, label %384

376:                                              ; preds = %374
  %377 = load ptr, ptr %28, align 8
  %378 = icmp eq ptr %27, %377
  br i1 %378, label %383, label %379

379:                                              ; preds = %379, %376
  %380 = phi ptr [ %377, %376 ], [ %381, %379 ]
  %381 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %380, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %381) #4
  %382 = icmp eq ptr %381, %27
  br i1 %382, label %383, label %379

383:                                              ; preds = %379, %376
  br label %384

384:                                              ; preds = %383, %374
  call void @llvm.lifetime.end.p0(i64 96, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %855

385:                                              ; preds = %140
  br label %835

386:                                              ; preds = %128, %123
  %387 = getelementptr inbounds %"struct.sfc::Map", ptr %94, i32 0, i32 0
  %388 = load i32, ptr %387, align 8, !tbaa !15
  %389 = invoke noundef zeroext i1 @_ZN3sfc30tile_flipping_allowed_for_modeENS_4ModeE(i32 noundef %388)
          to label %390 unwind label %145

390:                                              ; preds = %386
  br i1 %389, label %391, label %595

391:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #4
  %392 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %392, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #4
  %393 = load ptr, ptr %46, align 8, !tbaa !5
  %394 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %393) #4
  %395 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %47, i32 0, i32 0
  store ptr %394, ptr %395, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #4
  %396 = load ptr, ptr %46, align 8, !tbaa !5
  %397 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %396) #4
  %398 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %48, i32 0, i32 0
  store ptr %397, ptr %398, align 8
  br label %399

399:                                              ; preds = %483, %391
  %400 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #4
  br i1 %400, label %402, label %401

401:                                              ; preds = %399
  store i32 6, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #4
  br label %594

402:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #4
  %403 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #4
  store ptr %403, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %51) #4
  store i1 true, ptr %66, align 1
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %54) #4
  store ptr %54, ptr %55, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %404 unwind label %485

404:                                              ; preds = %402
  %405 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %54, i64 1
  store ptr %405, ptr %55, align 8
  %406 = load ptr, ptr %49, align 8, !tbaa !5
  %407 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %406, i32 0, i32 0
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %405, ptr noundef nonnull align 4 dereferenceable(4) %407)
          to label %408 unwind label %485

408:                                              ; preds = %404
  %409 = getelementptr inbounds %"class.std::initializer_list", ptr %53, i32 0, i32 0
  store ptr %54, ptr %409, align 8, !tbaa !22
  %410 = getelementptr inbounds %"class.std::initializer_list", ptr %53, i32 0, i32 1
  store i64 2, ptr %410, align 8, !tbaa !25
  %411 = getelementptr inbounds { ptr, i64 }, ptr %53, i32 0, i32 0
  %412 = load ptr, ptr %411, align 8
  %413 = getelementptr inbounds { ptr, i64 }, ptr %53, i32 0, i32 1
  %414 = load i64, ptr %413, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr %412, i64 %414)
          to label %415 unwind label %496

415:                                              ; preds = %408
  %416 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %51, i64 1
  store ptr %416, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %57) #4
  store i1 true, ptr %60, align 1
  store ptr %57, ptr %58, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 1 dereferenceable(7) @.str.6)
          to label %417 unwind label %500

417:                                              ; preds = %415
  %418 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %57, i64 1
  store ptr %418, ptr %58, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #4
  %419 = load ptr, ptr %49, align 8, !tbaa !5
  %420 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %419, i32 0, i32 2
  %421 = load i8, ptr %420, align 4, !tbaa !26, !range !13, !noundef !14
  %422 = trunc i8 %421 to i1
  %423 = zext i1 %422 to i32
  store i32 %423, ptr %59, align 4, !tbaa !11
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %418, ptr noundef nonnull align 4 dereferenceable(4) %59)
          to label %424 unwind label %504

424:                                              ; preds = %417
  store i1 false, ptr %60, align 1
  %425 = getelementptr inbounds %"class.std::initializer_list", ptr %56, i32 0, i32 0
  store ptr %57, ptr %425, align 8, !tbaa !22
  %426 = getelementptr inbounds %"class.std::initializer_list", ptr %56, i32 0, i32 1
  store i64 2, ptr %426, align 8, !tbaa !25
  %427 = getelementptr inbounds { ptr, i64 }, ptr %56, i32 0, i32 0
  %428 = load ptr, ptr %427, align 8
  %429 = getelementptr inbounds { ptr, i64 }, ptr %56, i32 0, i32 1
  %430 = load i64, ptr %429, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %416, ptr %428, i64 %430)
          to label %431 unwind label %508

431:                                              ; preds = %424
  %432 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %51, i64 2
  store ptr %432, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %62) #4
  store i1 true, ptr %65, align 1
  store ptr %62, ptr %63, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
          to label %433 unwind label %512

433:                                              ; preds = %431
  %434 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %62, i64 1
  store ptr %434, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #4
  %435 = load ptr, ptr %49, align 8, !tbaa !5
  %436 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %435, i32 0, i32 3
  %437 = load i8, ptr %436, align 1, !tbaa !28, !range !13, !noundef !14
  %438 = trunc i8 %437 to i1
  %439 = zext i1 %438 to i32
  store i32 %439, ptr %64, align 4, !tbaa !11
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %434, ptr noundef nonnull align 4 dereferenceable(4) %64)
          to label %440 unwind label %516

440:                                              ; preds = %433
  store i1 false, ptr %65, align 1
  %441 = getelementptr inbounds %"class.std::initializer_list", ptr %61, i32 0, i32 0
  store ptr %62, ptr %441, align 8, !tbaa !22
  %442 = getelementptr inbounds %"class.std::initializer_list", ptr %61, i32 0, i32 1
  store i64 2, ptr %442, align 8, !tbaa !25
  %443 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 0
  %444 = load ptr, ptr %443, align 8
  %445 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 1
  %446 = load i64, ptr %445, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %432, ptr %444, i64 %446)
          to label %447 unwind label %520

447:                                              ; preds = %440
  store i1 false, ptr %66, align 1
  %448 = getelementptr inbounds %"class.std::initializer_list", ptr %50, i32 0, i32 0
  store ptr %51, ptr %448, align 8, !tbaa !22
  %449 = getelementptr inbounds %"class.std::initializer_list", ptr %50, i32 0, i32 1
  store i64 3, ptr %449, align 8, !tbaa !25
  %450 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 0
  %451 = load ptr, ptr %450, align 8
  %452 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 1
  %453 = load i64, ptr %452, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr %451, i64 %453)
          to label %454 unwind label %524

454:                                              ; preds = %447
  %455 = getelementptr inbounds [3 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %51, i32 0, i32 0
  %456 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %455, i64 3
  br label %457

457:                                              ; preds = %457, %454
  %458 = phi ptr [ %456, %454 ], [ %459, %457 ]
  %459 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %458, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %459) #4
  %460 = icmp eq ptr %459, %455
  br i1 %460, label %461, label %457

461:                                              ; preds = %457
  %462 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %62, i32 0, i32 0
  %463 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %462, i64 2
  br label %464

464:                                              ; preds = %464, %461
  %465 = phi ptr [ %463, %461 ], [ %466, %464 ]
  %466 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %465, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %466) #4
  %467 = icmp eq ptr %466, %462
  br i1 %467, label %468, label %464

468:                                              ; preds = %464
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %62) #4
  %469 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %57, i32 0, i32 0
  %470 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %469, i64 2
  br label %471

471:                                              ; preds = %471, %468
  %472 = phi ptr [ %470, %468 ], [ %473, %471 ]
  %473 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %472, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %473) #4
  %474 = icmp eq ptr %473, %469
  br i1 %474, label %475, label %471

475:                                              ; preds = %471
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #4
  %476 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %54, i32 0, i32 0
  %477 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %476, i64 2
  br label %478

478:                                              ; preds = %478, %475
  %479 = phi ptr [ %477, %475 ], [ %480, %478 ]
  %480 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %479, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %480) #4
  %481 = icmp eq ptr %480, %476
  br i1 %481, label %482, label %478

482:                                              ; preds = %478
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #4
  br label %483

483:                                              ; preds = %482
  %484 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #4
  br label %399

485:                                              ; preds = %404, %402
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %13, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %14, align 4
  %489 = load ptr, ptr %55, align 8
  %490 = icmp eq ptr %54, %489
  br i1 %490, label %495, label %491

491:                                              ; preds = %491, %485
  %492 = phi ptr [ %489, %485 ], [ %493, %491 ]
  %493 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %492, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %493) #4
  %494 = icmp eq ptr %493, %54
  br i1 %494, label %495, label %491

495:                                              ; preds = %491, %485
  br label %583

496:                                              ; preds = %408
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %13, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %14, align 4
  br label %575

500:                                              ; preds = %415
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %13, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %14, align 4
  br label %564

504:                                              ; preds = %417
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %13, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %14, align 4
  br label %563

508:                                              ; preds = %424
  %509 = landingpad { ptr, i32 }
          cleanup
  %510 = extractvalue { ptr, i32 } %509, 0
  store ptr %510, ptr %13, align 8
  %511 = extractvalue { ptr, i32 } %509, 1
  store i32 %511, ptr %14, align 4
  br label %555

512:                                              ; preds = %431
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %13, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %14, align 4
  br label %544

516:                                              ; preds = %433
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %13, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %14, align 4
  br label %543

520:                                              ; preds = %440
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %13, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %14, align 4
  br label %535

524:                                              ; preds = %447
  %525 = landingpad { ptr, i32 }
          cleanup
  %526 = extractvalue { ptr, i32 } %525, 0
  store ptr %526, ptr %13, align 8
  %527 = extractvalue { ptr, i32 } %525, 1
  store i32 %527, ptr %14, align 4
  %528 = getelementptr inbounds [3 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %51, i32 0, i32 0
  %529 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %528, i64 3
  br label %530

530:                                              ; preds = %530, %524
  %531 = phi ptr [ %529, %524 ], [ %532, %530 ]
  %532 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %531, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %532) #4
  %533 = icmp eq ptr %532, %528
  br i1 %533, label %534, label %530

534:                                              ; preds = %530
  br label %535

535:                                              ; preds = %534, %520
  %536 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %62, i32 0, i32 0
  %537 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %536, i64 2
  br label %538

538:                                              ; preds = %538, %535
  %539 = phi ptr [ %537, %535 ], [ %540, %538 ]
  %540 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %539, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %540) #4
  %541 = icmp eq ptr %540, %536
  br i1 %541, label %542, label %538

542:                                              ; preds = %538
  br label %543

543:                                              ; preds = %542, %516
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #4
  br label %544

544:                                              ; preds = %543, %512
  %545 = load i1, ptr %65, align 1
  br i1 %545, label %546, label %554

546:                                              ; preds = %544
  %547 = load ptr, ptr %63, align 8
  %548 = icmp eq ptr %62, %547
  br i1 %548, label %553, label %549

549:                                              ; preds = %549, %546
  %550 = phi ptr [ %547, %546 ], [ %551, %549 ]
  %551 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %550, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %551) #4
  %552 = icmp eq ptr %551, %62
  br i1 %552, label %553, label %549

553:                                              ; preds = %549, %546
  br label %554

554:                                              ; preds = %553, %544
  call void @llvm.lifetime.end.p0(i64 48, ptr %62) #4
  br label %555

555:                                              ; preds = %554, %508
  %556 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %57, i32 0, i32 0
  %557 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %556, i64 2
  br label %558

558:                                              ; preds = %558, %555
  %559 = phi ptr [ %557, %555 ], [ %560, %558 ]
  %560 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %559, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %560) #4
  %561 = icmp eq ptr %560, %556
  br i1 %561, label %562, label %558

562:                                              ; preds = %558
  br label %563

563:                                              ; preds = %562, %504
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #4
  br label %564

564:                                              ; preds = %563, %500
  %565 = load i1, ptr %60, align 1
  br i1 %565, label %566, label %574

566:                                              ; preds = %564
  %567 = load ptr, ptr %58, align 8
  %568 = icmp eq ptr %57, %567
  br i1 %568, label %573, label %569

569:                                              ; preds = %569, %566
  %570 = phi ptr [ %567, %566 ], [ %571, %569 ]
  %571 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %570, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %571) #4
  %572 = icmp eq ptr %571, %57
  br i1 %572, label %573, label %569

573:                                              ; preds = %569, %566
  br label %574

574:                                              ; preds = %573, %564
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #4
  br label %575

575:                                              ; preds = %574, %496
  %576 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %54, i32 0, i32 0
  %577 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %576, i64 2
  br label %578

578:                                              ; preds = %578, %575
  %579 = phi ptr [ %577, %575 ], [ %580, %578 ]
  %580 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %579, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %580) #4
  %581 = icmp eq ptr %580, %576
  br i1 %581, label %582, label %578

582:                                              ; preds = %578
  br label %583

583:                                              ; preds = %582, %495
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #4
  %584 = load i1, ptr %66, align 1
  br i1 %584, label %585, label %593

585:                                              ; preds = %583
  %586 = load ptr, ptr %52, align 8
  %587 = icmp eq ptr %51, %586
  br i1 %587, label %592, label %588

588:                                              ; preds = %588, %585
  %589 = phi ptr [ %586, %585 ], [ %590, %588 ]
  %590 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %589, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %590) #4
  %591 = icmp eq ptr %590, %51
  br i1 %591, label %592, label %588

592:                                              ; preds = %588, %585
  br label %593

593:                                              ; preds = %592, %583
  call void @llvm.lifetime.end.p0(i64 72, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #4
  br label %855

594:                                              ; preds = %401
  br label %834

595:                                              ; preds = %390
  %596 = getelementptr inbounds %"struct.sfc::Map", ptr %94, i32 0, i32 0
  %597 = load i32, ptr %596, align 8, !tbaa !15
  %598 = invoke noundef i32 @_ZN3sfc30default_palette_count_for_modeENS_4ModeE(i32 noundef %597)
          to label %599 unwind label %145

599:                                              ; preds = %595
  %600 = icmp ugt i32 %598, 1
  br i1 %600, label %601, label %739

601:                                              ; preds = %599
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #4
  %602 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %602, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #4
  %603 = load ptr, ptr %67, align 8, !tbaa !5
  %604 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %603) #4
  %605 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %68, i32 0, i32 0
  store ptr %604, ptr %605, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #4
  %606 = load ptr, ptr %67, align 8, !tbaa !5
  %607 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %606) #4
  %608 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %69, i32 0, i32 0
  store ptr %607, ptr %608, align 8
  br label %609

609:                                              ; preds = %667, %601
  %610 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %69) #4
  br i1 %610, label %612, label %611

611:                                              ; preds = %609
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #4
  br label %738

612:                                              ; preds = %609
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #4
  %613 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %68) #4
  store ptr %613, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %72) #4
  store i1 true, ptr %80, align 1
  store ptr %72, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %75) #4
  store ptr %75, ptr %76, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %614 unwind label %669

614:                                              ; preds = %612
  %615 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %75, i64 1
  store ptr %615, ptr %76, align 8
  %616 = load ptr, ptr %70, align 8, !tbaa !5
  %617 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %616, i32 0, i32 0
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %615, ptr noundef nonnull align 4 dereferenceable(4) %617)
          to label %618 unwind label %669

618:                                              ; preds = %614
  %619 = getelementptr inbounds %"class.std::initializer_list", ptr %74, i32 0, i32 0
  store ptr %75, ptr %619, align 8, !tbaa !22
  %620 = getelementptr inbounds %"class.std::initializer_list", ptr %74, i32 0, i32 1
  store i64 2, ptr %620, align 8, !tbaa !25
  %621 = getelementptr inbounds { ptr, i64 }, ptr %74, i32 0, i32 0
  %622 = load ptr, ptr %621, align 8
  %623 = getelementptr inbounds { ptr, i64 }, ptr %74, i32 0, i32 1
  %624 = load i64, ptr %623, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr %622, i64 %624)
          to label %625 unwind label %680

625:                                              ; preds = %618
  %626 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %72, i64 1
  store ptr %626, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %78) #4
  store ptr %78, ptr %79, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA8_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 1 dereferenceable(8) @.str.5)
          to label %627 unwind label %684

627:                                              ; preds = %625
  %628 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %78, i64 1
  store ptr %628, ptr %79, align 8
  %629 = load ptr, ptr %70, align 8, !tbaa !5
  %630 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %629, i32 0, i32 1
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %628, ptr noundef nonnull align 4 dereferenceable(4) %630)
          to label %631 unwind label %684

631:                                              ; preds = %627
  %632 = getelementptr inbounds %"class.std::initializer_list", ptr %77, i32 0, i32 0
  store ptr %78, ptr %632, align 8, !tbaa !22
  %633 = getelementptr inbounds %"class.std::initializer_list", ptr %77, i32 0, i32 1
  store i64 2, ptr %633, align 8, !tbaa !25
  %634 = getelementptr inbounds { ptr, i64 }, ptr %77, i32 0, i32 0
  %635 = load ptr, ptr %634, align 8
  %636 = getelementptr inbounds { ptr, i64 }, ptr %77, i32 0, i32 1
  %637 = load i64, ptr %636, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %626, ptr %635, i64 %637)
          to label %638 unwind label %695

638:                                              ; preds = %631
  store i1 false, ptr %80, align 1
  %639 = getelementptr inbounds %"class.std::initializer_list", ptr %71, i32 0, i32 0
  store ptr %72, ptr %639, align 8, !tbaa !22
  %640 = getelementptr inbounds %"class.std::initializer_list", ptr %71, i32 0, i32 1
  store i64 2, ptr %640, align 8, !tbaa !25
  %641 = getelementptr inbounds { ptr, i64 }, ptr %71, i32 0, i32 0
  %642 = load ptr, ptr %641, align 8
  %643 = getelementptr inbounds { ptr, i64 }, ptr %71, i32 0, i32 1
  %644 = load i64, ptr %643, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr %642, i64 %644)
          to label %645 unwind label %699

645:                                              ; preds = %638
  %646 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %72, i32 0, i32 0
  %647 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %646, i64 2
  br label %648

648:                                              ; preds = %648, %645
  %649 = phi ptr [ %647, %645 ], [ %650, %648 ]
  %650 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %649, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %650) #4
  %651 = icmp eq ptr %650, %646
  br i1 %651, label %652, label %648

652:                                              ; preds = %648
  %653 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %78, i32 0, i32 0
  %654 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %653, i64 2
  br label %655

655:                                              ; preds = %655, %652
  %656 = phi ptr [ %654, %652 ], [ %657, %655 ]
  %657 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %656, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %657) #4
  %658 = icmp eq ptr %657, %653
  br i1 %658, label %659, label %655

659:                                              ; preds = %655
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #4
  %660 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %75, i32 0, i32 0
  %661 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %660, i64 2
  br label %662

662:                                              ; preds = %662, %659
  %663 = phi ptr [ %661, %659 ], [ %664, %662 ]
  %664 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %663, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %664) #4
  %665 = icmp eq ptr %664, %660
  br i1 %665, label %666, label %662

666:                                              ; preds = %662
  call void @llvm.lifetime.end.p0(i64 48, ptr %75) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %72) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #4
  br label %667

667:                                              ; preds = %666
  %668 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %68) #4
  br label %609

669:                                              ; preds = %614, %612
  %670 = landingpad { ptr, i32 }
          cleanup
  %671 = extractvalue { ptr, i32 } %670, 0
  store ptr %671, ptr %13, align 8
  %672 = extractvalue { ptr, i32 } %670, 1
  store i32 %672, ptr %14, align 4
  %673 = load ptr, ptr %76, align 8
  %674 = icmp eq ptr %75, %673
  br i1 %674, label %679, label %675

675:                                              ; preds = %675, %669
  %676 = phi ptr [ %673, %669 ], [ %677, %675 ]
  %677 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %676, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %677) #4
  %678 = icmp eq ptr %677, %75
  br i1 %678, label %679, label %675

679:                                              ; preds = %675, %669
  br label %727

680:                                              ; preds = %618
  %681 = landingpad { ptr, i32 }
          cleanup
  %682 = extractvalue { ptr, i32 } %681, 0
  store ptr %682, ptr %13, align 8
  %683 = extractvalue { ptr, i32 } %681, 1
  store i32 %683, ptr %14, align 4
  br label %719

684:                                              ; preds = %627, %625
  %685 = landingpad { ptr, i32 }
          cleanup
  %686 = extractvalue { ptr, i32 } %685, 0
  store ptr %686, ptr %13, align 8
  %687 = extractvalue { ptr, i32 } %685, 1
  store i32 %687, ptr %14, align 4
  %688 = load ptr, ptr %79, align 8
  %689 = icmp eq ptr %78, %688
  br i1 %689, label %694, label %690

690:                                              ; preds = %690, %684
  %691 = phi ptr [ %688, %684 ], [ %692, %690 ]
  %692 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %691, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %692) #4
  %693 = icmp eq ptr %692, %78
  br i1 %693, label %694, label %690

694:                                              ; preds = %690, %684
  br label %718

695:                                              ; preds = %631
  %696 = landingpad { ptr, i32 }
          cleanup
  %697 = extractvalue { ptr, i32 } %696, 0
  store ptr %697, ptr %13, align 8
  %698 = extractvalue { ptr, i32 } %696, 1
  store i32 %698, ptr %14, align 4
  br label %710

699:                                              ; preds = %638
  %700 = landingpad { ptr, i32 }
          cleanup
  %701 = extractvalue { ptr, i32 } %700, 0
  store ptr %701, ptr %13, align 8
  %702 = extractvalue { ptr, i32 } %700, 1
  store i32 %702, ptr %14, align 4
  %703 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %72, i32 0, i32 0
  %704 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %703, i64 2
  br label %705

705:                                              ; preds = %705, %699
  %706 = phi ptr [ %704, %699 ], [ %707, %705 ]
  %707 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %706, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %707) #4
  %708 = icmp eq ptr %707, %703
  br i1 %708, label %709, label %705

709:                                              ; preds = %705
  br label %710

710:                                              ; preds = %709, %695
  %711 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %78, i32 0, i32 0
  %712 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %711, i64 2
  br label %713

713:                                              ; preds = %713, %710
  %714 = phi ptr [ %712, %710 ], [ %715, %713 ]
  %715 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %714, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %715) #4
  %716 = icmp eq ptr %715, %711
  br i1 %716, label %717, label %713

717:                                              ; preds = %713
  br label %718

718:                                              ; preds = %717, %694
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #4
  br label %719

719:                                              ; preds = %718, %680
  %720 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %75, i32 0, i32 0
  %721 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %720, i64 2
  br label %722

722:                                              ; preds = %722, %719
  %723 = phi ptr [ %721, %719 ], [ %724, %722 ]
  %724 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %723, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %724) #4
  %725 = icmp eq ptr %724, %720
  br i1 %725, label %726, label %722

726:                                              ; preds = %722
  br label %727

727:                                              ; preds = %726, %679
  call void @llvm.lifetime.end.p0(i64 48, ptr %75) #4
  %728 = load i1, ptr %80, align 1
  br i1 %728, label %729, label %737

729:                                              ; preds = %727
  %730 = load ptr, ptr %73, align 8
  %731 = icmp eq ptr %72, %730
  br i1 %731, label %736, label %732

732:                                              ; preds = %732, %729
  %733 = phi ptr [ %730, %729 ], [ %734, %732 ]
  %734 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %733, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %734) #4
  %735 = icmp eq ptr %734, %72
  br i1 %735, label %736, label %732

736:                                              ; preds = %732, %729
  br label %737

737:                                              ; preds = %736, %727
  call void @llvm.lifetime.end.p0(i64 48, ptr %72) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #4
  br label %855

738:                                              ; preds = %611
  br label %833

739:                                              ; preds = %599
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #4
  %740 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %740, ptr %81, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #4
  %741 = load ptr, ptr %81, align 8, !tbaa !5
  %742 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %741) #4
  %743 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %82, i32 0, i32 0
  store ptr %742, ptr %743, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #4
  %744 = load ptr, ptr %81, align 8, !tbaa !5
  %745 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %744) #4
  %746 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %83, i32 0, i32 0
  store ptr %745, ptr %746, align 8
  br label %747

747:                                              ; preds = %785, %739
  %748 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull align 8 dereferenceable(8) %83) #4
  br i1 %748, label %750, label %749

749:                                              ; preds = %747
  store i32 10, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #4
  br label %832

750:                                              ; preds = %747
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #4
  %751 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %82) #4
  store ptr %751, ptr %84, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %86) #4
  store i1 true, ptr %91, align 1
  store ptr %86, ptr %87, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %89) #4
  store ptr %89, ptr %90, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %752 unwind label %787

752:                                              ; preds = %750
  %753 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %89, i64 1
  store ptr %753, ptr %90, align 8
  %754 = load ptr, ptr %84, align 8, !tbaa !5
  %755 = getelementptr inbounds %"struct.sfc::Mapentry", ptr %754, i32 0, i32 0
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %753, ptr noundef nonnull align 4 dereferenceable(4) %755)
          to label %756 unwind label %787

756:                                              ; preds = %752
  %757 = getelementptr inbounds %"class.std::initializer_list", ptr %88, i32 0, i32 0
  store ptr %89, ptr %757, align 8, !tbaa !22
  %758 = getelementptr inbounds %"class.std::initializer_list", ptr %88, i32 0, i32 1
  store i64 2, ptr %758, align 8, !tbaa !25
  %759 = getelementptr inbounds { ptr, i64 }, ptr %88, i32 0, i32 0
  %760 = load ptr, ptr %759, align 8
  %761 = getelementptr inbounds { ptr, i64 }, ptr %88, i32 0, i32 1
  %762 = load i64, ptr %761, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr %760, i64 %762)
          to label %763 unwind label %798

763:                                              ; preds = %756
  store i1 false, ptr %91, align 1
  %764 = getelementptr inbounds %"class.std::initializer_list", ptr %85, i32 0, i32 0
  store ptr %86, ptr %764, align 8, !tbaa !22
  %765 = getelementptr inbounds %"class.std::initializer_list", ptr %85, i32 0, i32 1
  store i64 1, ptr %765, align 8, !tbaa !25
  %766 = getelementptr inbounds { ptr, i64 }, ptr %85, i32 0, i32 0
  %767 = load ptr, ptr %766, align 8
  %768 = getelementptr inbounds { ptr, i64 }, ptr %85, i32 0, i32 1
  %769 = load i64, ptr %768, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr %767, i64 %769)
          to label %770 unwind label %802

770:                                              ; preds = %763
  %771 = getelementptr inbounds [1 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %86, i32 0, i32 0
  %772 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %771, i64 1
  br label %773

773:                                              ; preds = %773, %770
  %774 = phi ptr [ %772, %770 ], [ %775, %773 ]
  %775 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %774, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %775) #4
  %776 = icmp eq ptr %775, %771
  br i1 %776, label %777, label %773

777:                                              ; preds = %773
  %778 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %89, i32 0, i32 0
  %779 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %778, i64 2
  br label %780

780:                                              ; preds = %780, %777
  %781 = phi ptr [ %779, %777 ], [ %782, %780 ]
  %782 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %781, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %782) #4
  %783 = icmp eq ptr %782, %778
  br i1 %783, label %784, label %780

784:                                              ; preds = %780
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #4
  br label %785

785:                                              ; preds = %784
  %786 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %82) #4
  br label %747

787:                                              ; preds = %752, %750
  %788 = landingpad { ptr, i32 }
          cleanup
  %789 = extractvalue { ptr, i32 } %788, 0
  store ptr %789, ptr %13, align 8
  %790 = extractvalue { ptr, i32 } %788, 1
  store i32 %790, ptr %14, align 4
  %791 = load ptr, ptr %90, align 8
  %792 = icmp eq ptr %89, %791
  br i1 %792, label %797, label %793

793:                                              ; preds = %793, %787
  %794 = phi ptr [ %791, %787 ], [ %795, %793 ]
  %795 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %794, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %795) #4
  %796 = icmp eq ptr %795, %89
  br i1 %796, label %797, label %793

797:                                              ; preds = %793, %787
  br label %821

798:                                              ; preds = %756
  %799 = landingpad { ptr, i32 }
          cleanup
  %800 = extractvalue { ptr, i32 } %799, 0
  store ptr %800, ptr %13, align 8
  %801 = extractvalue { ptr, i32 } %799, 1
  store i32 %801, ptr %14, align 4
  br label %813

802:                                              ; preds = %763
  %803 = landingpad { ptr, i32 }
          cleanup
  %804 = extractvalue { ptr, i32 } %803, 0
  store ptr %804, ptr %13, align 8
  %805 = extractvalue { ptr, i32 } %803, 1
  store i32 %805, ptr %14, align 4
  %806 = getelementptr inbounds [1 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %86, i32 0, i32 0
  %807 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %806, i64 1
  br label %808

808:                                              ; preds = %808, %802
  %809 = phi ptr [ %807, %802 ], [ %810, %808 ]
  %810 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %809, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %810) #4
  %811 = icmp eq ptr %810, %806
  br i1 %811, label %812, label %808

812:                                              ; preds = %808
  br label %813

813:                                              ; preds = %812, %798
  %814 = getelementptr inbounds [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], ptr %89, i32 0, i32 0
  %815 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %814, i64 2
  br label %816

816:                                              ; preds = %816, %813
  %817 = phi ptr [ %815, %813 ], [ %818, %816 ]
  %818 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %817, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %818) #4
  %819 = icmp eq ptr %818, %814
  br i1 %819, label %820, label %816

820:                                              ; preds = %816
  br label %821

821:                                              ; preds = %820, %797
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #4
  %822 = load i1, ptr %91, align 1
  br i1 %822, label %823, label %831

823:                                              ; preds = %821
  %824 = load ptr, ptr %87, align 8
  %825 = icmp eq ptr %86, %824
  br i1 %825, label %830, label %826

826:                                              ; preds = %826, %823
  %827 = phi ptr [ %824, %823 ], [ %828, %826 ]
  %828 = getelementptr inbounds %"class.nlohmann::json_abi_v3_11_3::detail::json_ref", ptr %827, i64 -1
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %828) #4
  %829 = icmp eq ptr %828, %86
  br i1 %829, label %830, label %826

830:                                              ; preds = %826, %823
  br label %831

831:                                              ; preds = %830, %821
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #4
  br label %855

832:                                              ; preds = %749
  br label %833

833:                                              ; preds = %832, %738
  br label %834

834:                                              ; preds = %833, %594
  br label %835

835:                                              ; preds = %834, %385
  %836 = call noundef i64 @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %837 = icmp ugt i64 %836, 1
  br i1 %837, label %838, label %843

838:                                              ; preds = %835
  %839 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.8)
          to label %840 unwind label %145

840:                                              ; preds = %838
  %841 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE12emplace_backIJRSD_EEESF_DpOT_(ptr noundef nonnull align 8 dereferenceable(16) %839, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %842 unwind label %145

842:                                              ; preds = %840
  br label %852

843:                                              ; preds = %835
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %844 unwind label %145

844:                                              ; preds = %843
  %845 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.9)
          to label %846 unwind label %848

846:                                              ; preds = %844
  %847 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEaSESD_(ptr noundef nonnull align 8 dereferenceable(16) %845, ptr noundef %92) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %92) #4
  br label %852

848:                                              ; preds = %844
  %849 = landingpad { ptr, i32 }
          cleanup
  %850 = extractvalue { ptr, i32 } %849, 0
  store ptr %850, ptr %13, align 8
  %851 = extractvalue { ptr, i32 } %849, 1
  store i32 %851, ptr %14, align 4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %92) #4
  br label %855

852:                                              ; preds = %846, %842
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %853

853:                                              ; preds = %852
  %854 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #4
  br label %106

855:                                              ; preds = %848, %831, %737, %593, %384, %145
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  br label %856

856:                                              ; preds = %855, %141
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %863

857:                                              ; preds = %108
  invoke void @_ZNK8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4dumpEicbNS0_6detail15error_handler_tE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef 2, i8 noundef signext 32, i1 noundef zeroext false, i32 noundef 0)
          to label %858 unwind label %859

858:                                              ; preds = %857
  store i32 1, ptr %18, align 4
  call void @_ZNSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  ret void

859:                                              ; preds = %857
  %860 = landingpad { ptr, i32 }
          cleanup
  %861 = extractvalue { ptr, i32 } %860, 0
  store ptr %861, ptr %13, align 8
  %862 = extractvalue { ptr, i32 } %860, 1
  store i32 %862, ptr %14, align 4
  br label %863

863:                                              ; preds = %859, %856
  call void @_ZNSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %864

864:                                              ; preds = %863, %109
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  br label %865

865:                                              ; preds = %864
  %866 = load ptr, ptr %13, align 8
  %867 = load i32, ptr %14, align 4
  %868 = insertvalue { ptr, i32 } poison, ptr %866, 0
  %869 = insertvalue { ptr, i32 } %868, i32 %867, 1
  resume { ptr, i32 } %869
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5arrayESt16initializer_listINS0_6detail8json_refISD_EEE(ptr dead_on_unwind noalias writable sret(%"class.nlohmann::json_abi_v3_11_3::basic_json") align 8, ptr, i64) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt16initializer_listIN8nlohmann16json_abi_v3_11_36detail8json_refINS1_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS1_14adl_serializerES6_IhSaIhEEvEEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3sfc30tile_flipping_allowed_for_modeENS_4ModeE(i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3sfc30default_palette_count_for_modeENS_4ModeE(i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(5)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA8_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(7)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE12emplace_backIJRSD_EEESF_DpOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEaSESD_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4dumpEicbNS0_6detail15error_handler_tE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i8 noundef signext, i1 noundef zeroext, i32 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN3sfc3MapE", !17, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !18, i64 24}
!17 = !{!"_ZTSN3sfc4ModeE", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIN3sfc8MapentryESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3sfc8MapentryESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3sfc8MapentryESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3sfc8MapentryESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSSt16initializer_listIN8nlohmann16json_abi_v3_11_36detail8json_refINS1_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS1_14adl_serializerES6_IhSaIhEEvEEEEE", !6, i64 0, !24, i64 8}
!24 = !{!"long", !7, i64 0}
!25 = !{!23, !24, i64 8}
!26 = !{!27, !10, i64 8}
!27 = !{!"_ZTSN3sfc8MapentryE", !12, i64 0, !12, i64 4, !10, i64 8, !10, i64 9}
!28 = !{!27, !10, i64 9}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<sfc::Mapentry>, std::allocator<std::vector<sfc::Mapentry>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.46 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.46 = type { i64, [8 x i8] }
%"class.nlohmann::json_abi_v3_11_3::basic_json" = type { %"struct.nlohmann::json_abi_v3_11_3::basic_json<>::data" }
%"struct.nlohmann::json_abi_v3_11_3::basic_json<>::data" = type { i8, %"union.nlohmann::json_abi_v3_11_3::basic_json<>::json_value" }
%"union.nlohmann::json_abi_v3_11_3::basic_json<>::json_value" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.40" = type { ptr }
%"class.nlohmann::json_abi_v3_11_3::detail::json_ref" = type { %"class.nlohmann::json_abi_v3_11_3::basic_json", ptr }

@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3sfc3Map15collect_entriesEbjj(ptr dead_on_unwind noalias writable sret(%"class.std::vector.34") align 8, ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3sfc3Map7to_jsonB5cxx11Ebjj(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.nlohmann::json_abi_v3_11_3::basic_json", align 8
  %7 = alloca %"class.std::vector.34", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %10 = alloca %"class.nlohmann::json_abi_v3_11_3::basic_json", align 8
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %14 = alloca [4 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %15 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %16 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %17 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %18 = alloca i32, align 4
  %19 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %23 = alloca [3 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %24 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %25 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %26 = alloca i32, align 4
  %27 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %31 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %32 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %33 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %36 = alloca [1 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %37 = alloca [2 x %"class.nlohmann::json_abi_v3_11_3::detail::json_ref"], align 8
  %38 = alloca %"class.nlohmann::json_abi_v3_11_3::basic_json", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr null) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZNK3sfc3Map15collect_entriesEbjj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.34") align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i32 noundef %3, i32 noundef %4)
          to label %39 unwind label %76

39:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %40 = call ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  store ptr %40, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %41 = call ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  store ptr %41, ptr %9, align 8
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  br i1 %42, label %.lr.ph270, label %._crit_edge271

.lr.ph270:                                        ; preds = %39
  %43 = getelementptr inbounds i8, ptr %11, i64 8
  %44 = getelementptr inbounds i8, ptr %37, i64 24
  %45 = getelementptr inbounds i8, ptr %32, i64 24
  %46 = getelementptr inbounds i8, ptr %31, i64 24
  %47 = getelementptr inbounds i8, ptr %33, i64 24
  %48 = getelementptr inbounds i8, ptr %24, i64 24
  %49 = getelementptr inbounds i8, ptr %23, i64 24
  %50 = getelementptr inbounds i8, ptr %25, i64 24
  %51 = getelementptr inbounds i8, ptr %23, i64 48
  %52 = getelementptr inbounds i8, ptr %27, i64 24
  %53 = getelementptr inbounds i8, ptr %15, i64 24
  %54 = getelementptr inbounds i8, ptr %14, i64 24
  %55 = getelementptr inbounds i8, ptr %16, i64 24
  %56 = getelementptr inbounds i8, ptr %14, i64 48
  %57 = getelementptr inbounds i8, ptr %17, i64 24
  %58 = getelementptr inbounds i8, ptr %14, i64 72
  %59 = getelementptr inbounds i8, ptr %19, i64 24
  %60 = getelementptr inbounds i8, ptr %37, i64 24
  %61 = getelementptr inbounds i8, ptr %31, i64 24
  %62 = getelementptr inbounds i8, ptr %33, i64 24
  %63 = getelementptr inbounds i8, ptr %32, i64 24
  %64 = getelementptr inbounds i8, ptr %23, i64 48
  %65 = getelementptr inbounds i8, ptr %23, i64 24
  %66 = getelementptr inbounds i8, ptr %27, i64 24
  %67 = getelementptr inbounds i8, ptr %25, i64 24
  %68 = getelementptr inbounds i8, ptr %24, i64 24
  %69 = getelementptr inbounds i8, ptr %14, i64 72
  %70 = getelementptr inbounds i8, ptr %14, i64 48
  %71 = getelementptr inbounds i8, ptr %14, i64 24
  %72 = getelementptr inbounds i8, ptr %19, i64 24
  %73 = getelementptr inbounds i8, ptr %17, i64 24
  %74 = getelementptr inbounds i8, ptr %16, i64 24
  %75 = getelementptr inbounds i8, ptr %15, i64 24
  br label %78

._crit_edge271:                                   ; preds = %254, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  invoke void @_ZNK8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4dumpEicbNS0_6detail15error_handler_tE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef 2, i8 noundef signext 32, i1 noundef zeroext false, i32 noundef 0)
          to label %259 unwind label %260

76:                                               ; preds = %5
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %263

78:                                               ; preds = %.lr.ph270, %254
  %79 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  call void @_ZNSt16initializer_listIN8nlohmann16json_abi_v3_11_36detail8json_refINS1_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS1_14adl_serializerES6_IhSaIhEEvEEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  %80 = load ptr, ptr %11, align 8
  %81 = load i64, ptr %43, align 8
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5arrayESt16initializer_listINS0_6detail8json_refISD_EEE(ptr dead_on_unwind nonnull writable sret(%"class.nlohmann::json_abi_v3_11_3::basic_json") align 8 %10, ptr %80, i64 %81)
          to label %82 unwind label %93

82:                                               ; preds = %78
  %83 = load i32, ptr %1, align 8, !tbaa !5
  %84 = call noundef zeroext i1 @_ZN3sfc30tile_flipping_allowed_for_modeENS_4ModeE(i32 noundef %83)
  br i1 %84, label %85, label %146

85:                                               ; preds = %82
  %86 = load i32, ptr %1, align 8, !tbaa !5
  %87 = call noundef i32 @_ZN3sfc30default_palette_count_for_modeENS_4ModeE(i32 noundef %86)
  %88 = icmp ugt i32 %87, 1
  br i1 %88, label %89, label %146

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %90 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %90, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %91 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %91, ptr %13, align 8
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  br i1 %92, label %.lr.ph267, label %._crit_edge268

._crit_edge268:                                   ; preds = %.preheader273, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br label %240

93:                                               ; preds = %78
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %258

95:                                               ; preds = %247, %245, %243
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %257

.lr.ph267:                                        ; preds = %89, %.preheader273
  %97 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %98 unwind label %.thread

98:                                               ; preds = %.lr.ph267
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %97)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr nonnull %15, i64 2)
          to label %99 unwind label %116

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA8_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 1 dereferenceable(8) @.str.5)
          to label %100 unwind label %118

100:                                              ; preds = %99
  %101 = getelementptr inbounds i8, ptr %97, i64 4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 4 dereferenceable(4) %101)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr nonnull %16, i64 2)
          to label %102 unwind label %120

102:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 1 dereferenceable(7) @.str.6)
          to label %103 unwind label %122

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #4
  %104 = getelementptr inbounds i8, ptr %97, i64 8
  %105 = load i8, ptr %104, align 4, !tbaa !16, !range !19, !noundef !20
  %106 = zext nneg i8 %105 to i32
  store i32 %106, ptr %18, align 4, !tbaa !21
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %18)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr nonnull %17, i64 2)
          to label %107 unwind label %124

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
          to label %108 unwind label %126

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #4
  %109 = getelementptr inbounds i8, ptr %97, i64 9
  %110 = load i8, ptr %109, align 1, !tbaa !22, !range !19, !noundef !20
  %111 = zext nneg i8 %110 to i32
  store i32 %111, ptr %20, align 4, !tbaa !21
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 4 dereferenceable(4) %20)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr nonnull %19, i64 2)
          to label %112 unwind label %128

112:                                              ; preds = %108
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr nonnull %14, i64 4)
          to label %.preheader273 unwind label %.loopexit225.loopexit

.preheader273:                                    ; preds = %112
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %72) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #4
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  %114 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  br i1 %114, label %.lr.ph267, label %._crit_edge268

.thread:                                          ; preds = %.lr.ph267
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #4
  br label %.loopexit

116:                                              ; preds = %98
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %140

118:                                              ; preds = %99
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit224

120:                                              ; preds = %100
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit224.loopexit

122:                                              ; preds = %102
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %138

124:                                              ; preds = %103
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %136

126:                                              ; preds = %107
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %135

128:                                              ; preds = %108
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit225

.loopexit225.loopexit:                            ; preds = %112
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = getelementptr inbounds i8, ptr %14, i64 72
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %131) #4
  %132 = getelementptr inbounds i8, ptr %14, i64 48
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %132) #4
  %133 = getelementptr inbounds i8, ptr %14, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  br label %.loopexit225

.loopexit225:                                     ; preds = %.loopexit225.loopexit, %128
  %.0139 = phi i1 [ true, %128 ], [ false, %.loopexit225.loopexit ]
  %.pn193 = phi { ptr, i32 } [ %129, %128 ], [ %130, %.loopexit225.loopexit ]
  %134 = getelementptr inbounds i8, ptr %19, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %134) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  br label %135

135:                                              ; preds = %126, %.loopexit225
  %.1140 = phi i1 [ %.0139, %.loopexit225 ], [ true, %126 ]
  %.pn193.pn = phi { ptr, i32 } [ %.pn193, %.loopexit225 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #4
  br label %136

136:                                              ; preds = %135, %124
  %.2141 = phi i1 [ %.1140, %135 ], [ true, %124 ]
  %.0125 = phi ptr [ %58, %135 ], [ %56, %124 ]
  %.pn193.pn.pn = phi { ptr, i32 } [ %.pn193.pn, %135 ], [ %125, %124 ]
  %137 = getelementptr inbounds i8, ptr %17, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %137) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  br label %138

138:                                              ; preds = %122, %136
  %.3142 = phi i1 [ %.2141, %136 ], [ true, %122 ]
  %.1126 = phi ptr [ %.0125, %136 ], [ %56, %122 ]
  %.pn193.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn, %136 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #4
  br label %.loopexit224.loopexit

.loopexit224.loopexit:                            ; preds = %138, %120
  %.4143 = phi i1 [ %.3142, %138 ], [ true, %120 ]
  %.2127 = phi ptr [ %.1126, %138 ], [ %54, %120 ]
  %.pn193.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn.pn, %138 ], [ %121, %120 ]
  %139 = getelementptr inbounds i8, ptr %16, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %139) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  br label %.loopexit224

.loopexit224:                                     ; preds = %.loopexit224.loopexit, %118
  %.5144 = phi i1 [ true, %118 ], [ %.4143, %.loopexit224.loopexit ]
  %.3128 = phi ptr [ %54, %118 ], [ %.2127, %.loopexit224.loopexit ]
  %.pn193.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %119, %118 ], [ %.pn193.pn.pn.pn.pn, %.loopexit224.loopexit ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #4
  br label %140

140:                                              ; preds = %.loopexit224, %116
  %.6145 = phi i1 [ %.5144, %.loopexit224 ], [ true, %116 ]
  %.4129 = phi ptr [ %.3128, %.loopexit224 ], [ %14, %116 ]
  %.pn193.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn.pn.pn.pn, %.loopexit224 ], [ %117, %116 ]
  %141 = getelementptr inbounds i8, ptr %15, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %141) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #4
  %142 = icmp ne ptr %14, %.4129
  %or.cond7.not = select i1 %.6145, i1 %142, i1 false
  br i1 %or.cond7.not, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %140, %.preheader
  %143 = phi ptr [ %144, %.preheader ], [ %.4129, %140 ]
  %144 = getelementptr inbounds i8, ptr %143, i64 -24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %144) #4
  %145 = icmp eq ptr %144, %14
  br i1 %145, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %140
  %.pn193.pn.pn.pn.pn.pn.pn.pn211 = phi { ptr, i32 } [ %115, %.thread ], [ %.pn193.pn.pn.pn.pn.pn.pn, %140 ], [ %.pn193.pn.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br label %257

146:                                              ; preds = %85, %82
  %147 = load i32, ptr %1, align 8, !tbaa !5
  %148 = call noundef zeroext i1 @_ZN3sfc30tile_flipping_allowed_for_modeENS_4ModeE(i32 noundef %147)
  br i1 %148, label %149, label %193

149:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  %150 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %150, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  %151 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %151, ptr %22, align 8
  %152 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #4
  br i1 %152, label %.lr.ph264, label %._crit_edge265

._crit_edge265:                                   ; preds = %.preheader275, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  br label %240

.lr.ph264:                                        ; preds = %149, %.preheader275
  %153 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %154 unwind label %.thread212

154:                                              ; preds = %.lr.ph264
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 4 dereferenceable(4) %153)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr nonnull %24, i64 2)
          to label %155 unwind label %169

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 1 dereferenceable(7) @.str.6)
          to label %156 unwind label %171

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #4
  %157 = getelementptr inbounds i8, ptr %153, i64 8
  %158 = load i8, ptr %157, align 4, !tbaa !16, !range !19, !noundef !20
  %159 = zext nneg i8 %158 to i32
  store i32 %159, ptr %26, align 4, !tbaa !21
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(4) %26)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr nonnull %25, i64 2)
          to label %160 unwind label %173

160:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
          to label %161 unwind label %175

161:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #4
  %162 = getelementptr inbounds i8, ptr %153, i64 9
  %163 = load i8, ptr %162, align 1, !tbaa !22, !range !19, !noundef !20
  %164 = zext nneg i8 %163 to i32
  store i32 %164, ptr %28, align 4, !tbaa !21
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 4 dereferenceable(4) %28)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr nonnull %27, i64 2)
          to label %165 unwind label %177

165:                                              ; preds = %161
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr nonnull %23, i64 3)
          to label %.preheader275 unwind label %.loopexit228.loopexit

.preheader275:                                    ; preds = %165
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %67) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #4
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #4
  %167 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #4
  br i1 %167, label %.lr.ph264, label %._crit_edge265

.thread212:                                       ; preds = %.lr.ph264
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #4
  br label %.loopexit227

169:                                              ; preds = %154
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %187

171:                                              ; preds = %155
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %186

173:                                              ; preds = %156
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %184

175:                                              ; preds = %160
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %183

177:                                              ; preds = %161
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit228

.loopexit228.loopexit:                            ; preds = %165
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = getelementptr inbounds i8, ptr %23, i64 48
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %180) #4
  %181 = getelementptr inbounds i8, ptr %23, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %181) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  br label %.loopexit228

.loopexit228:                                     ; preds = %.loopexit228.loopexit, %177
  %.0155 = phi i1 [ true, %177 ], [ false, %.loopexit228.loopexit ]
  %.pn185 = phi { ptr, i32 } [ %178, %177 ], [ %179, %.loopexit228.loopexit ]
  %182 = getelementptr inbounds i8, ptr %27, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %182) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #4
  br label %183

183:                                              ; preds = %175, %.loopexit228
  %.1156 = phi i1 [ %.0155, %.loopexit228 ], [ true, %175 ]
  %.pn185.pn = phi { ptr, i32 } [ %.pn185, %.loopexit228 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #4
  br label %184

184:                                              ; preds = %183, %173
  %.2157 = phi i1 [ %.1156, %183 ], [ true, %173 ]
  %.0149 = phi ptr [ %51, %183 ], [ %49, %173 ]
  %.pn185.pn.pn = phi { ptr, i32 } [ %.pn185.pn, %183 ], [ %174, %173 ]
  %185 = getelementptr inbounds i8, ptr %25, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %185) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #4
  br label %186

186:                                              ; preds = %171, %184
  %.3158 = phi i1 [ %.2157, %184 ], [ true, %171 ]
  %.1150 = phi ptr [ %.0149, %184 ], [ %49, %171 ]
  %.pn185.pn.pn.pn = phi { ptr, i32 } [ %.pn185.pn.pn, %184 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #4
  br label %187

187:                                              ; preds = %186, %169
  %.4159 = phi i1 [ %.3158, %186 ], [ true, %169 ]
  %.2151 = phi ptr [ %.1150, %186 ], [ %23, %169 ]
  %.pn185.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn185.pn.pn.pn, %186 ], [ %170, %169 ]
  %188 = getelementptr inbounds i8, ptr %24, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %188) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #4
  %189 = icmp ne ptr %23, %.2151
  %or.cond16.not = select i1 %.4159, i1 %189, i1 false
  br i1 %or.cond16.not, label %.preheader226, label %.loopexit227

.preheader226:                                    ; preds = %187, %.preheader226
  %190 = phi ptr [ %191, %.preheader226 ], [ %.2151, %187 ]
  %191 = getelementptr inbounds i8, ptr %190, i64 -24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %191) #4
  %192 = icmp eq ptr %191, %23
  br i1 %192, label %.loopexit227, label %.preheader226

.loopexit227:                                     ; preds = %.preheader226, %.thread212, %187
  %.pn185.pn.pn.pn.pn.pn217 = phi { ptr, i32 } [ %168, %.thread212 ], [ %.pn185.pn.pn.pn.pn, %187 ], [ %.pn185.pn.pn.pn.pn, %.preheader226 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  br label %257

193:                                              ; preds = %146
  %194 = load i32, ptr %1, align 8, !tbaa !5
  %195 = call noundef i32 @_ZN3sfc30default_palette_count_for_modeENS_4ModeE(i32 noundef %194)
  %196 = icmp ugt i32 %195, 1
  br i1 %196, label %197, label %225

197:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #4
  %198 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %198, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #4
  %199 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %199, ptr %30, align 8
  %200 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  br i1 %200, label %.lr.ph261, label %._crit_edge262

._crit_edge262:                                   ; preds = %.preheader277, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #4
  br label %240

.lr.ph261:                                        ; preds = %197, %.preheader277
  %201 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %31) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %32) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %202 unwind label %.thread218

202:                                              ; preds = %.lr.ph261
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 4 dereferenceable(4) %201)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr nonnull %32, i64 2)
          to label %203 unwind label %210

203:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %33) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA8_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 1 dereferenceable(8) @.str.5)
          to label %204 unwind label %212

204:                                              ; preds = %203
  %205 = getelementptr inbounds i8, ptr %201, i64 4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 4 dereferenceable(4) %205)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr nonnull %33, i64 2)
          to label %206 unwind label %214

206:                                              ; preds = %204
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr nonnull %31, i64 2)
          to label %.preheader277 unwind label %.loopexit232.loopexit

.preheader277:                                    ; preds = %206
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #4
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #4
  %208 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  br i1 %208, label %.lr.ph261, label %._crit_edge262

.thread218:                                       ; preds = %.lr.ph261
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #4
  br label %.loopexit230

210:                                              ; preds = %202
  %211 = landingpad { ptr, i32 }
          cleanup
  br label %219

212:                                              ; preds = %203
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit231

214:                                              ; preds = %204
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit232

.loopexit232.loopexit:                            ; preds = %206
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = getelementptr inbounds i8, ptr %31, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %217) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  br label %.loopexit232

.loopexit232:                                     ; preds = %.loopexit232.loopexit, %214
  %.0132 = phi i1 [ true, %214 ], [ false, %.loopexit232.loopexit ]
  %.pn179 = phi { ptr, i32 } [ %215, %214 ], [ %216, %.loopexit232.loopexit ]
  %218 = getelementptr inbounds i8, ptr %33, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %218) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  br label %.loopexit231

.loopexit231:                                     ; preds = %.loopexit232, %212
  %.1133 = phi i1 [ true, %212 ], [ %.0132, %.loopexit232 ]
  %.pn179.pn = phi { ptr, i32 } [ %213, %212 ], [ %.pn179, %.loopexit232 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #4
  br label %219

219:                                              ; preds = %.loopexit231, %210
  %.0147 = phi ptr [ %46, %.loopexit231 ], [ %31, %210 ]
  %.2134 = phi i1 [ %.1133, %.loopexit231 ], [ true, %210 ]
  %.pn179.pn.pn = phi { ptr, i32 } [ %.pn179.pn, %.loopexit231 ], [ %211, %210 ]
  %220 = getelementptr inbounds i8, ptr %32, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %220) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #4
  %221 = icmp ne ptr %31, %.0147
  %or.cond19.not = select i1 %.2134, i1 %221, i1 false
  br i1 %or.cond19.not, label %.preheader229, label %.loopexit230

.preheader229:                                    ; preds = %219, %.preheader229
  %222 = phi ptr [ %223, %.preheader229 ], [ %.0147, %219 ]
  %223 = getelementptr inbounds i8, ptr %222, i64 -24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %223) #4
  %224 = icmp eq ptr %223, %31
  br i1 %224, label %.loopexit230, label %.preheader229

.loopexit230:                                     ; preds = %.preheader229, %.thread218, %219
  %.pn179.pn.pn.pn223 = phi { ptr, i32 } [ %209, %.thread218 ], [ %.pn179.pn.pn, %219 ], [ %.pn179.pn.pn, %.preheader229 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #4
  br label %257

225:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #4
  %226 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %226, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #4
  %227 = call ptr @_ZNKSt6vectorIN3sfc8MapentryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  store ptr %227, ptr %35, align 8
  %228 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #4
  br i1 %228, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.preheader279, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #4
  br label %240

.lr.ph:                                           ; preds = %225, %.preheader279
  %229 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %37) #4
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 1 dereferenceable(5) @.str.4)
          to label %230 unwind label %234

230:                                              ; preds = %.lr.ph
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 4 dereferenceable(4) %229)
  invoke void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr nonnull %37, i64 2)
          to label %231 unwind label %236

231:                                              ; preds = %230
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr nonnull %36, i64 1)
          to label %.preheader279 unwind label %.loopexit234.loopexit

.preheader279:                                    ; preds = %231
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #4
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #4
  %233 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sfc8MapentryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #4
  br i1 %233, label %.lr.ph, label %._crit_edge

234:                                              ; preds = %.lr.ph
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit233

236:                                              ; preds = %230
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit234

.loopexit234.loopexit:                            ; preds = %231
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  br label %.loopexit234

.loopexit234:                                     ; preds = %.loopexit234.loopexit, %236
  %.pn = phi { ptr, i32 } [ %237, %236 ], [ %238, %.loopexit234.loopexit ]
  %239 = getelementptr inbounds i8, ptr %37, i64 24
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %239) #4
  call void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #4
  br label %.loopexit233

.loopexit233:                                     ; preds = %.loopexit234, %234
  %.pn.pn = phi { ptr, i32 } [ %235, %234 ], [ %.pn, %.loopexit234 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #4
  br label %257

240:                                              ; preds = %._crit_edge265, %._crit_edge, %._crit_edge262, %._crit_edge268
  %241 = call noundef i64 @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  %242 = icmp ugt i64 %241, 1
  br i1 %242, label %243, label %247

243:                                              ; preds = %240
  %244 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull @.str.8)
          to label %245 unwind label %95

245:                                              ; preds = %243
  %246 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE12emplace_backIJRSD_EEESF_DpOT_(ptr noundef nonnull align 8 dereferenceable(16) %244, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %254 unwind label %95

247:                                              ; preds = %240
  invoke void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %248 unwind label %95

248:                                              ; preds = %247
  %249 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull @.str.9)
          to label %250 unwind label %252

250:                                              ; preds = %248
  %251 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEaSESD_(ptr noundef nonnull align 8 dereferenceable(16) %249, ptr noundef nonnull %38) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #4
  br label %254

252:                                              ; preds = %248
  %253 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #4
  br label %257

254:                                              ; preds = %245, %250
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  %256 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  br i1 %256, label %78, label %._crit_edge271

257:                                              ; preds = %252, %.loopexit233, %.loopexit230, %.loopexit227, %.loopexit, %95
  %.pn193.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn.pn.pn.pn.pn.pn211, %.loopexit ], [ %96, %95 ], [ %253, %252 ], [ %.pn185.pn.pn.pn.pn.pn217, %.loopexit227 ], [ %.pn179.pn.pn.pn223, %.loopexit230 ], [ %.pn.pn, %.loopexit233 ]
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #4
  br label %258

258:                                              ; preds = %257, %93
  %.pn193.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn.pn.pn.pn.pn.pn.pn, %257 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  br label %262

259:                                              ; preds = %._crit_edge271
  call void @_ZNSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  ret void

260:                                              ; preds = %._crit_edge271
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %262

262:                                              ; preds = %260, %258
  %.pn193.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn.pn.pn.pn.pn.pn.pn.pn, %258 ], [ %261, %260 ]
  call void @_ZNSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %263

263:                                              ; preds = %262, %76
  %.pn193.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %262 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  resume { ptr, i32 } %.pn193.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5arrayESt16initializer_listINS0_6detail8json_refISD_EEE(ptr dead_on_unwind noalias writable sret(%"class.nlohmann::json_abi_v3_11_3::basic_json") align 8, ptr, i64) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt16initializer_listIN8nlohmann16json_abi_v3_11_36detail8json_refINS1_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS1_14adl_serializerES6_IhSaIhEEvEEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3sfc30tile_flipping_allowed_for_modeENS_4ModeE(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3sfc30default_palette_count_for_modeENS_4ModeE(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(5)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRKjETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSL_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt16initializer_listISG_E(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA8_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSM_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(7)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2IJiETnNSt9enable_ifIXsr3std16is_constructibleISF_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIS_IN3sfc8MapentryESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE12emplace_backIJRSD_EEESF_DpOT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEaSESD_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIN3sfc8MapentryESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4dumpEicbNS0_6detail15error_handler_tE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i8 noundef signext, i1 noundef zeroext, i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN3sfc3MapE", !7, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 24}
!7 = !{!"_ZTSN3sfc4ModeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIN3sfc8MapentryESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN3sfc8MapentryESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN3sfc8MapentryESaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3sfc8MapentryESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !18, i64 8}
!17 = !{!"_ZTSN3sfc8MapentryE", !10, i64 0, !10, i64 4, !18, i64 8, !18, i64 9}
!18 = !{!"bool", !8, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!10, !10, i64 0}
!22 = !{!17, !18, i64 9}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass