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

%struct.TWO_PHOTON_PARAMS = type { [311 x double], [311 x double], [311 x double], [311 x double], [311 x double] }

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [73 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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) #1

declare i32 @printf(ptr noundef, ...) #1

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @read_twog_params(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %7 = call noalias ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.1)
  store ptr %7, ptr %3, align 8, !tbaa !5
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %8

8:                                                ; preds = %62, %1
  %9 = load i32, ptr %4, align 4, !tbaa !9
  %10 = icmp ult i32 %9, 311
  br i1 %10, label %11, label %65

11:                                               ; preds = %8
  store i32 0, ptr %6, align 4, !tbaa !9
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %4, align 4, !tbaa !9
  %16 = zext i32 %15 to i64
  %17 = getelementptr inbounds [311 x double], ptr %14, i64 0, i64 %16
  %18 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %17)
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = add nsw i32 %19, %18
  store i32 %20, ptr %6, align 4, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %22, i32 0, i32 1
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds [311 x double], ptr %23, i64 0, i64 %25
  %27 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %26)
  %28 = load i32, ptr %6, align 4, !tbaa !9
  %29 = add nsw i32 %28, %27
  store i32 %29, ptr %6, align 4, !tbaa !9
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %31, i32 0, i32 2
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds [311 x double], ptr %32, i64 0, i64 %34
  %36 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %30, ptr noundef @.str.3, ptr noundef %35)
  %37 = load i32, ptr %6, align 4, !tbaa !9
  %38 = add nsw i32 %37, %36
  store i32 %38, ptr %6, align 4, !tbaa !9
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %40, i32 0, i32 3
  %42 = load i32, ptr %4, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds [311 x double], ptr %41, i64 0, i64 %43
  %45 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %39, ptr noundef @.str.3, ptr noundef %44)
  %46 = load i32, ptr %6, align 4, !tbaa !9
  %47 = add nsw i32 %46, %45
  store i32 %47, ptr %6, align 4, !tbaa !9
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %49, i32 0, i32 4
  %51 = load i32, ptr %4, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds [311 x double], ptr %50, i64 0, i64 %52
  %54 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %48, ptr noundef @.str.3, ptr noundef %53)
  %55 = load i32, ptr %6, align 4, !tbaa !9
  %56 = add nsw i32 %55, %54
  store i32 %56, ptr %6, align 4, !tbaa !9
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 5
  br i1 %58, label %59, label %61

59:                                               ; preds = %11
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %61

61:                                               ; preds = %59, %11
  br label %62

62:                                               ; preds = %61
  %63 = load i32, ptr %4, align 4, !tbaa !9
  %64 = add i32 %63, 1
  store i32 %64, ptr %4, align 4, !tbaa !9
  br label %8, !llvm.loop !11

65:                                               ; preds = %8
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = call i32 @fclose(ptr noundef %66)
  store double 0.000000e+00, ptr %5, align 8, !tbaa !13
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %80, %65
  %69 = load i32, ptr %4, align 4, !tbaa !9
  %70 = icmp ult i32 %69, 140
  br i1 %70, label %71, label %83

71:                                               ; preds = %68
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %72, i32 0, i32 2
  %74 = load i32, ptr %4, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds [311 x double], ptr %73, i64 0, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !13
  %78 = load double, ptr %5, align 8, !tbaa !13
  %79 = fadd double %78, %77
  store double %79, ptr %5, align 8, !tbaa !13
  br label %80

80:                                               ; preds = %71
  %81 = load i32, ptr %4, align 4, !tbaa !9
  %82 = add i32 %81, 1
  store i32 %82, ptr %4, align 4, !tbaa !9
  br label %68, !llvm.loop !15

83:                                               ; preds = %68
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %97, %83
  %85 = load i32, ptr %4, align 4, !tbaa !9
  %86 = icmp ult i32 %85, 140
  br i1 %86, label %87, label %100

87:                                               ; preds = %84
  %88 = load double, ptr %5, align 8, !tbaa !13
  %89 = fdiv double 8.220600e+00, %88
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.TWO_PHOTON_PARAMS, ptr %90, i32 0, i32 2
  %92 = load i32, ptr %4, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds [311 x double], ptr %91, i64 0, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !13
  %96 = fmul double %95, %89
  store double %96, ptr %94, align 8, !tbaa !13
  br label %97

97:                                               ; preds = %87
  %98 = load i32, ptr %4, align 4, !tbaa !9
  %99 = add i32 %98, 1
  store i32 %99, ptr %4, align 4, !tbaa !9
  br label %84, !llvm.loop !16

100:                                              ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; 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 [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #0

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @read_twog_params(ptr noundef %0) local_unnamed_addr #2 {
  %2 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1)
  %3 = getelementptr inbounds i8, ptr %0, i64 2488
  %4 = getelementptr inbounds i8, ptr %0, i64 4976
  %5 = getelementptr inbounds i8, ptr %0, i64 7464
  %6 = getelementptr inbounds i8, ptr %0, i64 9952
  br label %7

7:                                                ; preds = %1, %24
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %24 ]
  %8 = getelementptr inbounds [311 x double], ptr %0, i64 0, i64 %indvars.iv
  %9 = tail call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef %8) #3
  %10 = getelementptr inbounds [311 x double], ptr %3, i64 0, i64 %indvars.iv
  %11 = tail call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #3
  %12 = add nsw i32 %11, %9
  %13 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv
  %14 = tail call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %13) #3
  %15 = add nsw i32 %12, %14
  %16 = getelementptr inbounds [311 x double], ptr %5, i64 0, i64 %indvars.iv
  %17 = tail call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %16) #3
  %18 = add nsw i32 %15, %17
  %19 = getelementptr inbounds [311 x double], ptr %6, i64 0, i64 %indvars.iv
  %20 = tail call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %19) #3
  %21 = add nsw i32 %18, %20
  %.not = icmp eq i32 %21, 5
  br i1 %.not, label %24, label %22

22:                                               ; preds = %7
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %24

24:                                               ; preds = %7, %22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 311
  br i1 %exitcond.not, label %25, label %7, !llvm.loop !5

25:                                               ; preds = %24
  %26 = tail call i32 @fclose(ptr noundef %2)
  br label %167

vector.ph:                                        ; preds = %167
  %27 = fdiv double 8.220600e+00, %188
  %broadcast.splatinsert = insertelement <2 x double> poison, double %27, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %28 = getelementptr inbounds i8, ptr %0, i64 4992
  %wide.load = load <2 x double>, ptr %4, align 8, !tbaa !7
  %wide.load47 = load <2 x double>, ptr %28, align 8, !tbaa !7
  %29 = fmul <2 x double> %broadcast.splat, %wide.load
  %30 = fmul <2 x double> %broadcast.splat, %wide.load47
  store <2 x double> %29, ptr %4, align 8, !tbaa !7
  store <2 x double> %30, ptr %28, align 8, !tbaa !7
  %31 = getelementptr inbounds i8, ptr %0, i64 5008
  %32 = getelementptr inbounds i8, ptr %0, i64 5024
  %wide.load.1 = load <2 x double>, ptr %31, align 8, !tbaa !7
  %wide.load47.1 = load <2 x double>, ptr %32, align 8, !tbaa !7
  %33 = fmul <2 x double> %broadcast.splat, %wide.load.1
  %34 = fmul <2 x double> %broadcast.splat, %wide.load47.1
  store <2 x double> %33, ptr %31, align 8, !tbaa !7
  store <2 x double> %34, ptr %32, align 8, !tbaa !7
  %35 = getelementptr inbounds i8, ptr %0, i64 5040
  %36 = getelementptr inbounds i8, ptr %0, i64 5056
  %wide.load.2 = load <2 x double>, ptr %35, align 8, !tbaa !7
  %wide.load47.2 = load <2 x double>, ptr %36, align 8, !tbaa !7
  %37 = fmul <2 x double> %broadcast.splat, %wide.load.2
  %38 = fmul <2 x double> %broadcast.splat, %wide.load47.2
  store <2 x double> %37, ptr %35, align 8, !tbaa !7
  store <2 x double> %38, ptr %36, align 8, !tbaa !7
  %39 = getelementptr inbounds i8, ptr %0, i64 5072
  %40 = getelementptr inbounds i8, ptr %0, i64 5088
  %wide.load.3 = load <2 x double>, ptr %39, align 8, !tbaa !7
  %wide.load47.3 = load <2 x double>, ptr %40, align 8, !tbaa !7
  %41 = fmul <2 x double> %broadcast.splat, %wide.load.3
  %42 = fmul <2 x double> %broadcast.splat, %wide.load47.3
  store <2 x double> %41, ptr %39, align 8, !tbaa !7
  store <2 x double> %42, ptr %40, align 8, !tbaa !7
  %43 = getelementptr inbounds i8, ptr %0, i64 5104
  %44 = getelementptr inbounds i8, ptr %0, i64 5120
  %wide.load.4 = load <2 x double>, ptr %43, align 8, !tbaa !7
  %wide.load47.4 = load <2 x double>, ptr %44, align 8, !tbaa !7
  %45 = fmul <2 x double> %broadcast.splat, %wide.load.4
  %46 = fmul <2 x double> %broadcast.splat, %wide.load47.4
  store <2 x double> %45, ptr %43, align 8, !tbaa !7
  store <2 x double> %46, ptr %44, align 8, !tbaa !7
  %47 = getelementptr inbounds i8, ptr %0, i64 5136
  %48 = getelementptr inbounds i8, ptr %0, i64 5152
  %wide.load.5 = load <2 x double>, ptr %47, align 8, !tbaa !7
  %wide.load47.5 = load <2 x double>, ptr %48, align 8, !tbaa !7
  %49 = fmul <2 x double> %broadcast.splat, %wide.load.5
  %50 = fmul <2 x double> %broadcast.splat, %wide.load47.5
  store <2 x double> %49, ptr %47, align 8, !tbaa !7
  store <2 x double> %50, ptr %48, align 8, !tbaa !7
  %51 = getelementptr inbounds i8, ptr %0, i64 5168
  %52 = getelementptr inbounds i8, ptr %0, i64 5184
  %wide.load.6 = load <2 x double>, ptr %51, align 8, !tbaa !7
  %wide.load47.6 = load <2 x double>, ptr %52, align 8, !tbaa !7
  %53 = fmul <2 x double> %broadcast.splat, %wide.load.6
  %54 = fmul <2 x double> %broadcast.splat, %wide.load47.6
  store <2 x double> %53, ptr %51, align 8, !tbaa !7
  store <2 x double> %54, ptr %52, align 8, !tbaa !7
  %55 = getelementptr inbounds i8, ptr %0, i64 5200
  %56 = getelementptr inbounds i8, ptr %0, i64 5216
  %wide.load.7 = load <2 x double>, ptr %55, align 8, !tbaa !7
  %wide.load47.7 = load <2 x double>, ptr %56, align 8, !tbaa !7
  %57 = fmul <2 x double> %broadcast.splat, %wide.load.7
  %58 = fmul <2 x double> %broadcast.splat, %wide.load47.7
  store <2 x double> %57, ptr %55, align 8, !tbaa !7
  store <2 x double> %58, ptr %56, align 8, !tbaa !7
  %59 = getelementptr inbounds i8, ptr %0, i64 5232
  %60 = getelementptr inbounds i8, ptr %0, i64 5248
  %wide.load.8 = load <2 x double>, ptr %59, align 8, !tbaa !7
  %wide.load47.8 = load <2 x double>, ptr %60, align 8, !tbaa !7
  %61 = fmul <2 x double> %broadcast.splat, %wide.load.8
  %62 = fmul <2 x double> %broadcast.splat, %wide.load47.8
  store <2 x double> %61, ptr %59, align 8, !tbaa !7
  store <2 x double> %62, ptr %60, align 8, !tbaa !7
  %63 = getelementptr inbounds i8, ptr %0, i64 5264
  %64 = getelementptr inbounds i8, ptr %0, i64 5280
  %wide.load.9 = load <2 x double>, ptr %63, align 8, !tbaa !7
  %wide.load47.9 = load <2 x double>, ptr %64, align 8, !tbaa !7
  %65 = fmul <2 x double> %broadcast.splat, %wide.load.9
  %66 = fmul <2 x double> %broadcast.splat, %wide.load47.9
  store <2 x double> %65, ptr %63, align 8, !tbaa !7
  store <2 x double> %66, ptr %64, align 8, !tbaa !7
  %67 = getelementptr inbounds i8, ptr %0, i64 5296
  %68 = getelementptr inbounds i8, ptr %0, i64 5312
  %wide.load.10 = load <2 x double>, ptr %67, align 8, !tbaa !7
  %wide.load47.10 = load <2 x double>, ptr %68, align 8, !tbaa !7
  %69 = fmul <2 x double> %broadcast.splat, %wide.load.10
  %70 = fmul <2 x double> %broadcast.splat, %wide.load47.10
  store <2 x double> %69, ptr %67, align 8, !tbaa !7
  store <2 x double> %70, ptr %68, align 8, !tbaa !7
  %71 = getelementptr inbounds i8, ptr %0, i64 5328
  %72 = getelementptr inbounds i8, ptr %0, i64 5344
  %wide.load.11 = load <2 x double>, ptr %71, align 8, !tbaa !7
  %wide.load47.11 = load <2 x double>, ptr %72, align 8, !tbaa !7
  %73 = fmul <2 x double> %broadcast.splat, %wide.load.11
  %74 = fmul <2 x double> %broadcast.splat, %wide.load47.11
  store <2 x double> %73, ptr %71, align 8, !tbaa !7
  store <2 x double> %74, ptr %72, align 8, !tbaa !7
  %75 = getelementptr inbounds i8, ptr %0, i64 5360
  %76 = getelementptr inbounds i8, ptr %0, i64 5376
  %wide.load.12 = load <2 x double>, ptr %75, align 8, !tbaa !7
  %wide.load47.12 = load <2 x double>, ptr %76, align 8, !tbaa !7
  %77 = fmul <2 x double> %broadcast.splat, %wide.load.12
  %78 = fmul <2 x double> %broadcast.splat, %wide.load47.12
  store <2 x double> %77, ptr %75, align 8, !tbaa !7
  store <2 x double> %78, ptr %76, align 8, !tbaa !7
  %79 = getelementptr inbounds i8, ptr %0, i64 5392
  %80 = getelementptr inbounds i8, ptr %0, i64 5408
  %wide.load.13 = load <2 x double>, ptr %79, align 8, !tbaa !7
  %wide.load47.13 = load <2 x double>, ptr %80, align 8, !tbaa !7
  %81 = fmul <2 x double> %broadcast.splat, %wide.load.13
  %82 = fmul <2 x double> %broadcast.splat, %wide.load47.13
  store <2 x double> %81, ptr %79, align 8, !tbaa !7
  store <2 x double> %82, ptr %80, align 8, !tbaa !7
  %83 = getelementptr inbounds i8, ptr %0, i64 5424
  %84 = getelementptr inbounds i8, ptr %0, i64 5440
  %wide.load.14 = load <2 x double>, ptr %83, align 8, !tbaa !7
  %wide.load47.14 = load <2 x double>, ptr %84, align 8, !tbaa !7
  %85 = fmul <2 x double> %broadcast.splat, %wide.load.14
  %86 = fmul <2 x double> %broadcast.splat, %wide.load47.14
  store <2 x double> %85, ptr %83, align 8, !tbaa !7
  store <2 x double> %86, ptr %84, align 8, !tbaa !7
  %87 = getelementptr inbounds i8, ptr %0, i64 5456
  %88 = getelementptr inbounds i8, ptr %0, i64 5472
  %wide.load.15 = load <2 x double>, ptr %87, align 8, !tbaa !7
  %wide.load47.15 = load <2 x double>, ptr %88, align 8, !tbaa !7
  %89 = fmul <2 x double> %broadcast.splat, %wide.load.15
  %90 = fmul <2 x double> %broadcast.splat, %wide.load47.15
  store <2 x double> %89, ptr %87, align 8, !tbaa !7
  store <2 x double> %90, ptr %88, align 8, !tbaa !7
  %91 = getelementptr inbounds i8, ptr %0, i64 5488
  %92 = getelementptr inbounds i8, ptr %0, i64 5504
  %wide.load.16 = load <2 x double>, ptr %91, align 8, !tbaa !7
  %wide.load47.16 = load <2 x double>, ptr %92, align 8, !tbaa !7
  %93 = fmul <2 x double> %broadcast.splat, %wide.load.16
  %94 = fmul <2 x double> %broadcast.splat, %wide.load47.16
  store <2 x double> %93, ptr %91, align 8, !tbaa !7
  store <2 x double> %94, ptr %92, align 8, !tbaa !7
  %95 = getelementptr inbounds i8, ptr %0, i64 5520
  %96 = getelementptr inbounds i8, ptr %0, i64 5536
  %wide.load.17 = load <2 x double>, ptr %95, align 8, !tbaa !7
  %wide.load47.17 = load <2 x double>, ptr %96, align 8, !tbaa !7
  %97 = fmul <2 x double> %broadcast.splat, %wide.load.17
  %98 = fmul <2 x double> %broadcast.splat, %wide.load47.17
  store <2 x double> %97, ptr %95, align 8, !tbaa !7
  store <2 x double> %98, ptr %96, align 8, !tbaa !7
  %99 = getelementptr inbounds i8, ptr %0, i64 5552
  %100 = getelementptr inbounds i8, ptr %0, i64 5568
  %wide.load.18 = load <2 x double>, ptr %99, align 8, !tbaa !7
  %wide.load47.18 = load <2 x double>, ptr %100, align 8, !tbaa !7
  %101 = fmul <2 x double> %broadcast.splat, %wide.load.18
  %102 = fmul <2 x double> %broadcast.splat, %wide.load47.18
  store <2 x double> %101, ptr %99, align 8, !tbaa !7
  store <2 x double> %102, ptr %100, align 8, !tbaa !7
  %103 = getelementptr inbounds i8, ptr %0, i64 5584
  %104 = getelementptr inbounds i8, ptr %0, i64 5600
  %wide.load.19 = load <2 x double>, ptr %103, align 8, !tbaa !7
  %wide.load47.19 = load <2 x double>, ptr %104, align 8, !tbaa !7
  %105 = fmul <2 x double> %broadcast.splat, %wide.load.19
  %106 = fmul <2 x double> %broadcast.splat, %wide.load47.19
  store <2 x double> %105, ptr %103, align 8, !tbaa !7
  store <2 x double> %106, ptr %104, align 8, !tbaa !7
  %107 = getelementptr inbounds i8, ptr %0, i64 5616
  %108 = getelementptr inbounds i8, ptr %0, i64 5632
  %wide.load.20 = load <2 x double>, ptr %107, align 8, !tbaa !7
  %wide.load47.20 = load <2 x double>, ptr %108, align 8, !tbaa !7
  %109 = fmul <2 x double> %broadcast.splat, %wide.load.20
  %110 = fmul <2 x double> %broadcast.splat, %wide.load47.20
  store <2 x double> %109, ptr %107, align 8, !tbaa !7
  store <2 x double> %110, ptr %108, align 8, !tbaa !7
  %111 = getelementptr inbounds i8, ptr %0, i64 5648
  %112 = getelementptr inbounds i8, ptr %0, i64 5664
  %wide.load.21 = load <2 x double>, ptr %111, align 8, !tbaa !7
  %wide.load47.21 = load <2 x double>, ptr %112, align 8, !tbaa !7
  %113 = fmul <2 x double> %broadcast.splat, %wide.load.21
  %114 = fmul <2 x double> %broadcast.splat, %wide.load47.21
  store <2 x double> %113, ptr %111, align 8, !tbaa !7
  store <2 x double> %114, ptr %112, align 8, !tbaa !7
  %115 = getelementptr inbounds i8, ptr %0, i64 5680
  %116 = getelementptr inbounds i8, ptr %0, i64 5696
  %wide.load.22 = load <2 x double>, ptr %115, align 8, !tbaa !7
  %wide.load47.22 = load <2 x double>, ptr %116, align 8, !tbaa !7
  %117 = fmul <2 x double> %broadcast.splat, %wide.load.22
  %118 = fmul <2 x double> %broadcast.splat, %wide.load47.22
  store <2 x double> %117, ptr %115, align 8, !tbaa !7
  store <2 x double> %118, ptr %116, align 8, !tbaa !7
  %119 = getelementptr inbounds i8, ptr %0, i64 5712
  %120 = getelementptr inbounds i8, ptr %0, i64 5728
  %wide.load.23 = load <2 x double>, ptr %119, align 8, !tbaa !7
  %wide.load47.23 = load <2 x double>, ptr %120, align 8, !tbaa !7
  %121 = fmul <2 x double> %broadcast.splat, %wide.load.23
  %122 = fmul <2 x double> %broadcast.splat, %wide.load47.23
  store <2 x double> %121, ptr %119, align 8, !tbaa !7
  store <2 x double> %122, ptr %120, align 8, !tbaa !7
  %123 = getelementptr inbounds i8, ptr %0, i64 5744
  %124 = getelementptr inbounds i8, ptr %0, i64 5760
  %wide.load.24 = load <2 x double>, ptr %123, align 8, !tbaa !7
  %wide.load47.24 = load <2 x double>, ptr %124, align 8, !tbaa !7
  %125 = fmul <2 x double> %broadcast.splat, %wide.load.24
  %126 = fmul <2 x double> %broadcast.splat, %wide.load47.24
  store <2 x double> %125, ptr %123, align 8, !tbaa !7
  store <2 x double> %126, ptr %124, align 8, !tbaa !7
  %127 = getelementptr inbounds i8, ptr %0, i64 5776
  %128 = getelementptr inbounds i8, ptr %0, i64 5792
  %wide.load.25 = load <2 x double>, ptr %127, align 8, !tbaa !7
  %wide.load47.25 = load <2 x double>, ptr %128, align 8, !tbaa !7
  %129 = fmul <2 x double> %broadcast.splat, %wide.load.25
  %130 = fmul <2 x double> %broadcast.splat, %wide.load47.25
  store <2 x double> %129, ptr %127, align 8, !tbaa !7
  store <2 x double> %130, ptr %128, align 8, !tbaa !7
  %131 = getelementptr inbounds i8, ptr %0, i64 5808
  %132 = getelementptr inbounds i8, ptr %0, i64 5824
  %wide.load.26 = load <2 x double>, ptr %131, align 8, !tbaa !7
  %wide.load47.26 = load <2 x double>, ptr %132, align 8, !tbaa !7
  %133 = fmul <2 x double> %broadcast.splat, %wide.load.26
  %134 = fmul <2 x double> %broadcast.splat, %wide.load47.26
  store <2 x double> %133, ptr %131, align 8, !tbaa !7
  store <2 x double> %134, ptr %132, align 8, !tbaa !7
  %135 = getelementptr inbounds i8, ptr %0, i64 5840
  %136 = getelementptr inbounds i8, ptr %0, i64 5856
  %wide.load.27 = load <2 x double>, ptr %135, align 8, !tbaa !7
  %wide.load47.27 = load <2 x double>, ptr %136, align 8, !tbaa !7
  %137 = fmul <2 x double> %broadcast.splat, %wide.load.27
  %138 = fmul <2 x double> %broadcast.splat, %wide.load47.27
  store <2 x double> %137, ptr %135, align 8, !tbaa !7
  store <2 x double> %138, ptr %136, align 8, !tbaa !7
  %139 = getelementptr inbounds i8, ptr %0, i64 5872
  %140 = getelementptr inbounds i8, ptr %0, i64 5888
  %wide.load.28 = load <2 x double>, ptr %139, align 8, !tbaa !7
  %wide.load47.28 = load <2 x double>, ptr %140, align 8, !tbaa !7
  %141 = fmul <2 x double> %broadcast.splat, %wide.load.28
  %142 = fmul <2 x double> %broadcast.splat, %wide.load47.28
  store <2 x double> %141, ptr %139, align 8, !tbaa !7
  store <2 x double> %142, ptr %140, align 8, !tbaa !7
  %143 = getelementptr inbounds i8, ptr %0, i64 5904
  %144 = getelementptr inbounds i8, ptr %0, i64 5920
  %wide.load.29 = load <2 x double>, ptr %143, align 8, !tbaa !7
  %wide.load47.29 = load <2 x double>, ptr %144, align 8, !tbaa !7
  %145 = fmul <2 x double> %broadcast.splat, %wide.load.29
  %146 = fmul <2 x double> %broadcast.splat, %wide.load47.29
  store <2 x double> %145, ptr %143, align 8, !tbaa !7
  store <2 x double> %146, ptr %144, align 8, !tbaa !7
  %147 = getelementptr inbounds i8, ptr %0, i64 5936
  %148 = getelementptr inbounds i8, ptr %0, i64 5952
  %wide.load.30 = load <2 x double>, ptr %147, align 8, !tbaa !7
  %wide.load47.30 = load <2 x double>, ptr %148, align 8, !tbaa !7
  %149 = fmul <2 x double> %broadcast.splat, %wide.load.30
  %150 = fmul <2 x double> %broadcast.splat, %wide.load47.30
  store <2 x double> %149, ptr %147, align 8, !tbaa !7
  store <2 x double> %150, ptr %148, align 8, !tbaa !7
  %151 = getelementptr inbounds i8, ptr %0, i64 5968
  %152 = getelementptr inbounds i8, ptr %0, i64 5984
  %wide.load.31 = load <2 x double>, ptr %151, align 8, !tbaa !7
  %wide.load47.31 = load <2 x double>, ptr %152, align 8, !tbaa !7
  %153 = fmul <2 x double> %broadcast.splat, %wide.load.31
  %154 = fmul <2 x double> %broadcast.splat, %wide.load47.31
  store <2 x double> %153, ptr %151, align 8, !tbaa !7
  store <2 x double> %154, ptr %152, align 8, !tbaa !7
  %155 = getelementptr inbounds i8, ptr %0, i64 6000
  %156 = getelementptr inbounds i8, ptr %0, i64 6016
  %wide.load.32 = load <2 x double>, ptr %155, align 8, !tbaa !7
  %wide.load47.32 = load <2 x double>, ptr %156, align 8, !tbaa !7
  %157 = fmul <2 x double> %broadcast.splat, %wide.load.32
  %158 = fmul <2 x double> %broadcast.splat, %wide.load47.32
  store <2 x double> %157, ptr %155, align 8, !tbaa !7
  store <2 x double> %158, ptr %156, align 8, !tbaa !7
  %159 = getelementptr inbounds i8, ptr %0, i64 6032
  %160 = getelementptr inbounds i8, ptr %0, i64 6048
  %wide.load.33 = load <2 x double>, ptr %159, align 8, !tbaa !7
  %wide.load47.33 = load <2 x double>, ptr %160, align 8, !tbaa !7
  %161 = fmul <2 x double> %broadcast.splat, %wide.load.33
  %162 = fmul <2 x double> %broadcast.splat, %wide.load47.33
  store <2 x double> %161, ptr %159, align 8, !tbaa !7
  store <2 x double> %162, ptr %160, align 8, !tbaa !7
  %163 = getelementptr inbounds i8, ptr %0, i64 6064
  %164 = getelementptr inbounds i8, ptr %0, i64 6080
  %wide.load.34 = load <2 x double>, ptr %163, align 8, !tbaa !7
  %wide.load47.34 = load <2 x double>, ptr %164, align 8, !tbaa !7
  %165 = fmul <2 x double> %broadcast.splat, %wide.load.34
  %166 = fmul <2 x double> %broadcast.splat, %wide.load47.34
  store <2 x double> %165, ptr %163, align 8, !tbaa !7
  store <2 x double> %166, ptr %164, align 8, !tbaa !7
  ret void

167:                                              ; preds = %167, %25
  %indvars.iv39 = phi i64 [ 0, %25 ], [ %indvars.iv.next40.6, %167 ]
  %.03335 = phi double [ 0.000000e+00, %25 ], [ %188, %167 ]
  %168 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv39
  %169 = load double, ptr %168, align 8, !tbaa !7
  %170 = fadd double %.03335, %169
  %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39, 1
  %171 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv.next40
  %172 = load double, ptr %171, align 8, !tbaa !7
  %173 = fadd double %170, %172
  %indvars.iv.next40.1 = add nuw nsw i64 %indvars.iv39, 2
  %174 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv.next40.1
  %175 = load double, ptr %174, align 8, !tbaa !7
  %176 = fadd double %173, %175
  %indvars.iv.next40.2 = add nuw nsw i64 %indvars.iv39, 3
  %177 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv.next40.2
  %178 = load double, ptr %177, align 8, !tbaa !7
  %179 = fadd double %176, %178
  %indvars.iv.next40.3 = add nuw nsw i64 %indvars.iv39, 4
  %180 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv.next40.3
  %181 = load double, ptr %180, align 8, !tbaa !7
  %182 = fadd double %179, %181
  %indvars.iv.next40.4 = add nuw nsw i64 %indvars.iv39, 5
  %183 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv.next40.4
  %184 = load double, ptr %183, align 8, !tbaa !7
  %185 = fadd double %182, %184
  %indvars.iv.next40.5 = add nuw nsw i64 %indvars.iv39, 6
  %186 = getelementptr inbounds [311 x double], ptr %4, i64 0, i64 %indvars.iv.next40.5
  %187 = load double, ptr %186, align 8, !tbaa !7
  %188 = fadd double %185, %187
  %indvars.iv.next40.6 = add nuw nsw i64 %indvars.iv39, 7
  %exitcond42.not.6 = icmp eq i64 %indvars.iv.next40.6, 140
  br i1 %exitcond42.not.6, label %vector.ph, label %167, !llvm.loop !11
}

attributes #0 = { nofree 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 = { "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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !6}


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