; LLVM IR from Godot-Machine-Learning/Godot_MachineLearning :: naive_bayes/ZN20gaussian_naive_bayes10save_modelENSt7/cxx1112basic_stringIcSt11c_309a4482/ZN20gaussian_naive_bayes10save_modelENSt7 (traitsIcESaIcEEE)

; 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.nlohmann::basic_json" = type { i8, %"union.nlohmann::basic_json<>::json_value" }
%"union.nlohmann::basic_json<>::json_value" = type { ptr }
%"struct.std::_Rb_tree_iterator.39" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl" }
%"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl" = type { %"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%class.mean_variance = type { i64, double, double }
%"class.nlohmann::detail::json_ref" = type <{ %"class.nlohmann::basic_json", ptr, i8, [7 x i8] }>
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.48 }
%union.anon.48 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::_Setw" = type { i32 }
%class.gaussian_naive_bayes = type { %class.DataIOClass, %class.ITrainPredict, %"class.std::vector.3", %"class.std::vector.8", i16, %"class.std::map", %"class.std::map.16", %"class.std::set", %"class.std::map.25", %"class.std::mutex", %"class.std::future" }
%class.DataIOClass = type { ptr, %"class.std::vector", %"class.std::vector.3", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ITrainPredict = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::map<double, double>>, std::_Select1st<std::pair<const unsigned long, std::map<double, double>>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::map<double, double>>, std::_Select1st<std::pair<const unsigned long, std::map<double, double>>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.16" = type { %"class.std::_Rb_tree.17" }
%"class.std::_Rb_tree.17" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, double>, std::_Select1st<std::pair<const unsigned long, double>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, double>, std::_Select1st<std::pair<const unsigned long, double>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::set" = type { %"class.std::_Rb_tree.21" }
%"class.std::_Rb_tree.21" = type { %"struct.std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.25" = type { %"class.std::_Rb_tree.26" }
%"class.std::_Rb_tree.26" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::vector<mean_variance>>, std::_Select1st<std::pair<const unsigned long, std::vector<mean_variance>>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::vector<mean_variance>>, std::_Select1st<std::pair<const unsigned long, std::vector<mean_variance>>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%"class.std::future" = type { %"class.std::__basic_future" }
%"class.std::__basic_future" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.std::pair.45" = type { i64, %"class.std::vector.40" }

@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20gaussian_naive_bayes10save_modelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.nlohmann::basic_json", align 8
  %6 = alloca %"class.nlohmann::basic_json", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.nlohmann::basic_json", align 8
  %14 = alloca %"class.std::initializer_list", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::vector.40", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %22 = alloca %class.mean_variance, align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [3 x %"class.nlohmann::detail::json_ref"], align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::initializer_list", align 8
  %27 = alloca [2 x %"class.nlohmann::detail::json_ref"], align 8
  %28 = alloca ptr, align 8
  %29 = alloca i64, align 8
  %30 = alloca i1, align 1
  %31 = alloca %"class.std::initializer_list", align 8
  %32 = alloca [2 x %"class.nlohmann::detail::json_ref"], align 8
  %33 = alloca ptr, align 8
  %34 = alloca double, align 8
  %35 = alloca i1, align 1
  %36 = alloca %"class.std::initializer_list", align 8
  %37 = alloca [2 x %"class.nlohmann::detail::json_ref"], align 8
  %38 = alloca ptr, align 8
  %39 = alloca double, align 8
  %40 = alloca i1, align 1
  %41 = alloca i1, align 1
  %42 = alloca %"class.std::basic_ofstream", align 8
  %43 = alloca %"struct.std::_Setw", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %44 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr null) #6
  %45 = getelementptr inbounds %class.gaussian_naive_bayes, ptr %44, i32 0, i32 7
  invoke void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEC2IRSt3setImSt4lessImESaImEESG_TnNSt9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISA_SJ_EE5valueEiE4typeELi0EEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(48) %45)
          to label %46 unwind label %59

46:                                               ; preds = %2
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixIKcEERSA_PT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.15)
          to label %48 unwind label %63

48:                                               ; preds = %46
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEaSESA_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef %6) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %50 = getelementptr inbounds %class.gaussian_naive_bayes, ptr %44, i32 0, i32 8
  %51 = call ptr @_ZNSt3mapImSt6vectorI13mean_varianceSaIS1_EESt4lessImESaISt4pairIKmS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %50) #6
  %52 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.39", ptr %9, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %53 = getelementptr inbounds %class.gaussian_naive_bayes, ptr %44, i32 0, i32 8
  %54 = call ptr @_ZNSt3mapImSt6vectorI13mean_varianceSaIS1_EESt4lessImESaISt4pairIKmS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %53) #6
  %55 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.39", ptr %10, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %9, i64 8, i1 false), !tbaa.struct !9
  br label %56

56:                                               ; preds = %82, %48
  %57 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %57, label %67, label %58

58:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %98

59:                                               ; preds = %2
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  br label %359

63:                                               ; preds = %46
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %7, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %8, align 4
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %359

67:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %68 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %69 = getelementptr inbounds %"struct.std::pair.45", ptr %68, i32 0, i32 0
  %70 = load i64, ptr %69, align 8, !tbaa !10
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, i64 noundef %70)
          to label %71 unwind label %84

71:                                               ; preds = %67
  call void @_ZNSt16initializer_listIN8nlohmann6detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  %72 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %75 = load i64, ptr %74, align 8
  invoke void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEE5arrayESt16initializer_listINS_6detail8json_refISA_EEE(ptr dead_on_unwind writable sret(%"class.nlohmann::basic_json") align 8 %13, ptr %73, i64 %75)
          to label %76 unwind label %88

76:                                               ; preds = %71
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixIKcEERSA_PT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.16)
          to label %78 unwind label %92

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %80 unwind label %92

80:                                               ; preds = %78
  %81 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEaSESA_(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef %13) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %82

82:                                               ; preds = %80
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %56, !llvm.loop !17

84:                                               ; preds = %67
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %97

88:                                               ; preds = %71
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %96

92:                                               ; preds = %78, %76
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  br label %96

96:                                               ; preds = %92, %88
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %97

97:                                               ; preds = %96, %84
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %358

98:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %9, i64 8, i1 false), !tbaa.struct !9
  br label %99

99:                                               ; preds = %331, %98
  %100 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %100, label %102, label %101

101:                                              ; preds = %99
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %335

102:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #6
  %103 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %104 = getelementptr inbounds %"struct.std::pair.45", ptr %103, i32 0, i32 0
  %105 = load i64, ptr %104, align 8, !tbaa !10
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, i64 noundef %105)
          to label %106 unwind label %119

106:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %107 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %108 = getelementptr inbounds %"struct.std::pair.45", ptr %107, i32 0, i32 1
  invoke void @_ZNSt6vectorI13mean_varianceSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %108)
          to label %109 unwind label %123

109:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store ptr %18, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %110 = load ptr, ptr %19, align 8, !tbaa !5
  %111 = call ptr @_ZNSt6vectorI13mean_varianceSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #6
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %20, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %113 = load ptr, ptr %19, align 8, !tbaa !5
  %114 = call ptr @_ZNSt6vectorI13mean_varianceSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #6
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %21, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  br label %116

116:                                              ; preds = %206, %109
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP13mean_varianceSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %117, label %127, label %118

118:                                              ; preds = %116
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %330

119:                                              ; preds = %102
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %7, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %8, align 4
  br label %334

123:                                              ; preds = %106
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %7, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %8, align 4
  br label %333

127:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  %128 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP13mean_varianceSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %128, i64 24, i1 false), !tbaa.struct !19
  %129 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixIKcEERSA_PT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.16)
          to label %130 unwind label %208

130:                                              ; preds = %127
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %129, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %132 unwind label %208

132:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 96, ptr %24) #6
  store i1 true, ptr %41, align 1
  store ptr %24, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #6
  store i1 true, ptr %30, align 1
  store ptr %27, ptr %28, align 8
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25) %27, ptr noundef nonnull align 1 dereferenceable(7) @.str.17)
          to label %133 unwind label %212

133:                                              ; preds = %132
  %134 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %27, i64 1
  store ptr %134, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %135 = invoke noundef i64 @_ZN13mean_variance10get_columnEv(ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %136 unwind label %216

136:                                              ; preds = %133
  store i64 %135, ptr %29, align 8, !tbaa !20
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJmETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSG_(ptr noundef nonnull align 8 dereferenceable(25) %134, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %137 unwind label %216

137:                                              ; preds = %136
  store i1 false, ptr %30, align 1
  %138 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 0
  store ptr %27, ptr %138, align 8, !tbaa !23
  %139 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 1
  store i64 2, ptr %139, align 8, !tbaa !25
  %140 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %143 = load i64, ptr %142, align 8
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25) %24, ptr %141, i64 %143)
          to label %144 unwind label %220

144:                                              ; preds = %137
  %145 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %24, i64 1
  store ptr %145, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #6
  store i1 true, ptr %35, align 1
  store ptr %32, ptr %33, align 8
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25) %32, ptr noundef nonnull align 1 dereferenceable(5) @.str.18)
          to label %146 unwind label %224

146:                                              ; preds = %144
  %147 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %32, i64 1
  store ptr %147, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %148 = invoke noundef double @_ZN13mean_variance8get_meanEv(ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %149 unwind label %228

149:                                              ; preds = %146
  store double %148, ptr %34, align 8, !tbaa !21
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJdETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSG_(ptr noundef nonnull align 8 dereferenceable(25) %147, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %150 unwind label %228

150:                                              ; preds = %149
  store i1 false, ptr %35, align 1
  %151 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %151, align 8, !tbaa !23
  %152 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 2, ptr %152, align 8, !tbaa !25
  %153 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %156 = load i64, ptr %155, align 8
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25) %145, ptr %154, i64 %156)
          to label %157 unwind label %232

157:                                              ; preds = %150
  %158 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %24, i64 2
  store ptr %158, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #6
  store i1 true, ptr %40, align 1
  store ptr %37, ptr %38, align 8
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA9_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25) %37, ptr noundef nonnull align 1 dereferenceable(9) @.str.19)
          to label %159 unwind label %236

159:                                              ; preds = %157
  %160 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %37, i64 1
  store ptr %160, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %161 = invoke noundef double @_ZN13mean_variance12get_varianceEv(ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %162 unwind label %240

162:                                              ; preds = %159
  store double %161, ptr %39, align 8, !tbaa !21
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJdETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSG_(ptr noundef nonnull align 8 dereferenceable(25) %160, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %163 unwind label %240

163:                                              ; preds = %162
  store i1 false, ptr %40, align 1
  %164 = getelementptr inbounds %"class.std::initializer_list", ptr %36, i32 0, i32 0
  store ptr %37, ptr %164, align 8, !tbaa !23
  %165 = getelementptr inbounds %"class.std::initializer_list", ptr %36, i32 0, i32 1
  store i64 2, ptr %165, align 8, !tbaa !25
  %166 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8
  %168 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %169 = load i64, ptr %168, align 8
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25) %158, ptr %167, i64 %169)
          to label %170 unwind label %244

170:                                              ; preds = %163
  store i1 false, ptr %41, align 1
  %171 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %171, align 8, !tbaa !23
  %172 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 3, ptr %172, align 8, !tbaa !25
  %173 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %174 = load ptr, ptr %173, align 8
  %175 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %176 = load i64, ptr %175, align 8
  invoke void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEE9push_backESt16initializer_listINS_6detail8json_refISA_EEE(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr %174, i64 %176)
          to label %177 unwind label %248

177:                                              ; preds = %170
  %178 = getelementptr inbounds [3 x %"class.nlohmann::detail::json_ref"], ptr %24, i32 0, i32 0
  %179 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %178, i64 3
  br label %180

180:                                              ; preds = %180, %177
  %181 = phi ptr [ %179, %177 ], [ %182, %180 ]
  %182 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %181, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %182) #6
  %183 = icmp eq ptr %182, %178
  br i1 %183, label %184, label %180

184:                                              ; preds = %180
  %185 = getelementptr inbounds [2 x %"class.nlohmann::detail::json_ref"], ptr %37, i32 0, i32 0
  %186 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %185, i64 2
  br label %187

187:                                              ; preds = %187, %184
  %188 = phi ptr [ %186, %184 ], [ %189, %187 ]
  %189 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %188, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %189) #6
  %190 = icmp eq ptr %189, %185
  br i1 %190, label %191, label %187

191:                                              ; preds = %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #6
  %192 = getelementptr inbounds [2 x %"class.nlohmann::detail::json_ref"], ptr %32, i32 0, i32 0
  %193 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %192, i64 2
  br label %194

194:                                              ; preds = %194, %191
  %195 = phi ptr [ %193, %191 ], [ %196, %194 ]
  %196 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %195, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %196) #6
  %197 = icmp eq ptr %196, %192
  br i1 %197, label %198, label %194

198:                                              ; preds = %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #6
  %199 = getelementptr inbounds [2 x %"class.nlohmann::detail::json_ref"], ptr %27, i32 0, i32 0
  %200 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %199, i64 2
  br label %201

201:                                              ; preds = %201, %198
  %202 = phi ptr [ %200, %198 ], [ %203, %201 ]
  %203 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %202, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %203) #6
  %204 = icmp eq ptr %203, %199
  br i1 %204, label %205, label %201

205:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  br label %206

206:                                              ; preds = %205
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP13mean_varianceSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br label %116

208:                                              ; preds = %130, %127
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %7, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %8, align 4
  br label %329

212:                                              ; preds = %132
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %7, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %8, align 4
  br label %308

216:                                              ; preds = %136, %133
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %7, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %8, align 4
  br label %307

220:                                              ; preds = %137
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %7, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %8, align 4
  br label %299

224:                                              ; preds = %144
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %7, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %8, align 4
  br label %288

228:                                              ; preds = %149, %146
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %7, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %8, align 4
  br label %287

232:                                              ; preds = %150
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %7, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %8, align 4
  br label %279

236:                                              ; preds = %157
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %7, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %8, align 4
  br label %268

240:                                              ; preds = %162, %159
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %7, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %8, align 4
  br label %267

244:                                              ; preds = %163
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %7, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %8, align 4
  br label %259

248:                                              ; preds = %170
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %7, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %8, align 4
  %252 = getelementptr inbounds [3 x %"class.nlohmann::detail::json_ref"], ptr %24, i32 0, i32 0
  %253 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %252, i64 3
  br label %254

254:                                              ; preds = %254, %248
  %255 = phi ptr [ %253, %248 ], [ %256, %254 ]
  %256 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %255, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %256) #6
  %257 = icmp eq ptr %256, %252
  br i1 %257, label %258, label %254

258:                                              ; preds = %254
  br label %259

259:                                              ; preds = %258, %244
  %260 = getelementptr inbounds [2 x %"class.nlohmann::detail::json_ref"], ptr %37, i32 0, i32 0
  %261 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %260, i64 2
  br label %262

262:                                              ; preds = %262, %259
  %263 = phi ptr [ %261, %259 ], [ %264, %262 ]
  %264 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %263, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %264) #6
  %265 = icmp eq ptr %264, %260
  br i1 %265, label %266, label %262

266:                                              ; preds = %262
  br label %267

267:                                              ; preds = %266, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %268

268:                                              ; preds = %267, %236
  %269 = load i1, ptr %40, align 1
  br i1 %269, label %270, label %278

270:                                              ; preds = %268
  %271 = load ptr, ptr %38, align 8
  %272 = icmp eq ptr %37, %271
  br i1 %272, label %277, label %273

273:                                              ; preds = %273, %270
  %274 = phi ptr [ %271, %270 ], [ %275, %273 ]
  %275 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %274, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %275) #6
  %276 = icmp eq ptr %275, %37
  br i1 %276, label %277, label %273

277:                                              ; preds = %273, %270
  br label %278

278:                                              ; preds = %277, %268
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #6
  br label %279

279:                                              ; preds = %278, %232
  %280 = getelementptr inbounds [2 x %"class.nlohmann::detail::json_ref"], ptr %32, i32 0, i32 0
  %281 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %280, i64 2
  br label %282

282:                                              ; preds = %282, %279
  %283 = phi ptr [ %281, %279 ], [ %284, %282 ]
  %284 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %283, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %284) #6
  %285 = icmp eq ptr %284, %280
  br i1 %285, label %286, label %282

286:                                              ; preds = %282
  br label %287

287:                                              ; preds = %286, %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %288

288:                                              ; preds = %287, %224
  %289 = load i1, ptr %35, align 1
  br i1 %289, label %290, label %298

290:                                              ; preds = %288
  %291 = load ptr, ptr %33, align 8
  %292 = icmp eq ptr %32, %291
  br i1 %292, label %297, label %293

293:                                              ; preds = %293, %290
  %294 = phi ptr [ %291, %290 ], [ %295, %293 ]
  %295 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %294, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %295) #6
  %296 = icmp eq ptr %295, %32
  br i1 %296, label %297, label %293

297:                                              ; preds = %293, %290
  br label %298

298:                                              ; preds = %297, %288
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #6
  br label %299

299:                                              ; preds = %298, %220
  %300 = getelementptr inbounds [2 x %"class.nlohmann::detail::json_ref"], ptr %27, i32 0, i32 0
  %301 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %300, i64 2
  br label %302

302:                                              ; preds = %302, %299
  %303 = phi ptr [ %301, %299 ], [ %304, %302 ]
  %304 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %303, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %304) #6
  %305 = icmp eq ptr %304, %300
  br i1 %305, label %306, label %302

306:                                              ; preds = %302
  br label %307

307:                                              ; preds = %306, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %308

308:                                              ; preds = %307, %212
  %309 = load i1, ptr %30, align 1
  br i1 %309, label %310, label %318

310:                                              ; preds = %308
  %311 = load ptr, ptr %28, align 8
  %312 = icmp eq ptr %27, %311
  br i1 %312, label %317, label %313

313:                                              ; preds = %313, %310
  %314 = phi ptr [ %311, %310 ], [ %315, %313 ]
  %315 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %314, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %315) #6
  %316 = icmp eq ptr %315, %27
  br i1 %316, label %317, label %313

317:                                              ; preds = %313, %310
  br label %318

318:                                              ; preds = %317, %308
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #6
  %319 = load i1, ptr %41, align 1
  br i1 %319, label %320, label %328

320:                                              ; preds = %318
  %321 = load ptr, ptr %25, align 8
  %322 = icmp eq ptr %24, %321
  br i1 %322, label %327, label %323

323:                                              ; preds = %323, %320
  %324 = phi ptr [ %321, %320 ], [ %325, %323 ]
  %325 = getelementptr inbounds %"class.nlohmann::detail::json_ref", ptr %324, i64 -1
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %325) #6
  %326 = icmp eq ptr %325, %24
  br i1 %326, label %327, label %323

327:                                              ; preds = %323, %320
  br label %328

328:                                              ; preds = %327, %318
  call void @llvm.lifetime.end.p0(i64 96, ptr %24) #6
  br label %329

329:                                              ; preds = %328, %208
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZNSt6vectorI13mean_varianceSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %333

330:                                              ; preds = %118
  call void @_ZNSt6vectorI13mean_varianceSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  br label %331

331:                                              ; preds = %330
  %332 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %99, !llvm.loop !26

333:                                              ; preds = %329, %123
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %334

334:                                              ; preds = %333, %119
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %358

335:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 512, ptr %42) #6
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %42, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 16)
          to label %336 unwind label %349

336:                                              ; preds = %335
  %337 = invoke i32 @_ZSt4setwi(i32 noundef 4)
          to label %338 unwind label %353

338:                                              ; preds = %336
  %339 = getelementptr inbounds %"struct.std::_Setw", ptr %43, i32 0, i32 0
  store i32 %337, ptr %339, align 4
  %340 = getelementptr inbounds %"struct.std::_Setw", ptr %43, i32 0, i32 0
  %341 = load i32, ptr %340, align 4
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %42, i32 %341)
          to label %343 unwind label %353

343:                                              ; preds = %338
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8nlohmannlsERSoRKNS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEE(ptr noundef nonnull align 8 dereferenceable(8) %342, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %345 unwind label %353

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %347 unwind label %353

347:                                              ; preds = %345
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %42)
          to label %348 unwind label %353

348:                                              ; preds = %347
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %42) #6
  call void @llvm.lifetime.end.p0(i64 512, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  ret void

349:                                              ; preds = %335
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %7, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %8, align 4
  br label %357

353:                                              ; preds = %347, %345, %343, %338, %336
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %7, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %8, align 4
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %42) #6
  br label %357

357:                                              ; preds = %353, %349
  call void @llvm.lifetime.end.p0(i64 512, ptr %42) #6
  br label %358

358:                                              ; preds = %357, %334, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %359

359:                                              ; preds = %358, %63, %59
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  br label %360

360:                                              ; preds = %359
  %361 = load ptr, ptr %7, align 8
  %362 = load i32, ptr %8, align 4
  %363 = insertvalue { ptr, i32 } poison, ptr %361, 0
  %364 = insertvalue { ptr, i32 } %363, i32 %362, 1
  resume { ptr, i32 } %364
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25), ptr, i64) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA9_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 1 dereferenceable(9)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8), i32) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { 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 = !{i64 0, i64 8, !5}
!10 = !{!11, !12, i64 0}
!11 = !{!"_ZTSSt4pairIKmSt6vectorI13mean_varianceSaIS2_EEE", !12, i64 0, !13, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSSt6vectorI13mean_varianceSaIS0_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseI13mean_varianceSaIS0_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseI13mean_varianceSaIS0_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI13mean_varianceSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i64 0, i64 8, !20, i64 8, i64 8, !21, i64 16, i64 8, !21}
!20 = !{!12, !12, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSSt16initializer_listIN8nlohmann6detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEEEEE", !6, i64 0, !12, i64 8}
!25 = !{!24, !12, i64 8}
!26 = distinct !{!26, !18}


; 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.nlohmann::basic_json" = type { i8, %"union.nlohmann::basic_json<>::json_value" }
%"union.nlohmann::basic_json<>::json_value" = type { ptr }
%"struct.std::_Rb_tree_iterator.39" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl" }
%"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl" = type { %"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mean_variance, std::allocator<mean_variance>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%class.mean_variance = type { i64, double, double }
%"class.nlohmann::detail::json_ref" = type <{ %"class.nlohmann::basic_json", ptr, i8, [7 x i8] }>
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.48 }
%union.anon.48 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20gaussian_naive_bayes10save_modelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.nlohmann::basic_json", align 8
  %4 = alloca %"class.nlohmann::basic_json", align 8
  %5 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %6 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.nlohmann::basic_json", align 8
  %9 = alloca %"class.std::initializer_list", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator.39", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::vector.40", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %15 = alloca %class.mean_variance, align 8
  %16 = alloca [3 x %"class.nlohmann::detail::json_ref"], align 8
  %17 = alloca [2 x %"class.nlohmann::detail::json_ref"], align 8
  %18 = alloca i64, align 8
  %19 = alloca [2 x %"class.nlohmann::detail::json_ref"], align 8
  %20 = alloca double, align 8
  %21 = alloca [2 x %"class.nlohmann::detail::json_ref"], align 8
  %22 = alloca double, align 8
  %23 = alloca %"class.std::basic_ofstream", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr null) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 272
  invoke void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEC2IRSt3setImSt4lessImESaImEESG_TnNSt9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISA_SJ_EE5valueEiE4typeELi0EEEOT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %25 unwind label %45

25:                                               ; preds = %2
  %26 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixIKcEERSA_PT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef @.str.15)
          to label %27 unwind label %47

27:                                               ; preds = %25
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEaSESA_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull %4) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  %29 = getelementptr inbounds i8, ptr %0, i64 320
  %30 = call ptr @_ZNSt3mapImSt6vectorI13mean_varianceSaIS1_EESt4lessImESaISt4pairIKmS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %31 = call ptr @_ZNSt3mapImSt6vectorI13mean_varianceSaIS1_EESt4lessImESaISt4pairIKmS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  store ptr %31, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store ptr %30, ptr %6, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %27
  %33 = getelementptr inbounds i8, ptr %9, i64 8
  br label %49

._crit_edge:                                      ; preds = %59, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  store ptr %30, ptr %10, align 8, !tbaa !5
  %34 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %34, label %.lr.ph100, label %._crit_edge101

.lr.ph100:                                        ; preds = %._crit_edge
  %35 = getelementptr inbounds i8, ptr %17, i64 32
  %36 = getelementptr inbounds i8, ptr %16, i64 32
  %37 = getelementptr inbounds i8, ptr %19, i64 32
  %38 = getelementptr inbounds i8, ptr %16, i64 64
  %39 = getelementptr inbounds i8, ptr %21, i64 32
  %40 = getelementptr inbounds i8, ptr %16, i64 64
  %41 = getelementptr inbounds i8, ptr %16, i64 32
  %42 = getelementptr inbounds i8, ptr %21, i64 32
  %43 = getelementptr inbounds i8, ptr %19, i64 32
  %44 = getelementptr inbounds i8, ptr %17, i64 32
  br label %71

45:                                               ; preds = %2
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %149

47:                                               ; preds = %25
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %149

49:                                               ; preds = %.lr.ph, %59
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %50 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %51 = load i64, ptr %50, align 8, !tbaa !9
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, i64 noundef %51)
          to label %52 unwind label %63

52:                                               ; preds = %49
  call void @_ZNSt16initializer_listIN8nlohmann6detail8json_refINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerEEEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  %53 = load ptr, ptr %9, align 8
  %54 = load i64, ptr %33, align 8
  invoke void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEE5arrayESt16initializer_listINS_6detail8json_refISA_EEE(ptr dead_on_unwind nonnull writable sret(%"class.nlohmann::basic_json") align 8 %8, ptr %53, i64 %54)
          to label %55 unwind label %65

55:                                               ; preds = %52
  %56 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixIKcEERSA_PT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef @.str.16)
          to label %57 unwind label %67

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %59 unwind label %67

59:                                               ; preds = %57
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEaSESA_(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull %8) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %62 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %62, label %49, label %._crit_edge, !llvm.loop !16

63:                                               ; preds = %49
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %70

65:                                               ; preds = %52
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %57, %55
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %69

69:                                               ; preds = %67, %65
  %.pn76 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %70

70:                                               ; preds = %69, %63
  %.pn76.pn = phi { ptr, i32 } [ %.pn76, %69 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %148

._crit_edge101:                                   ; preds = %._crit_edge98, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %23) #6
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %23, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 16)
          to label %134 unwind label %143

71:                                               ; preds = %.lr.ph100, %._crit_edge98
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  %72 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %73 = load i64, ptr %72, align 8, !tbaa !9
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, i64 noundef %73)
          to label %74 unwind label %83

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  %75 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  invoke void @_ZNSt6vectorI13mean_varianceSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %76)
          to label %77 unwind label %85

77:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %78 = call ptr @_ZNSt6vectorI13mean_varianceSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  store ptr %78, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %79 = call ptr @_ZNSt6vectorI13mean_varianceSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  store ptr %79, ptr %14, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP13mean_varianceSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %80, label %.lr.ph97, label %._crit_edge98

._crit_edge98:                                    ; preds = %.preheader103, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @_ZNSt6vectorI13mean_varianceSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %82 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKmSt6vectorI13mean_varianceSaIS3_EEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %82, label %71, label %._crit_edge101, !llvm.loop !18

83:                                               ; preds = %71
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %133

85:                                               ; preds = %74
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %132

.lr.ph97:                                         ; preds = %77, %.preheader103
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  %87 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP13mean_varianceSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %87, i64 24, i1 false), !tbaa.struct !19
  %88 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixIKcEERSA_PT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef @.str.16)
          to label %89 unwind label %103

89:                                               ; preds = %.lr.ph97
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEixERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %91 unwind label %103

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #6
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA7_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25) %17, ptr noundef nonnull align 1 dereferenceable(7) @.str.17)
          to label %92 unwind label %.thread

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %93 = call noundef i64 @_ZN13mean_variance10get_columnEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
  store i64 %93, ptr %18, align 8, !tbaa !20
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJmETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSG_(ptr noundef nonnull align 8 dereferenceable(25) %35, ptr noundef nonnull align 8 dereferenceable(8) %18)
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25) %16, ptr nonnull %17, i64 2)
          to label %94 unwind label %106

94:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #6
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA5_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25) %19, ptr noundef nonnull align 1 dereferenceable(5) @.str.18)
          to label %95 unwind label %108

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %96 = call noundef double @_ZN13mean_variance8get_meanEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
  store double %96, ptr %20, align 8, !tbaa !21
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJdETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSG_(ptr noundef nonnull align 8 dereferenceable(25) %37, ptr noundef nonnull align 8 dereferenceable(8) %20)
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25) %36, ptr nonnull %19, i64 2)
          to label %97 unwind label %110

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #6
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA9_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25) %21, ptr noundef nonnull align 1 dereferenceable(9) @.str.19)
          to label %98 unwind label %112

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %99 = call noundef double @_ZN13mean_variance12get_varianceEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
  store double %99, ptr %22, align 8, !tbaa !21
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJdETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSG_(ptr noundef nonnull align 8 dereferenceable(25) %39, ptr noundef nonnull align 8 dereferenceable(8) %22)
  invoke void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25) %38, ptr nonnull %21, i64 2)
          to label %100 unwind label %114

100:                                              ; preds = %98
  invoke void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEE9push_backESt16initializer_listINS_6detail8json_refISA_EEE(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr nonnull %16, i64 3)
          to label %.preheader103 unwind label %.loopexit88.loopexit

.preheader103:                                    ; preds = %100
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %40) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %41) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %16) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %42) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %43) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %44) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP13mean_varianceSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %102 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP13mean_varianceSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %102, label %.lr.ph97, label %._crit_edge98

103:                                              ; preds = %89, %.lr.ph97
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %131

.thread:                                          ; preds = %91
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #6
  br label %.loopexit

106:                                              ; preds = %92
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %125

108:                                              ; preds = %94
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %124

110:                                              ; preds = %95
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %122

112:                                              ; preds = %97
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %121

114:                                              ; preds = %98
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit88

.loopexit88.loopexit:                             ; preds = %100
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = getelementptr inbounds i8, ptr %16, i64 64
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %117) #6
  %118 = getelementptr inbounds i8, ptr %16, i64 32
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %118) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %16) #6
  br label %.loopexit88

.loopexit88:                                      ; preds = %.loopexit88.loopexit, %114
  %.pn66 = phi { ptr, i32 } [ %115, %114 ], [ %116, %.loopexit88.loopexit ]
  %119 = phi i1 [ false, %114 ], [ true, %.loopexit88.loopexit ]
  %120 = getelementptr inbounds i8, ptr %21, i64 32
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %120) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  br label %121

121:                                              ; preds = %112, %.loopexit88
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %.loopexit88 ], [ %113, %112 ]
  %.132 = phi i1 [ %119, %.loopexit88 ], [ false, %112 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #6
  br label %122

122:                                              ; preds = %121, %110
  %.055 = phi ptr [ %38, %121 ], [ %36, %110 ]
  %.pn66.pn.pn = phi { ptr, i32 } [ %.pn66.pn, %121 ], [ %111, %110 ]
  %.233 = phi i1 [ %.132, %121 ], [ false, %110 ]
  %123 = getelementptr inbounds i8, ptr %19, i64 32
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %123) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %124

124:                                              ; preds = %108, %122
  %.156 = phi ptr [ %.055, %122 ], [ %36, %108 ]
  %.pn66.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn, %122 ], [ %109, %108 ]
  %.334 = phi i1 [ %.233, %122 ], [ false, %108 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #6
  br label %125

125:                                              ; preds = %124, %106
  %.257 = phi ptr [ %.156, %124 ], [ %16, %106 ]
  %.pn66.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn.pn, %124 ], [ %107, %106 ]
  %.435 = phi i1 [ %.334, %124 ], [ false, %106 ]
  %126 = getelementptr inbounds i8, ptr %17, i64 32
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %126) #6
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #6
  %127 = icmp eq ptr %16, %.257
  %or.cond10 = select i1 %.435, i1 true, i1 %127
  br i1 %or.cond10, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %125, %.preheader
  %128 = phi ptr [ %129, %.preheader ], [ %.257, %125 ]
  %129 = getelementptr inbounds i8, ptr %128, i64 -32
  call void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %129) #6
  %130 = icmp eq ptr %129, %16
  br i1 %130, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %125
  %.pn66.pn.pn.pn.pn.pn87 = phi { ptr, i32 } [ %105, %.thread ], [ %.pn66.pn.pn.pn.pn, %125 ], [ %.pn66.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %16) #6
  br label %131

131:                                              ; preds = %.loopexit, %103
  %.pn66.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn.pn.pn.pn87, %.loopexit ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @_ZNSt6vectorI13mean_varianceSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %132

132:                                              ; preds = %131, %85
  %.pn66.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn.pn.pn.pn.pn, %131 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %133

133:                                              ; preds = %132, %83
  %.pn66.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn.pn.pn.pn.pn.pn, %132 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %148

134:                                              ; preds = %._crit_edge101
  %135 = call i32 @_ZSt4setwi(i32 noundef 4)
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 %135)
          to label %137 unwind label %145

137:                                              ; preds = %134
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8nlohmannlsERSoRKNS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEE(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %139 unwind label %145

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %141 unwind label %145

141:                                              ; preds = %139
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %23)
          to label %142 unwind label %145

142:                                              ; preds = %141
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %23) #6
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret void

143:                                              ; preds = %._crit_edge101
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %141, %139, %137, %134
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %23) #6
  br label %147

147:                                              ; preds = %145, %143
  %.pn = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %23) #6
  br label %148

148:                                              ; preds = %147, %133, %70
  %.pn76.pn.pn = phi { ptr, i32 } [ %.pn76.pn, %70 ], [ %.pn66.pn.pn.pn.pn.pn.pn.pn.pn, %133 ], [ %.pn, %147 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %149

149:                                              ; preds = %148, %47, %45
  %.pn76.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn, %148 ], [ %48, %47 ], [ %46, %45 ]
  call void @_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn76.pn.pn.pn
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) local_unnamed_addr #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2ESt16initializer_listISD_E(ptr noundef nonnull align 8 dereferenceable(25), ptr, i64) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nlohmann6detail8json_refINS_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS_14adl_serializerEEEEC2IJRA9_KcETnNSt9enable_ifIXsr3std16is_constructibleISC_DpT_EE5valueEiE4typeELi0EEEDpOSJ_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 1 dereferenceable(9)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { 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, !11, i64 0}
!10 = !{!"_ZTSSt4pairIKmSt6vectorI13mean_varianceSaIS2_EEE", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSSt6vectorI13mean_varianceSaIS0_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseI13mean_varianceSaIS0_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseI13mean_varianceSaIS0_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseI13mean_varianceSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{i64 0, i64 8, !20, i64 8, i64 8, !21, i64 16, i64 8, !21}
!20 = !{!11, !11, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}


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