; LLVM IR from CLASS-SZ/class_sz :: class-sz/hyrec (hydrogen)

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

; 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: nounwind
declare double @exp(double noundef) #1

; Function Attrs: nounwind
declare double @log(double noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @fplus_from_fminus(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, i32 noundef %7, double noundef %8, ptr noundef %9) #2 {
  %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 double, align 8
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store double %4, ptr %15, align 8, !tbaa !9
  store double %5, ptr %16, align 8, !tbaa !9
  store double %6, ptr %17, align 8, !tbaa !9
  store i32 %7, ptr %18, align 4, !tbaa !11
  store double %8, ptr %19, align 8, !tbaa !9
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %25 = load double, ptr %19, align 8, !tbaa !9
  %26 = fadd double 1.000000e+00, %25
  store double %26, ptr %24, align 8, !tbaa !9
  %27 = load double, ptr %16, align 8, !tbaa !9
  %28 = fadd double 1.000000e+00, %27
  %29 = call double @log(double noundef %28) #4
  %30 = fneg double %29
  store double %30, ptr %23, align 8, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !11
  br label %31

31:                                               ; preds = %67, %10
  %32 = load i32, ptr %21, align 4, !tbaa !11
  %33 = icmp ult i32 %32, 139
  br i1 %33, label %34, label %70

34:                                               ; preds = %31
  %35 = load double, ptr %24, align 8, !tbaa !9
  %36 = load ptr, ptr %20, align 8, !tbaa !5
  %37 = load i32, ptr %21, align 4, !tbaa !11
  %38 = add i32 %37, 1
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds double, ptr %36, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = fmul double %35, %41
  %43 = load ptr, ptr %20, align 8, !tbaa !5
  %44 = load i32, ptr %21, align 4, !tbaa !11
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds double, ptr %43, i64 %45
  %47 = load double, ptr %46, align 8, !tbaa !9
  %48 = fdiv double %42, %47
  store double %48, ptr %22, align 8, !tbaa !9
  %49 = load double, ptr %23, align 8, !tbaa !9
  %50 = load double, ptr %17, align 8, !tbaa !9
  %51 = load ptr, ptr %13, align 8, !tbaa !5
  %52 = load i32, ptr %21, align 4, !tbaa !11
  %53 = add i32 %52, 1
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds ptr, ptr %51, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = load i32, ptr %18, align 4, !tbaa !11
  %58 = load double, ptr %22, align 8, !tbaa !9
  %59 = call double @log(double noundef %58) #4
  %60 = fneg double %59
  %61 = call double @rec_interp1d(double noundef %49, double noundef %50, ptr noundef %56, i32 noundef %57, double noundef %60)
  %62 = call double @exp(double noundef %61) #4
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load i32, ptr %21, align 4, !tbaa !11
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds double, ptr %63, i64 %65
  store double %62, ptr %66, align 8, !tbaa !9
  br label %67

67:                                               ; preds = %34
  %68 = load i32, ptr %21, align 4, !tbaa !11
  %69 = add i32 %68, 1
  store i32 %69, ptr %21, align 4, !tbaa !11
  br label %31, !llvm.loop !13

70:                                               ; preds = %31
  store i32 139, ptr %21, align 4, !tbaa !11
  %71 = load double, ptr %24, align 8, !tbaa !9
  %72 = fmul double %71, 0x402465BDE9FCF0EC
  %73 = load ptr, ptr %20, align 8, !tbaa !5
  %74 = load i32, ptr %21, align 4, !tbaa !11
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !9
  %78 = fdiv double %72, %77
  store double %78, ptr %22, align 8, !tbaa !9
  %79 = load double, ptr %23, align 8, !tbaa !9
  %80 = load double, ptr %17, align 8, !tbaa !9
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  %82 = getelementptr inbounds ptr, ptr %81, i64 0
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load i32, ptr %18, align 4, !tbaa !11
  %85 = load double, ptr %22, align 8, !tbaa !9
  %86 = call double @log(double noundef %85) #4
  %87 = fneg double %86
  %88 = call double @rec_interp1d(double noundef %79, double noundef %80, ptr noundef %83, i32 noundef %84, double noundef %87)
  %89 = call double @exp(double noundef %88) #4
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = load i32, ptr %21, align 4, !tbaa !11
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds double, ptr %90, i64 %92
  store double %89, ptr %93, align 8, !tbaa !9
  store i32 140, ptr %21, align 4, !tbaa !11
  %94 = load double, ptr %24, align 8, !tbaa !9
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  %96 = load i32, ptr %21, align 4, !tbaa !11
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !9
  %100 = fmul double %94, %99
  %101 = fdiv double %100, 0x402465BDE9FCF0EC
  store double %101, ptr %22, align 8, !tbaa !9
  %102 = load double, ptr %23, align 8, !tbaa !9
  %103 = load double, ptr %17, align 8, !tbaa !9
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = load i32, ptr %21, align 4, !tbaa !11
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = load i32, ptr %18, align 4, !tbaa !11
  %110 = load double, ptr %22, align 8, !tbaa !9
  %111 = call double @log(double noundef %110) #4
  %112 = fneg double %111
  %113 = call double @rec_interp1d(double noundef %102, double noundef %103, ptr noundef %108, i32 noundef %109, double noundef %112)
  %114 = call double @exp(double noundef %113) #4
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = getelementptr inbounds double, ptr %115, i64 0
  store double %114, ptr %116, align 8, !tbaa !9
  store i32 140, ptr %21, align 4, !tbaa !11
  br label %117

117:                                              ; preds = %153, %70
  %118 = load i32, ptr %21, align 4, !tbaa !11
  %119 = icmp ult i32 %118, 270
  br i1 %119, label %120, label %156

120:                                              ; preds = %117
  %121 = load double, ptr %24, align 8, !tbaa !9
  %122 = load ptr, ptr %20, align 8, !tbaa !5
  %123 = load i32, ptr %21, align 4, !tbaa !11
  %124 = add i32 %123, 1
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %122, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !9
  %128 = fmul double %121, %127
  %129 = load ptr, ptr %20, align 8, !tbaa !5
  %130 = load i32, ptr %21, align 4, !tbaa !11
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds double, ptr %129, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = fdiv double %128, %133
  store double %134, ptr %22, align 8, !tbaa !9
  %135 = load double, ptr %23, align 8, !tbaa !9
  %136 = load double, ptr %17, align 8, !tbaa !9
  %137 = load ptr, ptr %13, align 8, !tbaa !5
  %138 = load i32, ptr %21, align 4, !tbaa !11
  %139 = add i32 %138, 1
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds ptr, ptr %137, i64 %140
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  %143 = load i32, ptr %18, align 4, !tbaa !11
  %144 = load double, ptr %22, align 8, !tbaa !9
  %145 = call double @log(double noundef %144) #4
  %146 = fneg double %145
  %147 = call double @rec_interp1d(double noundef %135, double noundef %136, ptr noundef %142, i32 noundef %143, double noundef %146)
  %148 = call double @exp(double noundef %147) #4
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = load i32, ptr %21, align 4, !tbaa !11
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds double, ptr %149, i64 %151
  store double %148, ptr %152, align 8, !tbaa !9
  br label %153

153:                                              ; preds = %120
  %154 = load i32, ptr %21, align 4, !tbaa !11
  %155 = add i32 %154, 1
  store i32 %155, ptr %21, align 4, !tbaa !11
  br label %117, !llvm.loop !15

156:                                              ; preds = %117
  store i32 270, ptr %21, align 4, !tbaa !11
  %157 = load double, ptr %24, align 8, !tbaa !9
  %158 = fmul double %157, 0x40282CBB284839FB
  %159 = load ptr, ptr %20, align 8, !tbaa !5
  %160 = load i32, ptr %21, align 4, !tbaa !11
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !9
  %164 = fdiv double %158, %163
  store double %164, ptr %22, align 8, !tbaa !9
  %165 = load double, ptr %23, align 8, !tbaa !9
  %166 = load double, ptr %17, align 8, !tbaa !9
  %167 = load ptr, ptr %14, align 8, !tbaa !5
  %168 = getelementptr inbounds ptr, ptr %167, i64 1
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  %170 = load i32, ptr %18, align 4, !tbaa !11
  %171 = load double, ptr %22, align 8, !tbaa !9
  %172 = call double @log(double noundef %171) #4
  %173 = fneg double %172
  %174 = call double @rec_interp1d(double noundef %165, double noundef %166, ptr noundef %169, i32 noundef %170, double noundef %173)
  %175 = call double @exp(double noundef %174) #4
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = load i32, ptr %21, align 4, !tbaa !11
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds double, ptr %176, i64 %178
  store double %175, ptr %179, align 8, !tbaa !9
  store i32 271, ptr %21, align 4, !tbaa !11
  %180 = load double, ptr %24, align 8, !tbaa !9
  %181 = load ptr, ptr %20, align 8, !tbaa !5
  %182 = load i32, ptr %21, align 4, !tbaa !11
  %183 = zext i32 %182 to i64
  %184 = getelementptr inbounds double, ptr %181, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !9
  %186 = fmul double %180, %185
  %187 = fdiv double %186, 0x40282CBB284839FB
  store double %187, ptr %22, align 8, !tbaa !9
  %188 = load double, ptr %23, align 8, !tbaa !9
  %189 = load double, ptr %17, align 8, !tbaa !9
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = load i32, ptr %21, align 4, !tbaa !11
  %192 = zext i32 %191 to i64
  %193 = getelementptr inbounds ptr, ptr %190, i64 %192
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = load i32, ptr %18, align 4, !tbaa !11
  %196 = load double, ptr %22, align 8, !tbaa !9
  %197 = call double @log(double noundef %196) #4
  %198 = fneg double %197
  %199 = call double @rec_interp1d(double noundef %188, double noundef %189, ptr noundef %194, i32 noundef %195, double noundef %198)
  %200 = call double @exp(double noundef %199) #4
  %201 = load ptr, ptr %12, align 8, !tbaa !5
  %202 = getelementptr inbounds double, ptr %201, i64 1
  store double %200, ptr %202, align 8, !tbaa !9
  store i32 271, ptr %21, align 4, !tbaa !11
  br label %203

203:                                              ; preds = %239, %156
  %204 = load i32, ptr %21, align 4, !tbaa !11
  %205 = icmp ult i32 %204, 310
  br i1 %205, label %206, label %242

206:                                              ; preds = %203
  %207 = load double, ptr %24, align 8, !tbaa !9
  %208 = load ptr, ptr %20, align 8, !tbaa !5
  %209 = load i32, ptr %21, align 4, !tbaa !11
  %210 = add i32 %209, 1
  %211 = zext i32 %210 to i64
  %212 = getelementptr inbounds double, ptr %208, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !9
  %214 = fmul double %207, %213
  %215 = load ptr, ptr %20, align 8, !tbaa !5
  %216 = load i32, ptr %21, align 4, !tbaa !11
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds double, ptr %215, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !9
  %220 = fdiv double %214, %219
  store double %220, ptr %22, align 8, !tbaa !9
  %221 = load double, ptr %23, align 8, !tbaa !9
  %222 = load double, ptr %17, align 8, !tbaa !9
  %223 = load ptr, ptr %13, align 8, !tbaa !5
  %224 = load i32, ptr %21, align 4, !tbaa !11
  %225 = add i32 %224, 1
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds ptr, ptr %223, i64 %226
  %228 = load ptr, ptr %227, align 8, !tbaa !5
  %229 = load i32, ptr %18, align 4, !tbaa !11
  %230 = load double, ptr %22, align 8, !tbaa !9
  %231 = call double @log(double noundef %230) #4
  %232 = fneg double %231
  %233 = call double @rec_interp1d(double noundef %221, double noundef %222, ptr noundef %228, i32 noundef %229, double noundef %232)
  %234 = call double @exp(double noundef %233) #4
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = load i32, ptr %21, align 4, !tbaa !11
  %237 = zext i32 %236 to i64
  %238 = getelementptr inbounds double, ptr %235, i64 %237
  store double %234, ptr %238, align 8, !tbaa !9
  br label %239

239:                                              ; preds = %206
  %240 = load i32, ptr %21, align 4, !tbaa !11
  %241 = add i32 %240, 1
  store i32 %241, ptr %21, align 4, !tbaa !11
  br label %203, !llvm.loop !16

242:                                              ; preds = %203
  store i32 310, ptr %21, align 4, !tbaa !11
  %243 = load double, ptr %24, align 8, !tbaa !9
  %244 = fmul double %243, 0x40297F2D647C2D27
  %245 = load ptr, ptr %20, align 8, !tbaa !5
  %246 = load i32, ptr %21, align 4, !tbaa !11
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds double, ptr %245, i64 %247
  %249 = load double, ptr %248, align 8, !tbaa !9
  %250 = fdiv double %244, %249
  store double %250, ptr %22, align 8, !tbaa !9
  %251 = load double, ptr %23, align 8, !tbaa !9
  %252 = load double, ptr %17, align 8, !tbaa !9
  %253 = load ptr, ptr %14, align 8, !tbaa !5
  %254 = getelementptr inbounds ptr, ptr %253, i64 2
  %255 = load ptr, ptr %254, align 8, !tbaa !5
  %256 = load i32, ptr %18, align 4, !tbaa !11
  %257 = load double, ptr %22, align 8, !tbaa !9
  %258 = call double @log(double noundef %257) #4
  %259 = fneg double %258
  %260 = call double @rec_interp1d(double noundef %251, double noundef %252, ptr noundef %255, i32 noundef %256, double noundef %259)
  %261 = call double @exp(double noundef %260) #4
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  %263 = load i32, ptr %21, align 4, !tbaa !11
  %264 = zext i32 %263 to i64
  %265 = getelementptr inbounds double, ptr %262, i64 %264
  store double %261, ptr %265, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  ret void
}

declare double @rec_interp1d(double noundef, double noundef, ptr noundef, i32 noundef, double noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @fplus_from_fminus(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, double noundef %4, double noundef %5, double noundef %6, i32 noundef %7, double noundef %8, ptr nocapture noundef readonly %9) local_unnamed_addr #1 {
  %11 = fadd double %8, 1.000000e+00
  %12 = fadd double %5, 1.000000e+00
  %13 = tail call double @log(double noundef %12) #3
  %14 = fneg double %13
  br label %15

15:                                               ; preds = %10, %15
  %indvars.iv = phi i64 [ 0, %10 ], [ %indvars.iv.next, %15 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %16 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next
  %17 = load double, ptr %16, align 8, !tbaa !5
  %18 = fmul double %11, %17
  %19 = getelementptr inbounds double, ptr %9, i64 %indvars.iv
  %20 = load double, ptr %19, align 8, !tbaa !5
  %21 = fdiv double %18, %20
  %22 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv.next
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = tail call double @log(double noundef %21) #3
  %25 = fneg double %24
  %26 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %23, i32 noundef %7, double noundef %25) #3
  %27 = tail call double @exp(double noundef %26) #3
  %28 = getelementptr inbounds double, ptr %0, i64 %indvars.iv
  store double %27, ptr %28, align 8, !tbaa !5
  %exitcond.not = icmp eq i64 %indvars.iv.next, 139
  br i1 %exitcond.not, label %29, label %15, !llvm.loop !11

29:                                               ; preds = %15
  %30 = fmul double %11, 0x402465BDE9FCF0EC
  %31 = getelementptr inbounds i8, ptr %9, i64 1112
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = fdiv double %30, %32
  %34 = load ptr, ptr %3, align 8, !tbaa !9
  %35 = tail call double @log(double noundef %33) #3
  %36 = fneg double %35
  %37 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %34, i32 noundef %7, double noundef %36) #3
  %38 = tail call double @exp(double noundef %37) #3
  %39 = getelementptr inbounds i8, ptr %0, i64 1112
  store double %38, ptr %39, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %9, i64 1120
  %41 = load double, ptr %40, align 8, !tbaa !5
  %42 = fmul double %11, %41
  %43 = fdiv double %42, 0x402465BDE9FCF0EC
  %44 = getelementptr inbounds i8, ptr %2, i64 1120
  %45 = load ptr, ptr %44, align 8, !tbaa !9
  %46 = tail call double @log(double noundef %43) #3
  %47 = fneg double %46
  %48 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %45, i32 noundef %7, double noundef %47) #3
  %49 = tail call double @exp(double noundef %48) #3
  store double %49, ptr %1, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %29, %50
  %indvars.iv100 = phi i64 [ 140, %29 ], [ %indvars.iv.next101, %50 ]
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %51 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next101
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = fmul double %11, %52
  %54 = getelementptr inbounds double, ptr %9, i64 %indvars.iv100
  %55 = load double, ptr %54, align 8, !tbaa !5
  %56 = fdiv double %53, %55
  %57 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv.next101
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = tail call double @log(double noundef %56) #3
  %60 = fneg double %59
  %61 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %58, i32 noundef %7, double noundef %60) #3
  %62 = tail call double @exp(double noundef %61) #3
  %63 = getelementptr inbounds double, ptr %0, i64 %indvars.iv100
  store double %62, ptr %63, align 8, !tbaa !5
  %exitcond103.not = icmp eq i64 %indvars.iv.next101, 270
  br i1 %exitcond103.not, label %64, label %50, !llvm.loop !13

64:                                               ; preds = %50
  %65 = fmul double %11, 0x40282CBB284839FB
  %66 = getelementptr inbounds i8, ptr %9, i64 2160
  %67 = load double, ptr %66, align 8, !tbaa !5
  %68 = fdiv double %65, %67
  %69 = getelementptr inbounds i8, ptr %3, i64 8
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = tail call double @log(double noundef %68) #3
  %72 = fneg double %71
  %73 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %70, i32 noundef %7, double noundef %72) #3
  %74 = tail call double @exp(double noundef %73) #3
  %75 = getelementptr inbounds i8, ptr %0, i64 2160
  store double %74, ptr %75, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %9, i64 2168
  %77 = load double, ptr %76, align 8, !tbaa !5
  %78 = fmul double %11, %77
  %79 = fdiv double %78, 0x40282CBB284839FB
  %80 = getelementptr inbounds i8, ptr %2, i64 2168
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = tail call double @log(double noundef %79) #3
  %83 = fneg double %82
  %84 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %81, i32 noundef %7, double noundef %83) #3
  %85 = tail call double @exp(double noundef %84) #3
  %86 = getelementptr inbounds i8, ptr %1, i64 8
  store double %85, ptr %86, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %64, %87
  %indvars.iv104 = phi i64 [ 271, %64 ], [ %indvars.iv.next105, %87 ]
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %88 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next105
  %89 = load double, ptr %88, align 8, !tbaa !5
  %90 = fmul double %11, %89
  %91 = getelementptr inbounds double, ptr %9, i64 %indvars.iv104
  %92 = load double, ptr %91, align 8, !tbaa !5
  %93 = fdiv double %90, %92
  %94 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv.next105
  %95 = load ptr, ptr %94, align 8, !tbaa !9
  %96 = tail call double @log(double noundef %93) #3
  %97 = fneg double %96
  %98 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %95, i32 noundef %7, double noundef %97) #3
  %99 = tail call double @exp(double noundef %98) #3
  %100 = getelementptr inbounds double, ptr %0, i64 %indvars.iv104
  store double %99, ptr %100, align 8, !tbaa !5
  %exitcond107.not = icmp eq i64 %indvars.iv.next105, 310
  br i1 %exitcond107.not, label %101, label %87, !llvm.loop !14

101:                                              ; preds = %87
  %102 = fmul double %11, 0x40297F2D647C2D27
  %103 = getelementptr inbounds i8, ptr %9, i64 2480
  %104 = load double, ptr %103, align 8, !tbaa !5
  %105 = fdiv double %102, %104
  %106 = getelementptr inbounds i8, ptr %3, i64 16
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = tail call double @log(double noundef %105) #3
  %109 = fneg double %108
  %110 = tail call double @rec_interp1d(double noundef %14, double noundef %6, ptr noundef %107, i32 noundef %7, double noundef %109) #3
  %111 = tail call double @exp(double noundef %110) #3
  %112 = getelementptr inbounds i8, ptr %0, i64 2480
  store double %111, ptr %112, align 8, !tbaa !5
  ret void
}

declare double @rec_interp1d(double noundef, double noundef, ptr noundef, i32 noundef, double noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nofree nounwind willreturn memory(write) "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 = { "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 = { nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass