; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnflow (inputData)

; 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::allocator.0" = type { i8 }
%struct.PoreStruct = type { i32, double, double, double, i32, double, double, double, double }

@.str.62 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [11 x i8], align 1
@__FUNCTION__._ZNK9InputData15findClosestPoreESt6vectorI6tuple3IP10PoreStructPiS4_ESaIS5_EEdddRd = external hidden unnamed_addr constant [16 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [21 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: 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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z6_cerr_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_i(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2_sIiENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) #2

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK9InputData15findClosestPoreESt6vectorI6tuple3IP10PoreStructPiS4_ESaIS5_EEdddRd(ptr noundef nonnull align 8 dereferenceable(2640) %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca i1, align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i1, align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca i1, align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca i1, align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca i1, align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca i1, align 1
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca i1, align 1
  %31 = alloca i1, align 1
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i1, align 1
  %35 = alloca i1, align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca i1, align 1
  %38 = alloca %"class.std::allocator.0", align 1
  %39 = alloca i1, align 1
  %40 = alloca i1, align 1
  %41 = alloca i1, align 1
  %42 = alloca i1, align 1
  %43 = alloca i1, align 1
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca i1, align 1
  %46 = alloca %"class.std::allocator.0", align 1
  %47 = alloca i1, align 1
  %48 = alloca i1, align 1
  %49 = alloca i1, align 1
  %50 = alloca i1, align 1
  %51 = alloca i1, align 1
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca i1, align 1
  %54 = alloca i32, align 4
  %55 = alloca i1, align 1
  %56 = alloca i1, align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca i1, align 1
  %60 = alloca %"class.std::allocator.0", align 1
  %61 = alloca i1, align 1
  %62 = alloca i1, align 1
  %63 = alloca i1, align 1
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca i1, align 1
  %66 = alloca %"class.std::allocator.0", align 1
  %67 = alloca i1, align 1
  %68 = alloca i1, align 1
  %69 = alloca i1, align 1
  %70 = alloca i1, align 1
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store double %2, ptr %9, align 8, !tbaa !9
  store double %3, ptr %10, align 8, !tbaa !9
  store double %4, ptr %11, align 8, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  %71 = load ptr, ptr %7, align 8
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  store double 1.000000e+21, ptr %72, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 -99, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %73

73:                                               ; preds = %123, %6
  %74 = load i64, ptr %14, align 8, !tbaa !13
  %75 = call noundef i64 @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %76 = icmp ult i64 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %126

78:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %79 = load double, ptr %9, align 8, !tbaa !9
  %80 = load i64, ptr %14, align 8, !tbaa !13
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %80) #5
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.PoreStruct, ptr %83, i32 0, i32 1
  %85 = load double, ptr %84, align 8, !tbaa !15
  %86 = fsub double %79, %85
  %87 = call double @pow(double noundef %86, double noundef 2.000000e+00) #5
  %88 = load double, ptr %10, align 8, !tbaa !9
  %89 = load i64, ptr %14, align 8, !tbaa !13
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %89) #5
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.PoreStruct, ptr %92, i32 0, i32 2
  %94 = load double, ptr %93, align 8, !tbaa !17
  %95 = fsub double %88, %94
  %96 = call double @pow(double noundef %95, double noundef 2.000000e+00) #5
  %97 = fadd double %87, %96
  %98 = load double, ptr %11, align 8, !tbaa !9
  %99 = load i64, ptr %14, align 8, !tbaa !13
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %99) #5
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %100)
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.PoreStruct, ptr %102, i32 0, i32 3
  %104 = load double, ptr %103, align 8, !tbaa !18
  %105 = fsub double %98, %104
  %106 = call double @pow(double noundef %105, double noundef 2.000000e+00) #5
  %107 = fadd double %97, %106
  %108 = call double @sqrt(double noundef %107) #5
  store double %108, ptr %15, align 8, !tbaa !9
  %109 = load double, ptr %15, align 8, !tbaa !9
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = load double, ptr %110, align 8, !tbaa !9
  %112 = fcmp olt double %109, %111
  br i1 %112, label %113, label %122

113:                                              ; preds = %78
  %114 = load double, ptr %15, align 8, !tbaa !9
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  store double %114, ptr %115, align 8, !tbaa !9
  %116 = load i64, ptr %14, align 8, !tbaa !13
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %116) #5
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %117)
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.PoreStruct, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 8, !tbaa !19
  store i32 %121, ptr %13, align 4, !tbaa !11
  br label %122

122:                                              ; preds = %113, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %123

123:                                              ; preds = %122
  %124 = load i64, ptr %14, align 8, !tbaa !13
  %125 = add i64 %124, 1
  store i64 %125, ptr %14, align 8, !tbaa !13
  br label %73, !llvm.loop !20

126:                                              ; preds = %77
  %127 = load i32, ptr %13, align 4, !tbaa !11
  %128 = icmp ne i32 %127, -99
  store i1 false, ptr %18, align 1
  store i1 false, ptr %20, align 1
  store i1 false, ptr %22, align 1
  store i1 false, ptr %24, align 1
  store i1 false, ptr %26, align 1
  store i1 false, ptr %28, align 1
  store i1 false, ptr %30, align 1
  store i1 false, ptr %31, align 1
  store i1 false, ptr %34, align 1
  store i1 false, ptr %35, align 1
  store i1 false, ptr %37, align 1
  store i1 false, ptr %39, align 1
  store i1 false, ptr %40, align 1
  store i1 false, ptr %41, align 1
  store i1 false, ptr %42, align 1
  store i1 false, ptr %43, align 1
  store i1 false, ptr %45, align 1
  store i1 false, ptr %47, align 1
  store i1 false, ptr %48, align 1
  store i1 false, ptr %49, align 1
  store i1 false, ptr %50, align 1
  store i1 false, ptr %51, align 1
  store i1 false, ptr %53, align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #5
  store i1 false, ptr %55, align 1
  store i1 false, ptr %56, align 1
  store i1 false, ptr %59, align 1
  store i1 false, ptr %61, align 1
  store i1 false, ptr %62, align 1
  store i1 false, ptr %63, align 1
  store i1 false, ptr %65, align 1
  store i1 false, ptr %67, align 1
  store i1 false, ptr %68, align 1
  store i1 false, ptr %69, align 1
  store i1 false, ptr %70, align 1
  br i1 %128, label %145, label %129

129:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  store i1 true, ptr %18, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #5
  store i1 true, ptr %20, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  store i1 true, ptr %22, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  store i1 true, ptr %24, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #5
  store i1 true, ptr %26, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #5
  store i1 true, ptr %28, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  store i1 true, ptr %30, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  store i1 true, ptr %31, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.73, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %130 unwind label %251

130:                                              ; preds = %129
  store i1 true, ptr %34, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.62)
          to label %131 unwind label %255

131:                                              ; preds = %130
  store i1 true, ptr %35, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #5
  store i1 true, ptr %37, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  store i1 true, ptr %39, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  store i1 true, ptr %40, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @__FUNCTION__._ZNK9InputData15findClosestPoreESt6vectorI6tuple3IP10PoreStructPiS4_ESaIS5_EEdddRd, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %132 unwind label %259

132:                                              ; preds = %131
  store i1 true, ptr %41, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %133 unwind label %263

133:                                              ; preds = %132
  store i1 true, ptr %42, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.63)
          to label %134 unwind label %267

134:                                              ; preds = %133
  store i1 true, ptr %43, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #5
  store i1 true, ptr %45, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #5
  store i1 true, ptr %47, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  store i1 true, ptr %48, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.64, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %135 unwind label %271

135:                                              ; preds = %134
  store i1 true, ptr %49, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %136 unwind label %275

136:                                              ; preds = %135
  store i1 true, ptr %50, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.65)
          to label %137 unwind label %279

137:                                              ; preds = %136
  store i1 true, ptr %51, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #5
  store i1 true, ptr %53, align 1
  store i32 935, ptr %54, align 4, !tbaa !11
  invoke void @_Z2_sIiENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %138 unwind label %283

138:                                              ; preds = %137
  store i1 true, ptr %55, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %139 unwind label %287

139:                                              ; preds = %138
  store i1 true, ptr %56, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #5
  store i1 true, ptr %59, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #5
  store i1 true, ptr %61, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #5
  store i1 true, ptr %62, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef @.str.66, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %140 unwind label %291

140:                                              ; preds = %139
  store i1 true, ptr %63, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #5
  store i1 true, ptr %65, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %66) #5
  store i1 true, ptr %67, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #5
  store i1 true, ptr %68, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef @.str.84, ptr noundef nonnull align 1 dereferenceable(1) %66)
          to label %141 unwind label %295

141:                                              ; preds = %140
  store i1 true, ptr %69, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %57, ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %142 unwind label %299

142:                                              ; preds = %141
  store i1 true, ptr %70, align 1
  %143 = invoke noundef zeroext i1 @_Z6_cerr_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_i(ptr noundef %16, ptr noundef %57, i32 noundef 0)
          to label %144 unwind label %303

144:                                              ; preds = %142
  br label %145

145:                                              ; preds = %144, %126
  %146 = phi i1 [ true, %126 ], [ %143, %144 ]
  %147 = xor i1 %146, true
  %148 = load i1, ptr %70, align 1
  br i1 %148, label %149, label %150

149:                                              ; preds = %145
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #5
  br label %150

150:                                              ; preds = %149, %145
  %151 = load i1, ptr %69, align 1
  br i1 %151, label %152, label %153

152:                                              ; preds = %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  br label %153

153:                                              ; preds = %152, %150
  %154 = load i1, ptr %68, align 1
  br i1 %154, label %155, label %156

155:                                              ; preds = %153
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #5
  br label %156

156:                                              ; preds = %155, %153
  %157 = load i1, ptr %67, align 1
  br i1 %157, label %158, label %159

158:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #5
  br label %159

159:                                              ; preds = %158, %156
  %160 = load i1, ptr %65, align 1
  br i1 %160, label %161, label %162

161:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #5
  br label %162

162:                                              ; preds = %161, %159
  %163 = load i1, ptr %63, align 1
  br i1 %163, label %164, label %165

164:                                              ; preds = %162
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #5
  br label %165

165:                                              ; preds = %164, %162
  %166 = load i1, ptr %62, align 1
  br i1 %166, label %167, label %168

167:                                              ; preds = %165
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #5
  br label %168

168:                                              ; preds = %167, %165
  %169 = load i1, ptr %61, align 1
  br i1 %169, label %170, label %171

170:                                              ; preds = %168
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #5
  br label %171

171:                                              ; preds = %170, %168
  %172 = load i1, ptr %59, align 1
  br i1 %172, label %173, label %174

173:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #5
  br label %174

174:                                              ; preds = %173, %171
  %175 = load i1, ptr %56, align 1
  br i1 %175, label %176, label %177

176:                                              ; preds = %174
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %177

177:                                              ; preds = %176, %174
  %178 = load i1, ptr %55, align 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %177
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #5
  br label %180

180:                                              ; preds = %179, %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  %181 = load i1, ptr %53, align 1
  br i1 %181, label %182, label %183

182:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #5
  br label %183

183:                                              ; preds = %182, %180
  %184 = load i1, ptr %51, align 1
  br i1 %184, label %185, label %186

185:                                              ; preds = %183
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %186

186:                                              ; preds = %185, %183
  %187 = load i1, ptr %50, align 1
  br i1 %187, label %188, label %189

188:                                              ; preds = %186
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %189

189:                                              ; preds = %188, %186
  %190 = load i1, ptr %49, align 1
  br i1 %190, label %191, label %192

191:                                              ; preds = %189
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  br label %192

192:                                              ; preds = %191, %189
  %193 = load i1, ptr %48, align 1
  br i1 %193, label %194, label %195

194:                                              ; preds = %192
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  br label %195

195:                                              ; preds = %194, %192
  %196 = load i1, ptr %47, align 1
  br i1 %196, label %197, label %198

197:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  br label %198

198:                                              ; preds = %197, %195
  %199 = load i1, ptr %45, align 1
  br i1 %199, label %200, label %201

200:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #5
  br label %201

201:                                              ; preds = %200, %198
  %202 = load i1, ptr %43, align 1
  br i1 %202, label %203, label %204

203:                                              ; preds = %201
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %204

204:                                              ; preds = %203, %201
  %205 = load i1, ptr %42, align 1
  br i1 %205, label %206, label %207

206:                                              ; preds = %204
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %207

207:                                              ; preds = %206, %204
  %208 = load i1, ptr %41, align 1
  br i1 %208, label %209, label %210

209:                                              ; preds = %207
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #5
  br label %210

210:                                              ; preds = %209, %207
  %211 = load i1, ptr %40, align 1
  br i1 %211, label %212, label %213

212:                                              ; preds = %210
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  br label %213

213:                                              ; preds = %212, %210
  %214 = load i1, ptr %39, align 1
  br i1 %214, label %215, label %216

215:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  br label %216

216:                                              ; preds = %215, %213
  %217 = load i1, ptr %37, align 1
  br i1 %217, label %218, label %219

218:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #5
  br label %219

219:                                              ; preds = %218, %216
  %220 = load i1, ptr %35, align 1
  br i1 %220, label %221, label %222

221:                                              ; preds = %219
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  br label %222

222:                                              ; preds = %221, %219
  %223 = load i1, ptr %34, align 1
  br i1 %223, label %224, label %225

224:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  br label %225

225:                                              ; preds = %224, %222
  %226 = load i1, ptr %31, align 1
  br i1 %226, label %227, label %228

227:                                              ; preds = %225
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  br label %228

228:                                              ; preds = %227, %225
  %229 = load i1, ptr %30, align 1
  br i1 %229, label %230, label %231

230:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  br label %231

231:                                              ; preds = %230, %228
  %232 = load i1, ptr %28, align 1
  br i1 %232, label %233, label %234

233:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  br label %234

234:                                              ; preds = %233, %231
  %235 = load i1, ptr %26, align 1
  br i1 %235, label %236, label %237

236:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #5
  br label %237

237:                                              ; preds = %236, %234
  %238 = load i1, ptr %24, align 1
  br i1 %238, label %239, label %240

239:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  br label %240

240:                                              ; preds = %239, %237
  %241 = load i1, ptr %22, align 1
  br i1 %241, label %242, label %243

242:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  br label %243

243:                                              ; preds = %242, %240
  %244 = load i1, ptr %20, align 1
  br i1 %244, label %245, label %246

245:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  br label %246

246:                                              ; preds = %245, %243
  %247 = load i1, ptr %18, align 1
  br i1 %247, label %248, label %249

248:                                              ; preds = %246
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %249

249:                                              ; preds = %248, %246
  %250 = load i32, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret i32 %250

251:                                              ; preds = %129
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %32, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %33, align 4
  br label %397

255:                                              ; preds = %130
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %32, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %33, align 4
  br label %393

259:                                              ; preds = %131
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %32, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %33, align 4
  br label %380

263:                                              ; preds = %132
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %32, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %33, align 4
  br label %376

267:                                              ; preds = %133
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %32, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %33, align 4
  br label %372

271:                                              ; preds = %134
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %32, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %33, align 4
  br label %359

275:                                              ; preds = %135
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %32, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %33, align 4
  br label %355

279:                                              ; preds = %136
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %32, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %33, align 4
  br label %351

283:                                              ; preds = %137
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %32, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %33, align 4
  br label %344

287:                                              ; preds = %138
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %32, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %33, align 4
  br label %340

291:                                              ; preds = %139
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %32, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %33, align 4
  br label %327

295:                                              ; preds = %140
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %32, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %33, align 4
  br label %314

299:                                              ; preds = %141
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %32, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %33, align 4
  br label %310

303:                                              ; preds = %142
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %32, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %33, align 4
  %307 = load i1, ptr %70, align 1
  br i1 %307, label %308, label %309

308:                                              ; preds = %303
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #5
  br label %309

309:                                              ; preds = %308, %303
  br label %310

310:                                              ; preds = %309, %299
  %311 = load i1, ptr %69, align 1
  br i1 %311, label %312, label %313

312:                                              ; preds = %310
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  br label %313

313:                                              ; preds = %312, %310
  br label %314

314:                                              ; preds = %313, %295
  %315 = load i1, ptr %68, align 1
  br i1 %315, label %316, label %317

316:                                              ; preds = %314
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #5
  br label %317

317:                                              ; preds = %316, %314
  %318 = load i1, ptr %67, align 1
  br i1 %318, label %319, label %320

319:                                              ; preds = %317
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #5
  br label %320

320:                                              ; preds = %319, %317
  %321 = load i1, ptr %65, align 1
  br i1 %321, label %322, label %323

322:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #5
  br label %323

323:                                              ; preds = %322, %320
  %324 = load i1, ptr %63, align 1
  br i1 %324, label %325, label %326

325:                                              ; preds = %323
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #5
  br label %326

326:                                              ; preds = %325, %323
  br label %327

327:                                              ; preds = %326, %291
  %328 = load i1, ptr %62, align 1
  br i1 %328, label %329, label %330

329:                                              ; preds = %327
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #5
  br label %330

330:                                              ; preds = %329, %327
  %331 = load i1, ptr %61, align 1
  br i1 %331, label %332, label %333

332:                                              ; preds = %330
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #5
  br label %333

333:                                              ; preds = %332, %330
  %334 = load i1, ptr %59, align 1
  br i1 %334, label %335, label %336

335:                                              ; preds = %333
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #5
  br label %336

336:                                              ; preds = %335, %333
  %337 = load i1, ptr %56, align 1
  br i1 %337, label %338, label %339

338:                                              ; preds = %336
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %339

339:                                              ; preds = %338, %336
  br label %340

340:                                              ; preds = %339, %287
  %341 = load i1, ptr %55, align 1
  br i1 %341, label %342, label %343

342:                                              ; preds = %340
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #5
  br label %343

343:                                              ; preds = %342, %340
  br label %344

344:                                              ; preds = %343, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  %345 = load i1, ptr %53, align 1
  br i1 %345, label %346, label %347

346:                                              ; preds = %344
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #5
  br label %347

347:                                              ; preds = %346, %344
  %348 = load i1, ptr %51, align 1
  br i1 %348, label %349, label %350

349:                                              ; preds = %347
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %350

350:                                              ; preds = %349, %347
  br label %351

351:                                              ; preds = %350, %279
  %352 = load i1, ptr %50, align 1
  br i1 %352, label %353, label %354

353:                                              ; preds = %351
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %354

354:                                              ; preds = %353, %351
  br label %355

355:                                              ; preds = %354, %275
  %356 = load i1, ptr %49, align 1
  br i1 %356, label %357, label %358

357:                                              ; preds = %355
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  br label %358

358:                                              ; preds = %357, %355
  br label %359

359:                                              ; preds = %358, %271
  %360 = load i1, ptr %48, align 1
  br i1 %360, label %361, label %362

361:                                              ; preds = %359
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  br label %362

362:                                              ; preds = %361, %359
  %363 = load i1, ptr %47, align 1
  br i1 %363, label %364, label %365

364:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  br label %365

365:                                              ; preds = %364, %362
  %366 = load i1, ptr %45, align 1
  br i1 %366, label %367, label %368

367:                                              ; preds = %365
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #5
  br label %368

368:                                              ; preds = %367, %365
  %369 = load i1, ptr %43, align 1
  br i1 %369, label %370, label %371

370:                                              ; preds = %368
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %371

371:                                              ; preds = %370, %368
  br label %372

372:                                              ; preds = %371, %267
  %373 = load i1, ptr %42, align 1
  br i1 %373, label %374, label %375

374:                                              ; preds = %372
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %375

375:                                              ; preds = %374, %372
  br label %376

376:                                              ; preds = %375, %263
  %377 = load i1, ptr %41, align 1
  br i1 %377, label %378, label %379

378:                                              ; preds = %376
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #5
  br label %379

379:                                              ; preds = %378, %376
  br label %380

380:                                              ; preds = %379, %259
  %381 = load i1, ptr %40, align 1
  br i1 %381, label %382, label %383

382:                                              ; preds = %380
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  br label %383

383:                                              ; preds = %382, %380
  %384 = load i1, ptr %39, align 1
  br i1 %384, label %385, label %386

385:                                              ; preds = %383
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  br label %386

386:                                              ; preds = %385, %383
  %387 = load i1, ptr %37, align 1
  br i1 %387, label %388, label %389

388:                                              ; preds = %386
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #5
  br label %389

389:                                              ; preds = %388, %386
  %390 = load i1, ptr %35, align 1
  br i1 %390, label %391, label %392

391:                                              ; preds = %389
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  br label %392

392:                                              ; preds = %391, %389
  br label %393

393:                                              ; preds = %392, %255
  %394 = load i1, ptr %34, align 1
  br i1 %394, label %395, label %396

395:                                              ; preds = %393
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #5
  br label %396

396:                                              ; preds = %395, %393
  br label %397

397:                                              ; preds = %396, %251
  %398 = load i1, ptr %31, align 1
  br i1 %398, label %399, label %400

399:                                              ; preds = %397
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  br label %400

400:                                              ; preds = %399, %397
  %401 = load i1, ptr %30, align 1
  br i1 %401, label %402, label %403

402:                                              ; preds = %400
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  br label %403

403:                                              ; preds = %402, %400
  %404 = load i1, ptr %28, align 1
  br i1 %404, label %405, label %406

405:                                              ; preds = %403
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  br label %406

406:                                              ; preds = %405, %403
  %407 = load i1, ptr %26, align 1
  br i1 %407, label %408, label %409

408:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #5
  br label %409

409:                                              ; preds = %408, %406
  %410 = load i1, ptr %24, align 1
  br i1 %410, label %411, label %412

411:                                              ; preds = %409
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  br label %412

412:                                              ; preds = %411, %409
  %413 = load i1, ptr %22, align 1
  br i1 %413, label %414, label %415

414:                                              ; preds = %412
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  br label %415

415:                                              ; preds = %414, %412
  %416 = load i1, ptr %20, align 1
  br i1 %416, label %417, label %418

417:                                              ; preds = %415
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  br label %418

418:                                              ; preds = %417, %415
  %419 = load i1, ptr %18, align 1
  br i1 %419, label %420, label %421

420:                                              ; preds = %418
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %421

421:                                              ; preds = %420, %418
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %422

422:                                              ; preds = %421
  %423 = load ptr, ptr %32, align 8
  %424 = load i32, ptr %33, align 4
  %425 = insertvalue { ptr, i32 } poison, ptr %423, 0
  %426 = insertvalue { ptr, i32 } %425, i32 %424, 1
  resume { ptr, i32 } %426
}

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

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

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


; 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::allocator.0" = type { i8 }

@.str.62 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [11 x i8], align 1
@__FUNCTION__._ZNK9InputData15findClosestPoreESt6vectorI6tuple3IP10PoreStructPiS4_ESaIS5_EEdddRd = external hidden unnamed_addr constant [16 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [21 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress 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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z6_cerr_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2_sIiENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK9InputData15findClosestPoreESt6vectorI6tuple3IP10PoreStructPiS4_ESaIS5_EEdddRd(ptr nocapture noundef nonnull readnone align 8 dereferenceable(2640) %0, ptr noundef nonnull %1, double noundef %2, double noundef %3, double noundef %4, ptr nocapture noundef nonnull align 8 dereferenceable(8) %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.0", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  store double 1.000000e+21, ptr %5, align 8, !tbaa !5
  %26 = tail call noundef i64 @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %.not188 = icmp eq i64 %26, 0
  br i1 %.not188, label %._crit_edge.thread, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %6
  %27 = insertelement <2 x double> poison, double %2, i64 0
  %28 = insertelement <2 x double> %27, double %4, i64 1
  br label %.lr.ph

._crit_edge.thread:                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  br label %64

._crit_edge:                                      ; preds = %60
  %.not = icmp eq i32 %.1134, -99
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  br i1 %.not, label %64, label %79

.lr.ph:                                           ; preds = %.lr.ph.preheader, %60
  %.0133187 = phi i32 [ %.1134, %60 ], [ -99, %.lr.ph.preheader ]
  %.0135186 = phi i64 [ %61, %60 ], [ 0, %.lr.ph.preheader ]
  %29 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0135186) #5
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0135186) #5
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %34)
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %38 = load double, ptr %37, align 8, !tbaa !14
  %39 = fsub double %3, %38
  %square150 = fmul double %39, %39
  %40 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0135186) #5
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %40)
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds i8, ptr %42, i64 24
  %44 = load double, ptr %43, align 8, !tbaa !15
  %45 = insertelement <2 x double> poison, double %33, i64 0
  %46 = insertelement <2 x double> %45, double %44, i64 1
  %47 = fsub <2 x double> %28, %46
  %48 = fmul <2 x double> %47, %47
  %49 = extractelement <2 x double> %48, i64 0
  %50 = fadd double %49, %square150
  %51 = extractelement <2 x double> %48, i64 1
  %52 = fadd double %50, %51
  %sqrt = tail call double @llvm.sqrt.f64(double %52)
  %53 = load double, ptr %5, align 8, !tbaa !5
  %54 = fcmp olt double %sqrt, %53
  br i1 %54, label %55, label %60

55:                                               ; preds = %.lr.ph
  store double %sqrt, ptr %5, align 8, !tbaa !5
  %56 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0135186) #5
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6tuple3IP10PoreStructPiS2_E5firstEv(ptr noundef nonnull align 8 dereferenceable(24) %56)
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = load i32, ptr %58, align 8, !tbaa !16
  br label %60

60:                                               ; preds = %55, %.lr.ph
  %.1134 = phi i32 [ %59, %55 ], [ %.0133187, %.lr.ph ]
  %61 = add nuw i64 %.0135186, 1
  %62 = tail call noundef i64 @_ZNKSt6vectorI6tuple3IP10PoreStructPiS3_ESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %63 = icmp ult i64 %61, %62
  br i1 %63, label %.lr.ph, label %._crit_edge, !llvm.loop !17

64:                                               ; preds = %._crit_edge.thread, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.73, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %65 unwind label %80

65:                                               ; preds = %64
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.62)
          to label %66 unwind label %82

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @__FUNCTION__._ZNK9InputData15findClosestPoreESt6vectorI6tuple3IP10PoreStructPiS4_ESaIS5_EEdddRd, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %67 unwind label %84

67:                                               ; preds = %66
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %68 unwind label %86

68:                                               ; preds = %67
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.63)
          to label %69 unwind label %88

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.64, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %70 unwind label %90

70:                                               ; preds = %69
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %71 unwind label %92

71:                                               ; preds = %70
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.65)
          to label %72 unwind label %94

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #5
  store i32 935, ptr %20, align 4, !tbaa !19
  invoke void @_Z2_sIiENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %73 unwind label %96

73:                                               ; preds = %72
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %74 unwind label %98

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.66, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %75 unwind label %100

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.84, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %76 unwind label %102

76:                                               ; preds = %75
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %77 unwind label %104

77:                                               ; preds = %76
  %78 = invoke noundef zeroext i1 @_Z6_cerr_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_i(ptr noundef nonnull %7, ptr noundef nonnull %21, i32 noundef 0)
          to label %.critedge164 unwind label %106

79:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  br label %.critedge185

.critedge164:                                     ; preds = %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br label %.critedge185

.critedge185:                                     ; preds = %79, %.critedge164
  %.0133.lcssa191 = phi i32 [ %.1134, %79 ], [ -99, %.critedge164 ]
  ret i32 %.0133.lcssa191

80:                                               ; preds = %64
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %120

82:                                               ; preds = %65
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %119

84:                                               ; preds = %66
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %118

86:                                               ; preds = %67
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %117

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

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

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

94:                                               ; preds = %71
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %113

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

98:                                               ; preds = %73
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %111

100:                                              ; preds = %74
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %110

102:                                              ; preds = %75
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %109

104:                                              ; preds = %76
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

106:                                              ; preds = %77
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %108

108:                                              ; preds = %104, %106
  %.pn = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  br label %109

109:                                              ; preds = %102, %108
  %.pn.pn = phi { ptr, i32 } [ %.pn, %108 ], [ %103, %102 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %110

110:                                              ; preds = %100, %109
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %109 ], [ %101, %100 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %111

111:                                              ; preds = %98, %110
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %110 ], [ %99, %98 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %112

112:                                              ; preds = %111, %96
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %111 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %113

113:                                              ; preds = %94, %112
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %112 ], [ %95, %94 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %114

114:                                              ; preds = %92, %113
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %113 ], [ %93, %92 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %115

115:                                              ; preds = %90, %114
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %114 ], [ %91, %90 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %116

116:                                              ; preds = %88, %115
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %115 ], [ %89, %88 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %117

117:                                              ; preds = %86, %116
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %116 ], [ %87, %86 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %118

118:                                              ; preds = %84, %117
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %117 ], [ %85, %84 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  br label %119

119:                                              ; preds = %82, %118
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %118 ], [ %83, %82 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %120

120:                                              ; preds = %80, %119
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %119 ], [ %81, %80 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #4

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

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

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


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass