; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/INSTALL (dlamch)

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

@dlamc1_.first = external hidden global i32, align 4
@dlamc1_.lrnd = external hidden global i32, align 4
@dlamc1_.lbeta = external hidden global i32, align 4
@dlamc1_.lieee1 = external hidden global i32, align 4
@dlamc1_.lt = external hidden global i32, align 4

; 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 uwtable
define dso_local i32 @dlamc1_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, 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
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #2
  %20 = load i32, ptr @dlamc1_.first, align 4, !tbaa !9
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %119

22:                                               ; preds = %4
  store double 1.000000e+00, ptr %18, align 8, !tbaa !11
  store double 1.000000e+00, ptr %11, align 8, !tbaa !11
  store double 1.000000e+00, ptr %13, align 8, !tbaa !11
  br label %23

23:                                               ; preds = %27, %22
  %24 = load double, ptr %13, align 8, !tbaa !11
  %25 = load double, ptr %18, align 8, !tbaa !11
  %26 = fcmp oeq double %24, %25
  br i1 %26, label %27, label %34

27:                                               ; preds = %23
  %28 = load double, ptr %11, align 8, !tbaa !11
  %29 = fmul double %28, 2.000000e+00
  store double %29, ptr %11, align 8, !tbaa !11
  %30 = call double @dlamc3_(ptr noundef %11, ptr noundef %18)
  store double %30, ptr %13, align 8, !tbaa !11
  %31 = load double, ptr %11, align 8, !tbaa !11
  %32 = fneg double %31
  store double %32, ptr %9, align 8, !tbaa !11
  %33 = call double @dlamc3_(ptr noundef %13, ptr noundef %9)
  store double %33, ptr %13, align 8, !tbaa !11
  br label %23

34:                                               ; preds = %23
  store double 1.000000e+00, ptr %12, align 8, !tbaa !11
  %35 = call double @dlamc3_(ptr noundef %11, ptr noundef %12)
  store double %35, ptr %13, align 8, !tbaa !11
  br label %36

36:                                               ; preds = %40, %34
  %37 = load double, ptr %13, align 8, !tbaa !11
  %38 = load double, ptr %11, align 8, !tbaa !11
  %39 = fcmp oeq double %37, %38
  br i1 %39, label %40, label %44

40:                                               ; preds = %36
  %41 = load double, ptr %12, align 8, !tbaa !11
  %42 = fmul double %41, 2.000000e+00
  store double %42, ptr %12, align 8, !tbaa !11
  %43 = call double @dlamc3_(ptr noundef %11, ptr noundef %12)
  store double %43, ptr %13, align 8, !tbaa !11
  br label %36

44:                                               ; preds = %36
  %45 = load double, ptr %18, align 8, !tbaa !11
  %46 = fdiv double %45, 4.000000e+00
  store double %46, ptr %19, align 8, !tbaa !11
  %47 = load double, ptr %13, align 8, !tbaa !11
  store double %47, ptr %15, align 8, !tbaa !11
  %48 = load double, ptr %11, align 8, !tbaa !11
  %49 = fneg double %48
  store double %49, ptr %9, align 8, !tbaa !11
  %50 = call double @dlamc3_(ptr noundef %13, ptr noundef %9)
  store double %50, ptr %13, align 8, !tbaa !11
  %51 = load double, ptr %13, align 8, !tbaa !11
  %52 = load double, ptr %19, align 8, !tbaa !11
  %53 = fadd double %51, %52
  %54 = fptosi double %53 to i32
  store i32 %54, ptr @dlamc1_.lbeta, align 4, !tbaa !9
  %55 = load i32, ptr @dlamc1_.lbeta, align 4, !tbaa !9
  %56 = sitofp i32 %55 to double
  store double %56, ptr %12, align 8, !tbaa !11
  %57 = load double, ptr %12, align 8, !tbaa !11
  %58 = fdiv double %57, 2.000000e+00
  store double %58, ptr %9, align 8, !tbaa !11
  %59 = load double, ptr %12, align 8, !tbaa !11
  %60 = fneg double %59
  %61 = fdiv double %60, 1.000000e+02
  store double %61, ptr %10, align 8, !tbaa !11
  %62 = call double @dlamc3_(ptr noundef %9, ptr noundef %10)
  store double %62, ptr %14, align 8, !tbaa !11
  %63 = call double @dlamc3_(ptr noundef %14, ptr noundef %11)
  store double %63, ptr %13, align 8, !tbaa !11
  %64 = load double, ptr %13, align 8, !tbaa !11
  %65 = load double, ptr %11, align 8, !tbaa !11
  %66 = fcmp oeq double %64, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %44
  store i32 1, ptr @dlamc1_.lrnd, align 4, !tbaa !9
  br label %69

68:                                               ; preds = %44
  store i32 0, ptr @dlamc1_.lrnd, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %68, %67
  %70 = load double, ptr %12, align 8, !tbaa !11
  %71 = fdiv double %70, 2.000000e+00
  store double %71, ptr %9, align 8, !tbaa !11
  %72 = load double, ptr %12, align 8, !tbaa !11
  %73 = fdiv double %72, 1.000000e+02
  store double %73, ptr %10, align 8, !tbaa !11
  %74 = call double @dlamc3_(ptr noundef %9, ptr noundef %10)
  store double %74, ptr %14, align 8, !tbaa !11
  %75 = call double @dlamc3_(ptr noundef %14, ptr noundef %11)
  store double %75, ptr %13, align 8, !tbaa !11
  %76 = load i32, ptr @dlamc1_.lrnd, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %83

78:                                               ; preds = %69
  %79 = load double, ptr %13, align 8, !tbaa !11
  %80 = load double, ptr %11, align 8, !tbaa !11
  %81 = fcmp oeq double %79, %80
  br i1 %81, label %82, label %83

82:                                               ; preds = %78
  store i32 0, ptr @dlamc1_.lrnd, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %82, %78, %69
  %84 = load double, ptr %12, align 8, !tbaa !11
  %85 = fdiv double %84, 2.000000e+00
  store double %85, ptr %9, align 8, !tbaa !11
  %86 = call double @dlamc3_(ptr noundef %9, ptr noundef %11)
  store double %86, ptr %16, align 8, !tbaa !11
  %87 = load double, ptr %12, align 8, !tbaa !11
  %88 = fdiv double %87, 2.000000e+00
  store double %88, ptr %9, align 8, !tbaa !11
  %89 = call double @dlamc3_(ptr noundef %9, ptr noundef %15)
  store double %89, ptr %17, align 8, !tbaa !11
  %90 = load double, ptr %16, align 8, !tbaa !11
  %91 = load double, ptr %11, align 8, !tbaa !11
  %92 = fcmp oeq double %90, %91
  br i1 %92, label %93, label %100

93:                                               ; preds = %83
  %94 = load double, ptr %17, align 8, !tbaa !11
  %95 = load double, ptr %15, align 8, !tbaa !11
  %96 = fcmp ogt double %94, %95
  br i1 %96, label %97, label %100

97:                                               ; preds = %93
  %98 = load i32, ptr @dlamc1_.lrnd, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  br label %100

100:                                              ; preds = %97, %93, %83
  %101 = phi i1 [ false, %93 ], [ false, %83 ], [ %99, %97 ]
  %102 = zext i1 %101 to i32
  store i32 %102, ptr @dlamc1_.lieee1, align 4, !tbaa !9
  store i32 0, ptr @dlamc1_.lt, align 4, !tbaa !9
  store double 1.000000e+00, ptr %11, align 8, !tbaa !11
  store double 1.000000e+00, ptr %13, align 8, !tbaa !11
  br label %103

103:                                              ; preds = %107, %100
  %104 = load double, ptr %13, align 8, !tbaa !11
  %105 = load double, ptr %18, align 8, !tbaa !11
  %106 = fcmp oeq double %104, %105
  br i1 %106, label %107, label %118

107:                                              ; preds = %103
  %108 = load i32, ptr @dlamc1_.lt, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr @dlamc1_.lt, align 4, !tbaa !9
  %110 = load i32, ptr @dlamc1_.lbeta, align 4, !tbaa !9
  %111 = sitofp i32 %110 to double
  %112 = load double, ptr %11, align 8, !tbaa !11
  %113 = fmul double %112, %111
  store double %113, ptr %11, align 8, !tbaa !11
  %114 = call double @dlamc3_(ptr noundef %11, ptr noundef %18)
  store double %114, ptr %13, align 8, !tbaa !11
  %115 = load double, ptr %11, align 8, !tbaa !11
  %116 = fneg double %115
  store double %116, ptr %9, align 8, !tbaa !11
  %117 = call double @dlamc3_(ptr noundef %13, ptr noundef %9)
  store double %117, ptr %13, align 8, !tbaa !11
  br label %103

118:                                              ; preds = %103
  br label %119

119:                                              ; preds = %118, %4
  %120 = load i32, ptr @dlamc1_.lbeta, align 4, !tbaa !9
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %120, ptr %121, align 4, !tbaa !9
  %122 = load i32, ptr @dlamc1_.lt, align 4, !tbaa !9
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 %122, ptr %123, align 4, !tbaa !9
  %124 = load i32, ptr @dlamc1_.lrnd, align 4, !tbaa !9
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 %124, ptr %125, align 4, !tbaa !9
  %126 = load i32, ptr @dlamc1_.lieee1, align 4, !tbaa !9
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %126, ptr %127, align 4, !tbaa !9
  store i32 0, ptr @dlamc1_.first, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare dso_local double @dlamc3_(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}


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

@dlamc1_.first = external hidden local_unnamed_addr global i32, align 4
@dlamc1_.lrnd = external hidden local_unnamed_addr global i32, align 4
@dlamc1_.lbeta = external hidden local_unnamed_addr global i32, align 4
@dlamc1_.lieee1 = external hidden local_unnamed_addr global i32, align 4
@dlamc1_.lt = external hidden local_unnamed_addr global i32, align 4

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dlamc1_(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #1 {
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %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
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #2
  %13 = load i32, ptr @dlamc1_.first, align 4, !tbaa !5
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  store double 1.000000e+00, ptr %12, align 8, !tbaa !9
  store double 1.000000e+00, ptr %7, align 8, !tbaa !9
  store double 1.000000e+00, ptr %9, align 8, !tbaa !9
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %14 = load double, ptr %7, align 8, !tbaa !9
  %15 = fmul double %14, 2.000000e+00
  store double %15, ptr %7, align 8, !tbaa !9
  %16 = call double @dlamc3_(ptr noundef nonnull %7, ptr noundef nonnull %12)
  store double %16, ptr %9, align 8, !tbaa !9
  %17 = load double, ptr %7, align 8, !tbaa !9
  %18 = fneg double %17
  store double %18, ptr %5, align 8, !tbaa !9
  %19 = call double @dlamc3_(ptr noundef nonnull %9, ptr noundef nonnull %5)
  store double %19, ptr %9, align 8, !tbaa !9
  %20 = load double, ptr %12, align 8, !tbaa !9
  %21 = fcmp oeq double %19, %20
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph
  store double 1.000000e+00, ptr %8, align 8, !tbaa !9
  %22 = call double @dlamc3_(ptr noundef nonnull %7, ptr noundef nonnull %8)
  store double %22, ptr %9, align 8, !tbaa !9
  %23 = load double, ptr %7, align 8, !tbaa !9
  %24 = fcmp oeq double %22, %23
  br i1 %24, label %.lr.ph15, label %._crit_edge16

.lr.ph15:                                         ; preds = %._crit_edge, %.lr.ph15
  %25 = load double, ptr %8, align 8, !tbaa !9
  %26 = fmul double %25, 2.000000e+00
  store double %26, ptr %8, align 8, !tbaa !9
  %27 = call double @dlamc3_(ptr noundef nonnull %7, ptr noundef nonnull %8)
  store double %27, ptr %9, align 8, !tbaa !9
  %28 = load double, ptr %7, align 8, !tbaa !9
  %29 = fcmp oeq double %27, %28
  br i1 %29, label %.lr.ph15, label %._crit_edge16

._crit_edge16:                                    ; preds = %.lr.ph15, %._crit_edge
  %storemerge7.lcssa = phi double [ %22, %._crit_edge ], [ %27, %.lr.ph15 ]
  %.lcssa = phi double [ %23, %._crit_edge ], [ %28, %.lr.ph15 ]
  %30 = load double, ptr %12, align 8, !tbaa !9
  %31 = fmul double %30, 2.500000e-01
  store double %storemerge7.lcssa, ptr %11, align 8, !tbaa !9
  %32 = fneg double %.lcssa
  store double %32, ptr %5, align 8, !tbaa !9
  %33 = call double @dlamc3_(ptr noundef nonnull %9, ptr noundef nonnull %5)
  store double %33, ptr %9, align 8, !tbaa !9
  %34 = fadd double %31, %33
  %35 = fptosi double %34 to i32
  store i32 %35, ptr @dlamc1_.lbeta, align 4, !tbaa !5
  %36 = sitofp i32 %35 to double
  store double %36, ptr %8, align 8, !tbaa !9
  %37 = fmul double %36, 5.000000e-01
  store double %37, ptr %5, align 8, !tbaa !9
  %38 = fdiv double %36, -1.000000e+02
  store double %38, ptr %6, align 8, !tbaa !9
  %39 = call double @dlamc3_(ptr noundef nonnull %5, ptr noundef nonnull %6)
  store double %39, ptr %10, align 8, !tbaa !9
  %40 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %7)
  store double %40, ptr %9, align 8, !tbaa !9
  %41 = load double, ptr %7, align 8, !tbaa !9
  %42 = fcmp oeq double %40, %41
  %. = zext i1 %42 to i32
  store i32 %., ptr @dlamc1_.lrnd, align 4, !tbaa !5
  %43 = load double, ptr %8, align 8, !tbaa !9
  %44 = fmul double %43, 5.000000e-01
  store double %44, ptr %5, align 8, !tbaa !9
  %45 = fdiv double %43, 1.000000e+02
  store double %45, ptr %6, align 8, !tbaa !9
  %46 = call double @dlamc3_(ptr noundef nonnull %5, ptr noundef nonnull %6)
  store double %46, ptr %10, align 8, !tbaa !9
  %47 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %7)
  store double %47, ptr %9, align 8, !tbaa !9
  %48 = load i32, ptr @dlamc1_.lrnd, align 4, !tbaa !5
  %.not9 = icmp ne i32 %48, 0
  %49 = load double, ptr %7, align 8
  %50 = fcmp oeq double %47, %49
  %or.cond = select i1 %.not9, i1 %50, i1 false
  br i1 %or.cond, label %51, label %52

51:                                               ; preds = %._crit_edge16
  store i32 0, ptr @dlamc1_.lrnd, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %51, %._crit_edge16
  %53 = load double, ptr %8, align 8, !tbaa !9
  %54 = fmul double %53, 5.000000e-01
  store double %54, ptr %5, align 8, !tbaa !9
  %55 = call double @dlamc3_(ptr noundef nonnull %5, ptr noundef nonnull %7)
  %56 = load double, ptr %8, align 8, !tbaa !9
  %57 = fmul double %56, 5.000000e-01
  store double %57, ptr %5, align 8, !tbaa !9
  %58 = call double @dlamc3_(ptr noundef nonnull %5, ptr noundef nonnull %11)
  %59 = load double, ptr %7, align 8, !tbaa !9
  %60 = fcmp oeq double %55, %59
  %61 = load double, ptr %11, align 8
  %62 = fcmp ogt double %58, %61
  %or.cond13 = select i1 %60, i1 %62, i1 false
  %63 = load i32, ptr @dlamc1_.lrnd, align 4
  %64 = icmp ne i32 %63, 0
  %narrow = select i1 %or.cond13, i1 %64, i1 false
  %65 = zext i1 %narrow to i32
  store i32 %65, ptr @dlamc1_.lieee1, align 4, !tbaa !5
  store i32 0, ptr @dlamc1_.lt, align 4, !tbaa !5
  store double 1.000000e+00, ptr %7, align 8, !tbaa !9
  store double 1.000000e+00, ptr %9, align 8, !tbaa !9
  %66 = load double, ptr %12, align 8, !tbaa !9
  %67 = fcmp oeq double %66, 1.000000e+00
  br i1 %67, label %.lr.ph19, label %.loopexit

.lr.ph19:                                         ; preds = %52, %.lr.ph19
  %68 = load i32, ptr @dlamc1_.lt, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr @dlamc1_.lt, align 4, !tbaa !5
  %70 = load i32, ptr @dlamc1_.lbeta, align 4, !tbaa !5
  %71 = sitofp i32 %70 to double
  %72 = load double, ptr %7, align 8, !tbaa !9
  %73 = fmul double %72, %71
  store double %73, ptr %7, align 8, !tbaa !9
  %74 = call double @dlamc3_(ptr noundef nonnull %7, ptr noundef nonnull %12)
  store double %74, ptr %9, align 8, !tbaa !9
  %75 = load double, ptr %7, align 8, !tbaa !9
  %76 = fneg double %75
  store double %76, ptr %5, align 8, !tbaa !9
  %77 = call double @dlamc3_(ptr noundef nonnull %9, ptr noundef nonnull %5)
  store double %77, ptr %9, align 8, !tbaa !9
  %78 = load double, ptr %12, align 8, !tbaa !9
  %79 = fcmp oeq double %77, %78
  br i1 %79, label %.lr.ph19, label %.loopexit

.loopexit:                                        ; preds = %.lr.ph19, %52, %4
  %80 = load i32, ptr @dlamc1_.lbeta, align 4, !tbaa !5
  store i32 %80, ptr %0, align 4, !tbaa !5
  %81 = load i32, ptr @dlamc1_.lt, align 4, !tbaa !5
  store i32 %81, ptr %1, align 4, !tbaa !5
  %82 = load i32, ptr @dlamc1_.lrnd, align 4, !tbaa !5
  store i32 %82, ptr %2, align 4, !tbaa !5
  %83 = load i32, ptr @dlamc1_.lieee1, align 4, !tbaa !5
  store i32 %83, ptr %3, align 4, !tbaa !5
  store i32 0, ptr @dlamc1_.first, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
  ret i32 0
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !10, i64 0}
!10 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass