; LLVM IR from ERGO-Code/HiGHS :: src/ipm/ipx/iterate.ll (ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_)

; 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.ipx::Iterate" = type { ptr, %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::vector", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", double, double, double, double, double, double, double, double, double, i8, i8, double, double, double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ipx::Iterate::StateDetail, std::allocator<ipx::Iterate::StateDetail>>::_Vector_impl" }
%"struct.std::_Vector_base<ipx::Iterate::StateDetail, std::allocator<ipx::Iterate::StateDetail>>::_Vector_impl" = type { %"struct.std::_Vector_base<ipx::Iterate::StateDetail, std::allocator<ipx::Iterate::StateDetail>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ipx::Iterate::StateDetail, std::allocator<ipx::Iterate::StateDetail>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::valarray" = type { i64, ptr }

@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_ = external hidden unnamed_addr constant [77 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [11 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: 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 dso_local noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinited(double noundef) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %3) #5 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %28 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %29)
  store i32 %30, ptr %9, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %31 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 0
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %32)
  store i32 %33, ptr %10, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %34 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 0
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx5Model2lbEv(ptr noundef nonnull align 8 dereferenceable(704) %35)
  store ptr %36, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %37 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx5Model2ubEv(ptr noundef nonnull align 8 dereferenceable(704) %38)
  store ptr %39, ptr %12, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 22
  %41 = load i8, ptr %40, align 1, !tbaa !21, !range !22, !noundef !23
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %44

43:                                               ; preds = %4
  br label %46

44:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.12, i32 noundef 346, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45, %43
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %47)
  %49 = trunc i64 %48 to i32
  %50 = load i32, ptr %10, align 4, !tbaa !19
  %51 = load i32, ptr %9, align 4, !tbaa !19
  %52 = add nsw i32 %50, %51
  %53 = icmp eq i32 %49, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %46
  br label %57

55:                                               ; preds = %46
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 348, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

56:                                               ; No predecessors!
  br label %57

57:                                               ; preds = %56, %54
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %58)
  %60 = trunc i64 %59 to i32
  %61 = load i32, ptr %9, align 4, !tbaa !19
  %62 = icmp eq i32 %60, %61
  br i1 %62, label %63, label %64

63:                                               ; preds = %57
  br label %66

64:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.12, i32 noundef 349, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

65:                                               ; No predecessors!
  br label %66

66:                                               ; preds = %65, %63
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %67)
  %69 = trunc i64 %68 to i32
  %70 = load i32, ptr %10, align 4, !tbaa !19
  %71 = load i32, ptr %9, align 4, !tbaa !19
  %72 = add nsw i32 %70, %71
  %73 = icmp eq i32 %69, %72
  br i1 %73, label %74, label %75

74:                                               ; preds = %66
  br label %77

75:                                               ; preds = %66
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.12, i32 noundef 350, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

76:                                               ; No predecessors!
  br label %77

77:                                               ; preds = %76, %74
  %78 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 4
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(16) %78)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !19
  br label %81

81:                                               ; preds = %365, %77
  %82 = load i32, ptr %13, align 4, !tbaa !19
  %83 = load i32, ptr %10, align 4, !tbaa !19
  %84 = load i32, ptr %9, align 4, !tbaa !19
  %85 = add nsw i32 %83, %84
  %86 = icmp slt i32 %82, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %368

88:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %89 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 2
  %90 = load i32, ptr %13, align 4, !tbaa !19
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %89, i64 noundef %91) #6
  %93 = load double, ptr %92, align 8, !tbaa !24
  store double %93, ptr %14, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %94 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 3
  %95 = load i32, ptr %13, align 4, !tbaa !19
  %96 = sext i32 %95 to i64
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %94, i64 noundef %96) #6
  %98 = load double, ptr %97, align 8, !tbaa !24
  store double %98, ptr %15, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %99 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 5
  %100 = load i32, ptr %13, align 4, !tbaa !19
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %99, i64 noundef %101) #6
  %103 = load double, ptr %102, align 8, !tbaa !24
  store double %103, ptr %16, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %104 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 6
  %105 = load i32, ptr %13, align 4, !tbaa !19
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %104, i64 noundef %106) #6
  %108 = load double, ptr %107, align 8, !tbaa !24
  store double %108, ptr %17, align 8, !tbaa !24
  %109 = load double, ptr %14, align 8, !tbaa !24
  %110 = fcmp oge double %109, 0.000000e+00
  br i1 %110, label %111, label %112

111:                                              ; preds = %88
  br label %114

112:                                              ; preds = %88
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.12, i32 noundef 357, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

113:                                              ; No predecessors!
  br label %114

114:                                              ; preds = %113, %111
  %115 = load double, ptr %15, align 8, !tbaa !24
  %116 = fcmp oge double %115, 0.000000e+00
  br i1 %116, label %117, label %118

117:                                              ; preds = %114
  br label %120

118:                                              ; preds = %114
  call void @__assert_fail(ptr noundef @.str.29, ptr noundef @.str.12, i32 noundef 358, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

119:                                              ; No predecessors!
  br label %120

120:                                              ; preds = %119, %117
  %121 = load double, ptr %16, align 8, !tbaa !24
  %122 = fcmp oge double %121, 0.000000e+00
  br i1 %122, label %123, label %124

123:                                              ; preds = %120
  br label %126

124:                                              ; preds = %120
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.12, i32 noundef 359, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

125:                                              ; No predecessors!
  br label %126

126:                                              ; preds = %125, %123
  %127 = load double, ptr %17, align 8, !tbaa !24
  %128 = fcmp oge double %127, 0.000000e+00
  br i1 %128, label %129, label %130

129:                                              ; preds = %126
  br label %132

130:                                              ; preds = %126
  call void @__assert_fail(ptr noundef @.str.31, ptr noundef @.str.12, i32 noundef 360, ptr noundef @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #7
  unreachable

131:                                              ; No predecessors!
  br label %132

132:                                              ; preds = %131, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %133 = getelementptr inbounds %"class.ipx::Iterate", ptr %27, i32 0, i32 1
  %134 = load i32, ptr %13, align 4, !tbaa !19
  %135 = sext i32 %134 to i64
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %133, i64 noundef %135) #6
  %137 = load double, ptr %136, align 8, !tbaa !24
  store double %137, ptr %18, align 8, !tbaa !24
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load i32, ptr %13, align 4, !tbaa !19
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %138, i64 noundef %140) #6
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %141)
  %143 = load double, ptr %142, align 8, !tbaa !24
  store double %143, ptr %18, align 8, !tbaa !24
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = load i32, ptr %13, align 4, !tbaa !19
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %144, i64 noundef %146) #6
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %147)
  %149 = load double, ptr %148, align 8, !tbaa !24
  store double %149, ptr %18, align 8, !tbaa !24
  %150 = load ptr, ptr %11, align 8, !tbaa !5
  %151 = load i32, ptr %13, align 4, !tbaa !19
  %152 = sext i32 %151 to i64
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %150, i64 noundef %152) #6
  %154 = load double, ptr %153, align 8, !tbaa !24
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = load i32, ptr %13, align 4, !tbaa !19
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %155, i64 noundef %157) #6
  %159 = load double, ptr %158, align 8, !tbaa !24
  %160 = fcmp oeq double %154, %159
  br i1 %160, label %161, label %178

161:                                              ; preds = %132
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = load i32, ptr %13, align 4, !tbaa !19
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %162, i64 noundef %164) #6
  %166 = load double, ptr %165, align 8, !tbaa !24
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = load i32, ptr %13, align 4, !tbaa !19
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %167, i64 noundef %169) #6
  store double %166, ptr %170, align 8, !tbaa !24
  %171 = load double, ptr %16, align 8, !tbaa !24
  %172 = load double, ptr %17, align 8, !tbaa !24
  %173 = fsub double %171, %172
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  %175 = load i32, ptr %13, align 4, !tbaa !19
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %174, i64 noundef %176) #6
  store double %173, ptr %177, align 8, !tbaa !24
  br label %364

178:                                              ; preds = %132
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = load i32, ptr %13, align 4, !tbaa !19
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %179, i64 noundef %181) #6
  %183 = load double, ptr %182, align 8, !tbaa !24
  %184 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %183)
  br i1 %184, label %185, label %269

185:                                              ; preds = %178
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load i32, ptr %13, align 4, !tbaa !19
  %188 = sext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %186, i64 noundef %188) #6
  %190 = load double, ptr %189, align 8, !tbaa !24
  %191 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %190)
  br i1 %191, label %192, label %269

192:                                              ; preds = %185
  %193 = load double, ptr %16, align 8, !tbaa !24
  %194 = load double, ptr %15, align 8, !tbaa !24
  %195 = fmul double %193, %194
  %196 = load double, ptr %17, align 8, !tbaa !24
  %197 = load double, ptr %14, align 8, !tbaa !24
  %198 = fmul double %196, %197
  %199 = fcmp oge double %195, %198
  br i1 %199, label %200, label %234

200:                                              ; preds = %192
  %201 = load double, ptr %16, align 8, !tbaa !24
  %202 = load double, ptr %14, align 8, !tbaa !24
  %203 = fcmp oge double %201, %202
  br i1 %203, label %204, label %223

204:                                              ; preds = %200
  %205 = load ptr, ptr %11, align 8, !tbaa !5
  %206 = load i32, ptr %13, align 4, !tbaa !19
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %205, i64 noundef %207) #6
  %209 = load double, ptr %208, align 8, !tbaa !24
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = load i32, ptr %13, align 4, !tbaa !19
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %210, i64 noundef %212) #6
  store double %209, ptr %213, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store double 0.000000e+00, ptr %19, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %214 = load double, ptr %16, align 8, !tbaa !24
  %215 = load double, ptr %17, align 8, !tbaa !24
  %216 = fsub double %214, %215
  store double %216, ptr %20, align 8, !tbaa !24
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %218 = load double, ptr %217, align 8, !tbaa !24
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = load i32, ptr %13, align 4, !tbaa !19
  %221 = sext i32 %220 to i64
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %219, i64 noundef %221) #6
  store double %218, ptr %222, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %233

223:                                              ; preds = %200
  %224 = load double, ptr %18, align 8, !tbaa !24
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = load i32, ptr %13, align 4, !tbaa !19
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %225, i64 noundef %227) #6
  store double %224, ptr %228, align 8, !tbaa !24
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = load i32, ptr %13, align 4, !tbaa !19
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %229, i64 noundef %231) #6
  store double 0.000000e+00, ptr %232, align 8, !tbaa !24
  br label %233

233:                                              ; preds = %223, %204
  br label %268

234:                                              ; preds = %192
  %235 = load double, ptr %17, align 8, !tbaa !24
  %236 = load double, ptr %15, align 8, !tbaa !24
  %237 = fcmp oge double %235, %236
  br i1 %237, label %238, label %257

238:                                              ; preds = %234
  %239 = load ptr, ptr %12, align 8, !tbaa !5
  %240 = load i32, ptr %13, align 4, !tbaa !19
  %241 = sext i32 %240 to i64
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %239, i64 noundef %241) #6
  %243 = load double, ptr %242, align 8, !tbaa !24
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = load i32, ptr %13, align 4, !tbaa !19
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %244, i64 noundef %246) #6
  store double %243, ptr %247, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store double 0.000000e+00, ptr %21, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %248 = load double, ptr %16, align 8, !tbaa !24
  %249 = load double, ptr %17, align 8, !tbaa !24
  %250 = fsub double %248, %249
  store double %250, ptr %22, align 8, !tbaa !24
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %252 = load double, ptr %251, align 8, !tbaa !24
  %253 = load ptr, ptr %8, align 8, !tbaa !5
  %254 = load i32, ptr %13, align 4, !tbaa !19
  %255 = sext i32 %254 to i64
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %253, i64 noundef %255) #6
  store double %252, ptr %256, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %267

257:                                              ; preds = %234
  %258 = load double, ptr %18, align 8, !tbaa !24
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = load i32, ptr %13, align 4, !tbaa !19
  %261 = sext i32 %260 to i64
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %259, i64 noundef %261) #6
  store double %258, ptr %262, align 8, !tbaa !24
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = load i32, ptr %13, align 4, !tbaa !19
  %265 = sext i32 %264 to i64
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %263, i64 noundef %265) #6
  store double 0.000000e+00, ptr %266, align 8, !tbaa !24
  br label %267

267:                                              ; preds = %257, %238
  br label %268

268:                                              ; preds = %267, %233
  br label %363

269:                                              ; preds = %185, %178
  %270 = load ptr, ptr %11, align 8, !tbaa !5
  %271 = load i32, ptr %13, align 4, !tbaa !19
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %270, i64 noundef %272) #6
  %274 = load double, ptr %273, align 8, !tbaa !24
  %275 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %274)
  br i1 %275, label %276, label %310

276:                                              ; preds = %269
  %277 = load double, ptr %16, align 8, !tbaa !24
  %278 = load double, ptr %14, align 8, !tbaa !24
  %279 = fcmp oge double %277, %278
  br i1 %279, label %280, label %299

280:                                              ; preds = %276
  %281 = load ptr, ptr %11, align 8, !tbaa !5
  %282 = load i32, ptr %13, align 4, !tbaa !19
  %283 = sext i32 %282 to i64
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %281, i64 noundef %283) #6
  %285 = load double, ptr %284, align 8, !tbaa !24
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = load i32, ptr %13, align 4, !tbaa !19
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %286, i64 noundef %288) #6
  store double %285, ptr %289, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store double 0.000000e+00, ptr %23, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %290 = load double, ptr %16, align 8, !tbaa !24
  %291 = load double, ptr %17, align 8, !tbaa !24
  %292 = fsub double %290, %291
  store double %292, ptr %24, align 8, !tbaa !24
  %293 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %294 = load double, ptr %293, align 8, !tbaa !24
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = load i32, ptr %13, align 4, !tbaa !19
  %297 = sext i32 %296 to i64
  %298 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %295, i64 noundef %297) #6
  store double %294, ptr %298, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %309

299:                                              ; preds = %276
  %300 = load double, ptr %18, align 8, !tbaa !24
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = load i32, ptr %13, align 4, !tbaa !19
  %303 = sext i32 %302 to i64
  %304 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %301, i64 noundef %303) #6
  store double %300, ptr %304, align 8, !tbaa !24
  %305 = load ptr, ptr %8, align 8, !tbaa !5
  %306 = load i32, ptr %13, align 4, !tbaa !19
  %307 = sext i32 %306 to i64
  %308 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %305, i64 noundef %307) #6
  store double 0.000000e+00, ptr %308, align 8, !tbaa !24
  br label %309

309:                                              ; preds = %299, %280
  br label %362

310:                                              ; preds = %269
  %311 = load ptr, ptr %12, align 8, !tbaa !5
  %312 = load i32, ptr %13, align 4, !tbaa !19
  %313 = sext i32 %312 to i64
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %311, i64 noundef %313) #6
  %315 = load double, ptr %314, align 8, !tbaa !24
  %316 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %315)
  br i1 %316, label %317, label %351

317:                                              ; preds = %310
  %318 = load double, ptr %17, align 8, !tbaa !24
  %319 = load double, ptr %15, align 8, !tbaa !24
  %320 = fcmp oge double %318, %319
  br i1 %320, label %321, label %340

321:                                              ; preds = %317
  %322 = load ptr, ptr %12, align 8, !tbaa !5
  %323 = load i32, ptr %13, align 4, !tbaa !19
  %324 = sext i32 %323 to i64
  %325 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %322, i64 noundef %324) #6
  %326 = load double, ptr %325, align 8, !tbaa !24
  %327 = load ptr, ptr %6, align 8, !tbaa !5
  %328 = load i32, ptr %13, align 4, !tbaa !19
  %329 = sext i32 %328 to i64
  %330 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %327, i64 noundef %329) #6
  store double %326, ptr %330, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store double 0.000000e+00, ptr %25, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %331 = load double, ptr %16, align 8, !tbaa !24
  %332 = load double, ptr %17, align 8, !tbaa !24
  %333 = fsub double %331, %332
  store double %333, ptr %26, align 8, !tbaa !24
  %334 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %335 = load double, ptr %334, align 8, !tbaa !24
  %336 = load ptr, ptr %8, align 8, !tbaa !5
  %337 = load i32, ptr %13, align 4, !tbaa !19
  %338 = sext i32 %337 to i64
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %336, i64 noundef %338) #6
  store double %335, ptr %339, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %350

340:                                              ; preds = %317
  %341 = load double, ptr %18, align 8, !tbaa !24
  %342 = load ptr, ptr %6, align 8, !tbaa !5
  %343 = load i32, ptr %13, align 4, !tbaa !19
  %344 = sext i32 %343 to i64
  %345 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %342, i64 noundef %344) #6
  store double %341, ptr %345, align 8, !tbaa !24
  %346 = load ptr, ptr %8, align 8, !tbaa !5
  %347 = load i32, ptr %13, align 4, !tbaa !19
  %348 = sext i32 %347 to i64
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %346, i64 noundef %348) #6
  store double 0.000000e+00, ptr %349, align 8, !tbaa !24
  br label %350

350:                                              ; preds = %340, %321
  br label %361

351:                                              ; preds = %310
  %352 = load double, ptr %18, align 8, !tbaa !24
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = load i32, ptr %13, align 4, !tbaa !19
  %355 = sext i32 %354 to i64
  %356 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %353, i64 noundef %355) #6
  store double %352, ptr %356, align 8, !tbaa !24
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = load i32, ptr %13, align 4, !tbaa !19
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %357, i64 noundef %359) #6
  store double 0.000000e+00, ptr %360, align 8, !tbaa !24
  br label %361

361:                                              ; preds = %351, %350
  br label %362

362:                                              ; preds = %361, %309
  br label %363

363:                                              ; preds = %362, %268
  br label %364

364:                                              ; preds = %363, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %365

365:                                              ; preds = %364
  %366 = load i32, ptr %13, align 4, !tbaa !19
  %367 = add nsw i32 %366, 1
  store i32 %367, ptr %13, align 4, !tbaa !19
  br label %81, !llvm.loop !25

368:                                              ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #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 = { 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 #3 = { noreturn 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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, !6, i64 0}
!10 = !{!"_ZTSN3ipx7IterateE", !6, i64 0, !11, i64 8, !11, i64 24, !11, i64 40, !11, i64 56, !11, i64 72, !11, i64 88, !13, i64 104, !11, i64 128, !11, i64 144, !11, i64 160, !11, i64 176, !17, i64 192, !17, i64 200, !17, i64 208, !17, i64 216, !17, i64 224, !17, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !18, i64 264, !18, i64 265, !17, i64 272, !17, i64 280, !17, i64 288}
!11 = !{!"_ZTSSt8valarrayIdE", !12, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIN3ipx7Iterate11StateDetailESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN3ipx7Iterate11StateDetailESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3ipx7Iterate11StateDetailESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3ipx7Iterate11StateDetailESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"double", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!10, !18, i64 265}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!17, !17, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"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"

@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_ = external hidden unnamed_addr constant [77 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [11 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 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 dso_local noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinited(double noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %3) local_unnamed_addr #5 align 2 {
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = load ptr, ptr %0, align 8, !tbaa !5
  %15 = tail call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %14)
  %16 = load ptr, ptr %0, align 8, !tbaa !5
  %17 = tail call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %16)
  %18 = load ptr, ptr %0, align 8, !tbaa !5
  %19 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx5Model2lbEv(ptr noundef nonnull align 8 dereferenceable(704) %18)
  %20 = load ptr, ptr %0, align 8, !tbaa !5
  %21 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx5Model2ubEv(ptr noundef nonnull align 8 dereferenceable(704) %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 265
  %23 = load i8, ptr %22, align 1, !tbaa !18, !range !19, !noundef !20
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %26, label %25

25:                                               ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.12, i32 noundef 346, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

26:                                               ; preds = %4
  %27 = tail call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %28 = trunc i64 %27 to i32
  %29 = add nsw i32 %17, %15
  %30 = icmp eq i32 %29, %28
  br i1 %30, label %32, label %31

31:                                               ; preds = %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef 348, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

32:                                               ; preds = %26
  %33 = tail call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %34 = trunc i64 %33 to i32
  %35 = icmp eq i32 %15, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  tail call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.12, i32 noundef 349, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

37:                                               ; preds = %32
  %38 = tail call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %39 = trunc i64 %38 to i32
  %40 = icmp eq i32 %28, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  tail call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.12, i32 noundef 350, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

42:                                               ; preds = %37
  %43 = getelementptr inbounds i8, ptr %0, i64 56
  %44 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %43)
  %45 = icmp sgt i32 %28, 0
  br i1 %45, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %42
  %46 = getelementptr inbounds i8, ptr %0, i64 24
  %47 = getelementptr inbounds i8, ptr %0, i64 40
  %48 = getelementptr inbounds i8, ptr %0, i64 72
  %49 = getelementptr inbounds i8, ptr %0, i64 88
  %50 = getelementptr inbounds i8, ptr %0, i64 8
  %wide.trip.count = and i64 %27, 2147483647
  br label %51

._crit_edge:                                      ; preds = %169, %42
  ret void

51:                                               ; preds = %.lr.ph, %169
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %169 ]
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %46, i64 noundef %indvars.iv) #7
  %53 = load double, ptr %52, align 8, !tbaa !21
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %47, i64 noundef %indvars.iv) #7
  %55 = load double, ptr %54, align 8, !tbaa !21
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %48, i64 noundef %indvars.iv) #7
  %57 = load double, ptr %56, align 8, !tbaa !21
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %49, i64 noundef %indvars.iv) #7
  %59 = load double, ptr %58, align 8, !tbaa !21
  %60 = fcmp ult double %53, 0.000000e+00
  br i1 %60, label %61, label %62

61:                                               ; preds = %51
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.12, i32 noundef 357, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

62:                                               ; preds = %51
  %63 = fcmp ult double %55, 0.000000e+00
  br i1 %63, label %64, label %65

64:                                               ; preds = %62
  call void @__assert_fail(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.12, i32 noundef 358, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

65:                                               ; preds = %62
  %66 = fcmp ult double %57, 0.000000e+00
  br i1 %66, label %67, label %68

67:                                               ; preds = %65
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.12, i32 noundef 359, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

68:                                               ; preds = %65
  %69 = fcmp ult double %59, 0.000000e+00
  br i1 %69, label %70, label %71

70:                                               ; preds = %68
  call void @__assert_fail(ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.12, i32 noundef 360, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3ipx7Iterate21DropToComplementarityERSt8valarrayIdES3_S3_) #6
  unreachable

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %50, i64 noundef %indvars.iv) #7
  %73 = load double, ptr %72, align 8, !tbaa !21
  store double %73, ptr %5, align 8, !tbaa !21
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %indvars.iv) #7
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %74)
  %76 = load double, ptr %75, align 8, !tbaa !21
  store double %76, ptr %5, align 8, !tbaa !21
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %indvars.iv) #7
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %77)
  %79 = load double, ptr %78, align 8, !tbaa !21
  store double %79, ptr %5, align 8, !tbaa !21
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %indvars.iv) #7
  %81 = load double, ptr %80, align 8, !tbaa !21
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %indvars.iv) #7
  %83 = load double, ptr %82, align 8, !tbaa !21
  %84 = fcmp oeq double %81, %83
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %indvars.iv) #7
  %86 = load double, ptr %85, align 8, !tbaa !21
  br i1 %84, label %87, label %91

87:                                               ; preds = %71
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %86, ptr %88, align 8, !tbaa !21
  %89 = fsub double %57, %59
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double %89, ptr %90, align 8, !tbaa !21
  br label %169

91:                                               ; preds = %71
  %92 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %86)
  br i1 %92, label %93, label %129

93:                                               ; preds = %91
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %indvars.iv) #7
  %95 = load double, ptr %94, align 8, !tbaa !21
  %96 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %95)
  br i1 %96, label %97, label %129

97:                                               ; preds = %93
  %98 = fmul double %55, %57
  %99 = fmul double %53, %59
  %100 = fcmp ult double %98, %99
  br i1 %100, label %115, label %101

101:                                              ; preds = %97
  %102 = fcmp ult double %57, %53
  br i1 %102, label %111, label %103

103:                                              ; preds = %101
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %indvars.iv) #7
  %105 = load double, ptr %104, align 8, !tbaa !21
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %105, ptr %106, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  store double 0.000000e+00, ptr %6, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %107 = fsub double %57, %59
  store double %107, ptr %7, align 8, !tbaa !21
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %109 = load double, ptr %108, align 8, !tbaa !21
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double %109, ptr %110, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %169

111:                                              ; preds = %101
  %112 = load double, ptr %5, align 8, !tbaa !21
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %112, ptr %113, align 8, !tbaa !21
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double 0.000000e+00, ptr %114, align 8, !tbaa !21
  br label %169

115:                                              ; preds = %97
  %116 = fcmp ult double %59, %55
  br i1 %116, label %125, label %117

117:                                              ; preds = %115
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %indvars.iv) #7
  %119 = load double, ptr %118, align 8, !tbaa !21
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %119, ptr %120, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  store double 0.000000e+00, ptr %8, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %121 = fsub double %57, %59
  store double %121, ptr %9, align 8, !tbaa !21
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %123 = load double, ptr %122, align 8, !tbaa !21
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double %123, ptr %124, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %169

125:                                              ; preds = %115
  %126 = load double, ptr %5, align 8, !tbaa !21
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %126, ptr %127, align 8, !tbaa !21
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double 0.000000e+00, ptr %128, align 8, !tbaa !21
  br label %169

129:                                              ; preds = %93, %91
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %indvars.iv) #7
  %131 = load double, ptr %130, align 8, !tbaa !21
  %132 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %131)
  br i1 %132, label %133, label %147

133:                                              ; preds = %129
  %134 = fcmp ult double %57, %53
  br i1 %134, label %143, label %135

135:                                              ; preds = %133
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %indvars.iv) #7
  %137 = load double, ptr %136, align 8, !tbaa !21
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %137, ptr %138, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store double 0.000000e+00, ptr %10, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %139 = fsub double %57, %59
  store double %139, ptr %11, align 8, !tbaa !21
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %141 = load double, ptr %140, align 8, !tbaa !21
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double %141, ptr %142, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %169

143:                                              ; preds = %133
  %144 = load double, ptr %5, align 8, !tbaa !21
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %144, ptr %145, align 8, !tbaa !21
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double 0.000000e+00, ptr %146, align 8, !tbaa !21
  br label %169

147:                                              ; preds = %129
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %indvars.iv) #7
  %149 = load double, ptr %148, align 8, !tbaa !21
  %150 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %149)
  br i1 %150, label %151, label %165

151:                                              ; preds = %147
  %152 = fcmp ult double %59, %55
  br i1 %152, label %161, label %153

153:                                              ; preds = %151
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %indvars.iv) #7
  %155 = load double, ptr %154, align 8, !tbaa !21
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %155, ptr %156, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store double 0.000000e+00, ptr %12, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %157 = fsub double %57, %59
  store double %157, ptr %13, align 8, !tbaa !21
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %159 = load double, ptr %158, align 8, !tbaa !21
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double %159, ptr %160, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %169

161:                                              ; preds = %151
  %162 = load double, ptr %5, align 8, !tbaa !21
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %162, ptr %163, align 8, !tbaa !21
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double 0.000000e+00, ptr %164, align 8, !tbaa !21
  br label %169

165:                                              ; preds = %147
  %166 = load double, ptr %5, align 8, !tbaa !21
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef %indvars.iv) #7
  store double %166, ptr %167, align 8, !tbaa !21
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv) #7
  store double 0.000000e+00, ptr %168, align 8, !tbaa !21
  br label %169

169:                                              ; preds = %117, %125, %103, %111, %165, %161, %153, %135, %143, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %51, !llvm.loop !22
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #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 = { 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 #3 = { noreturn 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { noreturn nounwind }
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, !7, i64 0}
!6 = !{!"_ZTSN3ipx7IterateE", !7, i64 0, !10, i64 8, !10, i64 24, !10, i64 40, !10, i64 56, !10, i64 72, !10, i64 88, !12, i64 104, !10, i64 128, !10, i64 144, !10, i64 160, !10, i64 176, !16, i64 192, !16, i64 200, !16, i64 208, !16, i64 216, !16, i64 224, !16, i64 232, !16, i64 240, !16, i64 248, !16, i64 256, !17, i64 264, !17, i64 265, !16, i64 272, !16, i64 280, !16, i64 288}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt8valarrayIdE", !11, i64 0, !7, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{!"_ZTSSt6vectorIN3ipx7Iterate11StateDetailESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN3ipx7Iterate11StateDetailESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3ipx7Iterate11StateDetailESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3ipx7Iterate11StateDetailESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!16 = !{!"double", !8, i64 0}
!17 = !{!"bool", !8, i64 0}
!18 = !{!6, !17, i64 265}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!16, !16, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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