; LLVM IR from abeaumont/competitive-programming :: aceptaelreto (108)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_istream" = type { ptr, i64, %"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_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::allocator" = type { i8 }

@xs = external dso_local global [5 x double], align 16
@ys = external dso_local global [5 x i32], align 16
@_Z4catsB5cxx11 = external dso_local global [5 x %"class.std::__cxx11::basic_string"], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %6 = alloca i8, align 1
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca i1, align 1
  %20 = alloca i1, align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca i1, align 1
  %24 = alloca i1, align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %27 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %29
  %31 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %30, ptr noundef null)
  %32 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  br label %33

33:                                               ; preds = %288, %0
  %34 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %35 unwind label %45

35:                                               ; preds = %33
  %36 = load ptr, ptr %34, align 8, !tbaa !5
  %37 = getelementptr i8, ptr %36, i64 -24
  %38 = load i64, ptr %37, align 8
  %39 = getelementptr inbounds i8, ptr %34, i64 %38
  %40 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %39)
          to label %41 unwind label %45

41:                                               ; preds = %35
  br i1 %40, label %42, label %291

42:                                               ; preds = %41
  %43 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  br i1 %43, label %44, label %49

44:                                               ; preds = %42
  br label %291

45:                                               ; preds = %35, %33
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %3, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %4, align 4
  br label %293

49:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 392, ptr %5) #7
  %50 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 8)
          to label %51 unwind label %66

51:                                               ; preds = %49
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %50)
          to label %52 unwind label %66

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %53 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %54 unwind label %70

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %56 unwind label %70

56:                                               ; preds = %54
  %57 = load i8, ptr %6, align 1, !tbaa !8
  %58 = sext i8 %57 to i32
  %59 = icmp eq i32 %58, 65
  br i1 %59, label %60, label %74

60:                                               ; preds = %56
  %61 = load double, ptr %7, align 8, !tbaa !10
  %62 = load double, ptr @xs, align 16, !tbaa !10
  %63 = fadd double %62, %61
  store double %63, ptr @xs, align 16, !tbaa !10
  %64 = load i32, ptr @ys, align 16, !tbaa !12
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr @ys, align 16, !tbaa !12
  br label %288

66:                                               ; preds = %51, %49
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %3, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %4, align 4
  br label %290

70:                                               ; preds = %54, %52
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %3, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %4, align 4
  br label %289

74:                                               ; preds = %56
  %75 = load i8, ptr %6, align 1, !tbaa !8
  %76 = sext i8 %75 to i32
  %77 = icmp eq i32 %76, 67
  br i1 %77, label %78, label %84

78:                                               ; preds = %74
  %79 = load double, ptr %7, align 8, !tbaa !10
  %80 = load double, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 1), align 8, !tbaa !10
  %81 = fadd double %80, %79
  store double %81, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 1), align 8, !tbaa !10
  %82 = load i32, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 1), align 4, !tbaa !12
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 1), align 4, !tbaa !12
  br label %287

84:                                               ; preds = %74
  %85 = load i8, ptr %6, align 1, !tbaa !8
  %86 = sext i8 %85 to i32
  %87 = icmp eq i32 %86, 68
  br i1 %87, label %88, label %94

88:                                               ; preds = %84
  %89 = load double, ptr %7, align 8, !tbaa !10
  %90 = load double, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 2), align 16, !tbaa !10
  %91 = fadd double %90, %89
  store double %91, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 2), align 16, !tbaa !10
  %92 = load i32, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 2), align 8, !tbaa !12
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 2), align 8, !tbaa !12
  br label %286

94:                                               ; preds = %84
  %95 = load i8, ptr %6, align 1, !tbaa !8
  %96 = sext i8 %95 to i32
  %97 = icmp eq i32 %96, 73
  br i1 %97, label %98, label %104

98:                                               ; preds = %94
  %99 = load double, ptr %7, align 8, !tbaa !10
  %100 = load double, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 3), align 8, !tbaa !10
  %101 = fadd double %100, %99
  store double %101, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 3), align 8, !tbaa !10
  %102 = load i32, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 3), align 4, !tbaa !12
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 3), align 4, !tbaa !12
  br label %285

104:                                              ; preds = %94
  %105 = load i8, ptr %6, align 1, !tbaa !8
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %106, 77
  br i1 %107, label %108, label %114

108:                                              ; preds = %104
  %109 = load double, ptr %7, align 8, !tbaa !10
  %110 = load double, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 4), align 16, !tbaa !10
  %111 = fadd double %110, %109
  store double %111, ptr getelementptr inbounds ([5 x double], ptr @xs, i64 0, i64 4), align 16, !tbaa !10
  %112 = load i32, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 4), align 16, !tbaa !12
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr getelementptr inbounds ([5 x i32], ptr @ys, i64 0, i64 4), align 16, !tbaa !12
  br label %284

114:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %115 = load double, ptr @xs, align 16, !tbaa !10
  store double %115, ptr %8, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %116 = load double, ptr @xs, align 16, !tbaa !10
  store double %116, ptr %9, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %117 = load double, ptr @xs, align 16, !tbaa !10
  store double %117, ptr %10, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %118 = load i32, ptr @ys, align 16, !tbaa !12
  store i32 %118, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  store i8 0, ptr %14, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 0, ptr %15, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 1, ptr %16, align 4, !tbaa !12
  br label %119

119:                                              ; preds = %180, %114
  %120 = load i32, ptr %16, align 4, !tbaa !12
  %121 = icmp slt i32 %120, 5
  br i1 %121, label %123, label %122

122:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %183

123:                                              ; preds = %119
  %124 = load i32, ptr %16, align 4, !tbaa !12
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !10
  %128 = load double, ptr %10, align 8, !tbaa !10
  %129 = fadd double %128, %127
  store double %129, ptr %10, align 8, !tbaa !10
  %130 = load i32, ptr %16, align 4, !tbaa !12
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [5 x i32], ptr @ys, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !12
  %134 = load i32, ptr %13, align 4, !tbaa !12
  %135 = add nsw i32 %134, %133
  store i32 %135, ptr %13, align 4, !tbaa !12
  %136 = load i32, ptr %16, align 4, !tbaa !12
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %137
  %139 = load double, ptr %138, align 8, !tbaa !10
  %140 = load double, ptr %8, align 8, !tbaa !10
  %141 = fcmp ogt double %139, %140
  br i1 %141, label %142, label %148

142:                                              ; preds = %123
  %143 = load i32, ptr %16, align 4, !tbaa !12
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %144
  %146 = load double, ptr %145, align 8, !tbaa !10
  store double %146, ptr %8, align 8, !tbaa !10
  %147 = load i32, ptr %16, align 4, !tbaa !12
  store i32 %147, ptr %11, align 4, !tbaa !12
  store i8 0, ptr %14, align 1, !tbaa !14
  br label %157

148:                                              ; preds = %123
  %149 = load i32, ptr %16, align 4, !tbaa !12
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %150
  %152 = load double, ptr %151, align 8, !tbaa !10
  %153 = load double, ptr %8, align 8, !tbaa !10
  %154 = fcmp oeq double %152, %153
  br i1 %154, label %155, label %156

155:                                              ; preds = %148
  store i8 1, ptr %14, align 1, !tbaa !14
  br label %156

156:                                              ; preds = %155, %148
  br label %157

157:                                              ; preds = %156, %142
  %158 = load i32, ptr %16, align 4, !tbaa !12
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %159
  %161 = load double, ptr %160, align 8, !tbaa !10
  %162 = load double, ptr %9, align 8, !tbaa !10
  %163 = fcmp olt double %161, %162
  br i1 %163, label %164, label %170

164:                                              ; preds = %157
  %165 = load i32, ptr %16, align 4, !tbaa !12
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %166
  %168 = load double, ptr %167, align 8, !tbaa !10
  store double %168, ptr %9, align 8, !tbaa !10
  %169 = load i32, ptr %16, align 4, !tbaa !12
  store i32 %169, ptr %12, align 4, !tbaa !12
  store i8 0, ptr %15, align 1, !tbaa !14
  br label %179

170:                                              ; preds = %157
  %171 = load i32, ptr %16, align 4, !tbaa !12
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [5 x double], ptr @xs, i64 0, i64 %172
  %174 = load double, ptr %173, align 8, !tbaa !10
  %175 = load double, ptr %9, align 8, !tbaa !10
  %176 = fcmp oeq double %174, %175
  br i1 %176, label %177, label %178

177:                                              ; preds = %170
  store i8 1, ptr %15, align 1, !tbaa !14
  br label %178

178:                                              ; preds = %177, %170
  br label %179

179:                                              ; preds = %178, %164
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %16, align 4, !tbaa !12
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %16, align 4, !tbaa !12
  br label %119, !llvm.loop !16

183:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  %184 = load i8, ptr %14, align 1, !tbaa !14, !range !18, !noundef !19
  %185 = trunc i8 %184 to i1
  store i1 false, ptr %19, align 1
  store i1 false, ptr %20, align 1
  br i1 %185, label %186, label %188

186:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i1 true, ptr %19, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  store i1 true, ptr %20, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %187 unwind label %244

187:                                              ; preds = %186
  br label %193

188:                                              ; preds = %183
  %189 = load i32, ptr %11, align 4, !tbaa !12
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr @_Z4catsB5cxx11, i64 0, i64 %190
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %191)
          to label %192 unwind label %244

192:                                              ; preds = %188
  br label %193

193:                                              ; preds = %192, %187
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %195 unwind label %248

195:                                              ; preds = %193
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %194, i8 noundef signext 35)
          to label %197 unwind label %248

197:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  %198 = load i8, ptr %15, align 1, !tbaa !14, !range !18, !noundef !19
  %199 = trunc i8 %198 to i1
  store i1 false, ptr %23, align 1
  store i1 false, ptr %24, align 1
  br i1 %199, label %200, label %202

200:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  store i1 true, ptr %23, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  store i1 true, ptr %24, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %201 unwind label %252

201:                                              ; preds = %200
  br label %207

202:                                              ; preds = %197
  %203 = load i32, ptr %12, align 4, !tbaa !12
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr @_Z4catsB5cxx11, i64 0, i64 %204
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %205)
          to label %206 unwind label %252

206:                                              ; preds = %202
  br label %207

207:                                              ; preds = %206, %201
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %209 unwind label %256

209:                                              ; preds = %207
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %208, i8 noundef signext 35)
          to label %211 unwind label %256

211:                                              ; preds = %209
  %212 = load double, ptr @xs, align 16, !tbaa !10
  %213 = load i32, ptr %13, align 4, !tbaa !12
  %214 = sitofp i32 %213 to double
  %215 = fmul double %212, %214
  %216 = load double, ptr %10, align 8, !tbaa !10
  %217 = load i32, ptr @ys, align 16, !tbaa !12
  %218 = sitofp i32 %217 to double
  %219 = fmul double %216, %218
  %220 = fcmp ogt double %215, %219
  br i1 %220, label %221, label %222

221:                                              ; preds = %211
  br label %223

222:                                              ; preds = %211
  br label %223

223:                                              ; preds = %222, %221
  %224 = phi ptr [ @.str.7, %221 ], [ @.str.8, %222 ]
  %225 = getelementptr inbounds [3 x i8], ptr %224, i64 0, i64 0
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef %225)
          to label %227 unwind label %256

227:                                              ; preds = %223
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %226, i8 noundef signext 10)
          to label %229 unwind label %256

229:                                              ; preds = %227
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  %230 = load i1, ptr %24, align 1
  br i1 %230, label %231, label %232

231:                                              ; preds = %229
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  br label %232

232:                                              ; preds = %231, %229
  %233 = load i1, ptr %23, align 1
  br i1 %233, label %234, label %235

234:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  br label %235

235:                                              ; preds = %234, %232
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  %236 = load i1, ptr %20, align 1
  br i1 %236, label %237, label %238

237:                                              ; preds = %235
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  br label %238

238:                                              ; preds = %237, %235
  %239 = load i1, ptr %19, align 1
  br i1 %239, label %240, label %241

240:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  br label %241

241:                                              ; preds = %240, %238
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !12
  invoke void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef @xs, ptr noundef getelementptr inbounds (double, ptr @xs, i64 5), ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %242 unwind label %275

242:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !12
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @ys, ptr noundef getelementptr inbounds (i32, ptr @ys, i64 5), ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %243 unwind label %279

243:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %284

244:                                              ; preds = %188, %186
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %3, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %4, align 4
  br label %268

248:                                              ; preds = %195, %193
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %3, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %4, align 4
  br label %267

252:                                              ; preds = %202, %200
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %3, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %4, align 4
  br label %260

256:                                              ; preds = %227, %223, %209, %207
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %3, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %260

260:                                              ; preds = %256, %252
  %261 = load i1, ptr %24, align 1
  br i1 %261, label %262, label %263

262:                                              ; preds = %260
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  br label %263

263:                                              ; preds = %262, %260
  %264 = load i1, ptr %23, align 1
  br i1 %264, label %265, label %266

265:                                              ; preds = %263
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  br label %266

266:                                              ; preds = %265, %263
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %267

267:                                              ; preds = %266, %248
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %268

268:                                              ; preds = %267, %244
  %269 = load i1, ptr %20, align 1
  br i1 %269, label %270, label %271

270:                                              ; preds = %268
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  br label %271

271:                                              ; preds = %270, %268
  %272 = load i1, ptr %19, align 1
  br i1 %272, label %273, label %274

273:                                              ; preds = %271
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  br label %274

274:                                              ; preds = %273, %271
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %283

275:                                              ; preds = %241
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %3, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %283

279:                                              ; preds = %242
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %3, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %283

283:                                              ; preds = %279, %275, %274
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %289

284:                                              ; preds = %243, %108
  br label %285

285:                                              ; preds = %284, %98
  br label %286

286:                                              ; preds = %285, %88
  br label %287

287:                                              ; preds = %286, %78
  br label %288

288:                                              ; preds = %287, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %5) #7
  br label %33, !llvm.loop !20

289:                                              ; preds = %283, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #7
  br label %290

290:                                              ; preds = %289, %66
  call void @llvm.lifetime.end.p0(i64 392, ptr %5) #7
  br label %293

291:                                              ; preds = %44, %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  %292 = load i32, ptr %1, align 4
  ret i32 %292

293:                                              ; preds = %290, %45
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  br label %294

294:                                              ; preds = %293
  %295 = load ptr, ptr %3, align 8
  %296 = load i32, ptr %4, align 4
  %297 = insertvalue { ptr, i32 } poison, ptr %295, 0
  %298 = insertvalue { ptr, i32 } %297, i32 %296, 1
  resume { ptr, i32 } %298
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_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: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #4

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

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

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

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #5

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !11, i64 0}
!11 = !{!"double", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !9, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !17}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_istream" = type { ptr, i64, %"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_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::allocator" = type { i8 }

@xs = external dso_local global [5 x double], align 16
@ys = external dso_local global [5 x i32], align 16
@_Z4catsB5cxx11 = external dso_local global [5 x %"class.std::__cxx11::basic_string"], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %3 = alloca i8, align 1
  %4 = alloca double, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %13
  %15 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %14, ptr noundef null)
  %16 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  br label %17

17:                                               ; preds = %181, %0
  %18 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %19 unwind label %28

19:                                               ; preds = %17
  %20 = load ptr, ptr %18, align 8, !tbaa !5
  %21 = getelementptr i8, ptr %20, i64 -24
  %22 = load i64, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %18, i64 %22
  %24 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %25 unwind label %28

25:                                               ; preds = %19
  br i1 %24, label %26, label %184

26:                                               ; preds = %25
  %27 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  br i1 %27, label %184, label %30

28:                                               ; preds = %19, %17
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %185

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %2) #7
  %31 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 8)
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128) %2, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %31)
          to label %32 unwind label %44

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %33 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %34 unwind label %46

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %36 unwind label %46

36:                                               ; preds = %34
  %37 = load i8, ptr %3, align 1, !tbaa !8
  switch i8 %37, label %72 [
    i8 65, label %38
    i8 67, label %48
    i8 68, label %54
    i8 73, label %60
    i8 77, label %66
  ]

38:                                               ; preds = %36
  %39 = load double, ptr %4, align 8, !tbaa !10
  %40 = load double, ptr @xs, align 16, !tbaa !10
  %41 = fadd double %39, %40
  store double %41, ptr @xs, align 16, !tbaa !10
  %42 = load i32, ptr @ys, align 16, !tbaa !12
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr @ys, align 16, !tbaa !12
  br label %181

44:                                               ; preds = %30
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %183

46:                                               ; preds = %34, %32
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %182

48:                                               ; preds = %36
  %49 = load double, ptr %4, align 8, !tbaa !10
  %50 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 8), align 8, !tbaa !10
  %51 = fadd double %49, %50
  store double %51, ptr getelementptr inbounds (i8, ptr @xs, i64 8), align 8, !tbaa !10
  %52 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 4), align 4, !tbaa !12
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr getelementptr inbounds (i8, ptr @ys, i64 4), align 4, !tbaa !12
  br label %181

54:                                               ; preds = %36
  %55 = load double, ptr %4, align 8, !tbaa !10
  %56 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 16), align 16, !tbaa !10
  %57 = fadd double %55, %56
  store double %57, ptr getelementptr inbounds (i8, ptr @xs, i64 16), align 16, !tbaa !10
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 8), align 8, !tbaa !12
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr getelementptr inbounds (i8, ptr @ys, i64 8), align 8, !tbaa !12
  br label %181

60:                                               ; preds = %36
  %61 = load double, ptr %4, align 8, !tbaa !10
  %62 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 24), align 8, !tbaa !10
  %63 = fadd double %61, %62
  store double %63, ptr getelementptr inbounds (i8, ptr @xs, i64 24), align 8, !tbaa !10
  %64 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 12), align 4, !tbaa !12
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr getelementptr inbounds (i8, ptr @ys, i64 12), align 4, !tbaa !12
  br label %181

66:                                               ; preds = %36
  %67 = load double, ptr %4, align 8, !tbaa !10
  %68 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 32), align 16, !tbaa !10
  %69 = fadd double %67, %68
  store double %69, ptr getelementptr inbounds (i8, ptr @xs, i64 32), align 16, !tbaa !10
  %70 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 16), align 16, !tbaa !12
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr getelementptr inbounds (i8, ptr @ys, i64 16), align 16, !tbaa !12
  br label %181

72:                                               ; preds = %36
  %73 = load double, ptr @xs, align 16, !tbaa !10
  %74 = load i32, ptr @ys, align 16, !tbaa !12
  %75 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 8), align 8, !tbaa !10
  %76 = fadd double %73, %75
  %77 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 4), align 4, !tbaa !12
  %78 = add nsw i32 %77, %74
  %79 = fcmp ogt double %75, %73
  br i1 %79, label %83, label %80

80:                                               ; preds = %72
  %81 = fcmp oeq double %75, %73
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  br label %83

83:                                               ; preds = %72, %80, %82
  %.157 = phi double [ %73, %82 ], [ %73, %80 ], [ %75, %72 ]
  %.152 = phi i32 [ 0, %82 ], [ 0, %80 ], [ 1, %72 ]
  %.147 = phi i1 [ true, %82 ], [ false, %80 ], [ false, %72 ]
  %84 = fcmp olt double %75, %73
  br i1 %84, label %88, label %85

85:                                               ; preds = %83
  %86 = fcmp oeq double %75, %73
  br i1 %86, label %87, label %88

87:                                               ; preds = %85
  br label %88

88:                                               ; preds = %83, %87, %85
  %.155 = phi double [ %73, %87 ], [ %73, %85 ], [ %75, %83 ]
  %.150 = phi i32 [ 0, %87 ], [ 0, %85 ], [ 1, %83 ]
  %.145 = phi i1 [ true, %87 ], [ false, %85 ], [ false, %83 ]
  %89 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 16), align 16, !tbaa !10
  %90 = fadd double %76, %89
  %91 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 8), align 8, !tbaa !12
  %92 = add nsw i32 %91, %78
  %93 = fcmp ogt double %89, %.157
  br i1 %93, label %97, label %94

94:                                               ; preds = %88
  %95 = fcmp oeq double %89, %.157
  br i1 %95, label %96, label %97

96:                                               ; preds = %94
  br label %97

97:                                               ; preds = %96, %94, %88
  %.157.1 = phi double [ %.157, %96 ], [ %.157, %94 ], [ %89, %88 ]
  %.152.1 = phi i32 [ %.152, %96 ], [ %.152, %94 ], [ 2, %88 ]
  %.147.1 = phi i1 [ true, %96 ], [ %.147, %94 ], [ false, %88 ]
  %98 = fcmp olt double %89, %.155
  br i1 %98, label %102, label %99

99:                                               ; preds = %97
  %100 = fcmp oeq double %89, %.155
  br i1 %100, label %101, label %102

101:                                              ; preds = %99
  br label %102

102:                                              ; preds = %101, %99, %97
  %.155.1 = phi double [ %.155, %101 ], [ %.155, %99 ], [ %89, %97 ]
  %.150.1 = phi i32 [ %.150, %101 ], [ %.150, %99 ], [ 2, %97 ]
  %.145.1 = phi i1 [ true, %101 ], [ %.145, %99 ], [ false, %97 ]
  %103 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 24), align 8, !tbaa !10
  %104 = fadd double %90, %103
  %105 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 12), align 4, !tbaa !12
  %106 = add nsw i32 %105, %92
  %107 = fcmp ogt double %103, %.157.1
  br i1 %107, label %111, label %108

108:                                              ; preds = %102
  %109 = fcmp oeq double %103, %.157.1
  br i1 %109, label %110, label %111

110:                                              ; preds = %108
  br label %111

111:                                              ; preds = %110, %108, %102
  %.157.2 = phi double [ %.157.1, %110 ], [ %.157.1, %108 ], [ %103, %102 ]
  %.152.2 = phi i32 [ %.152.1, %110 ], [ %.152.1, %108 ], [ 3, %102 ]
  %.147.2 = phi i1 [ true, %110 ], [ %.147.1, %108 ], [ false, %102 ]
  %112 = fcmp olt double %103, %.155.1
  br i1 %112, label %116, label %113

113:                                              ; preds = %111
  %114 = fcmp oeq double %103, %.155.1
  br i1 %114, label %115, label %116

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115, %113, %111
  %.155.2 = phi double [ %.155.1, %115 ], [ %.155.1, %113 ], [ %103, %111 ]
  %.150.2 = phi i32 [ %.150.1, %115 ], [ %.150.1, %113 ], [ 3, %111 ]
  %.145.2 = phi i1 [ true, %115 ], [ %.145.1, %113 ], [ false, %111 ]
  %117 = load double, ptr getelementptr inbounds (i8, ptr @xs, i64 32), align 16, !tbaa !10
  %118 = fadd double %104, %117
  %119 = load i32, ptr getelementptr inbounds (i8, ptr @ys, i64 16), align 16, !tbaa !12
  %120 = add nsw i32 %119, %106
  %121 = fcmp ogt double %117, %.157.2
  br i1 %121, label %125, label %122

122:                                              ; preds = %116
  %123 = fcmp oeq double %117, %.157.2
  br i1 %123, label %124, label %125

124:                                              ; preds = %122
  br label %125

125:                                              ; preds = %124, %122, %116
  %.152.3 = phi i32 [ %.152.2, %124 ], [ %.152.2, %122 ], [ 4, %116 ]
  %.147.3 = phi i1 [ true, %124 ], [ %.147.2, %122 ], [ false, %116 ]
  %126 = fcmp olt double %117, %.155.2
  br i1 %126, label %130, label %127

127:                                              ; preds = %125
  %128 = fcmp oeq double %117, %.155.2
  br i1 %128, label %129, label %130

129:                                              ; preds = %127
  br label %130

130:                                              ; preds = %129, %127, %125
  %.150.3 = phi i32 [ %.150.2, %129 ], [ %.150.2, %127 ], [ 4, %125 ]
  %.145.3 = phi i1 [ true, %129 ], [ %.145.2, %127 ], [ false, %125 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  br i1 %.147.3, label %131, label %132

131:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %135 unwind label %164

132:                                              ; preds = %130
  %133 = zext nneg i32 %.152.3 to i64
  %134 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr @_Z4catsB5cxx11, i64 0, i64 %133
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %134)
          to label %135 unwind label %164

135:                                              ; preds = %132, %131
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %137 unwind label %166

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %136, i8 noundef signext 35)
          to label %139 unwind label %166

139:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  br i1 %.145.3, label %140, label %141

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %144 unwind label %168

141:                                              ; preds = %139
  %142 = zext nneg i32 %.150.3 to i64
  %143 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr @_Z4catsB5cxx11, i64 0, i64 %142
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %143)
          to label %144 unwind label %168

144:                                              ; preds = %141, %140
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %146 unwind label %170

146:                                              ; preds = %144
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %145, i8 noundef signext 35)
          to label %148 unwind label %170

148:                                              ; preds = %146
  %149 = load double, ptr @xs, align 16, !tbaa !10
  %150 = sitofp i32 %120 to double
  %151 = fmul double %149, %150
  %152 = load i32, ptr @ys, align 16, !tbaa !12
  %153 = sitofp i32 %152 to double
  %154 = fmul double %118, %153
  %155 = fcmp ogt double %151, %154
  %.str.7..str.8 = select i1 %155, ptr @.str.7, ptr @.str.8
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull %.str.7..str.8)
          to label %157 unwind label %170

157:                                              ; preds = %148
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %156, i8 noundef signext 10)
          to label %159 unwind label %170

159:                                              ; preds = %157
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br i1 %.145.3, label %160, label %.critedge

160:                                              ; preds = %159
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %.critedge

.critedge:                                        ; preds = %159, %160
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br i1 %.147.3, label %161, label %.critedge82

161:                                              ; preds = %.critedge
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %.critedge82

.critedge82:                                      ; preds = %.critedge, %161
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 0, ptr %9, align 4, !tbaa !12
  invoke void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef nonnull @xs, ptr noundef nonnull getelementptr inbounds (i8, ptr @xs, i64 40), ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %162 unwind label %177

162:                                              ; preds = %.critedge82
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 0, ptr %10, align 4, !tbaa !12
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @ys, ptr noundef nonnull getelementptr inbounds (i8, ptr @ys, i64 20), ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %163 unwind label %179

163:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %181

164:                                              ; preds = %132, %131
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %175

166:                                              ; preds = %137, %135
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %174

168:                                              ; preds = %141, %140
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %172

170:                                              ; preds = %157, %148, %146, %144
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %172

172:                                              ; preds = %170, %168
  %.pn = phi { ptr, i32 } [ %171, %170 ], [ %169, %168 ]
  br i1 %.145.3, label %173, label %.critedge84

173:                                              ; preds = %172
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %.critedge84

.critedge84:                                      ; preds = %172, %173
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %174

174:                                              ; preds = %.critedge84, %166
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.critedge84 ], [ %167, %166 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %175

175:                                              ; preds = %174, %164
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %174 ], [ %165, %164 ]
  br i1 %.147.3, label %176, label %.critedge86

176:                                              ; preds = %175
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %.critedge86

.critedge86:                                      ; preds = %175, %176
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %182

177:                                              ; preds = %.critedge82
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %182

179:                                              ; preds = %162
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %182

181:                                              ; preds = %48, %60, %163, %66, %54, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %2) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %2) #7
  br label %17, !llvm.loop !14

182:                                              ; preds = %.critedge86, %177, %179, %46
  %.pn76.pn = phi { ptr, i32 } [ %47, %46 ], [ %180, %179 ], [ %178, %177 ], [ %.pn.pn.pn, %.critedge86 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %2) #7
  br label %183

183:                                              ; preds = %182, %44
  %.pn76.pn.pn = phi { ptr, i32 } [ %.pn76.pn, %182 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %2) #7
  br label %185

184:                                              ; preds = %26, %25
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  ret i32 0

185:                                              ; preds = %183, %28
  %.pn76.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn, %183 ], [ %29, %28 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn76.pn.pn.pn
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_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: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4

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

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

; 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 #5

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass