; LLVM IR from MinhasKamal/AlgorithmImplementations :: arithmeticExpressions/infixEvaluation (InfixEvaluation)

; 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::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::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"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 }
%union.anon = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl" }
%"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl" = type { %"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl_data" }
%"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.element = type <{ %"class.std::__cxx11::basic_string", double, i8, [7 x i8] }>
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl" }
%"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl" = type { %"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl_data" }
%"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.7" = type { %"class.std::deque.8" }
%"class.std::deque.8" = type { %"class.std::_Deque_base.9" }
%"class.std::_Deque_base.9" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.10", %"struct.std::_Deque_iterator.10" }
%"struct.std::_Deque_iterator.10" = type { ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::basic_ifstream", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %struct.element, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %struct.element, align 8
  %11 = alloca %"class.std::stack", align 8
  %12 = alloca %"class.std::stack.7", align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i8, align 1
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i8, align 1
  %26 = alloca double, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 520, ptr %2) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef @.str, i32 noundef 8)
          to label %27 unwind label %33

27:                                               ; preds = %0
  %28 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %2)
          to label %29 unwind label %33

29:                                               ; preds = %27
  br i1 %28, label %37, label %30

30:                                               ; preds = %29
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %32 unwind label %33

32:                                               ; preds = %30
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  br label %364

33:                                               ; preds = %30, %27, %0
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %3, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %4, align 4
  br label %366

37:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorI7elementSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %38

38:                                               ; preds = %114, %37
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %40 unwind label %95

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

46:                                               ; preds = %40
  br i1 %45, label %47, label %116

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #7
  call void @_ZN7elementC2Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #7
  %48 = getelementptr inbounds %struct.element, ptr %8, i32 0, i32 0
  %49 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %50 unwind label %99

50:                                               ; preds = %47
  %51 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %52 unwind label %99

52:                                               ; preds = %50
  %53 = load i8, ptr %51, align 1, !tbaa !8
  %54 = sext i8 %53 to i32
  %55 = icmp eq i32 %54, 43
  br i1 %55, label %92, label %56

56:                                               ; preds = %52
  %57 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %58 unwind label %99

58:                                               ; preds = %56
  %59 = load i8, ptr %57, align 1, !tbaa !8
  %60 = sext i8 %59 to i32
  %61 = icmp eq i32 %60, 45
  br i1 %61, label %92, label %62

62:                                               ; preds = %58
  %63 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %64 unwind label %99

64:                                               ; preds = %62
  %65 = load i8, ptr %63, align 1, !tbaa !8
  %66 = sext i8 %65 to i32
  %67 = icmp eq i32 %66, 42
  br i1 %67, label %92, label %68

68:                                               ; preds = %64
  %69 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %70 unwind label %99

70:                                               ; preds = %68
  %71 = load i8, ptr %69, align 1, !tbaa !8
  %72 = sext i8 %71 to i32
  %73 = icmp eq i32 %72, 47
  br i1 %73, label %92, label %74

74:                                               ; preds = %70
  %75 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %76 unwind label %99

76:                                               ; preds = %74
  %77 = load i8, ptr %75, align 1, !tbaa !8
  %78 = sext i8 %77 to i32
  %79 = icmp eq i32 %78, 94
  br i1 %79, label %92, label %80

80:                                               ; preds = %76
  %81 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %82 unwind label %99

82:                                               ; preds = %80
  %83 = load i8, ptr %81, align 1, !tbaa !8
  %84 = sext i8 %83 to i32
  %85 = icmp eq i32 %84, 40
  br i1 %85, label %92, label %86

86:                                               ; preds = %82
  %87 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %88 unwind label %99

88:                                               ; preds = %86
  %89 = load i8, ptr %87, align 1, !tbaa !8
  %90 = sext i8 %89 to i32
  %91 = icmp eq i32 %90, 41
  br i1 %91, label %92, label %103

92:                                               ; preds = %88, %82, %76, %70, %64, %58, %52
  %93 = getelementptr inbounds %struct.element, ptr %8, i32 0, i32 1
  store double -0.000000e+00, ptr %93, align 8, !tbaa !10
  %94 = getelementptr inbounds %struct.element, ptr %8, i32 0, i32 2
  store i8 1, ptr %94, align 8, !tbaa !18
  br label %113

95:                                               ; preds = %116, %40, %38
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %3, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %4, align 4
  br label %363

99:                                               ; preds = %113, %103, %86, %80, %74, %68, %62, %56, %50, %47
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %3, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %4, align 4
  br label %115

103:                                              ; preds = %88
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %104 unwind label %99

104:                                              ; preds = %103
  %105 = invoke noundef double @_Z14stringToDoubleNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %9)
          to label %106 unwind label %109

106:                                              ; preds = %104
  %107 = getelementptr inbounds %struct.element, ptr %8, i32 0, i32 1
  store double %105, ptr %107, align 8, !tbaa !10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  %108 = getelementptr inbounds %struct.element, ptr %8, i32 0, i32 2
  store i8 0, ptr %108, align 8, !tbaa !18
  br label %113

109:                                              ; preds = %104
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %3, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %115

113:                                              ; preds = %106, %92
  invoke void @_ZNSt6vectorI7elementSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(41) %8)
          to label %114 unwind label %99

114:                                              ; preds = %113
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #7
  br label %38, !llvm.loop !19

115:                                              ; preds = %109, %99
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #7
  br label %363

116:                                              ; preds = %46
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %2)
          to label %117 unwind label %95

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #7
  call void @_ZN7elementC2Ev(ptr noundef nonnull align 8 dereferenceable(41) %10) #7
  %118 = getelementptr inbounds %struct.element, ptr %10, i32 0, i32 0
  %119 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %118, ptr noundef @.str.2)
          to label %120 unwind label %132

120:                                              ; preds = %117
  %121 = getelementptr inbounds %struct.element, ptr %10, i32 0, i32 2
  store i8 1, ptr %121, align 8, !tbaa !18
  %122 = getelementptr inbounds %struct.element, ptr %10, i32 0, i32 1
  store double -0.000000e+00, ptr %122, align 8, !tbaa !10
  invoke void @_ZNSt6vectorI7elementSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(41) %10)
          to label %123 unwind label %132

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 80, ptr %11) #7
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %124 unwind label %136

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 80, ptr %12) #7
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %125 unwind label %140

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  store i8 40, ptr %13, align 1, !tbaa !8
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushEOc(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %126 unwind label %144

126:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  store i8 1, ptr %14, align 1, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !22
  br label %127

127:                                              ; preds = %335, %126
  %128 = invoke noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %129 unwind label %148

129:                                              ; preds = %127
  %130 = xor i1 %128, true
  br i1 %130, label %152, label %131

131:                                              ; preds = %129
  store i32 4, ptr %5, align 4
  br label %338

132:                                              ; preds = %120, %117
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %3, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %4, align 4
  br label %362

136:                                              ; preds = %123
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %3, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %4, align 4
  br label %361

140:                                              ; preds = %124
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %3, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %4, align 4
  br label %360

144:                                              ; preds = %125
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %3, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  br label %359

148:                                              ; preds = %331, %236, %192, %181, %165, %159, %127
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %3, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %4, align 4
  br label %339

152:                                              ; preds = %129
  %153 = load i32, ptr %15, align 4, !tbaa !22
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %154) #7
  %156 = getelementptr inbounds %struct.element, ptr %155, i32 0, i32 2
  %157 = load i8, ptr %156, align 8, !tbaa !18, !range !24, !noundef !25
  %158 = trunc i8 %157 to i1
  br i1 %158, label %165, label %159

159:                                              ; preds = %152
  %160 = load i32, ptr %15, align 4, !tbaa !22
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %161) #7
  %163 = getelementptr inbounds %struct.element, ptr %162, i32 0, i32 1
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(8) %163)
          to label %164 unwind label %148

164:                                              ; preds = %159
  br label %326

165:                                              ; preds = %152
  %166 = load i32, ptr %15, align 4, !tbaa !22
  %167 = sext i32 %166 to i64
  %168 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %167) #7
  %169 = getelementptr inbounds %struct.element, ptr %168, i32 0, i32 0
  %170 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %169, i64 noundef 0)
          to label %171 unwind label %148

171:                                              ; preds = %165
  %172 = load i8, ptr %170, align 1, !tbaa !8
  %173 = sext i8 %172 to i32
  %174 = icmp eq i32 %173, 40
  br i1 %174, label %175, label %181

175:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 40, ptr %16, align 1, !tbaa !8
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushEOc(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %176 unwind label %177

176:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %325

177:                                              ; preds = %175
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %3, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %339

181:                                              ; preds = %171
  %182 = load i32, ptr %15, align 4, !tbaa !22
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %183) #7
  %185 = getelementptr inbounds %struct.element, ptr %184, i32 0, i32 0
  %186 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %185, i64 noundef 0)
          to label %187 unwind label %148

187:                                              ; preds = %181
  %188 = load i8, ptr %186, align 1, !tbaa !8
  %189 = sext i8 %188 to i32
  %190 = icmp eq i32 %189, 41
  br i1 %190, label %191, label %238

191:                                              ; preds = %187
  br label %192

192:                                              ; preds = %216, %191
  %193 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %194 unwind label %148

194:                                              ; preds = %192
  %195 = load i8, ptr %193, align 1, !tbaa !8
  %196 = sext i8 %195 to i32
  %197 = icmp ne i32 %196, 40
  br i1 %197, label %198, label %236

198:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %200 unwind label %217

200:                                              ; preds = %198
  %201 = load double, ptr %199, align 8, !tbaa !26
  store double %201, ptr %17, align 8, !tbaa !26
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %202 unwind label %217

202:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %204 unwind label %221

204:                                              ; preds = %202
  %205 = load double, ptr %203, align 8, !tbaa !26
  store double %205, ptr %18, align 8, !tbaa !26
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %206 unwind label %221

206:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  %207 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %208 unwind label %225

208:                                              ; preds = %206
  %209 = load i8, ptr %207, align 1, !tbaa !8
  store i8 %209, ptr %19, align 1, !tbaa !8
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %210 unwind label %225

210:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store double 0.000000e+00, ptr %20, align 8, !tbaa !26
  %211 = load double, ptr %18, align 8, !tbaa !26
  %212 = load double, ptr %17, align 8, !tbaa !26
  %213 = load i8, ptr %19, align 1, !tbaa !8
  %214 = invoke noundef double @_Z9operationddc(double noundef %211, double noundef %212, i8 noundef signext %213)
          to label %215 unwind label %229

215:                                              ; preds = %210
  store double %214, ptr %20, align 8, !tbaa !26
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %216 unwind label %229

216:                                              ; preds = %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %192, !llvm.loop !27

217:                                              ; preds = %200, %198
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %3, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %4, align 4
  br label %235

221:                                              ; preds = %204, %202
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %3, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %4, align 4
  br label %234

225:                                              ; preds = %208, %206
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %3, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %4, align 4
  br label %233

229:                                              ; preds = %215, %210
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %3, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %233

233:                                              ; preds = %229, %225
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %234

234:                                              ; preds = %233, %221
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %235

235:                                              ; preds = %234, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %339

236:                                              ; preds = %194
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %237 unwind label %148

237:                                              ; preds = %236
  br label %324

238:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %239 = load i32, ptr %15, align 4, !tbaa !22
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %240) #7
  %242 = getelementptr inbounds %struct.element, ptr %241, i32 0, i32 0
  %243 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %242, i64 noundef 0)
          to label %244 unwind label %264

244:                                              ; preds = %238
  %245 = load i8, ptr %243, align 1, !tbaa !8
  %246 = invoke noundef i32 @_Z18operatorPrecedencec(i8 noundef signext %245)
          to label %247 unwind label %264

247:                                              ; preds = %244
  store i32 %246, ptr %21, align 4, !tbaa !22
  br label %248

248:                                              ; preds = %313, %247
  %249 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %250 unwind label %264

250:                                              ; preds = %248
  %251 = load i8, ptr %249, align 1, !tbaa !8
  %252 = sext i8 %251 to i32
  %253 = icmp ne i32 %252, 40
  br i1 %253, label %254, label %315

254:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %255 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %256 unwind label %268

256:                                              ; preds = %254
  %257 = load i8, ptr %255, align 1, !tbaa !8
  %258 = invoke noundef i32 @_Z18operatorPrecedencec(i8 noundef signext %257)
          to label %259 unwind label %268

259:                                              ; preds = %256
  store i32 %258, ptr %22, align 4, !tbaa !22
  %260 = load i32, ptr %22, align 4, !tbaa !22
  %261 = load i32, ptr %21, align 4, !tbaa !22
  %262 = icmp slt i32 %260, %261
  br i1 %262, label %263, label %272

263:                                              ; preds = %259
  store i32 10, ptr %5, align 4
  br label %311

264:                                              ; preds = %321, %315, %248, %244, %238
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %3, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %4, align 4
  br label %323

268:                                              ; preds = %256, %254
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %3, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %4, align 4
  br label %314

272:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %274 unwind label %291

274:                                              ; preds = %272
  %275 = load double, ptr %273, align 8, !tbaa !26
  store double %275, ptr %23, align 8, !tbaa !26
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %276 unwind label %291

276:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %278 unwind label %295

278:                                              ; preds = %276
  %279 = load double, ptr %277, align 8, !tbaa !26
  store double %279, ptr %24, align 8, !tbaa !26
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %280 unwind label %295

280:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #7
  %281 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %282 unwind label %299

282:                                              ; preds = %280
  %283 = load i8, ptr %281, align 1, !tbaa !8
  store i8 %283, ptr %25, align 1, !tbaa !8
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %284 unwind label %299

284:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store double 0.000000e+00, ptr %26, align 8, !tbaa !26
  %285 = load double, ptr %24, align 8, !tbaa !26
  %286 = load double, ptr %23, align 8, !tbaa !26
  %287 = load i8, ptr %25, align 1, !tbaa !8
  %288 = invoke noundef double @_Z9operationddc(double noundef %285, double noundef %286, i8 noundef signext %287)
          to label %289 unwind label %303

289:                                              ; preds = %284
  store double %288, ptr %26, align 8, !tbaa !26
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %290 unwind label %303

290:                                              ; preds = %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %310

291:                                              ; preds = %274, %272
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %3, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %4, align 4
  br label %309

295:                                              ; preds = %278, %276
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %3, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %4, align 4
  br label %308

299:                                              ; preds = %282, %280
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %3, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %4, align 4
  br label %307

303:                                              ; preds = %289, %284
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %3, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %307

307:                                              ; preds = %303, %299
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  br label %308

308:                                              ; preds = %307, %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %309

309:                                              ; preds = %308, %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %314

310:                                              ; preds = %290
  store i32 0, ptr %5, align 4
  br label %311

311:                                              ; preds = %310, %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  %312 = load i32, ptr %5, align 4
  switch i32 %312, label %372 [
    i32 0, label %313
    i32 10, label %315
  ]

313:                                              ; preds = %311
  br label %248, !llvm.loop !28

314:                                              ; preds = %309, %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %323

315:                                              ; preds = %311, %250
  %316 = load i32, ptr %15, align 4, !tbaa !22
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %317) #7
  %319 = getelementptr inbounds %struct.element, ptr %318, i32 0, i32 0
  %320 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %319, i64 noundef 0)
          to label %321 unwind label %264

321:                                              ; preds = %315
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushERKc(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 1 dereferenceable(1) %320)
          to label %322 unwind label %264

322:                                              ; preds = %321
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %324

323:                                              ; preds = %314, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %339

324:                                              ; preds = %322, %237
  br label %325

325:                                              ; preds = %324, %176
  br label %326

326:                                              ; preds = %325, %164
  %327 = load i32, ptr %15, align 4, !tbaa !22
  %328 = sext i32 %327 to i64
  %329 = call noundef i64 @_ZNKSt6vectorI7elementSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %330 = icmp ugt i64 %328, %329
  br i1 %330, label %331, label %334

331:                                              ; preds = %326
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %333 unwind label %148

333:                                              ; preds = %331
  store i8 0, ptr %14, align 1, !tbaa !21
  store i32 4, ptr %5, align 4
  br label %338

334:                                              ; preds = %326
  br label %335

335:                                              ; preds = %334
  %336 = load i32, ptr %15, align 4, !tbaa !22
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %15, align 4, !tbaa !22
  br label %127, !llvm.loop !29

338:                                              ; preds = %333, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %340

339:                                              ; preds = %323, %235, %177, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %358

340:                                              ; preds = %338
  %341 = load i8, ptr %14, align 1, !tbaa !21, !range !24, !noundef !25
  %342 = trunc i8 %341 to i1
  br i1 %342, label %343, label %357

343:                                              ; preds = %340
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %345 unwind label %353

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
          to label %347 unwind label %353

347:                                              ; preds = %345
  %348 = load double, ptr %346, align 8, !tbaa !26
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %344, double noundef %348)
          to label %350 unwind label %353

350:                                              ; preds = %347
  %351 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %349, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %352 unwind label %353

352:                                              ; preds = %350
  br label %357

353:                                              ; preds = %350, %347, %345, %343
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %3, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %4, align 4
  br label %358

357:                                              ; preds = %352, %340
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #7
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #7
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #7
  call void @_ZNSt6vectorI7elementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  br label %364

358:                                              ; preds = %353, %339
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %359

359:                                              ; preds = %358, %144
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #7
  br label %360

360:                                              ; preds = %359, %140
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #7
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #7
  br label %361

361:                                              ; preds = %360, %136
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #7
  br label %362

362:                                              ; preds = %361, %132
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #7
  br label %363

363:                                              ; preds = %362, %115, %95
  call void @_ZNSt6vectorI7elementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  br label %366

364:                                              ; preds = %357, %32
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #7
  %365 = load i32, ptr %1, align 4
  ret i32 %365

366:                                              ; preds = %363, %33
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #7
  br label %367

367:                                              ; preds = %366
  %368 = load ptr, ptr %3, align 8
  %369 = load i32, ptr %4, align 4
  %370 = insertvalue { ptr, i32 } poison, ptr %368, 0
  %371 = insertvalue { ptr, i32 } %370, i32 %369, 1
  resume { ptr, i32 } %371

372:                                              ; preds = %311
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256)) #3 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) #4

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7elementC2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z14stringToDoubleNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z9operationddc(double noundef, double noundef, i8 noundef signext) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z18operatorPrecedencec(i8 noundef signext) #3

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 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)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIdSt5dequeIdSaIdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3 align 2

attributes #0 = { mustprogress norecurse 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !7, i64 0}
!10 = !{!11, !16, i64 32}
!11 = !{!"_ZTS7element", !12, i64 0, !16, i64 32, !17, i64 40}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !9, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"double", !9, i64 0}
!17 = !{!"bool", !9, i64 0}
!18 = !{!11, !17, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!17, !17, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !9, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!16, !16, i64 0}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}


; 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::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::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"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 }
%union.anon = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl" }
%"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl" = type { %"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl_data" }
%"struct.std::_Vector_base<element, std::allocator<element>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.element = type <{ %"class.std::__cxx11::basic_string", double, i8, [7 x i8] }>
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl" }
%"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl" = type { %"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl_data" }
%"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.7" = type { %"class.std::deque.8" }
%"class.std::deque.8" = type { %"class.std::_Deque_base.9" }
%"class.std::_Deque_base.9" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.10", %"struct.std::_Deque_iterator.10" }
%"struct.std::_Deque_iterator.10" = type { ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::basic_ifstream", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %struct.element, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %struct.element, align 8
  %7 = alloca %"class.std::stack", align 8
  %8 = alloca %"class.std::stack.7", align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %1) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull @.str, i32 noundef 8)
          to label %13 unwind label %17

13:                                               ; preds = %0
  %14 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  br i1 %14, label %19, label %15

15:                                               ; preds = %13
  %16 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %176 unwind label %17

17:                                               ; preds = %15, %0
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %177

19:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorI7elementSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %20 = getelementptr inbounds i8, ptr %4, i64 32
  %21 = getelementptr inbounds i8, ptr %4, i64 40
  br label %22

22:                                               ; preds = %71, %19
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %24 unwind label %.loopexit50

24:                                               ; preds = %22
  %25 = load ptr, ptr %23, align 8, !tbaa !5
  %26 = getelementptr i8, ptr %25, i64 -24
  %27 = load i64, ptr %26, align 8
  %28 = getelementptr inbounds i8, ptr %23, i64 %27
  %29 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %28)
          to label %30 unwind label %.loopexit50

30:                                               ; preds = %24
  br i1 %29, label %31, label %73

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN7elementC2Ev(ptr noundef nonnull align 8 dereferenceable(41) %4) #7
  %32 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %33 unwind label %62

33:                                               ; preds = %31
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %35 = load i8, ptr %34, align 1, !tbaa !8
  %36 = icmp eq i8 %35, 43
  br i1 %36, label %61, label %37

37:                                               ; preds = %33
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %39 = load i8, ptr %38, align 1, !tbaa !8
  %40 = icmp eq i8 %39, 45
  br i1 %40, label %61, label %41

41:                                               ; preds = %37
  %42 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %43 = load i8, ptr %42, align 1, !tbaa !8
  %44 = icmp eq i8 %43, 42
  br i1 %44, label %61, label %45

45:                                               ; preds = %41
  %46 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %47 = load i8, ptr %46, align 1, !tbaa !8
  %48 = icmp eq i8 %47, 47
  br i1 %48, label %61, label %49

49:                                               ; preds = %45
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %51 = load i8, ptr %50, align 1, !tbaa !8
  %52 = icmp eq i8 %51, 94
  br i1 %52, label %61, label %53

53:                                               ; preds = %49
  %54 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %55 = load i8, ptr %54, align 1, !tbaa !8
  %56 = icmp eq i8 %55, 40
  br i1 %56, label %61, label %57

57:                                               ; preds = %53
  %58 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %59 = load i8, ptr %58, align 1, !tbaa !8
  %60 = icmp eq i8 %59, 41
  br i1 %60, label %61, label %64

61:                                               ; preds = %57, %53, %49, %45, %41, %37, %33
  store double -0.000000e+00, ptr %20, align 8, !tbaa !10
  br label %70

.loopexit50:                                      ; preds = %22, %24
  %lpad.loopexit52 = landingpad { ptr, i32 }
          cleanup
  br label %175

.loopexit.split-lp51:                             ; preds = %73
  %lpad.loopexit.split-lp53 = landingpad { ptr, i32 }
          cleanup
  br label %175

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

64:                                               ; preds = %57
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %65 unwind label %62

65:                                               ; preds = %64
  %66 = invoke noundef double @_Z14stringToDoubleNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %5)
          to label %67 unwind label %68

67:                                               ; preds = %65
  store double %66, ptr %20, align 8, !tbaa !10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %70

68:                                               ; preds = %65
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %72

70:                                               ; preds = %67, %61
  %storemerge = phi i8 [ 0, %67 ], [ 1, %61 ]
  store i8 %storemerge, ptr %21, align 8, !tbaa !18
  invoke void @_ZNSt6vectorI7elementSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(41) %4)
          to label %71 unwind label %62

71:                                               ; preds = %70
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  br label %22, !llvm.loop !19

72:                                               ; preds = %68, %62
  %.pn44 = phi { ptr, i32 } [ %63, %62 ], [ %69, %68 ]
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  br label %175

73:                                               ; preds = %30
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
          to label %74 unwind label %.loopexit.split-lp51

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  call void @_ZN7elementC2Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  %75 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.2)
          to label %76 unwind label %86

76:                                               ; preds = %74
  %77 = getelementptr inbounds i8, ptr %6, i64 40
  store i8 1, ptr %77, align 8, !tbaa !18
  %78 = getelementptr inbounds i8, ptr %6, i64 32
  store double -0.000000e+00, ptr %78, align 8, !tbaa !10
  invoke void @_ZNSt6vectorI7elementSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(41) %6)
          to label %79 unwind label %86

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #7
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
          to label %80 unwind label %88

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %8) #7
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %81 unwind label %90

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  store i8 40, ptr %9, align 1, !tbaa !8
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushEOc(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %82 unwind label %92

82:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  %83 = call noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  br i1 %83, label %.critedge, label %.lr.ph67

84:                                               ; preds = %156
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %85 = call noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  br i1 %85, label %.critedge, label %.lr.ph67, !llvm.loop !21

86:                                               ; preds = %76, %74
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %174

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

90:                                               ; preds = %80
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %172

92:                                               ; preds = %81
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  br label %171

.loopexit:                                        ; preds = %99
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %171

.loopexit.split-lp:                               ; preds = %159
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %171

.lr.ph67:                                         ; preds = %82, %84
  %indvars.iv = phi i64 [ %indvars.iv.next, %84 ], [ 0, %82 ]
  %94 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #7
  %95 = getelementptr inbounds i8, ptr %94, i64 40
  %96 = load i8, ptr %95, align 8, !tbaa !18, !range !22, !noundef !23
  %97 = trunc nuw i8 %96 to i1
  %98 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #7
  br i1 %97, label %101, label %99

99:                                               ; preds = %.lr.ph67
  %100 = getelementptr inbounds i8, ptr %98, i64 32
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %156 unwind label %.loopexit

101:                                              ; preds = %.lr.ph67
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %98, i64 noundef 0)
  %103 = load i8, ptr %102, align 1, !tbaa !8
  %104 = icmp eq i8 %103, 40
  br i1 %104, label %105, label %109

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  store i8 40, ptr %10, align 1, !tbaa !8
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushEOc(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %106 unwind label %107

106:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  br label %156

107:                                              ; preds = %105
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  br label %171

109:                                              ; preds = %101
  %110 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #7
  %111 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %110, i64 noundef 0)
  %112 = load i8, ptr %111, align 1, !tbaa !8
  %113 = icmp eq i8 %112, 41
  br i1 %113, label %.preheader, label %128

.preheader:                                       ; preds = %109
  %114 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %115 = load i8, ptr %114, align 1, !tbaa !8
  %.not3563 = icmp eq i8 %115, 40
  br i1 %.not3563, label %._crit_edge, label %.lr.ph64

.lr.ph64:                                         ; preds = %.preheader, %123
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %117 = load double, ptr %116, align 8, !tbaa !24
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %119 = load double, ptr %118, align 8, !tbaa !24
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %120 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %121 = load i8, ptr %120, align 1, !tbaa !8
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  store double 0.000000e+00, ptr %11, align 8, !tbaa !24
  %122 = call noundef double @_Z9operationddc(double noundef %119, double noundef %117, i8 noundef signext %121)
  store double %122, ptr %11, align 8, !tbaa !24
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %123 unwind label %126

123:                                              ; preds = %.lr.ph64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %124 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %125 = load i8, ptr %124, align 1, !tbaa !8
  %.not35 = icmp eq i8 %125, 40
  br i1 %.not35, label %._crit_edge, label %.lr.ph64, !llvm.loop !25

126:                                              ; preds = %.lr.ph64
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %171

._crit_edge:                                      ; preds = %123, %.preheader
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  br label %156

128:                                              ; preds = %109
  %129 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #7
  %130 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %129, i64 noundef 0)
  %131 = load i8, ptr %130, align 1, !tbaa !8
  %132 = call noundef i32 @_Z18operatorPrecedencec(i8 noundef signext %131)
  %133 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %134 = load i8, ptr %133, align 1, !tbaa !8
  %.not61 = icmp eq i8 %134, 40
  br i1 %.not61, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %128, %151
  %135 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %136 = load i8, ptr %135, align 1, !tbaa !8
  %137 = call noundef i32 @_Z18operatorPrecedencec(i8 noundef signext %136)
  %138 = icmp slt i32 %137, %132
  br i1 %138, label %.thread, label %141

139:                                              ; preds = %.thread
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %171

141:                                              ; preds = %.lr.ph
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %143 = load double, ptr %142, align 8, !tbaa !24
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %145 = load double, ptr %144, align 8, !tbaa !24
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %146 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %147 = load i8, ptr %146, align 1, !tbaa !8
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store double 0.000000e+00, ptr %12, align 8, !tbaa !24
  %148 = call noundef double @_Z9operationddc(double noundef %145, double noundef %143, i8 noundef signext %147)
  store double %148, ptr %12, align 8, !tbaa !24
  invoke void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %151 unwind label %149

149:                                              ; preds = %141
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %171

151:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %152 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
  %153 = load i8, ptr %152, align 1, !tbaa !8
  %.not = icmp eq i8 %153, 40
  br i1 %.not, label %.thread, label %.lr.ph

.thread:                                          ; preds = %151, %.lr.ph, %128
  %154 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt6vectorI7elementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #7
  %155 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %154, i64 noundef 0)
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushERKc(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 1 dereferenceable(1) %155)
          to label %156 unwind label %139

156:                                              ; preds = %.thread, %106, %._crit_edge, %99
  %157 = call noundef i64 @_ZNKSt6vectorI7elementSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %158 = icmp ult i64 %157, %indvars.iv
  br i1 %158, label %159, label %84

159:                                              ; preds = %156
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %170 unwind label %.loopexit.split-lp

.critedge:                                        ; preds = %84, %82
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
          to label %162 unwind label %168

162:                                              ; preds = %.critedge
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIdSt5dequeIdSaIdEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %164 = load double, ptr %163, align 8, !tbaa !24
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %161, double noundef %164)
          to label %166 unwind label %168

166:                                              ; preds = %162
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %170 unwind label %168

168:                                              ; preds = %166, %162, %.critedge
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %171

170:                                              ; preds = %159, %166
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #7
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #7
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @_ZNSt6vectorI7elementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  br label %176

171:                                              ; preds = %.loopexit, %.loopexit.split-lp, %168, %139, %149, %126, %107, %92
  %.pn38.pn = phi { ptr, i32 } [ %93, %92 ], [ %169, %168 ], [ %108, %107 ], [ %127, %126 ], [ %140, %139 ], [ %150, %149 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #7
  br label %172

172:                                              ; preds = %171, %90
  %.pn38.pn.pn = phi { ptr, i32 } [ %.pn38.pn, %171 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #7
  call void @_ZNSt5stackIdSt5dequeIdSaIdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #7
  br label %173

173:                                              ; preds = %172, %88
  %.pn38.pn.pn.pn = phi { ptr, i32 } [ %.pn38.pn.pn, %172 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #7
  br label %174

174:                                              ; preds = %173, %86
  %.pn38.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn38.pn.pn.pn, %173 ], [ %87, %86 ]
  call void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  br label %175

175:                                              ; preds = %.loopexit50, %.loopexit.split-lp51, %174, %72
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %72 ], [ %.pn38.pn.pn.pn.pn, %174 ], [ %lpad.loopexit52, %.loopexit50 ], [ %lpad.loopexit.split-lp53, %.loopexit.split-lp51 ]
  call void @_ZNSt6vectorI7elementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  br label %177

176:                                              ; preds = %15, %170
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #7
  ret i32 0

177:                                              ; preds = %175, %17
  %.pn44.pn.pn = phi { ptr, i32 } [ %.pn44.pn, %175 ], [ %18, %17 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn44.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 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 #4

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7elementC2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z14stringToDoubleNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7elementSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7elementD2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #6 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackIdSt5dequeIdSaIdEEE4pushERKd(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z9operationddc(double noundef, double noundef, i8 noundef signext) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z18operatorPrecedencec(i8 noundef signext) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #2 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)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIdSt5dequeIdSaIdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3 align 2

attributes #0 = { mustprogress norecurse 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !7, i64 0}
!10 = !{!11, !16, i64 32}
!11 = !{!"_ZTS7element", !12, i64 0, !16, i64 32, !17, i64 40}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !9, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"double", !9, i64 0}
!17 = !{!"bool", !9, i64 0}
!18 = !{!11, !17, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!16, !16, i64 0}
!25 = distinct !{!25, !20}


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