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

@dlamch_.first = external hidden global i64, align 8
@dlamch_.t = external hidden global double, align 8
@dlamch_.rnd = external hidden global double, align 8
@dlamch_.eps = external hidden global double, align 8
@dlamch_.base = external hidden global double, align 8
@dlamch_.emin = external hidden global double, align 8
@dlamch_.prec = external hidden global double, align 8
@dlamch_.emax = external hidden global double, align 8
@dlamch_.rmin = external hidden global double, align 8
@dlamch_.rmax = external hidden global double, align 8
@dlamch_.sfmin = external hidden global double, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local double @dlamch_(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca double, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %12 = load i64, ptr @dlamch_.first, align 8, !tbaa !9
  %13 = icmp ne i64 %12, 0
  br i1 %13, label %14, label %51

14:                                               ; preds = %1
  %15 = call i32 @dlamc2_(ptr noundef %6, ptr noundef %5, ptr noundef %9, ptr noundef @dlamch_.eps, ptr noundef %7, ptr noundef @dlamch_.rmin, ptr noundef %8, ptr noundef @dlamch_.rmax)
  %16 = load i64, ptr %6, align 8, !tbaa !9
  %17 = sitofp i64 %16 to double
  store double %17, ptr @dlamch_.base, align 8, !tbaa !11
  %18 = load i64, ptr %5, align 8, !tbaa !9
  %19 = sitofp i64 %18 to double
  store double %19, ptr @dlamch_.t, align 8, !tbaa !11
  %20 = load i64, ptr %9, align 8, !tbaa !9
  %21 = icmp ne i64 %20, 0
  br i1 %21, label %22, label %27

22:                                               ; preds = %14
  store double 1.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !11
  %23 = load i64, ptr %5, align 8, !tbaa !9
  %24 = sub nsw i64 1, %23
  store i64 %24, ptr %3, align 8, !tbaa !9
  %25 = call double @pow_di(ptr noundef @dlamch_.base, ptr noundef %3)
  %26 = fdiv double %25, 2.000000e+00
  store double %26, ptr @dlamch_.eps, align 8, !tbaa !11
  br label %31

27:                                               ; preds = %14
  store double 0.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !11
  %28 = load i64, ptr %5, align 8, !tbaa !9
  %29 = sub nsw i64 1, %28
  store i64 %29, ptr %3, align 8, !tbaa !9
  %30 = call double @pow_di(ptr noundef @dlamch_.base, ptr noundef %3)
  store double %30, ptr @dlamch_.eps, align 8, !tbaa !11
  br label %31

31:                                               ; preds = %27, %22
  %32 = load double, ptr @dlamch_.eps, align 8, !tbaa !11
  %33 = load double, ptr @dlamch_.base, align 8, !tbaa !11
  %34 = fmul double %32, %33
  store double %34, ptr @dlamch_.prec, align 8, !tbaa !11
  %35 = load i64, ptr %7, align 8, !tbaa !9
  %36 = sitofp i64 %35 to double
  store double %36, ptr @dlamch_.emin, align 8, !tbaa !11
  %37 = load i64, ptr %8, align 8, !tbaa !9
  %38 = sitofp i64 %37 to double
  store double %38, ptr @dlamch_.emax, align 8, !tbaa !11
  %39 = load double, ptr @dlamch_.rmin, align 8, !tbaa !11
  store double %39, ptr @dlamch_.sfmin, align 8, !tbaa !11
  %40 = load double, ptr @dlamch_.rmax, align 8, !tbaa !11
  %41 = fdiv double 1.000000e+00, %40
  store double %41, ptr %11, align 8, !tbaa !11
  %42 = load double, ptr %11, align 8, !tbaa !11
  %43 = load double, ptr @dlamch_.sfmin, align 8, !tbaa !11
  %44 = fcmp oge double %42, %43
  br i1 %44, label %45, label %50

45:                                               ; preds = %31
  %46 = load double, ptr %11, align 8, !tbaa !11
  %47 = load double, ptr @dlamch_.eps, align 8, !tbaa !11
  %48 = fadd double %47, 1.000000e+00
  %49 = fmul double %46, %48
  store double %49, ptr @dlamch_.sfmin, align 8, !tbaa !11
  br label %50

50:                                               ; preds = %45, %31
  br label %51

51:                                               ; preds = %50, %1
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = call i64 @lsame_(ptr noundef %52, ptr noundef @.str)
  %54 = icmp ne i64 %53, 0
  br i1 %54, label %55, label %57

55:                                               ; preds = %51
  %56 = load double, ptr @dlamch_.eps, align 8, !tbaa !11
  store double %56, ptr %10, align 8, !tbaa !11
  br label %120

57:                                               ; preds = %51
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = call i64 @lsame_(ptr noundef %58, ptr noundef @.str.1)
  %60 = icmp ne i64 %59, 0
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = load double, ptr @dlamch_.sfmin, align 8, !tbaa !11
  store double %62, ptr %10, align 8, !tbaa !11
  br label %119

63:                                               ; preds = %57
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = call i64 @lsame_(ptr noundef %64, ptr noundef @.str.2)
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %69

67:                                               ; preds = %63
  %68 = load double, ptr @dlamch_.base, align 8, !tbaa !11
  store double %68, ptr %10, align 8, !tbaa !11
  br label %118

69:                                               ; preds = %63
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = call i64 @lsame_(ptr noundef %70, ptr noundef @.str.3)
  %72 = icmp ne i64 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %69
  %74 = load double, ptr @dlamch_.prec, align 8, !tbaa !11
  store double %74, ptr %10, align 8, !tbaa !11
  br label %117

75:                                               ; preds = %69
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = call i64 @lsame_(ptr noundef %76, ptr noundef @.str.4)
  %78 = icmp ne i64 %77, 0
  br i1 %78, label %79, label %81

79:                                               ; preds = %75
  %80 = load double, ptr @dlamch_.t, align 8, !tbaa !11
  store double %80, ptr %10, align 8, !tbaa !11
  br label %116

81:                                               ; preds = %75
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = call i64 @lsame_(ptr noundef %82, ptr noundef @.str.5)
  %84 = icmp ne i64 %83, 0
  br i1 %84, label %85, label %87

85:                                               ; preds = %81
  %86 = load double, ptr @dlamch_.rnd, align 8, !tbaa !11
  store double %86, ptr %10, align 8, !tbaa !11
  br label %115

87:                                               ; preds = %81
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = call i64 @lsame_(ptr noundef %88, ptr noundef @.str.6)
  %90 = icmp ne i64 %89, 0
  br i1 %90, label %91, label %93

91:                                               ; preds = %87
  %92 = load double, ptr @dlamch_.emin, align 8, !tbaa !11
  store double %92, ptr %10, align 8, !tbaa !11
  br label %114

93:                                               ; preds = %87
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = call i64 @lsame_(ptr noundef %94, ptr noundef @.str.7)
  %96 = icmp ne i64 %95, 0
  br i1 %96, label %97, label %99

97:                                               ; preds = %93
  %98 = load double, ptr @dlamch_.rmin, align 8, !tbaa !11
  store double %98, ptr %10, align 8, !tbaa !11
  br label %113

99:                                               ; preds = %93
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = call i64 @lsame_(ptr noundef %100, ptr noundef @.str.8)
  %102 = icmp ne i64 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load double, ptr @dlamch_.emax, align 8, !tbaa !11
  store double %104, ptr %10, align 8, !tbaa !11
  br label %112

105:                                              ; preds = %99
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = call i64 @lsame_(ptr noundef %106, ptr noundef @.str.9)
  %108 = icmp ne i64 %107, 0
  br i1 %108, label %109, label %111

109:                                              ; preds = %105
  %110 = load double, ptr @dlamch_.rmax, align 8, !tbaa !11
  store double %110, ptr %10, align 8, !tbaa !11
  br label %111

111:                                              ; preds = %109, %105
  br label %112

112:                                              ; preds = %111, %103
  br label %113

113:                                              ; preds = %112, %97
  br label %114

114:                                              ; preds = %113, %91
  br label %115

115:                                              ; preds = %114, %85
  br label %116

116:                                              ; preds = %115, %79
  br label %117

117:                                              ; preds = %116, %73
  br label %118

118:                                              ; preds = %117, %67
  br label %119

119:                                              ; preds = %118, %61
  br label %120

120:                                              ; preds = %119, %55
  %121 = load double, ptr %10, align 8, !tbaa !11
  store double %121, ptr %4, align 8, !tbaa !11
  store i64 0, ptr @dlamch_.first, align 8, !tbaa !9
  %122 = load double, ptr %4, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret double %122
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc2_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare double @pow_di(ptr noundef, ptr noundef) #2

declare i64 @lsame_(ptr noundef, ptr noundef) #2

; 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

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

@dlamch_.first = external hidden local_unnamed_addr global i64, align 8
@dlamch_.t = external hidden local_unnamed_addr global double, align 8
@dlamch_.rnd = external hidden local_unnamed_addr global double, align 8
@dlamch_.eps = external hidden global double, align 8
@dlamch_.base = external hidden global double, align 8
@dlamch_.emin = external hidden local_unnamed_addr global double, align 8
@dlamch_.prec = external hidden local_unnamed_addr global double, align 8
@dlamch_.emax = external hidden local_unnamed_addr global double, align 8
@dlamch_.rmin = external hidden global double, align 8
@dlamch_.rmax = external hidden global double, align 8
@dlamch_.sfmin = external hidden local_unnamed_addr global double, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local double @dlamch_(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %8 = load i64, ptr @dlamch_.first, align 8, !tbaa !5
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %36, label %9

9:                                                ; preds = %1
  %10 = call i32 @dlamc2_(ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %7, ptr noundef nonnull @dlamch_.eps, ptr noundef nonnull %5, ptr noundef nonnull @dlamch_.rmin, ptr noundef nonnull %6, ptr noundef nonnull @dlamch_.rmax)
  %11 = load i64, ptr %4, align 8, !tbaa !5
  %12 = sitofp i64 %11 to double
  store double %12, ptr @dlamch_.base, align 8, !tbaa !9
  %13 = load i64, ptr %3, align 8, !tbaa !5
  %14 = sitofp i64 %13 to double
  store double %14, ptr @dlamch_.t, align 8, !tbaa !9
  %15 = load i64, ptr %7, align 8, !tbaa !5
  %.not15 = icmp eq i64 %15, 0
  %16 = sub nsw i64 1, %13
  br i1 %.not15, label %20, label %17

17:                                               ; preds = %9
  store double 1.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !9
  store i64 %16, ptr %2, align 8, !tbaa !5
  %18 = call double @pow_di(ptr noundef nonnull @dlamch_.base, ptr noundef nonnull %2) #3
  %19 = fmul double %18, 5.000000e-01
  br label %22

20:                                               ; preds = %9
  store double 0.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !9
  store i64 %16, ptr %2, align 8, !tbaa !5
  %21 = call double @pow_di(ptr noundef nonnull @dlamch_.base, ptr noundef nonnull %2) #3
  br label %22

22:                                               ; preds = %20, %17
  %storemerge = phi double [ %21, %20 ], [ %19, %17 ]
  store double %storemerge, ptr @dlamch_.eps, align 8, !tbaa !9
  %23 = load double, ptr @dlamch_.base, align 8, !tbaa !9
  %24 = fmul double %storemerge, %23
  store double %24, ptr @dlamch_.prec, align 8, !tbaa !9
  %25 = load i64, ptr %5, align 8, !tbaa !5
  %26 = sitofp i64 %25 to double
  store double %26, ptr @dlamch_.emin, align 8, !tbaa !9
  %27 = load i64, ptr %6, align 8, !tbaa !5
  %28 = sitofp i64 %27 to double
  store double %28, ptr @dlamch_.emax, align 8, !tbaa !9
  %29 = load double, ptr @dlamch_.rmin, align 8, !tbaa !9
  store double %29, ptr @dlamch_.sfmin, align 8, !tbaa !9
  %30 = load double, ptr @dlamch_.rmax, align 8, !tbaa !9
  %31 = fdiv double 1.000000e+00, %30
  %32 = fcmp ult double %31, %29
  br i1 %32, label %36, label %33

33:                                               ; preds = %22
  %34 = fadd double %storemerge, 1.000000e+00
  %35 = fmul double %34, %31
  store double %35, ptr @dlamch_.sfmin, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %22, %33, %1
  %37 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  %.not16 = icmp eq i64 %37, 0
  br i1 %.not16, label %40, label %38

38:                                               ; preds = %36
  %39 = load double, ptr @dlamch_.eps, align 8, !tbaa !9
  br label %76

40:                                               ; preds = %36
  %41 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #3
  %.not17 = icmp eq i64 %41, 0
  br i1 %.not17, label %44, label %42

42:                                               ; preds = %40
  %43 = load double, ptr @dlamch_.sfmin, align 8, !tbaa !9
  br label %76

44:                                               ; preds = %40
  %45 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #3
  %.not18 = icmp eq i64 %45, 0
  br i1 %.not18, label %48, label %46

46:                                               ; preds = %44
  %47 = load double, ptr @dlamch_.base, align 8, !tbaa !9
  br label %76

48:                                               ; preds = %44
  %49 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.3) #3
  %.not19 = icmp eq i64 %49, 0
  br i1 %.not19, label %52, label %50

50:                                               ; preds = %48
  %51 = load double, ptr @dlamch_.prec, align 8, !tbaa !9
  br label %76

52:                                               ; preds = %48
  %53 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.4) #3
  %.not20 = icmp eq i64 %53, 0
  br i1 %.not20, label %56, label %54

54:                                               ; preds = %52
  %55 = load double, ptr @dlamch_.t, align 8, !tbaa !9
  br label %76

56:                                               ; preds = %52
  %57 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.5) #3
  %.not21 = icmp eq i64 %57, 0
  br i1 %.not21, label %60, label %58

58:                                               ; preds = %56
  %59 = load double, ptr @dlamch_.rnd, align 8, !tbaa !9
  br label %76

60:                                               ; preds = %56
  %61 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.6) #3
  %.not22 = icmp eq i64 %61, 0
  br i1 %.not22, label %64, label %62

62:                                               ; preds = %60
  %63 = load double, ptr @dlamch_.emin, align 8, !tbaa !9
  br label %76

64:                                               ; preds = %60
  %65 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.7) #3
  %.not23 = icmp eq i64 %65, 0
  br i1 %.not23, label %68, label %66

66:                                               ; preds = %64
  %67 = load double, ptr @dlamch_.rmin, align 8, !tbaa !9
  br label %76

68:                                               ; preds = %64
  %69 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.8) #3
  %.not24 = icmp eq i64 %69, 0
  br i1 %.not24, label %72, label %70

70:                                               ; preds = %68
  %71 = load double, ptr @dlamch_.emax, align 8, !tbaa !9
  br label %76

72:                                               ; preds = %68
  %73 = call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.9) #3
  %.not25 = icmp eq i64 %73, 0
  br i1 %.not25, label %76, label %74

74:                                               ; preds = %72
  %75 = load double, ptr @dlamch_.rmax, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %42, %50, %58, %66, %72, %74, %70, %62, %54, %46, %38
  %.0 = phi double [ %39, %38 ], [ %43, %42 ], [ %47, %46 ], [ %51, %50 ], [ %55, %54 ], [ %59, %58 ], [ %63, %62 ], [ %67, %66 ], [ %71, %70 ], [ %75, %74 ], [ undef, %72 ]
  store i64 0, ptr @dlamch_.first, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret double %.0
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc2_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare double @pow_di(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i64 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress 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 = { 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 = { 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,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass