; LLVM IR from attractivechaos/klib :: khmm (hmm_expect)

; 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"

%struct.hmm_data_t = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.hmm_par_t = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.hmm_exp_t = type { i32, i32, double, ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.hmm_expect = external hidden unnamed_addr constant [61 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @hmm_new_exp(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local ptr @hmm_expect(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca double, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.hmm_data_t, ptr %21, i32 0, i32 1
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = and i32 %23, 4
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %27

26:                                               ; preds = %2
  br label %28

27:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 301, ptr noundef @__PRETTY_FUNCTION__.hmm_expect) #5
  unreachable

28:                                               ; preds = %26
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = call ptr @hmm_new_exp(ptr noundef %29)
  store ptr %30, ptr %11, align 8, !tbaa !5
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.hmm_par_t, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !12
  store i32 %33, ptr %9, align 4, !tbaa !14
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.hmm_par_t, ptr %34, i32 0, i32 1
  %36 = load i32, ptr %35, align 4, !tbaa !15
  store i32 %36, ptr %10, align 4, !tbaa !14
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %37

37:                                               ; preds = %61, %28
  %38 = load i32, ptr %5, align 4, !tbaa !14
  %39 = load i32, ptr %10, align 4, !tbaa !14
  %40 = icmp ne i32 %38, %39
  br i1 %40, label %41, label %64

41:                                               ; preds = %37
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %42

42:                                               ; preds = %57, %41
  %43 = load i32, ptr %6, align 4, !tbaa !14
  %44 = load i32, ptr %10, align 4, !tbaa !14
  %45 = icmp ne i32 %43, %44
  br i1 %45, label %46, label %60

46:                                               ; preds = %42
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.hmm_exp_t, ptr %47, i32 0, i32 3
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = load i32, ptr %5, align 4, !tbaa !14
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds ptr, ptr %49, i64 %51
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = load i32, ptr %6, align 4, !tbaa !14
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds double, ptr %53, i64 %55
  store double 1.000000e-25, ptr %56, align 8, !tbaa !19
  br label %57

57:                                               ; preds = %46
  %58 = load i32, ptr %6, align 4, !tbaa !14
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %6, align 4, !tbaa !14
  br label %42, !llvm.loop !20

60:                                               ; preds = %42
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %5, align 4, !tbaa !14
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %5, align 4, !tbaa !14
  br label %37, !llvm.loop !22

64:                                               ; preds = %37
  store i32 0, ptr %8, align 4, !tbaa !14
  br label %65

65:                                               ; preds = %89, %64
  %66 = load i32, ptr %8, align 4, !tbaa !14
  %67 = load i32, ptr %9, align 4, !tbaa !14
  %68 = icmp sle i32 %66, %67
  br i1 %68, label %69, label %92

69:                                               ; preds = %65
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %70

70:                                               ; preds = %85, %69
  %71 = load i32, ptr %6, align 4, !tbaa !14
  %72 = load i32, ptr %10, align 4, !tbaa !14
  %73 = icmp ne i32 %71, %72
  br i1 %73, label %74, label %88

74:                                               ; preds = %70
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.hmm_exp_t, ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !23
  %78 = load i32, ptr %8, align 4, !tbaa !14
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = load i32, ptr %6, align 4, !tbaa !14
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %81, i64 %83
  store double 1.000000e-25, ptr %84, align 8, !tbaa !19
  br label %85

85:                                               ; preds = %74
  %86 = load i32, ptr %6, align 4, !tbaa !14
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %6, align 4, !tbaa !14
  br label %70, !llvm.loop !24

88:                                               ; preds = %70
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %8, align 4, !tbaa !14
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %8, align 4, !tbaa !14
  br label %65, !llvm.loop !25

92:                                               ; preds = %65
  store i32 1, ptr %7, align 4, !tbaa !14
  br label %93

93:                                               ; preds = %226, %92
  %94 = load i32, ptr %7, align 4, !tbaa !14
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.hmm_data_t, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 8, !tbaa !26
  %98 = icmp slt i32 %94, %97
  br i1 %98, label %99, label %229

99:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.hmm_data_t, ptr %100, i32 0, i32 3
  %102 = load ptr, ptr %101, align 8, !tbaa !27
  %103 = load i32, ptr %7, align 4, !tbaa !14
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds ptr, ptr %102, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  store ptr %106, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.hmm_data_t, ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !28
  %110 = load i32, ptr %7, align 4, !tbaa !14
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  store ptr %113, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.hmm_data_t, ptr %114, i32 0, i32 4
  %116 = load ptr, ptr %115, align 8, !tbaa !28
  %117 = load i32, ptr %7, align 4, !tbaa !14
  %118 = add nsw i32 %117, 1
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds ptr, ptr %116, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  store ptr %121, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.hmm_data_t, ptr %122, i32 0, i32 5
  %124 = load ptr, ptr %123, align 8, !tbaa !29
  %125 = load i32, ptr %7, align 4, !tbaa !14
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds double, ptr %124, i64 %126
  %128 = load double, ptr %127, align 8, !tbaa !19
  store double %128, ptr %15, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.hmm_exp_t, ptr %129, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !23
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.hmm_data_t, ptr %132, i32 0, i32 2
  %134 = load ptr, ptr %133, align 8, !tbaa !30
  %135 = load i32, ptr %7, align 4, !tbaa !14
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i8, ptr %134, i64 %136
  %138 = load i8, ptr %137, align 1, !tbaa !31
  %139 = sext i8 %138 to i32
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds ptr, ptr %131, i64 %140
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  store ptr %142, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.hmm_par_t, ptr %143, i32 0, i32 4
  %145 = load ptr, ptr %144, align 8, !tbaa !32
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.hmm_data_t, ptr %146, i32 0, i32 2
  %148 = load ptr, ptr %147, align 8, !tbaa !30
  %149 = load i32, ptr %7, align 4, !tbaa !14
  %150 = add nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i8, ptr %148, i64 %151
  %153 = load i8, ptr %152, align 1, !tbaa !31
  %154 = sext i8 %153 to i32
  %155 = load i32, ptr %10, align 4, !tbaa !14
  %156 = mul nsw i32 %154, %155
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds ptr, ptr %145, i64 %157
  store ptr %158, ptr %17, align 8, !tbaa !5
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %159

159:                                              ; preds = %222, %99
  %160 = load i32, ptr %5, align 4, !tbaa !14
  %161 = load i32, ptr %10, align 4, !tbaa !14
  %162 = icmp ne i32 %160, %161
  br i1 %162, label %163, label %225

163:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  %165 = load i32, ptr %5, align 4, !tbaa !14
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds ptr, ptr %164, i64 %166
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  store ptr %168, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.hmm_exp_t, ptr %169, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !16
  %172 = load i32, ptr %5, align 4, !tbaa !14
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds ptr, ptr %171, i64 %173
  %175 = load ptr, ptr %174, align 8, !tbaa !5
  store ptr %175, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = load i32, ptr %5, align 4, !tbaa !14
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds double, ptr %176, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !19
  store double %180, ptr %20, align 8, !tbaa !19
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %181

181:                                              ; preds = %204, %163
  %182 = load i32, ptr %6, align 4, !tbaa !14
  %183 = load i32, ptr %10, align 4, !tbaa !14
  %184 = icmp ne i32 %182, %183
  br i1 %184, label %185, label %207

185:                                              ; preds = %181
  %186 = load double, ptr %20, align 8, !tbaa !19
  %187 = load ptr, ptr %18, align 8, !tbaa !5
  %188 = load i32, ptr %6, align 4, !tbaa !14
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %187, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !19
  %192 = fmul double %186, %191
  %193 = load ptr, ptr %14, align 8, !tbaa !5
  %194 = load i32, ptr %6, align 4, !tbaa !14
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds double, ptr %193, i64 %195
  %197 = load double, ptr %196, align 8, !tbaa !19
  %198 = load ptr, ptr %19, align 8, !tbaa !5
  %199 = load i32, ptr %6, align 4, !tbaa !14
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds double, ptr %198, i64 %200
  %202 = load double, ptr %201, align 8, !tbaa !19
  %203 = call double @llvm.fmuladd.f64(double %192, double %197, double %202)
  store double %203, ptr %201, align 8, !tbaa !19
  br label %204

204:                                              ; preds = %185
  %205 = load i32, ptr %6, align 4, !tbaa !14
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %6, align 4, !tbaa !14
  br label %181, !llvm.loop !33

207:                                              ; preds = %181
  %208 = load double, ptr %20, align 8, !tbaa !19
  %209 = load ptr, ptr %13, align 8, !tbaa !5
  %210 = load i32, ptr %5, align 4, !tbaa !14
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds double, ptr %209, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !19
  %214 = fmul double %208, %213
  %215 = load double, ptr %15, align 8, !tbaa !19
  %216 = load ptr, ptr %16, align 8, !tbaa !5
  %217 = load i32, ptr %5, align 4, !tbaa !14
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds double, ptr %216, i64 %218
  %220 = load double, ptr %219, align 8, !tbaa !19
  %221 = call double @llvm.fmuladd.f64(double %214, double %215, double %220)
  store double %221, ptr %219, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %222

222:                                              ; preds = %207
  %223 = load i32, ptr %5, align 4, !tbaa !14
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %5, align 4, !tbaa !14
  br label %159, !llvm.loop !34

225:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %226

226:                                              ; preds = %225
  %227 = load i32, ptr %7, align 4, !tbaa !14
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %7, align 4, !tbaa !14
  br label %93, !llvm.loop !35

229:                                              ; preds = %93
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %230

230:                                              ; preds = %276, %229
  %231 = load i32, ptr %6, align 4, !tbaa !14
  %232 = load i32, ptr %10, align 4, !tbaa !14
  %233 = icmp ne i32 %231, %232
  br i1 %233, label %234, label %279

234:                                              ; preds = %230
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.hmm_par_t, ptr %235, i32 0, i32 5
  %237 = load ptr, ptr %236, align 8, !tbaa !36
  %238 = load i32, ptr %6, align 4, !tbaa !14
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %237, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !19
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.hmm_par_t, ptr %242, i32 0, i32 3
  %244 = load ptr, ptr %243, align 8, !tbaa !37
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.hmm_data_t, ptr %245, i32 0, i32 2
  %247 = load ptr, ptr %246, align 8, !tbaa !30
  %248 = getelementptr inbounds i8, ptr %247, i64 1
  %249 = load i8, ptr %248, align 1, !tbaa !31
  %250 = sext i8 %249 to i32
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds ptr, ptr %244, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = load i32, ptr %6, align 4, !tbaa !14
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds double, ptr %253, i64 %255
  %257 = load double, ptr %256, align 8, !tbaa !19
  %258 = fmul double %241, %257
  %259 = load ptr, ptr %4, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.hmm_data_t, ptr %259, i32 0, i32 4
  %261 = load ptr, ptr %260, align 8, !tbaa !28
  %262 = getelementptr inbounds ptr, ptr %261, i64 1
  %263 = load ptr, ptr %262, align 8, !tbaa !5
  %264 = load i32, ptr %6, align 4, !tbaa !14
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds double, ptr %263, i64 %265
  %267 = load double, ptr %266, align 8, !tbaa !19
  %268 = load ptr, ptr %11, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.hmm_exp_t, ptr %268, i32 0, i32 5
  %270 = load ptr, ptr %269, align 8, !tbaa !38
  %271 = load i32, ptr %6, align 4, !tbaa !14
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds double, ptr %270, i64 %272
  %274 = load double, ptr %273, align 8, !tbaa !19
  %275 = call double @llvm.fmuladd.f64(double %258, double %267, double %274)
  store double %275, ptr %273, align 8, !tbaa !19
  br label %276

276:                                              ; preds = %234
  %277 = load i32, ptr %6, align 4, !tbaa !14
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %6, align 4, !tbaa !14
  br label %230, !llvm.loop !39

279:                                              ; preds = %230
  %280 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret ptr %280
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
attributes #5 = { 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/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!14 = !{!11, !11, i64 0}
!15 = !{!13, !11, i64 4}
!16 = !{!17, !6, i64 16}
!17 = !{!"", !11, i64 0, !11, i64 4, !18, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!18 = !{!"double", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!17, !6, i64 24}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = !{!10, !11, i64 0}
!27 = !{!10, !6, i64 16}
!28 = !{!10, !6, i64 24}
!29 = !{!10, !6, i64 32}
!30 = !{!10, !6, i64 8}
!31 = !{!7, !7, i64 0}
!32 = !{!13, !6, i64 24}
!33 = distinct !{!33, !21}
!34 = distinct !{!34, !21}
!35 = distinct !{!35, !21}
!36 = !{!13, !6, i64 32}
!37 = !{!13, !6, i64 16}
!38 = !{!17, !6, i64 32}
!39 = distinct !{!39, !21}


; 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.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.hmm_expect = external hidden unnamed_addr constant [61 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @hmm_new_exp(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @hmm_expect(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %1, i64 4
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = and i32 %4, 4
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %7

6:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 301, ptr noundef nonnull @__PRETTY_FUNCTION__.hmm_expect) #4
  unreachable

7:                                                ; preds = %2
  %8 = tail call ptr @hmm_new_exp(ptr noundef %0)
  %9 = load i32, ptr %0, align 8, !tbaa !11
  %10 = getelementptr inbounds i8, ptr %0, i64 4
  %11 = load i32, ptr %10, align 4, !tbaa !13
  %.not8396 = icmp eq i32 %11, 0
  br i1 %.not8396, label %.preheader90, label %.preheader93.lr.ph

.preheader93.lr.ph:                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %8, i64 16
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = zext i32 %11 to i64
  %min.iters.check = icmp ult i32 %11, 4
  %n.vec = and i64 %14, 4294967292
  %cmp.n = icmp eq i64 %n.vec, %14
  br label %.preheader93

.preheader93:                                     ; preds = %.preheader93.lr.ph, %._crit_edge
  %indvars.iv120 = phi i64 [ 0, %.preheader93.lr.ph ], [ %indvars.iv.next121, %._crit_edge ]
  %15 = getelementptr inbounds ptr, ptr %13, i64 %indvars.iv120
  %16 = load ptr, ptr %15, align 8, !tbaa !17
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.body

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader93
  %indvars.iv.ph = phi i64 [ 0, %.preheader93 ], [ %n.vec, %middle.block ]
  br label %scalar.ph

vector.body:                                      ; preds = %.preheader93, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader93 ]
  %17 = getelementptr inbounds double, ptr %16, i64 %index
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  store <2 x double> <double 1.000000e-25, double 1.000000e-25>, ptr %17, align 8, !tbaa !18
  store <2 x double> <double 1.000000e-25, double 1.000000e-25>, ptr %18, align 8, !tbaa !18
  %index.next = add nuw i64 %index, 4
  %19 = icmp eq i64 %index.next, %n.vec
  br i1 %19, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

.preheader92:                                     ; preds = %._crit_edge
  %.not84101 = icmp slt i32 %9, 0
  %brmerge = or i1 %.not84101, %.not8396
  br i1 %brmerge, label %.preheader90, label %.preheader91.lr.ph.split

.preheader91.lr.ph.split:                         ; preds = %.preheader92
  %20 = getelementptr inbounds i8, ptr %8, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !23
  %22 = zext i32 %11 to i64
  %23 = add nuw i32 %9, 1
  %wide.trip.count = zext i32 %23 to i64
  %min.iters.check146 = icmp ult i32 %11, 4
  %n.vec149 = and i64 %14, 4294967292
  %cmp.n154 = icmp eq i64 %n.vec149, %14
  br label %.preheader91

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %24 = getelementptr inbounds double, ptr %16, i64 %indvars.iv
  store double 1.000000e-25, ptr %24, align 8, !tbaa !18
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not89 = icmp eq i64 %indvars.iv.next, %14
  br i1 %.not89, label %._crit_edge, label %scalar.ph, !llvm.loop !24

._crit_edge:                                      ; preds = %scalar.ph, %middle.block
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %.not83 = icmp eq i64 %indvars.iv.next121, %14
  br i1 %.not83, label %.preheader92, label %.preheader93, !llvm.loop !25

.preheader91:                                     ; preds = %.preheader91.lr.ph.split, %._crit_edge100
  %indvars.iv126 = phi i64 [ 0, %.preheader91.lr.ph.split ], [ %indvars.iv.next127, %._crit_edge100 ]
  %25 = getelementptr inbounds ptr, ptr %21, i64 %indvars.iv126
  %26 = load ptr, ptr %25, align 8, !tbaa !17
  br i1 %min.iters.check146, label %scalar.ph145.preheader, label %vector.body151

scalar.ph145.preheader:                           ; preds = %middle.block144, %.preheader91
  %indvars.iv123.ph = phi i64 [ 0, %.preheader91 ], [ %n.vec149, %middle.block144 ]
  br label %scalar.ph145

vector.body151:                                   ; preds = %.preheader91, %vector.body151
  %index152 = phi i64 [ %index.next153, %vector.body151 ], [ 0, %.preheader91 ]
  %27 = getelementptr inbounds double, ptr %26, i64 %index152
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  store <2 x double> <double 1.000000e-25, double 1.000000e-25>, ptr %27, align 8, !tbaa !18
  store <2 x double> <double 1.000000e-25, double 1.000000e-25>, ptr %28, align 8, !tbaa !18
  %index.next153 = add nuw i64 %index152, 4
  %29 = icmp eq i64 %index.next153, %n.vec149
  br i1 %29, label %middle.block144, label %vector.body151, !llvm.loop !26

middle.block144:                                  ; preds = %vector.body151
  br i1 %cmp.n154, label %._crit_edge100, label %scalar.ph145.preheader

.preheader90:                                     ; preds = %._crit_edge100, %.preheader92, %7
  %30 = load i32, ptr %1, align 8, !tbaa !27
  %31 = icmp sgt i32 %30, 1
  br i1 %31, label %.lr.ph112, label %.preheader

.lr.ph112:                                        ; preds = %.preheader90
  %32 = getelementptr inbounds i8, ptr %1, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !28
  %34 = getelementptr inbounds i8, ptr %1, i64 24
  %35 = load ptr, ptr %34, align 8, !tbaa !29
  %36 = getelementptr inbounds i8, ptr %1, i64 32
  %37 = load ptr, ptr %36, align 8, !tbaa !30
  %38 = getelementptr inbounds i8, ptr %8, i64 24
  %39 = load ptr, ptr %38, align 8, !tbaa !23
  %40 = getelementptr inbounds i8, ptr %1, i64 8
  %41 = load ptr, ptr %40, align 8, !tbaa !31
  %42 = getelementptr inbounds i8, ptr %0, i64 24
  %43 = load ptr, ptr %42, align 8, !tbaa !32
  br i1 %.not8396, label %._crit_edge116, label %.lr.ph112.split

.lr.ph112.split:                                  ; preds = %.lr.ph112
  %44 = getelementptr inbounds i8, ptr %8, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  %46 = zext i32 %11 to i64
  %wide.trip.count138 = zext nneg i32 %30 to i64
  %.phi.trans.insert = getelementptr inbounds i8, ptr %35, i64 8
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !17
  %47 = shl nuw nsw i64 %46, 3
  %min.iters.check162 = icmp ult i32 %11, 4
  %n.vec165 = and i64 %46, 4294967292
  %cmp.n175 = icmp eq i64 %n.vec165, %46
  %xtraiter = and i64 %46, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %48 = add nsw i64 %46, -1
  br label %.lr.ph110

scalar.ph145:                                     ; preds = %scalar.ph145.preheader, %scalar.ph145
  %indvars.iv123 = phi i64 [ %indvars.iv.next124, %scalar.ph145 ], [ %indvars.iv123.ph, %scalar.ph145.preheader ]
  %49 = getelementptr inbounds double, ptr %26, i64 %indvars.iv123
  store double 1.000000e-25, ptr %49, align 8, !tbaa !18
  %indvars.iv.next124 = add nuw nsw i64 %indvars.iv123, 1
  %.not88 = icmp eq i64 %indvars.iv.next124, %22
  br i1 %.not88, label %._crit_edge100, label %scalar.ph145, !llvm.loop !33

._crit_edge100:                                   ; preds = %scalar.ph145, %middle.block144
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next127, %wide.trip.count
  br i1 %exitcond.not, label %.preheader90, label %.preheader91, !llvm.loop !34

..loopexit_crit_edge.split:                       ; preds = %._crit_edge106
  %exitcond139.not = icmp eq i64 %indvars.iv.next136, %wide.trip.count138
  br i1 %exitcond139.not, label %.preheader, label %.lr.ph110, !llvm.loop !35

.preheader:                                       ; preds = %..loopexit_crit_edge.split, %.preheader90
  br i1 %.not8396, label %._crit_edge116, label %.lr.ph115

.lr.ph115:                                        ; preds = %.preheader
  %50 = getelementptr inbounds i8, ptr %0, i64 32
  %51 = load ptr, ptr %50, align 8, !tbaa !36
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  %53 = load ptr, ptr %52, align 8, !tbaa !37
  %54 = getelementptr inbounds i8, ptr %1, i64 8
  %55 = load ptr, ptr %54, align 8, !tbaa !31
  %56 = getelementptr inbounds i8, ptr %55, i64 1
  %57 = getelementptr inbounds i8, ptr %1, i64 24
  %58 = load ptr, ptr %57, align 8, !tbaa !29
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !17
  %61 = getelementptr inbounds i8, ptr %8, i64 32
  %62 = load ptr, ptr %61, align 8, !tbaa !38
  %63 = zext i32 %11 to i64
  %xtraiter176 = and i64 %63, 1
  %64 = icmp eq i32 %11, 1
  br i1 %64, label %._crit_edge116.loopexit.unr-lcssa, label %.lr.ph115.new

.lr.ph115.new:                                    ; preds = %.lr.ph115
  %unroll_iter = and i64 %63, 4294967294
  br label %131

.lr.ph110:                                        ; preds = %.lr.ph112.split, %..loopexit_crit_edge.split
  %65 = phi ptr [ %.pre, %.lr.ph112.split ], [ %69, %..loopexit_crit_edge.split ]
  %indvars.iv135 = phi i64 [ 1, %.lr.ph112.split ], [ %indvars.iv.next136, %..loopexit_crit_edge.split ]
  %66 = getelementptr inbounds ptr, ptr %33, i64 %indvars.iv135
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  %indvars.iv.next136 = add nuw nsw i64 %indvars.iv135, 1
  %68 = getelementptr inbounds ptr, ptr %35, i64 %indvars.iv.next136
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = getelementptr inbounds double, ptr %37, i64 %indvars.iv135
  %71 = load double, ptr %70, align 8, !tbaa !18
  %72 = getelementptr inbounds i8, ptr %41, i64 %indvars.iv135
  %73 = load i8, ptr %72, align 1, !tbaa !39
  %74 = sext i8 %73 to i64
  %75 = getelementptr inbounds ptr, ptr %39, i64 %74
  %76 = load ptr, ptr %75, align 8, !tbaa !17
  %77 = getelementptr inbounds i8, ptr %41, i64 %indvars.iv.next136
  %78 = load i8, ptr %77, align 1, !tbaa !39
  %79 = sext i8 %78 to i32
  %80 = mul nsw i32 %11, %79
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds ptr, ptr %43, i64 %81
  %scevgep156 = getelementptr i8, ptr %69, i64 %47
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph110, %._crit_edge106
  %indvars.iv132 = phi i64 [ 0, %.lr.ph110 ], [ %indvars.iv.next133, %._crit_edge106 ]
  %83 = getelementptr inbounds ptr, ptr %82, i64 %indvars.iv132
  %84 = load ptr, ptr %83, align 8, !tbaa !17
  %85 = getelementptr inbounds ptr, ptr %45, i64 %indvars.iv132
  %86 = load ptr, ptr %85, align 8, !tbaa !17
  %87 = getelementptr inbounds double, ptr %67, i64 %indvars.iv132
  %88 = load double, ptr %87, align 8, !tbaa !18
  br i1 %min.iters.check162, label %scalar.ph161.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph
  %scevgep = getelementptr i8, ptr %86, i64 %47
  %scevgep155 = getelementptr i8, ptr %84, i64 %47
  %bound0 = icmp ult ptr %86, %scevgep155
  %bound1 = icmp ult ptr %84, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0157 = icmp ult ptr %86, %scevgep156
  %bound1158 = icmp ult ptr %69, %scevgep
  %found.conflict159 = and i1 %bound0157, %bound1158
  %conflict.rdx = or i1 %found.conflict, %found.conflict159
  br i1 %conflict.rdx, label %scalar.ph161.preheader, label %vector.ph163

vector.ph163:                                     ; preds = %vector.memcheck
  %broadcast.splatinsert = insertelement <2 x double> poison, double %88, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body167

vector.body167:                                   ; preds = %vector.body167, %vector.ph163
  %index168 = phi i64 [ 0, %vector.ph163 ], [ %index.next174, %vector.body167 ]
  %89 = getelementptr inbounds double, ptr %84, i64 %index168
  %90 = getelementptr inbounds i8, ptr %89, i64 16
  %wide.load = load <2 x double>, ptr %89, align 8, !tbaa !18, !alias.scope !40
  %wide.load169 = load <2 x double>, ptr %90, align 8, !tbaa !18, !alias.scope !40
  %91 = fmul <2 x double> %broadcast.splat, %wide.load
  %92 = fmul <2 x double> %broadcast.splat, %wide.load169
  %93 = getelementptr inbounds double, ptr %69, i64 %index168
  %94 = getelementptr inbounds i8, ptr %93, i64 16
  %wide.load170 = load <2 x double>, ptr %93, align 8, !tbaa !18, !alias.scope !43
  %wide.load171 = load <2 x double>, ptr %94, align 8, !tbaa !18, !alias.scope !43
  %95 = getelementptr inbounds double, ptr %86, i64 %index168
  %96 = getelementptr inbounds i8, ptr %95, i64 16
  %wide.load172 = load <2 x double>, ptr %95, align 8, !tbaa !18, !alias.scope !45, !noalias !47
  %wide.load173 = load <2 x double>, ptr %96, align 8, !tbaa !18, !alias.scope !45, !noalias !47
  %97 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %91, <2 x double> %wide.load170, <2 x double> %wide.load172)
  %98 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %wide.load171, <2 x double> %wide.load173)
  store <2 x double> %97, ptr %95, align 8, !tbaa !18, !alias.scope !45, !noalias !47
  store <2 x double> %98, ptr %96, align 8, !tbaa !18, !alias.scope !45, !noalias !47
  %index.next174 = add nuw i64 %index168, 4
  %99 = icmp eq i64 %index.next174, %n.vec165
  br i1 %99, label %middle.block160, label %vector.body167, !llvm.loop !48

middle.block160:                                  ; preds = %vector.body167
  br i1 %cmp.n175, label %._crit_edge106, label %scalar.ph161.preheader

scalar.ph161.preheader:                           ; preds = %middle.block160, %vector.memcheck, %.lr.ph
  %indvars.iv129.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec165, %middle.block160 ]
  br i1 %lcmp.mod.not, label %scalar.ph161.prol.loopexit, label %scalar.ph161.prol

scalar.ph161.prol:                                ; preds = %scalar.ph161.preheader
  %100 = getelementptr inbounds double, ptr %84, i64 %indvars.iv129.ph
  %101 = load double, ptr %100, align 8, !tbaa !18
  %102 = fmul double %88, %101
  %103 = getelementptr inbounds double, ptr %69, i64 %indvars.iv129.ph
  %104 = load double, ptr %103, align 8, !tbaa !18
  %105 = getelementptr inbounds double, ptr %86, i64 %indvars.iv129.ph
  %106 = load double, ptr %105, align 8, !tbaa !18
  %107 = tail call double @llvm.fmuladd.f64(double %102, double %104, double %106)
  store double %107, ptr %105, align 8, !tbaa !18
  %indvars.iv.next130.prol = or disjoint i64 %indvars.iv129.ph, 1
  br label %scalar.ph161.prol.loopexit

scalar.ph161.prol.loopexit:                       ; preds = %scalar.ph161.prol, %scalar.ph161.preheader
  %indvars.iv129.unr = phi i64 [ %indvars.iv129.ph, %scalar.ph161.preheader ], [ %indvars.iv.next130.prol, %scalar.ph161.prol ]
  %108 = icmp eq i64 %indvars.iv129.ph, %48
  br i1 %108, label %._crit_edge106, label %scalar.ph161

scalar.ph161:                                     ; preds = %scalar.ph161.prol.loopexit, %scalar.ph161
  %indvars.iv129 = phi i64 [ %indvars.iv.next130.1, %scalar.ph161 ], [ %indvars.iv129.unr, %scalar.ph161.prol.loopexit ]
  %109 = getelementptr inbounds double, ptr %84, i64 %indvars.iv129
  %110 = load double, ptr %109, align 8, !tbaa !18
  %111 = fmul double %88, %110
  %112 = getelementptr inbounds double, ptr %69, i64 %indvars.iv129
  %113 = load double, ptr %112, align 8, !tbaa !18
  %114 = getelementptr inbounds double, ptr %86, i64 %indvars.iv129
  %115 = load double, ptr %114, align 8, !tbaa !18
  %116 = tail call double @llvm.fmuladd.f64(double %111, double %113, double %115)
  store double %116, ptr %114, align 8, !tbaa !18
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  %117 = getelementptr inbounds double, ptr %84, i64 %indvars.iv.next130
  %118 = load double, ptr %117, align 8, !tbaa !18
  %119 = fmul double %88, %118
  %120 = getelementptr inbounds double, ptr %69, i64 %indvars.iv.next130
  %121 = load double, ptr %120, align 8, !tbaa !18
  %122 = getelementptr inbounds double, ptr %86, i64 %indvars.iv.next130
  %123 = load double, ptr %122, align 8, !tbaa !18
  %124 = tail call double @llvm.fmuladd.f64(double %119, double %121, double %123)
  store double %124, ptr %122, align 8, !tbaa !18
  %indvars.iv.next130.1 = add nuw nsw i64 %indvars.iv129, 2
  %.not87.1 = icmp eq i64 %indvars.iv.next130.1, %46
  br i1 %.not87.1, label %._crit_edge106, label %scalar.ph161, !llvm.loop !49

._crit_edge106:                                   ; preds = %scalar.ph161.prol.loopexit, %scalar.ph161, %middle.block160
  %125 = getelementptr inbounds double, ptr %65, i64 %indvars.iv132
  %126 = load double, ptr %125, align 8, !tbaa !18
  %127 = fmul double %88, %126
  %128 = getelementptr inbounds double, ptr %76, i64 %indvars.iv132
  %129 = load double, ptr %128, align 8, !tbaa !18
  %130 = tail call double @llvm.fmuladd.f64(double %127, double %71, double %129)
  store double %130, ptr %128, align 8, !tbaa !18
  %indvars.iv.next133 = add nuw nsw i64 %indvars.iv132, 1
  %.not86 = icmp eq i64 %indvars.iv.next133, %46
  br i1 %.not86, label %..loopexit_crit_edge.split, label %.lr.ph, !llvm.loop !50

131:                                              ; preds = %131, %.lr.ph115.new
  %indvars.iv140 = phi i64 [ 0, %.lr.ph115.new ], [ %indvars.iv.next141.1, %131 ]
  %niter = phi i64 [ 0, %.lr.ph115.new ], [ %niter.next.1, %131 ]
  %132 = getelementptr inbounds double, ptr %51, i64 %indvars.iv140
  %133 = load double, ptr %132, align 8, !tbaa !18
  %134 = load i8, ptr %56, align 1, !tbaa !39
  %135 = sext i8 %134 to i64
  %136 = getelementptr inbounds ptr, ptr %53, i64 %135
  %137 = load ptr, ptr %136, align 8, !tbaa !17
  %138 = getelementptr inbounds double, ptr %137, i64 %indvars.iv140
  %139 = load double, ptr %138, align 8, !tbaa !18
  %140 = fmul double %133, %139
  %141 = getelementptr inbounds double, ptr %60, i64 %indvars.iv140
  %142 = load double, ptr %141, align 8, !tbaa !18
  %143 = getelementptr inbounds double, ptr %62, i64 %indvars.iv140
  %144 = load double, ptr %143, align 8, !tbaa !18
  %145 = tail call double @llvm.fmuladd.f64(double %140, double %142, double %144)
  store double %145, ptr %143, align 8, !tbaa !18
  %indvars.iv.next141 = or disjoint i64 %indvars.iv140, 1
  %146 = getelementptr inbounds double, ptr %51, i64 %indvars.iv.next141
  %147 = load double, ptr %146, align 8, !tbaa !18
  %148 = load i8, ptr %56, align 1, !tbaa !39
  %149 = sext i8 %148 to i64
  %150 = getelementptr inbounds ptr, ptr %53, i64 %149
  %151 = load ptr, ptr %150, align 8, !tbaa !17
  %152 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next141
  %153 = load double, ptr %152, align 8, !tbaa !18
  %154 = fmul double %147, %153
  %155 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.next141
  %156 = load double, ptr %155, align 8, !tbaa !18
  %157 = getelementptr inbounds double, ptr %62, i64 %indvars.iv.next141
  %158 = load double, ptr %157, align 8, !tbaa !18
  %159 = tail call double @llvm.fmuladd.f64(double %154, double %156, double %158)
  store double %159, ptr %157, align 8, !tbaa !18
  %indvars.iv.next141.1 = add nuw nsw i64 %indvars.iv140, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge116.loopexit.unr-lcssa, label %131, !llvm.loop !51

._crit_edge116.loopexit.unr-lcssa:                ; preds = %131, %.lr.ph115
  %indvars.iv140.unr = phi i64 [ 0, %.lr.ph115 ], [ %indvars.iv.next141.1, %131 ]
  %lcmp.mod177.not = icmp eq i64 %xtraiter176, 0
  br i1 %lcmp.mod177.not, label %._crit_edge116, label %._crit_edge116.loopexit.epilog-lcssa

._crit_edge116.loopexit.epilog-lcssa:             ; preds = %._crit_edge116.loopexit.unr-lcssa
  %160 = getelementptr inbounds double, ptr %51, i64 %indvars.iv140.unr
  %161 = load double, ptr %160, align 8, !tbaa !18
  %162 = load i8, ptr %56, align 1, !tbaa !39
  %163 = sext i8 %162 to i64
  %164 = getelementptr inbounds ptr, ptr %53, i64 %163
  %165 = load ptr, ptr %164, align 8, !tbaa !17
  %166 = getelementptr inbounds double, ptr %165, i64 %indvars.iv140.unr
  %167 = load double, ptr %166, align 8, !tbaa !18
  %168 = fmul double %161, %167
  %169 = getelementptr inbounds double, ptr %60, i64 %indvars.iv140.unr
  %170 = load double, ptr %169, align 8, !tbaa !18
  %171 = getelementptr inbounds double, ptr %62, i64 %indvars.iv140.unr
  %172 = load double, ptr %171, align 8, !tbaa !18
  %173 = tail call double @llvm.fmuladd.f64(double %168, double %170, double %172)
  store double %173, ptr %171, align 8, !tbaa !18
  br label %._crit_edge116

._crit_edge116:                                   ; preds = %._crit_edge116.loopexit.epilog-lcssa, %._crit_edge116.loopexit.unr-lcssa, %.lr.ph112, %.preheader
  ret ptr %8
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { 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 #1 = { 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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, !7, i64 4}
!6 = !{!"", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!13 = !{!12, !7, i64 4}
!14 = !{!15, !10, i64 16}
!15 = !{!"", !7, i64 0, !7, i64 4, !16, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!16 = !{!"double", !8, i64 0}
!17 = !{!10, !10, i64 0}
!18 = !{!16, !16, i64 0}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = !{!15, !10, i64 24}
!24 = distinct !{!24, !20, !22, !21}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20, !21, !22}
!27 = !{!6, !7, i64 0}
!28 = !{!6, !10, i64 16}
!29 = !{!6, !10, i64 24}
!30 = !{!6, !10, i64 32}
!31 = !{!6, !10, i64 8}
!32 = !{!12, !10, i64 24}
!33 = distinct !{!33, !20, !22, !21}
!34 = distinct !{!34, !20}
!35 = distinct !{!35, !20}
!36 = !{!12, !10, i64 32}
!37 = !{!12, !10, i64 16}
!38 = !{!15, !10, i64 32}
!39 = !{!8, !8, i64 0}
!40 = !{!41}
!41 = distinct !{!41, !42}
!42 = distinct !{!42, !"LVerDomain"}
!43 = !{!44}
!44 = distinct !{!44, !42}
!45 = !{!46}
!46 = distinct !{!46, !42}
!47 = !{!41, !44}
!48 = distinct !{!48, !20, !21, !22}
!49 = distinct !{!49, !20, !21}
!50 = distinct !{!50, !20}
!51 = distinct !{!51, !20}


; Effective O3 passes: ADCEPass,BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass