; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/TESTING/MATGEN (zlarnd)

; 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.doublecomplex = type { double, double }

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

29:                                               ; preds = %2
  %30 = load double, ptr %12, align 8, !tbaa !9
  %31 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  store double %30, ptr %31, align 8, !tbaa !13
  %32 = load double, ptr %13, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  store double %32, ptr %33, align 8, !tbaa !15
  %34 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  %35 = load double, ptr %34, align 8, !tbaa !13
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  store double %35, ptr %37, align 8, !tbaa !13
  %38 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  %39 = load double, ptr %38, align 8, !tbaa !15
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.doublecomplex, ptr %40, i32 0, i32 1
  store double %39, ptr %41, align 8, !tbaa !15
  br label %192

42:                                               ; preds = %2
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !11
  %45 = icmp eq i32 %44, 2
  br i1 %45, label %46, label %63

46:                                               ; preds = %42
  %47 = load double, ptr %12, align 8, !tbaa !9
  %48 = call double @llvm.fmuladd.f64(double %47, double 2.000000e+00, double -1.000000e+00)
  store double %48, ptr %6, align 8, !tbaa !9
  %49 = load double, ptr %13, align 8, !tbaa !9
  %50 = call double @llvm.fmuladd.f64(double %49, double 2.000000e+00, double -1.000000e+00)
  store double %50, ptr %7, align 8, !tbaa !9
  %51 = load double, ptr %6, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  store double %51, ptr %52, align 8, !tbaa !13
  %53 = load double, ptr %7, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  store double %53, ptr %54, align 8, !tbaa !15
  %55 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  %56 = load double, ptr %55, align 8, !tbaa !13
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.doublecomplex, ptr %57, i32 0, i32 0
  store double %56, ptr %58, align 8, !tbaa !13
  %59 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  %60 = load double, ptr %59, align 8, !tbaa !15
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.doublecomplex, ptr %61, i32 0, i32 1
  store double %60, ptr %62, align 8, !tbaa !15
  br label %191

63:                                               ; preds = %42
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = load i32, ptr %64, align 4, !tbaa !11
  %66 = icmp eq i32 %65, 3
  br i1 %66, label %67, label %110

67:                                               ; preds = %63
  %68 = load double, ptr %12, align 8, !tbaa !9
  %69 = call double @log(double noundef %68) #8
  %70 = fmul double %69, -2.000000e+00
  %71 = call double @sqrt(double noundef %70) #8
  store double %71, ptr %6, align 8, !tbaa !9
  %72 = load double, ptr %13, align 8, !tbaa !9
  %73 = fmul double %72, 0x401921FB54442D18
  store double %73, ptr %7, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.doublecomplex, ptr %10, i32 0, i32 0
  store double 0.000000e+00, ptr %74, align 8, !tbaa !13
  %75 = load double, ptr %7, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.doublecomplex, ptr %10, i32 0, i32 1
  store double %75, ptr %76, align 8, !tbaa !15
  %77 = call { double, double } @Cd(ptr noundef %10)
  %78 = extractvalue { double, double } %77, 0
  %79 = extractvalue { double, double } %77, 1
  %80 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %81 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  store double %78, ptr %80, align 8
  store double %79, ptr %81, align 8
  %82 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %83 = load double, ptr %82, align 8
  %84 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %85 = load double, ptr %84, align 8
  %86 = call { double, double } @cexp(double noundef %83, double noundef %85) #8
  %87 = extractvalue { double, double } %86, 0
  %88 = extractvalue { double, double } %86, 1
  %89 = call ptr @_pCd(ptr noundef %9)
  %90 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds { double, double }, ptr %89, i32 0, i32 1
  store double %87, ptr %90, align 8
  store double %88, ptr %91, align 8
  %92 = load double, ptr %6, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.doublecomplex, ptr %9, i32 0, i32 0
  %94 = load double, ptr %93, align 8, !tbaa !13
  %95 = fmul double %92, %94
  %96 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  store double %95, ptr %96, align 8, !tbaa !13
  %97 = load double, ptr %6, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.doublecomplex, ptr %9, i32 0, i32 1
  %99 = load double, ptr %98, align 8, !tbaa !15
  %100 = fmul double %97, %99
  %101 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  store double %100, ptr %101, align 8, !tbaa !15
  %102 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  %103 = load double, ptr %102, align 8, !tbaa !13
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.doublecomplex, ptr %104, i32 0, i32 0
  store double %103, ptr %105, align 8, !tbaa !13
  %106 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  %107 = load double, ptr %106, align 8, !tbaa !15
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.doublecomplex, ptr %108, i32 0, i32 1
  store double %107, ptr %109, align 8, !tbaa !15
  br label %190

110:                                              ; preds = %63
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !11
  %113 = icmp eq i32 %112, 4
  br i1 %113, label %114, label %155

114:                                              ; preds = %110
  %115 = load double, ptr %12, align 8, !tbaa !9
  %116 = call double @sqrt(double noundef %115) #8
  store double %116, ptr %6, align 8, !tbaa !9
  %117 = load double, ptr %13, align 8, !tbaa !9
  %118 = fmul double %117, 0x401921FB54442D18
  store double %118, ptr %7, align 8, !tbaa !9
  %119 = getelementptr inbounds %struct.doublecomplex, ptr %10, i32 0, i32 0
  store double 0.000000e+00, ptr %119, align 8, !tbaa !13
  %120 = load double, ptr %7, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.doublecomplex, ptr %10, i32 0, i32 1
  store double %120, ptr %121, align 8, !tbaa !15
  %122 = call { double, double } @Cd(ptr noundef %10)
  %123 = extractvalue { double, double } %122, 0
  %124 = extractvalue { double, double } %122, 1
  %125 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %126 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  store double %123, ptr %125, align 8
  store double %124, ptr %126, align 8
  %127 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %128 = load double, ptr %127, align 8
  %129 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %130 = load double, ptr %129, align 8
  %131 = call { double, double } @cexp(double noundef %128, double noundef %130) #8
  %132 = extractvalue { double, double } %131, 0
  %133 = extractvalue { double, double } %131, 1
  %134 = call ptr @_pCd(ptr noundef %9)
  %135 = getelementptr inbounds { double, double }, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds { double, double }, ptr %134, i32 0, i32 1
  store double %132, ptr %135, align 8
  store double %133, ptr %136, align 8
  %137 = load double, ptr %6, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.doublecomplex, ptr %9, i32 0, i32 0
  %139 = load double, ptr %138, align 8, !tbaa !13
  %140 = fmul double %137, %139
  %141 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  store double %140, ptr %141, align 8, !tbaa !13
  %142 = load double, ptr %6, align 8, !tbaa !9
  %143 = getelementptr inbounds %struct.doublecomplex, ptr %9, i32 0, i32 1
  %144 = load double, ptr %143, align 8, !tbaa !15
  %145 = fmul double %142, %144
  %146 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  store double %145, ptr %146, align 8, !tbaa !15
  %147 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  %148 = load double, ptr %147, align 8, !tbaa !13
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.doublecomplex, ptr %149, i32 0, i32 0
  store double %148, ptr %150, align 8, !tbaa !13
  %151 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  %152 = load double, ptr %151, align 8, !tbaa !15
  %153 = load ptr, ptr %11, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.doublecomplex, ptr %153, i32 0, i32 1
  store double %152, ptr %154, align 8, !tbaa !15
  br label %189

155:                                              ; preds = %110
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = load i32, ptr %156, align 4, !tbaa !11
  %158 = icmp eq i32 %157, 5
  br i1 %158, label %159, label %188

159:                                              ; preds = %155
  %160 = load double, ptr %13, align 8, !tbaa !9
  %161 = fmul double %160, 0x401921FB54442D18
  store double %161, ptr %6, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.doublecomplex, ptr %9, i32 0, i32 0
  store double 0.000000e+00, ptr %162, align 8, !tbaa !13
  %163 = load double, ptr %6, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct.doublecomplex, ptr %9, i32 0, i32 1
  store double %163, ptr %164, align 8, !tbaa !15
  %165 = call { double, double } @Cd(ptr noundef %9)
  %166 = extractvalue { double, double } %165, 0
  %167 = extractvalue { double, double } %165, 1
  %168 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %169 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  store double %166, ptr %168, align 8
  store double %167, ptr %169, align 8
  %170 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %171 = load double, ptr %170, align 8
  %172 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %173 = load double, ptr %172, align 8
  %174 = call { double, double } @cexp(double noundef %171, double noundef %173) #8
  %175 = extractvalue { double, double } %174, 0
  %176 = extractvalue { double, double } %174, 1
  %177 = call ptr @_pCd(ptr noundef %8)
  %178 = getelementptr inbounds { double, double }, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds { double, double }, ptr %177, i32 0, i32 1
  store double %175, ptr %178, align 8
  store double %176, ptr %179, align 8
  %180 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 0
  %181 = load double, ptr %180, align 8, !tbaa !13
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.doublecomplex, ptr %182, i32 0, i32 0
  store double %181, ptr %183, align 8, !tbaa !13
  %184 = getelementptr inbounds %struct.doublecomplex, ptr %8, i32 0, i32 1
  %185 = load double, ptr %184, align 8, !tbaa !15
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.doublecomplex, ptr %186, i32 0, i32 1
  store double %185, ptr %187, align 8, !tbaa !15
  br label %188

188:                                              ; preds = %159, %155
  br label %189

189:                                              ; preds = %188, %114
  br label %190

190:                                              ; preds = %189, %67
  br label %191

191:                                              ; preds = %190, %46
  br label %192

192:                                              ; preds = %191, %29
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %193, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %194 = load { double, double }, ptr %3, align 8
  ret { double, double } %194
}

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

declare double @dlaran_(ptr noundef) #3

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

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

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

; Function Attrs: nounwind
declare { double, double } @cexp(double noundef, double noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) #6

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(ptr noundef) #6

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

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { inlinehint 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { nounwind allocsize(0) }

!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 = !{!14, !10, i64 0}
!14 = !{!"", !10, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = !{i64 0, i64 8, !9, i64 8, i64 8, !9}


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

%struct.doublecomplex = type { double, double }

; Function Attrs: nounwind uwtable
define dso_local { double, double } @zlarnd_(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.doublecomplex, align 16
  %4 = alloca %struct.doublecomplex, align 16
  %5 = alloca %struct.doublecomplex, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %6 = tail call double @dlaran_(ptr noundef %1) #7
  %7 = tail call double @dlaran_(ptr noundef %1) #7
  %8 = load i32, ptr %0, align 4, !tbaa !5
  %9 = insertelement <2 x double> poison, double %6, i64 0
  %10 = insertelement <2 x double> %9, double %7, i64 1
  switch i32 %8, label %59 [
    i32 5, label %47
    i32 2, label %11
    i32 3, label %13
    i32 4, label %31
  ]

11:                                               ; preds = %2
  %12 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %10, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> <double -1.000000e+00, double -1.000000e+00>)
  br label %59

13:                                               ; preds = %2
  %14 = tail call double @log(double noundef %6) #7
  %15 = fmul double %14, -2.000000e+00
  %16 = tail call double @sqrt(double noundef %15) #7
  %17 = fmul double %7, 0x401921FB54442D18
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %5, i64 8
  store double %17, ptr %18, align 8, !tbaa !12
  %19 = call { double, double } @Cd(ptr noundef nonnull %5)
  %20 = extractvalue { double, double } %19, 0
  %21 = extractvalue { double, double } %19, 1
  %22 = call { double, double } @cexp(double noundef %20, double noundef %21) #7
  %23 = extractvalue { double, double } %22, 0
  %24 = extractvalue { double, double } %22, 1
  %25 = call ptr @_pCd(ptr noundef nonnull %4)
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  store double %23, ptr %25, align 8
  store double %24, ptr %26, align 8
  %27 = load <2 x double>, ptr %4, align 16, !tbaa !13
  %28 = insertelement <2 x double> poison, double %16, i64 0
  %29 = shufflevector <2 x double> %28, <2 x double> poison, <2 x i32> zeroinitializer
  %30 = fmul <2 x double> %29, %27
  br label %59

31:                                               ; preds = %2
  %32 = tail call double @sqrt(double noundef %6) #7
  %33 = fmul double %7, 0x401921FB54442D18
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %5, i64 8
  store double %33, ptr %34, align 8, !tbaa !12
  %35 = call { double, double } @Cd(ptr noundef nonnull %5)
  %36 = extractvalue { double, double } %35, 0
  %37 = extractvalue { double, double } %35, 1
  %38 = call { double, double } @cexp(double noundef %36, double noundef %37) #7
  %39 = extractvalue { double, double } %38, 0
  %40 = extractvalue { double, double } %38, 1
  %41 = call ptr @_pCd(ptr noundef nonnull %4)
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  store double %39, ptr %41, align 8
  store double %40, ptr %42, align 8
  %43 = load <2 x double>, ptr %4, align 16, !tbaa !13
  %44 = insertelement <2 x double> poison, double %32, i64 0
  %45 = shufflevector <2 x double> %44, <2 x double> poison, <2 x i32> zeroinitializer
  %46 = fmul <2 x double> %45, %43
  br label %59

47:                                               ; preds = %2
  %48 = fmul double %7, 0x401921FB54442D18
  store double 0.000000e+00, ptr %4, align 16, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %4, i64 8
  store double %48, ptr %49, align 8, !tbaa !12
  %50 = call { double, double } @Cd(ptr noundef nonnull %4)
  %51 = extractvalue { double, double } %50, 0
  %52 = extractvalue { double, double } %50, 1
  %53 = call { double, double } @cexp(double noundef %51, double noundef %52) #7
  %54 = extractvalue { double, double } %53, 0
  %55 = extractvalue { double, double } %53, 1
  %56 = call ptr @_pCd(ptr noundef nonnull %3)
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  store double %54, ptr %56, align 8
  store double %55, ptr %57, align 8
  %58 = load <2 x double>, ptr %3, align 16, !tbaa !13
  br label %59

59:                                               ; preds = %2, %11, %31, %47, %13
  %60 = phi <2 x double> [ %12, %11 ], [ %46, %31 ], [ %58, %47 ], [ %30, %13 ], [ %10, %2 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  %61 = extractelement <2 x double> %60, i64 0
  %.fca.0.insert = insertvalue { double, double } poison, double %61, 0
  %62 = extractelement <2 x double> %60, i64 1
  %.fca.1.insert = insertvalue { double, double } %.fca.0.insert, double %62, 1
  ret { double, double } %.fca.1.insert
}

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

declare double @dlaran_(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind
declare { double, double } @cexp(double noundef, double noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(ptr noundef) local_unnamed_addr #5

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

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

attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

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

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


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass