; LLVM IR from QUILL-PIC/Quill :: lib/chameleon (chameleon-core)

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

%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double>>, std::less<std::__cxx11::basic_string<char>>>::_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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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 }
%"class.std::locale" = 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::allocator.0" = type { i8 }
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"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" }
%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.3 }
%union.anon.3 = type { i32 }

@_ZL4confB5cxx11 = external hidden global %"class.std::map", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [68 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 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)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local ptr @read2d(ptr noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.0", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.0", align 1
  %12 = alloca i64, align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca i64, align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.0", align 1
  %18 = alloca i64, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::basic_fstream", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca i64, align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.0", align 1
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #9
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %37, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %38 unwind label %107

38:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %40 unwind label %111

40:                                               ; preds = %38
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %41 unwind label %115

41:                                               ; preds = %40
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %43 unwind label %119

43:                                               ; preds = %41
  %44 = load double, ptr %42, align 8, !tbaa !9
  %45 = fptosi double %44 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  store i64 %45, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %46 unwind label %124

46:                                               ; preds = %43
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %48 unwind label %128

48:                                               ; preds = %46
  %49 = load double, ptr %47, align 8, !tbaa !9
  %50 = fptosi double %49 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  store i64 %50, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %51 unwind label %133

51:                                               ; preds = %48
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %53 unwind label %137

53:                                               ; preds = %51
  %54 = load double, ptr %52, align 8, !tbaa !9
  %55 = fptosi double %54 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  store i64 %55, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %56 = load i64, ptr %12, align 8, !tbaa !11
  %57 = load i64, ptr %15, align 8, !tbaa !11
  %58 = load i64, ptr %18, align 8, !tbaa !11
  %59 = add nsw i64 %57, %58
  %60 = mul nsw i64 %56, %59
  %61 = load i64, ptr %15, align 8, !tbaa !11
  %62 = load i64, ptr %18, align 8, !tbaa !11
  %63 = mul nsw i64 %61, %62
  %64 = add nsw i64 %60, %63
  store i64 %64, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 528, ptr %23) #9
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264) %23, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 8)
          to label %65 unwind label %142

65:                                               ; preds = %53
  %66 = load ptr, ptr %23, align 8, !tbaa !13
  %67 = getelementptr i8, ptr %66, i64 -24
  %68 = load i64, ptr %67, align 8
  %69 = getelementptr inbounds i8, ptr %23, i64 %68
  %70 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %69)
          to label %71 unwind label %146

71:                                               ; preds = %65
  br i1 %70, label %72, label %203

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %73 unwind label %150

73:                                               ; preds = %72
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %75 unwind label %154

75:                                               ; preds = %73
  %76 = load double, ptr %74, align 8, !tbaa !9
  %77 = fcmp oeq double %76, 0.000000e+00
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br i1 %77, label %78, label %164

78:                                               ; preds = %75
  %79 = load i64, ptr %21, align 8, !tbaa !11
  %80 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %79, i64 8)
  %81 = extractvalue { i64, i1 } %80, 1
  %82 = extractvalue { i64, i1 } %80, 0
  %83 = select i1 %81, i64 -1, i64 %82
  %84 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %83) #10
          to label %85 unwind label %146

85:                                               ; preds = %78
  store ptr %84, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  store i64 0, ptr %26, align 8, !tbaa !11
  br label %86

86:                                               ; preds = %104, %85
  %87 = load ptr, ptr %22, align 8, !tbaa !5
  %88 = load i64, ptr %26, align 8, !tbaa !11
  %89 = getelementptr inbounds double, ptr %87, i64 %88
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) %89)
          to label %91 unwind label %159

91:                                               ; preds = %86
  %92 = load ptr, ptr %90, align 8, !tbaa !13
  %93 = getelementptr i8, ptr %92, i64 -24
  %94 = load i64, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %90, i64 %94
  %96 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %95)
          to label %97 unwind label %159

97:                                               ; preds = %91
  br i1 %96, label %98, label %102

98:                                               ; preds = %97
  %99 = load i64, ptr %26, align 8, !tbaa !11
  %100 = load i64, ptr %21, align 8, !tbaa !11
  %101 = icmp slt i64 %99, %100
  br label %102

102:                                              ; preds = %98, %97
  %103 = phi i1 [ false, %97 ], [ %101, %98 ]
  br i1 %103, label %104, label %163

104:                                              ; preds = %102
  %105 = load i64, ptr %26, align 8, !tbaa !11
  %106 = add nsw i64 %105, 1
  store i64 %106, ptr %26, align 8, !tbaa !11
  br label %86, !llvm.loop !15

107:                                              ; preds = %2
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %8, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #9
  br label %399

111:                                              ; preds = %38
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %8, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  br label %398

115:                                              ; preds = %40
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %8, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %9, align 4
  br label %123

119:                                              ; preds = %41
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %8, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %123

123:                                              ; preds = %119, %115
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  br label %397

124:                                              ; preds = %43
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %8, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %9, align 4
  br label %132

128:                                              ; preds = %46
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %8, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %132

132:                                              ; preds = %128, %124
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  br label %396

133:                                              ; preds = %48
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %8, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %9, align 4
  br label %141

137:                                              ; preds = %51
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %8, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %141

141:                                              ; preds = %137, %133
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  br label %395

142:                                              ; preds = %53
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %8, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %9, align 4
  br label %394

146:                                              ; preds = %210, %207, %205, %203, %198, %196, %181, %174, %173, %171, %170, %78, %65
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %8, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %9, align 4
  br label %393

150:                                              ; preds = %72
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %8, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %9, align 4
  br label %158

154:                                              ; preds = %73
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %8, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %158

158:                                              ; preds = %154, %150
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %393

159:                                              ; preds = %91, %86
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %8, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %393

163:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %202

164:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %165 unwind label %187

165:                                              ; preds = %164
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %167 unwind label %191

167:                                              ; preds = %165
  %168 = load double, ptr %166, align 8, !tbaa !9
  %169 = fcmp oeq double %168, 1.000000e+00
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br i1 %169, label %170, label %196

170:                                              ; preds = %167
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %171 unwind label %146

171:                                              ; preds = %170
  %172 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %173 unwind label %146

173:                                              ; preds = %171
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264) %23, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef %172)
          to label %174 unwind label %146

174:                                              ; preds = %173
  %175 = load i64, ptr %21, align 8, !tbaa !11
  %176 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %175, i64 8)
  %177 = extractvalue { i64, i1 } %176, 1
  %178 = extractvalue { i64, i1 } %176, 0
  %179 = select i1 %177, i64 -1, i64 %178
  %180 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %179) #10
          to label %181 unwind label %146

181:                                              ; preds = %174
  store ptr %180, ptr %22, align 8, !tbaa !5
  %182 = load ptr, ptr %22, align 8, !tbaa !5
  %183 = load i64, ptr %21, align 8, !tbaa !11
  %184 = mul i64 8, %183
  %185 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef %182, i64 noundef %184)
          to label %186 unwind label %146

186:                                              ; preds = %181
  br label %201

187:                                              ; preds = %164
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %8, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %9, align 4
  br label %195

191:                                              ; preds = %165
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %8, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %195

195:                                              ; preds = %191, %187
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %393

196:                                              ; preds = %167
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.7)
          to label %198 unwind label %146

198:                                              ; preds = %196
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %200 unwind label %146

200:                                              ; preds = %198
  store ptr null, ptr %3, align 8
  store i32 1, ptr %29, align 4
  br label %391

201:                                              ; preds = %186
  br label %202

202:                                              ; preds = %201, %163
  br label %210

203:                                              ; preds = %71
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.8)
          to label %205 unwind label %146

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %207 unwind label %146

207:                                              ; preds = %205
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %209 unwind label %146

209:                                              ; preds = %207
  store ptr null, ptr %3, align 8
  store i32 1, ptr %29, align 4
  br label %391

210:                                              ; preds = %202
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %211 unwind label %146

211:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %212 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.9)
          to label %213 unwind label %229

213:                                              ; preds = %211
  br i1 %212, label %214, label %265

214:                                              ; preds = %213
  %215 = load i64, ptr %12, align 8, !tbaa !11
  %216 = load i64, ptr %15, align 8, !tbaa !11
  %217 = mul nsw i64 %215, %216
  %218 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %217, i64 8)
  %219 = extractvalue { i64, i1 } %218, 1
  %220 = extractvalue { i64, i1 } %218, 0
  %221 = select i1 %219, i64 -1, i64 %220
  %222 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %221) #10
          to label %223 unwind label %229

223:                                              ; preds = %214
  store ptr %222, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  store i64 0, ptr %31, align 8, !tbaa !11
  br label %224

224:                                              ; preds = %261, %223
  %225 = load i64, ptr %31, align 8, !tbaa !11
  %226 = load i64, ptr %12, align 8, !tbaa !11
  %227 = icmp slt i64 %225, %226
  br i1 %227, label %233, label %228

228:                                              ; preds = %224
  store i32 4, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %264

229:                                              ; preds = %375, %373, %371, %320, %317, %268, %265, %214, %211
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %8, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %393

233:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  store i64 0, ptr %32, align 8, !tbaa !11
  br label %234

234:                                              ; preds = %257, %233
  %235 = load i64, ptr %32, align 8, !tbaa !11
  %236 = load i64, ptr %15, align 8, !tbaa !11
  %237 = icmp slt i64 %235, %236
  br i1 %237, label %239, label %238

238:                                              ; preds = %234
  store i32 7, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %260

239:                                              ; preds = %234
  %240 = load ptr, ptr %22, align 8, !tbaa !5
  %241 = load i64, ptr %31, align 8, !tbaa !11
  %242 = load i64, ptr %15, align 8, !tbaa !11
  %243 = load i64, ptr %18, align 8, !tbaa !11
  %244 = add nsw i64 %242, %243
  %245 = mul nsw i64 %241, %244
  %246 = load i64, ptr %32, align 8, !tbaa !11
  %247 = add nsw i64 %245, %246
  %248 = getelementptr inbounds double, ptr %240, i64 %247
  %249 = load double, ptr %248, align 8, !tbaa !9
  %250 = load ptr, ptr %30, align 8, !tbaa !5
  %251 = load i64, ptr %31, align 8, !tbaa !11
  %252 = load i64, ptr %15, align 8, !tbaa !11
  %253 = mul nsw i64 %251, %252
  %254 = load i64, ptr %32, align 8, !tbaa !11
  %255 = add nsw i64 %253, %254
  %256 = getelementptr inbounds double, ptr %250, i64 %255
  store double %249, ptr %256, align 8, !tbaa !9
  br label %257

257:                                              ; preds = %239
  %258 = load i64, ptr %32, align 8, !tbaa !11
  %259 = add nsw i64 %258, 1
  store i64 %259, ptr %32, align 8, !tbaa !11
  br label %234, !llvm.loop !17

260:                                              ; preds = %238
  br label %261

261:                                              ; preds = %260
  %262 = load i64, ptr %31, align 8, !tbaa !11
  %263 = add nsw i64 %262, 1
  store i64 %263, ptr %31, align 8, !tbaa !11
  br label %224, !llvm.loop !18

264:                                              ; preds = %228
  br label %384

265:                                              ; preds = %213
  %266 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.10)
          to label %267 unwind label %229

267:                                              ; preds = %265
  br i1 %266, label %268, label %317

268:                                              ; preds = %267
  %269 = load i64, ptr %12, align 8, !tbaa !11
  %270 = load i64, ptr %18, align 8, !tbaa !11
  %271 = mul nsw i64 %269, %270
  %272 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %271, i64 8)
  %273 = extractvalue { i64, i1 } %272, 1
  %274 = extractvalue { i64, i1 } %272, 0
  %275 = select i1 %273, i64 -1, i64 %274
  %276 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %275) #10
          to label %277 unwind label %229

277:                                              ; preds = %268
  store ptr %276, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  store i64 0, ptr %33, align 8, !tbaa !11
  br label %278

278:                                              ; preds = %313, %277
  %279 = load i64, ptr %33, align 8, !tbaa !11
  %280 = load i64, ptr %12, align 8, !tbaa !11
  %281 = icmp slt i64 %279, %280
  br i1 %281, label %283, label %282

282:                                              ; preds = %278
  store i32 10, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %316

283:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  store i64 0, ptr %34, align 8, !tbaa !11
  br label %284

284:                                              ; preds = %309, %283
  %285 = load i64, ptr %34, align 8, !tbaa !11
  %286 = load i64, ptr %18, align 8, !tbaa !11
  %287 = icmp slt i64 %285, %286
  br i1 %287, label %289, label %288

288:                                              ; preds = %284
  store i32 13, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %312

289:                                              ; preds = %284
  %290 = load ptr, ptr %22, align 8, !tbaa !5
  %291 = load i64, ptr %33, align 8, !tbaa !11
  %292 = load i64, ptr %15, align 8, !tbaa !11
  %293 = load i64, ptr %18, align 8, !tbaa !11
  %294 = add nsw i64 %292, %293
  %295 = mul nsw i64 %291, %294
  %296 = load i64, ptr %15, align 8, !tbaa !11
  %297 = add nsw i64 %295, %296
  %298 = load i64, ptr %34, align 8, !tbaa !11
  %299 = add nsw i64 %297, %298
  %300 = getelementptr inbounds double, ptr %290, i64 %299
  %301 = load double, ptr %300, align 8, !tbaa !9
  %302 = load ptr, ptr %30, align 8, !tbaa !5
  %303 = load i64, ptr %33, align 8, !tbaa !11
  %304 = load i64, ptr %18, align 8, !tbaa !11
  %305 = mul nsw i64 %303, %304
  %306 = load i64, ptr %34, align 8, !tbaa !11
  %307 = add nsw i64 %305, %306
  %308 = getelementptr inbounds double, ptr %302, i64 %307
  store double %301, ptr %308, align 8, !tbaa !9
  br label %309

309:                                              ; preds = %289
  %310 = load i64, ptr %34, align 8, !tbaa !11
  %311 = add nsw i64 %310, 1
  store i64 %311, ptr %34, align 8, !tbaa !11
  br label %284, !llvm.loop !19

312:                                              ; preds = %288
  br label %313

313:                                              ; preds = %312
  %314 = load i64, ptr %33, align 8, !tbaa !11
  %315 = add nsw i64 %314, 1
  store i64 %315, ptr %33, align 8, !tbaa !11
  br label %278, !llvm.loop !20

316:                                              ; preds = %282
  br label %383

317:                                              ; preds = %267
  %318 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.11)
          to label %319 unwind label %229

319:                                              ; preds = %317
  br i1 %318, label %320, label %371

320:                                              ; preds = %319
  %321 = load i64, ptr %15, align 8, !tbaa !11
  %322 = load i64, ptr %18, align 8, !tbaa !11
  %323 = mul nsw i64 %321, %322
  %324 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %323, i64 8)
  %325 = extractvalue { i64, i1 } %324, 1
  %326 = extractvalue { i64, i1 } %324, 0
  %327 = select i1 %325, i64 -1, i64 %326
  %328 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %327) #10
          to label %329 unwind label %229

329:                                              ; preds = %320
  store ptr %328, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  store i64 0, ptr %35, align 8, !tbaa !11
  br label %330

330:                                              ; preds = %367, %329
  %331 = load i64, ptr %35, align 8, !tbaa !11
  %332 = load i64, ptr %15, align 8, !tbaa !11
  %333 = icmp slt i64 %331, %332
  br i1 %333, label %335, label %334

334:                                              ; preds = %330
  store i32 16, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %370

335:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store i64 0, ptr %36, align 8, !tbaa !11
  br label %336

336:                                              ; preds = %363, %335
  %337 = load i64, ptr %36, align 8, !tbaa !11
  %338 = load i64, ptr %18, align 8, !tbaa !11
  %339 = icmp slt i64 %337, %338
  br i1 %339, label %341, label %340

340:                                              ; preds = %336
  store i32 19, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %366

341:                                              ; preds = %336
  %342 = load ptr, ptr %22, align 8, !tbaa !5
  %343 = load i64, ptr %12, align 8, !tbaa !11
  %344 = load i64, ptr %15, align 8, !tbaa !11
  %345 = load i64, ptr %18, align 8, !tbaa !11
  %346 = add nsw i64 %344, %345
  %347 = mul nsw i64 %343, %346
  %348 = load i64, ptr %35, align 8, !tbaa !11
  %349 = load i64, ptr %18, align 8, !tbaa !11
  %350 = mul nsw i64 %348, %349
  %351 = add nsw i64 %347, %350
  %352 = load i64, ptr %36, align 8, !tbaa !11
  %353 = add nsw i64 %351, %352
  %354 = getelementptr inbounds double, ptr %342, i64 %353
  %355 = load double, ptr %354, align 8, !tbaa !9
  %356 = load ptr, ptr %30, align 8, !tbaa !5
  %357 = load i64, ptr %35, align 8, !tbaa !11
  %358 = load i64, ptr %18, align 8, !tbaa !11
  %359 = mul nsw i64 %357, %358
  %360 = load i64, ptr %36, align 8, !tbaa !11
  %361 = add nsw i64 %359, %360
  %362 = getelementptr inbounds double, ptr %356, i64 %361
  store double %355, ptr %362, align 8, !tbaa !9
  br label %363

363:                                              ; preds = %341
  %364 = load i64, ptr %36, align 8, !tbaa !11
  %365 = add nsw i64 %364, 1
  store i64 %365, ptr %36, align 8, !tbaa !11
  br label %336, !llvm.loop !21

366:                                              ; preds = %340
  br label %367

367:                                              ; preds = %366
  %368 = load i64, ptr %35, align 8, !tbaa !11
  %369 = add nsw i64 %368, 1
  store i64 %369, ptr %35, align 8, !tbaa !11
  br label %330, !llvm.loop !22

370:                                              ; preds = %334
  br label %382

371:                                              ; preds = %319
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.12)
          to label %373 unwind label %229

373:                                              ; preds = %371
  %374 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %372, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %375 unwind label %229

375:                                              ; preds = %373
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %374, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %377 unwind label %229

377:                                              ; preds = %375
  %378 = load ptr, ptr %22, align 8, !tbaa !5
  %379 = icmp eq ptr %378, null
  br i1 %379, label %381, label %380

380:                                              ; preds = %377
  call void @_ZdaPv(ptr noundef %378) #11
  br label %381

381:                                              ; preds = %380, %377
  store ptr null, ptr %3, align 8
  store i32 1, ptr %29, align 4
  br label %390

382:                                              ; preds = %370
  br label %383

383:                                              ; preds = %382, %316
  br label %384

384:                                              ; preds = %383, %264
  %385 = load ptr, ptr %22, align 8, !tbaa !5
  %386 = icmp eq ptr %385, null
  br i1 %386, label %388, label %387

387:                                              ; preds = %384
  call void @_ZdaPv(ptr noundef %385) #11
  br label %388

388:                                              ; preds = %387, %384
  %389 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %389, ptr %3, align 8
  store i32 1, ptr %29, align 4
  br label %390

390:                                              ; preds = %388, %381
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %391

391:                                              ; preds = %390, %209, %200
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %23) #9
  call void @llvm.lifetime.end.p0(i64 528, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #9
  %392 = load ptr, ptr %3, align 8
  ret ptr %392

393:                                              ; preds = %229, %195, %159, %158, %146
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %23) #9
  br label %394

394:                                              ; preds = %393, %142
  call void @llvm.lifetime.end.p0(i64 528, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %395

395:                                              ; preds = %394, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %396

396:                                              ; preds = %395, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %397

397:                                              ; preds = %396, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %398

398:                                              ; preds = %397, %111
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  br label %399

399:                                              ; preds = %398, %107
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #9
  br label %400

400:                                              ; preds = %399
  %401 = load ptr, ptr %8, align 8
  %402 = load i32, ptr %9, align 4
  %403 = insertvalue { ptr, i32 } poison, ptr %401, 0
  %404 = insertvalue { ptr, i32 } %403, i32 %402, 1
  resume { ptr, i32 } %404
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { 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 #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nobuiltin allocsize(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 = { 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 #7 = { "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 #8 = { nobuiltin nounwind "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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}


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

%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double>>, std::less<std::__cxx11::basic_string<char>>>::_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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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 }
%"class.std::locale" = 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::allocator.0" = type { i8 }
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"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" }
%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.3 }
%union.anon.3 = type { i32 }

@_ZL4confB5cxx11 = external hidden global %"class.std::map", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [68 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 align 2

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

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

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

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2 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)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noalias noundef ptr @read2d(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator.0", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.0", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.0", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"class.std::basic_fstream", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.0", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %0, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %18 unwind label %69

18:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %1, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %19 unwind label %71

19:                                               ; preds = %18
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %20 unwind label %73

20:                                               ; preds = %19
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %22 unwind label %75

22:                                               ; preds = %20
  %23 = load double, ptr %21, align 8, !tbaa !5
  %24 = fptosi double %23 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %25 unwind label %78

25:                                               ; preds = %22
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %27 unwind label %80

27:                                               ; preds = %25
  %28 = load double, ptr %26, align 8, !tbaa !5
  %29 = fptosi double %28 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %30 unwind label %83

30:                                               ; preds = %27
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %32 unwind label %85

32:                                               ; preds = %30
  %33 = load double, ptr %31, align 8, !tbaa !5
  %34 = fptosi double %33 to i64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  %35 = add i64 %34, %29
  %36 = mul i64 %35, %24
  %37 = mul nsw i64 %34, %29
  %38 = add nsw i64 %36, %37
  call void @llvm.lifetime.start.p0(i64 528, ptr nonnull %13) #9
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 8)
          to label %39 unwind label %88

39:                                               ; preds = %32
  %40 = load ptr, ptr %13, align 8, !tbaa !9
  %41 = getelementptr i8, ptr %40, i64 -24
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %13, i64 %42
  %44 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %43)
          to label %45 unwind label %90

45:                                               ; preds = %39
  br i1 %44, label %46, label %122

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %47 unwind label %92

47:                                               ; preds = %46
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %49 unwind label %94

49:                                               ; preds = %47
  %50 = load double, ptr %48, align 8, !tbaa !5
  %51 = fcmp oeq double %50, 0.000000e+00
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br i1 %51, label %52, label %99

52:                                               ; preds = %49
  %53 = icmp ugt i64 %38, 2305843009213693951
  %54 = shl i64 %38, 3
  %55 = select i1 %53, i64 -1, i64 %54
  %56 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %55) #10
          to label %.preheader125 unwind label %90

.preheader125:                                    ; preds = %52, %65
  %.081 = phi i64 [ %68, %65 ], [ 0, %52 ]
  %57 = getelementptr inbounds double, ptr %56, i64 %.081
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %59 unwind label %97

59:                                               ; preds = %.preheader125
  %60 = load ptr, ptr %58, align 8, !tbaa !9
  %61 = getelementptr i8, ptr %60, i64 -24
  %62 = load i64, ptr %61, align 8
  %63 = getelementptr inbounds i8, ptr %58, i64 %62
  %64 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %63)
          to label %65 unwind label %97

65:                                               ; preds = %59
  %66 = icmp slt i64 %.081, %38
  %67 = select i1 %64, i1 %66, i1 false
  %68 = add nuw nsw i64 %.081, 1
  br i1 %67, label %.preheader125, label %.loopexit126, !llvm.loop !11

69:                                               ; preds = %2
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  br label %207

71:                                               ; preds = %18
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  br label %206

73:                                               ; preds = %19
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %77

75:                                               ; preds = %20
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  br label %77

77:                                               ; preds = %75, %73
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  br label %205

78:                                               ; preds = %22
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %25
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %82

82:                                               ; preds = %80, %78
  %.pn102 = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %205

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

85:                                               ; preds = %30
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %87

87:                                               ; preds = %85, %83
  %.pn104 = phi { ptr, i32 } [ %86, %85 ], [ %84, %83 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %205

88:                                               ; preds = %32
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %204

90:                                               ; preds = %.invoke, %.loopexit126, %124, %122, %120, %113, %108, %106, %105, %52, %39
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %203

92:                                               ; preds = %46
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %47
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %96

96:                                               ; preds = %94, %92
  %.pn106 = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br label %203

97:                                               ; preds = %59, %.preheader125
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %203

99:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %100 unwind label %115

100:                                              ; preds = %99
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) @_ZL4confB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %102 unwind label %117

102:                                              ; preds = %100
  %103 = load double, ptr %101, align 8, !tbaa !5
  %104 = fcmp oeq double %103, 1.000000e+00
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br i1 %104, label %105, label %120

105:                                              ; preds = %102
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264) %13)
          to label %106 unwind label %90

106:                                              ; preds = %105
  %107 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %107)
          to label %108 unwind label %90

108:                                              ; preds = %106
  %109 = icmp ugt i64 %38, 2305843009213693951
  %110 = shl i64 %38, 3
  %111 = select i1 %109, i64 -1, i64 %110
  %112 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %111) #10
          to label %113 unwind label %90

113:                                              ; preds = %108
  %114 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull %112, i64 noundef %110)
          to label %.loopexit126 unwind label %90

115:                                              ; preds = %99
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %100
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %119

119:                                              ; preds = %117, %115
  %.pn108 = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %203

120:                                              ; preds = %102
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.7)
          to label %.invoke unwind label %90

122:                                              ; preds = %45
  %123 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.8)
          to label %124 unwind label %90

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %.invoke unwind label %90

.invoke:                                          ; preds = %124, %120
  %126 = phi ptr [ %121, %120 ], [ %125, %124 ]
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %202 unwind label %90

.loopexit126:                                     ; preds = %65, %113
  %.082 = phi ptr [ %112, %113 ], [ %56, %65 ]
  invoke void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(264) %13)
          to label %128 unwind label %90

128:                                              ; preds = %.loopexit126
  %129 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.9)
  br i1 %129, label %130, label %149

130:                                              ; preds = %128
  %131 = mul nsw i64 %29, %24
  %132 = icmp ugt i64 %131, 2305843009213693951
  %133 = shl i64 %131, 3
  %134 = select i1 %132, i64 -1, i64 %133
  %135 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %134) #10
          to label %.preheader118 unwind label %147

.preheader118:                                    ; preds = %130
  %136 = icmp sgt i64 %24, 0
  %137 = icmp sgt i64 %29, 0
  %or.cond = select i1 %136, i1 %137, i1 false
  br i1 %or.cond, label %.preheader.us.preheader, label %.sink.split

.preheader.us.preheader:                          ; preds = %.preheader118
  %138 = shl i64 %29, 3
  %139 = shl i64 %35, 3
  %xtraiter159 = and i64 %24, 1
  %140 = icmp eq i64 %24, 1
  br i1 %140, label %.sink.split.loopexit.unr-lcssa, label %.preheader.us.preheader.new

.preheader.us.preheader.new:                      ; preds = %.preheader.us.preheader
  %unroll_iter161 = and i64 %24, 9223372036854775806
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us, %.preheader.us.preheader.new
  %.079133.us = phi i64 [ 0, %.preheader.us.preheader.new ], [ %146, %.preheader.us ]
  %niter162 = phi i64 [ 0, %.preheader.us.preheader.new ], [ %niter162.next.1, %.preheader.us ]
  %141 = mul i64 %138, %.079133.us
  %scevgep144 = getelementptr i8, ptr %135, i64 %141
  %142 = mul i64 %139, %.079133.us
  %scevgep145 = getelementptr i8, ptr %.082, i64 %142
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep144, ptr align 8 %scevgep145, i64 %138, i1 false), !tbaa !5
  %143 = or disjoint i64 %.079133.us, 1
  %144 = mul i64 %138, %143
  %scevgep144.1 = getelementptr i8, ptr %135, i64 %144
  %145 = mul i64 %139, %143
  %scevgep145.1 = getelementptr i8, ptr %.082, i64 %145
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep144.1, ptr align 8 %scevgep145.1, i64 %138, i1 false), !tbaa !5
  %146 = add nuw nsw i64 %.079133.us, 2
  %niter162.next.1 = add i64 %niter162, 2
  %niter162.ncmp.1 = icmp eq i64 %niter162.next.1, %unroll_iter161
  br i1 %niter162.ncmp.1, label %.sink.split.loopexit.unr-lcssa, label %.preheader.us, !llvm.loop !13

147:                                              ; preds = %193, %191, %189, %173, %151, %130
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %203

149:                                              ; preds = %128
  %150 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.10)
  br i1 %150, label %151, label %171

151:                                              ; preds = %149
  %152 = mul nsw i64 %34, %24
  %153 = icmp ugt i64 %152, 2305843009213693951
  %154 = shl i64 %152, 3
  %155 = select i1 %153, i64 -1, i64 %154
  %156 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %155) #10
          to label %.preheader120 unwind label %147

.preheader120:                                    ; preds = %151
  %157 = icmp sgt i64 %24, 0
  %158 = icmp sgt i64 %34, 0
  %or.cond149 = select i1 %157, i1 %158, i1 false
  br i1 %or.cond149, label %.preheader119.us.preheader, label %.sink.split

.preheader119.us.preheader:                       ; preds = %.preheader120
  %159 = shl i64 %34, 3
  %160 = shl i64 %29, 3
  %161 = shl i64 %35, 3
  %xtraiter155 = and i64 %24, 1
  %162 = icmp eq i64 %24, 1
  br i1 %162, label %.sink.split.loopexit153.unr-lcssa, label %.preheader119.us.preheader.new

.preheader119.us.preheader.new:                   ; preds = %.preheader119.us.preheader
  %unroll_iter157 = and i64 %24, 9223372036854775806
  br label %.preheader119.us

.preheader119.us:                                 ; preds = %.preheader119.us, %.preheader119.us.preheader.new
  %.077130.us = phi i64 [ 0, %.preheader119.us.preheader.new ], [ %170, %.preheader119.us ]
  %niter158 = phi i64 [ 0, %.preheader119.us.preheader.new ], [ %niter158.next.1, %.preheader119.us ]
  %163 = mul i64 %159, %.077130.us
  %scevgep141 = getelementptr i8, ptr %156, i64 %163
  %164 = mul i64 %161, %.077130.us
  %165 = add i64 %160, %164
  %scevgep142 = getelementptr i8, ptr %.082, i64 %165
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep141, ptr align 8 %scevgep142, i64 %159, i1 false), !tbaa !5
  %166 = or disjoint i64 %.077130.us, 1
  %167 = mul i64 %159, %166
  %scevgep141.1 = getelementptr i8, ptr %156, i64 %167
  %168 = mul i64 %161, %166
  %169 = add i64 %160, %168
  %scevgep142.1 = getelementptr i8, ptr %.082, i64 %169
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep141.1, ptr align 8 %scevgep142.1, i64 %159, i1 false), !tbaa !5
  %170 = add nuw nsw i64 %.077130.us, 2
  %niter158.next.1 = add i64 %niter158, 2
  %niter158.ncmp.1 = icmp eq i64 %niter158.next.1, %unroll_iter157
  br i1 %niter158.ncmp.1, label %.sink.split.loopexit153.unr-lcssa, label %.preheader119.us, !llvm.loop !14

171:                                              ; preds = %149
  %172 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.11)
  br i1 %172, label %173, label %189

173:                                              ; preds = %171
  %174 = icmp ugt i64 %37, 2305843009213693951
  %175 = shl i64 %37, 3
  %176 = select i1 %174, i64 -1, i64 %175
  %177 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %176) #10
          to label %.preheader123 unwind label %147

.preheader123:                                    ; preds = %173
  %178 = icmp sgt i64 %29, 0
  %179 = icmp sgt i64 %34, 0
  %or.cond150 = select i1 %178, i1 %179, i1 false
  br i1 %or.cond150, label %.preheader122.us.preheader, label %.sink.split

.preheader122.us.preheader:                       ; preds = %.preheader123
  %180 = shl i64 %34, 3
  %181 = shl i64 %36, 3
  %xtraiter = and i64 %29, 1
  %182 = icmp eq i64 %29, 1
  br i1 %182, label %.sink.split.loopexit154.unr-lcssa, label %.preheader122.us.preheader.new

.preheader122.us.preheader.new:                   ; preds = %.preheader122.us.preheader
  %unroll_iter = and i64 %29, 9223372036854775806
  br label %.preheader122.us

.preheader122.us:                                 ; preds = %.preheader122.us, %.preheader122.us.preheader.new
  %.075128.us = phi i64 [ 0, %.preheader122.us.preheader.new ], [ %188, %.preheader122.us ]
  %niter = phi i64 [ 0, %.preheader122.us.preheader.new ], [ %niter.next.1, %.preheader122.us ]
  %183 = mul i64 %180, %.075128.us
  %scevgep = getelementptr i8, ptr %177, i64 %183
  %184 = add i64 %181, %183
  %scevgep140 = getelementptr i8, ptr %.082, i64 %184
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep, ptr align 8 %scevgep140, i64 %180, i1 false), !tbaa !5
  %185 = or disjoint i64 %.075128.us, 1
  %186 = mul i64 %180, %185
  %scevgep.1 = getelementptr i8, ptr %177, i64 %186
  %187 = add i64 %181, %186
  %scevgep140.1 = getelementptr i8, ptr %.082, i64 %187
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep.1, ptr align 8 %scevgep140.1, i64 %180, i1 false), !tbaa !5
  %188 = add nuw nsw i64 %.075128.us, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.sink.split.loopexit154.unr-lcssa, label %.preheader122.us, !llvm.loop !15

189:                                              ; preds = %171
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.12)
          to label %191 unwind label %147

191:                                              ; preds = %189
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %193 unwind label %147

193:                                              ; preds = %191
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.sink.split unwind label %147

.sink.split.loopexit.unr-lcssa:                   ; preds = %.preheader.us, %.preheader.us.preheader
  %.079133.us.unr = phi i64 [ 0, %.preheader.us.preheader ], [ %146, %.preheader.us ]
  %lcmp.mod160.not = icmp eq i64 %xtraiter159, 0
  br i1 %lcmp.mod160.not, label %.sink.split, label %.preheader.us.epil

.preheader.us.epil:                               ; preds = %.sink.split.loopexit.unr-lcssa
  %195 = mul i64 %138, %.079133.us.unr
  %scevgep144.epil = getelementptr i8, ptr %135, i64 %195
  %196 = mul i64 %139, %.079133.us.unr
  %scevgep145.epil = getelementptr i8, ptr %.082, i64 %196
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep144.epil, ptr align 8 %scevgep145.epil, i64 %138, i1 false), !tbaa !5
  br label %.sink.split

.sink.split.loopexit153.unr-lcssa:                ; preds = %.preheader119.us, %.preheader119.us.preheader
  %.077130.us.unr = phi i64 [ 0, %.preheader119.us.preheader ], [ %170, %.preheader119.us ]
  %lcmp.mod156.not = icmp eq i64 %xtraiter155, 0
  br i1 %lcmp.mod156.not, label %.sink.split, label %.preheader119.us.epil

.preheader119.us.epil:                            ; preds = %.sink.split.loopexit153.unr-lcssa
  %197 = mul i64 %159, %.077130.us.unr
  %scevgep141.epil = getelementptr i8, ptr %156, i64 %197
  %198 = mul i64 %161, %.077130.us.unr
  %199 = add i64 %160, %198
  %scevgep142.epil = getelementptr i8, ptr %.082, i64 %199
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep141.epil, ptr align 8 %scevgep142.epil, i64 %159, i1 false), !tbaa !5
  br label %.sink.split

.sink.split.loopexit154.unr-lcssa:                ; preds = %.preheader122.us, %.preheader122.us.preheader
  %.075128.us.unr = phi i64 [ 0, %.preheader122.us.preheader ], [ %188, %.preheader122.us ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.sink.split, label %.preheader122.us.epil

.preheader122.us.epil:                            ; preds = %.sink.split.loopexit154.unr-lcssa
  %200 = mul i64 %180, %.075128.us.unr
  %scevgep.epil = getelementptr i8, ptr %177, i64 %200
  %201 = add i64 %181, %200
  %scevgep140.epil = getelementptr i8, ptr %.082, i64 %201
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep.epil, ptr align 8 %scevgep140.epil, i64 %180, i1 false), !tbaa !5
  br label %.sink.split

.sink.split:                                      ; preds = %.preheader122.us.epil, %.sink.split.loopexit154.unr-lcssa, %.preheader119.us.epil, %.sink.split.loopexit153.unr-lcssa, %.preheader.us.epil, %.sink.split.loopexit.unr-lcssa, %.preheader118, %.preheader120, %.preheader123, %193
  %.1.ph = phi ptr [ null, %193 ], [ %135, %.preheader118 ], [ %156, %.preheader120 ], [ %177, %.preheader123 ], [ %135, %.sink.split.loopexit.unr-lcssa ], [ %135, %.preheader.us.epil ], [ %156, %.sink.split.loopexit153.unr-lcssa ], [ %156, %.preheader119.us.epil ], [ %177, %.sink.split.loopexit154.unr-lcssa ], [ %177, %.preheader122.us.epil ]
  call void @_ZdaPv(ptr noundef nonnull %.082) #11
  br label %202

202:                                              ; preds = %.sink.split, %.invoke
  %.1 = phi ptr [ null, %.invoke ], [ %.1.ph, %.sink.split ]
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %13) #9
  call void @llvm.lifetime.end.p0(i64 528, ptr nonnull %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  ret ptr %.1

203:                                              ; preds = %147, %119, %97, %96, %90
  %.pn110 = phi { ptr, i32 } [ %148, %147 ], [ %91, %90 ], [ %98, %97 ], [ %.pn108, %119 ], [ %.pn106, %96 ]
  call void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(264) %13) #9
  br label %204

204:                                              ; preds = %203, %88
  %.pn110.pn = phi { ptr, i32 } [ %.pn110, %203 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 528, ptr nonnull %13) #9
  br label %205

205:                                              ; preds = %82, %204, %87, %77
  %.pn110.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn, %77 ], [ %.pn102, %82 ], [ %.pn110.pn, %204 ], [ %.pn104, %87 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  br label %206

206:                                              ; preds = %205, %71
  %.pn110.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn.pn.pn, %205 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  br label %207

207:                                              ; preds = %206, %69
  %.pn110.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn.pn.pn.pn, %206 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn110.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) local_unnamed_addr #6

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #7

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

; 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) #8

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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = { nobuiltin allocsize(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 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 #6 = { "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 #7 = { nobuiltin nounwind "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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


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