; LLVM IR from ahampriyanshu/algo-ds-101 :: Maths/Statistics/Confidence_Interval/Confidence_Interval.ll (Z14normalQuantiled)

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

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [120 x i8], align 1
@__PRETTY_FUNCTION__._Z14normalQuantiled = external hidden unnamed_addr constant [36 x i8], align 1
@__const._Z14normalQuantiled.d = external hidden unnamed_addr constant [4 x double], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_Z14normalQuantiled(double noundef %0) #0 {
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca [6 x double], align 16
  %5 = alloca [5 x double], align 16
  %6 = alloca [6 x double], align 16
  %7 = alloca [4 x double], align 16
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  store double %0, ptr %2, align 8, !tbaa !5
  %14 = load double, ptr %2, align 8, !tbaa !5
  %15 = fcmp ole double 0.000000e+00, %14
  br i1 %15, label %16, label %19

16:                                               ; preds = %1
  %17 = load double, ptr %2, align 8, !tbaa !5
  %18 = fcmp ole double %17, 1.000000e+00
  br label %19

19:                                               ; preds = %16, %1
  %20 = phi i1 [ false, %1 ], [ %18, %16 ]
  br i1 %20, label %21, label %22

21:                                               ; preds = %19
  br label %24

22:                                               ; preds = %19
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 11, ptr noundef @__PRETTY_FUNCTION__._Z14normalQuantiled) #7
  unreachable

23:                                               ; No predecessors!
  br label %24

24:                                               ; preds = %23, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  %25 = load double, ptr %2, align 8, !tbaa !5
  %26 = fcmp oeq double %25, 0.000000e+00
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  store double 0xFFF0000000000000, ptr %3, align 8, !tbaa !5
  br label %199

28:                                               ; preds = %24
  %29 = load double, ptr %2, align 8, !tbaa !5
  %30 = fcmp oeq double %29, 1.000000e+00
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  store double 0x7FF0000000000000, ptr %3, align 8, !tbaa !5
  br label %198

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 48, ptr %4) #8
  call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 48, i1 false)
  %33 = getelementptr inbounds [6 x double], ptr %4, i32 0, i32 0
  store double 0xC043D931BC1E0525, ptr %33, align 16
  %34 = getelementptr inbounds [6 x double], ptr %4, i32 0, i32 1
  store double 0x406B9E467034039B, ptr %34, align 8
  %35 = getelementptr inbounds [6 x double], ptr %4, i32 0, i32 2
  store double 0xC0713EDB2DC53B99, ptr %35, align 16
  %36 = getelementptr inbounds [6 x double], ptr %4, i32 0, i32 3
  store double 0x40614B72B40B401B, ptr %36, align 8
  %37 = getelementptr inbounds [6 x double], ptr %4, i32 0, i32 4
  store double 0xC03EAA3034C08BCD, ptr %37, align 16
  %38 = getelementptr inbounds [6 x double], ptr %4, i32 0, i32 5
  store double 0x40040D9320575479, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #8
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false)
  %39 = getelementptr inbounds [5 x double], ptr %5, i32 0, i32 0
  store double 0xC04B3CF0CE3004C4, ptr %39, align 16
  %40 = getelementptr inbounds [5 x double], ptr %5, i32 0, i32 1
  store double 0x406432BF2CF04277, ptr %40, align 8
  %41 = getelementptr inbounds [5 x double], ptr %5, i32 0, i32 2
  store double 0xC063765E0B02D8D2, ptr %41, align 16
  %42 = getelementptr inbounds [5 x double], ptr %5, i32 0, i32 3
  store double 0x4050B348B1A7E9BE, ptr %42, align 8
  %43 = getelementptr inbounds [5 x double], ptr %5, i32 0, i32 4
  store double 0xC02A8FB57E147826, ptr %43, align 16
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #8
  call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 48, i1 false)
  %44 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 0
  store double 0xBF7FE30D924ACFE0, ptr %44, align 16
  %45 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 1
  store double 0xBFD4A224C0E881B8, ptr %45, align 8
  %46 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 2
  store double 0xC00334C0C1701758, ptr %46, align 16
  %47 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 3
  store double 0xC00465DA2C703A1A, ptr %47, align 8
  %48 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 4
  store double 0x40117FA7F4EA4DC7, ptr %48, align 16
  %49 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 5
  store double 0x4007815C1E3FCFA2, ptr %49, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const._Z14normalQuantiled.d, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store double 2.425000e-02, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store double 9.757500e-01, ptr %9, align 8, !tbaa !5
  %50 = load double, ptr %2, align 8, !tbaa !5
  %51 = fcmp olt double %50, 2.425000e-02
  br i1 %51, label %52, label %96

52:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %53 = load double, ptr %2, align 8, !tbaa !5
  %54 = call double @log(double noundef %53) #8
  %55 = fmul double -2.000000e+00, %54
  %56 = call double @sqrt(double noundef %55) #8
  store double %56, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 0
  %58 = load double, ptr %57, align 16, !tbaa !5
  %59 = load double, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 1
  %61 = load double, ptr %60, align 8, !tbaa !5
  %62 = call double @llvm.fmuladd.f64(double %58, double %59, double %61)
  %63 = load double, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 2
  %65 = load double, ptr %64, align 16, !tbaa !5
  %66 = call double @llvm.fmuladd.f64(double %62, double %63, double %65)
  %67 = load double, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 3
  %69 = load double, ptr %68, align 8, !tbaa !5
  %70 = call double @llvm.fmuladd.f64(double %66, double %67, double %69)
  %71 = load double, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 4
  %73 = load double, ptr %72, align 16, !tbaa !5
  %74 = call double @llvm.fmuladd.f64(double %70, double %71, double %73)
  %75 = load double, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 5
  %77 = load double, ptr %76, align 8, !tbaa !5
  %78 = call double @llvm.fmuladd.f64(double %74, double %75, double %77)
  %79 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %80 = load double, ptr %79, align 16, !tbaa !5
  %81 = load double, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 1
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = call double @llvm.fmuladd.f64(double %80, double %81, double %83)
  %85 = load double, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 2
  %87 = load double, ptr %86, align 16, !tbaa !5
  %88 = call double @llvm.fmuladd.f64(double %84, double %85, double %87)
  %89 = load double, ptr %10, align 8, !tbaa !5
  %90 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 3
  %91 = load double, ptr %90, align 8, !tbaa !5
  %92 = call double @llvm.fmuladd.f64(double %88, double %89, double %91)
  %93 = load double, ptr %10, align 8, !tbaa !5
  %94 = call double @llvm.fmuladd.f64(double %92, double %93, double 1.000000e+00)
  %95 = fdiv double %78, %94
  store double %95, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %197

96:                                               ; preds = %32
  %97 = load double, ptr %2, align 8, !tbaa !5
  %98 = fcmp olt double 9.757500e-01, %97
  br i1 %98, label %99, label %145

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %100 = load double, ptr %2, align 8, !tbaa !5
  %101 = fsub double 1.000000e+00, %100
  %102 = call double @log(double noundef %101) #8
  %103 = fmul double -2.000000e+00, %102
  %104 = call double @sqrt(double noundef %103) #8
  store double %104, ptr %11, align 8, !tbaa !5
  %105 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 0
  %106 = load double, ptr %105, align 16, !tbaa !5
  %107 = load double, ptr %11, align 8, !tbaa !5
  %108 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 1
  %109 = load double, ptr %108, align 8, !tbaa !5
  %110 = call double @llvm.fmuladd.f64(double %106, double %107, double %109)
  %111 = load double, ptr %11, align 8, !tbaa !5
  %112 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 2
  %113 = load double, ptr %112, align 16, !tbaa !5
  %114 = call double @llvm.fmuladd.f64(double %110, double %111, double %113)
  %115 = load double, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 3
  %117 = load double, ptr %116, align 8, !tbaa !5
  %118 = call double @llvm.fmuladd.f64(double %114, double %115, double %117)
  %119 = load double, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 4
  %121 = load double, ptr %120, align 16, !tbaa !5
  %122 = call double @llvm.fmuladd.f64(double %118, double %119, double %121)
  %123 = load double, ptr %11, align 8, !tbaa !5
  %124 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 5
  %125 = load double, ptr %124, align 8, !tbaa !5
  %126 = call double @llvm.fmuladd.f64(double %122, double %123, double %125)
  %127 = fneg double %126
  %128 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %129 = load double, ptr %128, align 16, !tbaa !5
  %130 = load double, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 1
  %132 = load double, ptr %131, align 8, !tbaa !5
  %133 = call double @llvm.fmuladd.f64(double %129, double %130, double %132)
  %134 = load double, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 2
  %136 = load double, ptr %135, align 16, !tbaa !5
  %137 = call double @llvm.fmuladd.f64(double %133, double %134, double %136)
  %138 = load double, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 3
  %140 = load double, ptr %139, align 8, !tbaa !5
  %141 = call double @llvm.fmuladd.f64(double %137, double %138, double %140)
  %142 = load double, ptr %11, align 8, !tbaa !5
  %143 = call double @llvm.fmuladd.f64(double %141, double %142, double 1.000000e+00)
  %144 = fdiv double %127, %143
  store double %144, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %196

145:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %146 = load double, ptr %2, align 8, !tbaa !5
  %147 = fsub double %146, 5.000000e-01
  store double %147, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %148 = load double, ptr %12, align 8, !tbaa !5
  %149 = load double, ptr %12, align 8, !tbaa !5
  %150 = fmul double %148, %149
  store double %150, ptr %13, align 8, !tbaa !5
  %151 = getelementptr inbounds [6 x double], ptr %4, i64 0, i64 0
  %152 = load double, ptr %151, align 16, !tbaa !5
  %153 = load double, ptr %13, align 8, !tbaa !5
  %154 = getelementptr inbounds [6 x double], ptr %4, i64 0, i64 1
  %155 = load double, ptr %154, align 8, !tbaa !5
  %156 = call double @llvm.fmuladd.f64(double %152, double %153, double %155)
  %157 = load double, ptr %13, align 8, !tbaa !5
  %158 = getelementptr inbounds [6 x double], ptr %4, i64 0, i64 2
  %159 = load double, ptr %158, align 16, !tbaa !5
  %160 = call double @llvm.fmuladd.f64(double %156, double %157, double %159)
  %161 = load double, ptr %13, align 8, !tbaa !5
  %162 = getelementptr inbounds [6 x double], ptr %4, i64 0, i64 3
  %163 = load double, ptr %162, align 8, !tbaa !5
  %164 = call double @llvm.fmuladd.f64(double %160, double %161, double %163)
  %165 = load double, ptr %13, align 8, !tbaa !5
  %166 = getelementptr inbounds [6 x double], ptr %4, i64 0, i64 4
  %167 = load double, ptr %166, align 16, !tbaa !5
  %168 = call double @llvm.fmuladd.f64(double %164, double %165, double %167)
  %169 = load double, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds [6 x double], ptr %4, i64 0, i64 5
  %171 = load double, ptr %170, align 8, !tbaa !5
  %172 = call double @llvm.fmuladd.f64(double %168, double %169, double %171)
  %173 = load double, ptr %12, align 8, !tbaa !5
  %174 = fmul double %172, %173
  %175 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 0
  %176 = load double, ptr %175, align 16, !tbaa !5
  %177 = load double, ptr %13, align 8, !tbaa !5
  %178 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 1
  %179 = load double, ptr %178, align 8, !tbaa !5
  %180 = call double @llvm.fmuladd.f64(double %176, double %177, double %179)
  %181 = load double, ptr %13, align 8, !tbaa !5
  %182 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 2
  %183 = load double, ptr %182, align 16, !tbaa !5
  %184 = call double @llvm.fmuladd.f64(double %180, double %181, double %183)
  %185 = load double, ptr %13, align 8, !tbaa !5
  %186 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 3
  %187 = load double, ptr %186, align 8, !tbaa !5
  %188 = call double @llvm.fmuladd.f64(double %184, double %185, double %187)
  %189 = load double, ptr %13, align 8, !tbaa !5
  %190 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 4
  %191 = load double, ptr %190, align 16, !tbaa !5
  %192 = call double @llvm.fmuladd.f64(double %188, double %189, double %191)
  %193 = load double, ptr %13, align 8, !tbaa !5
  %194 = call double @llvm.fmuladd.f64(double %192, double %193, double 1.000000e+00)
  %195 = fdiv double %174, %194
  store double %195, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %196

196:                                              ; preds = %145, %99
  br label %197

197:                                              ; preds = %196, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #8
  br label %198

198:                                              ; preds = %197, %31
  br label %199

199:                                              ; preds = %198, %27
  %200 = load double, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  ret double %200
}

; 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.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

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

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

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

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

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

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


; 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 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [120 x i8], align 1
@__PRETTY_FUNCTION__._Z14normalQuantiled = external hidden unnamed_addr constant [36 x i8], align 1
@__const._Z14normalQuantiled.d = external hidden unnamed_addr constant [4 x double], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_Z14normalQuantiled(double noundef %0) local_unnamed_addr #0 {
  %2 = fcmp oge double %0, 0.000000e+00
  %3 = fcmp ole double %0, 1.000000e+00
  %4 = and i1 %2, %3
  br i1 %4, label %6, label %5

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 11, ptr noundef nonnull @__PRETTY_FUNCTION__._Z14normalQuantiled) #5
  unreachable

6:                                                ; preds = %1
  %7 = fcmp oeq double %0, 0.000000e+00
  br i1 %7, label %64, label %8

8:                                                ; preds = %6
  %9 = fcmp oeq double %0, 1.000000e+00
  br i1 %9, label %64, label %10

10:                                               ; preds = %8
  %.sroa.0.0.copyload = load double, ptr @__const._Z14normalQuantiled.d, align 16
  %.sroa.5.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @__const._Z14normalQuantiled.d, i64 8), align 8
  %.sroa.7.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @__const._Z14normalQuantiled.d, i64 16), align 16
  %.sroa.9.0.copyload = load double, ptr getelementptr inbounds (i8, ptr @__const._Z14normalQuantiled.d, i64 24), align 8
  %11 = fcmp olt double %0, 2.425000e-02
  br i1 %11, label %12, label %31

12:                                               ; preds = %10
  %13 = tail call double @log(double noundef %0) #6
  %14 = fmul double %13, -2.000000e+00
  %15 = tail call double @sqrt(double noundef %14) #6
  %16 = tail call double @llvm.fmuladd.f64(double %15, double 0xBF7FE30D924ACFE0, double 0xBFD4A224C0E881B8)
  %17 = insertelement <2 x double> poison, double %16, i64 0
  %18 = insertelement <2 x double> %17, double %.sroa.0.0.copyload, i64 1
  %19 = insertelement <2 x double> poison, double %15, i64 0
  %20 = shufflevector <2 x double> %19, <2 x double> poison, <2 x i32> zeroinitializer
  %21 = insertelement <2 x double> <double 0xC00334C0C1701758, double poison>, double %.sroa.5.0.copyload, i64 1
  %22 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %18, <2 x double> %20, <2 x double> %21)
  %23 = insertelement <2 x double> <double 0xC00465DA2C703A1A, double poison>, double %.sroa.7.0.copyload, i64 1
  %24 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %22, <2 x double> %20, <2 x double> %23)
  %25 = insertelement <2 x double> <double 0x40117FA7F4EA4DC7, double poison>, double %.sroa.9.0.copyload, i64 1
  %26 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %24, <2 x double> %20, <2 x double> %25)
  %27 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %26, <2 x double> %20, <2 x double> <double 0x4007815C1E3FCFA2, double 1.000000e+00>)
  %28 = extractelement <2 x double> %27, i64 0
  %29 = extractelement <2 x double> %27, i64 1
  %30 = fdiv double %28, %29
  br label %64

31:                                               ; preds = %10
  %32 = fcmp ogt double %0, 9.757500e-01
  br i1 %32, label %33, label %49

33:                                               ; preds = %31
  %34 = fsub double 1.000000e+00, %0
  %35 = tail call double @log(double noundef %34) #6
  %36 = fmul double %35, -2.000000e+00
  %37 = tail call double @sqrt(double noundef %36) #6
  %38 = tail call double @llvm.fmuladd.f64(double %37, double 0xBF7FE30D924ACFE0, double 0xBFD4A224C0E881B8)
  %39 = tail call double @llvm.fmuladd.f64(double %38, double %37, double 0xC00334C0C1701758)
  %40 = tail call double @llvm.fmuladd.f64(double %39, double %37, double 0xC00465DA2C703A1A)
  %41 = tail call double @llvm.fmuladd.f64(double %40, double %37, double 0x40117FA7F4EA4DC7)
  %42 = tail call double @llvm.fmuladd.f64(double %41, double %37, double 0x4007815C1E3FCFA2)
  %43 = fneg double %42
  %44 = tail call double @llvm.fmuladd.f64(double %.sroa.0.0.copyload, double %37, double %.sroa.5.0.copyload)
  %45 = tail call double @llvm.fmuladd.f64(double %44, double %37, double %.sroa.7.0.copyload)
  %46 = tail call double @llvm.fmuladd.f64(double %45, double %37, double %.sroa.9.0.copyload)
  %47 = tail call double @llvm.fmuladd.f64(double %46, double %37, double 1.000000e+00)
  %48 = fdiv double %43, %47
  br label %64

49:                                               ; preds = %31
  %50 = fadd double %0, -5.000000e-01
  %51 = fmul double %50, %50
  %52 = tail call double @llvm.fmuladd.f64(double %51, double 0xC043D931BC1E0525, double 0x406B9E467034039B)
  %53 = tail call double @llvm.fmuladd.f64(double %52, double %51, double 0xC0713EDB2DC53B99)
  %54 = tail call double @llvm.fmuladd.f64(double %53, double %51, double 0x40614B72B40B401B)
  %55 = tail call double @llvm.fmuladd.f64(double %54, double %51, double 0xC03EAA3034C08BCD)
  %56 = tail call double @llvm.fmuladd.f64(double %55, double %51, double 0x40040D9320575479)
  %57 = fmul double %50, %56
  %58 = tail call double @llvm.fmuladd.f64(double %51, double 0xC04B3CF0CE3004C4, double 0x406432BF2CF04277)
  %59 = tail call double @llvm.fmuladd.f64(double %58, double %51, double 0xC063765E0B02D8D2)
  %60 = tail call double @llvm.fmuladd.f64(double %59, double %51, double 0x4050B348B1A7E9BE)
  %61 = tail call double @llvm.fmuladd.f64(double %60, double %51, double 0xC02A8FB57E147826)
  %62 = tail call double @llvm.fmuladd.f64(double %61, double %51, double 1.000000e+00)
  %63 = fdiv double %57, %62
  br label %64

64:                                               ; preds = %12, %49, %33, %8, %6
  %.1 = phi double [ 0xFFF0000000000000, %6 ], [ 0x7FF0000000000000, %8 ], [ %30, %12 ], [ %48, %33 ], [ %63, %49 ]
  ret double %.1
}

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

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

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

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

; 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>) #4

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass