; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (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 i64, align 8
@dlamc1_.lt = external hidden global i64, align 8
@dlamc1_.lrnd = external hidden global i64, align 8
@dlamc1_.lbeta = external hidden global i64, align 8
@dlamc1_.lieee1 = external hidden global i64, align 8

; 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 i64, ptr @dlamc1_.first, align 8, !tbaa !9
  %21 = icmp ne i64 %20, 0
  br i1 %21, label %22, label %120

22:                                               ; preds = %4
  store double 1.000000e+00, ptr %17, 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 %17, 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 %17)
  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 %17, align 8, !tbaa !11
  %46 = fdiv double %45, 4.000000e+00
  store double %46, ptr %18, align 8, !tbaa !11
  %47 = load double, ptr %13, align 8, !tbaa !11
  store double %47, ptr %19, 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 %18, align 8, !tbaa !11
  %53 = fadd double %51, %52
  %54 = fptosi double %53 to i64
  store i64 %54, ptr @dlamc1_.lbeta, align 8, !tbaa !9
  %55 = load i64, ptr @dlamc1_.lbeta, align 8, !tbaa !9
  %56 = sitofp i64 %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 i64 1, ptr @dlamc1_.lrnd, align 8, !tbaa !9
  br label %69

68:                                               ; preds = %44
  store i64 0, ptr @dlamc1_.lrnd, align 8, !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 i64, ptr @dlamc1_.lrnd, align 8, !tbaa !9
  %77 = icmp ne i64 %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 i64 0, ptr @dlamc1_.lrnd, align 8, !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 %15, 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 %19)
  store double %89, ptr %16, align 8, !tbaa !11
  %90 = load double, ptr %15, 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 %16, align 8, !tbaa !11
  %95 = load double, ptr %19, align 8, !tbaa !11
  %96 = fcmp ogt double %94, %95
  br i1 %96, label %97, label %100

97:                                               ; preds = %93
  %98 = load i64, ptr @dlamc1_.lrnd, align 8, !tbaa !9
  %99 = icmp ne i64 %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
  %103 = sext i32 %102 to i64
  store i64 %103, ptr @dlamc1_.lieee1, align 8, !tbaa !9
  store i64 0, ptr @dlamc1_.lt, align 8, !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 %104

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

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

119:                                              ; preds = %104
  br label %120

120:                                              ; preds = %119, %4
  %121 = load i64, ptr @dlamc1_.lbeta, align 8, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  store i64 %121, ptr %122, align 8, !tbaa !9
  %123 = load i64, ptr @dlamc1_.lt, align 8, !tbaa !9
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  store i64 %123, ptr %124, align 8, !tbaa !9
  %125 = load i64, ptr @dlamc1_.lrnd, align 8, !tbaa !9
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  store i64 %125, ptr %126, align 8, !tbaa !9
  %127 = load i64, ptr @dlamc1_.lieee1, align 8, !tbaa !9
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  store i64 %127, ptr %128, align 8, !tbaa !9
  store i64 0, ptr @dlamc1_.first, align 8, !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 = !{!"long", !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 i64, align 8
@dlamc1_.lt = external hidden local_unnamed_addr global i64, align 8
@dlamc1_.lrnd = external hidden local_unnamed_addr global i64, align 8
@dlamc1_.lbeta = external hidden local_unnamed_addr global i64, align 8
@dlamc1_.lieee1 = external hidden local_unnamed_addr global i64, align 8

; 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 i64, ptr @dlamc1_.first, align 8, !tbaa !5
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  store double 1.000000e+00, ptr %11, 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 %11)
  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 %11, 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 %11, align 8, !tbaa !9
  %31 = fmul double %30, 2.500000e-01
  store double %storemerge7.lcssa, ptr %12, 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 i64
  store i64 %35, ptr @dlamc1_.lbeta, align 8, !tbaa !5
  %36 = sitofp i64 %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 i64
  store i64 %., ptr @dlamc1_.lrnd, align 8, !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 i64, ptr @dlamc1_.lrnd, align 8, !tbaa !5
  %.not9 = icmp ne i64 %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 i64 0, ptr @dlamc1_.lrnd, align 8, !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 %12)
  %59 = load double, ptr %7, align 8, !tbaa !9
  %60 = fcmp oeq double %55, %59
  %61 = load double, ptr %12, align 8
  %62 = fcmp ogt double %58, %61
  %or.cond13 = select i1 %60, i1 %62, i1 false
  %63 = load i64, ptr @dlamc1_.lrnd, align 8
  %64 = icmp ne i64 %63, 0
  %narrow = select i1 %or.cond13, i1 %64, i1 false
  %65 = zext i1 %narrow to i64
  store i64 %65, ptr @dlamc1_.lieee1, align 8, !tbaa !5
  store i64 0, ptr @dlamc1_.lt, align 8, !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 %11, 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 i64, ptr @dlamc1_.lt, align 8, !tbaa !5
  %69 = add nsw i64 %68, 1
  store i64 %69, ptr @dlamc1_.lt, align 8, !tbaa !5
  %70 = load i64, ptr @dlamc1_.lbeta, align 8, !tbaa !5
  %71 = sitofp i64 %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 %11)
  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 %11, 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 i64, ptr @dlamc1_.lbeta, align 8, !tbaa !5
  store i64 %80, ptr %0, align 8, !tbaa !5
  %81 = load i64, ptr @dlamc1_.lt, align 8, !tbaa !5
  store i64 %81, ptr %1, align 8, !tbaa !5
  %82 = load i64, ptr @dlamc1_.lrnd, align 8, !tbaa !5
  store i64 %82, ptr %2, align 8, !tbaa !5
  %83 = load i64, ptr @dlamc1_.lieee1, align 8, !tbaa !5
  store i64 %83, ptr %3, align 8, !tbaa !5
  store i64 0, ptr @dlamc1_.first, align 8, !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 = !{!"long", !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,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass