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

@dlamch_.first = external hidden global i32, align 4
@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_.t = external hidden global double, align 8
@dlamch_.sfmin = external hidden global double, align 8
@dlamch_.rnd = external hidden global double, align 8
@dlamch_.eps = 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 i32, align 4
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, 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 4, ptr %11) #3
  %12 = load i32, ptr @dlamch_.first, align 4, !tbaa !9
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %14, label %55

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

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

29:                                               ; preds = %14
  store double 0.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !11
  %30 = load i32, ptr %11, align 4, !tbaa !9
  %31 = sub nsw i32 1, %30
  store i32 %31, ptr %3, align 4, !tbaa !9
  %32 = load double, ptr @dlamch_.base, align 8, !tbaa !11
  %33 = load i32, ptr %3, align 4, !tbaa !9
  %34 = call double @dpow_ui(double noundef %32, i32 noundef %33)
  store double %34, ptr @dlamch_.eps, align 8, !tbaa !11
  br label %35

35:                                               ; preds = %29, %22
  %36 = load double, ptr @dlamch_.eps, align 8, !tbaa !11
  %37 = load double, ptr @dlamch_.base, align 8, !tbaa !11
  %38 = fmul double %36, %37
  store double %38, ptr @dlamch_.prec, align 8, !tbaa !11
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = sitofp i32 %39 to double
  store double %40, ptr @dlamch_.emin, align 8, !tbaa !11
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = sitofp i32 %41 to double
  store double %42, ptr @dlamch_.emax, align 8, !tbaa !11
  %43 = load double, ptr @dlamch_.rmin, align 8, !tbaa !11
  store double %43, ptr @dlamch_.sfmin, align 8, !tbaa !11
  %44 = load double, ptr @dlamch_.rmax, align 8, !tbaa !11
  %45 = fdiv double 1.000000e+00, %44
  store double %45, ptr %10, align 8, !tbaa !11
  %46 = load double, ptr %10, align 8, !tbaa !11
  %47 = load double, ptr @dlamch_.sfmin, align 8, !tbaa !11
  %48 = fcmp oge double %46, %47
  br i1 %48, label %49, label %54

49:                                               ; preds = %35
  %50 = load double, ptr %10, align 8, !tbaa !11
  %51 = load double, ptr @dlamch_.eps, align 8, !tbaa !11
  %52 = fadd double %51, 1.000000e+00
  %53 = fmul double %50, %52
  store double %53, ptr @dlamch_.sfmin, align 8, !tbaa !11
  br label %54

54:                                               ; preds = %49, %35
  br label %55

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

59:                                               ; preds = %55
  %60 = load double, ptr @dlamch_.eps, align 8, !tbaa !11
  store double %60, ptr %9, align 8, !tbaa !11
  br label %124

61:                                               ; preds = %55
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  %63 = call i32 @lsame_(ptr noundef %62, ptr noundef @.str.1)
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %67

65:                                               ; preds = %61
  %66 = load double, ptr @dlamch_.sfmin, align 8, !tbaa !11
  store double %66, ptr %9, align 8, !tbaa !11
  br label %123

67:                                               ; preds = %61
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = call i32 @lsame_(ptr noundef %68, ptr noundef @.str.2)
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %73

71:                                               ; preds = %67
  %72 = load double, ptr @dlamch_.base, align 8, !tbaa !11
  store double %72, ptr %9, align 8, !tbaa !11
  br label %122

73:                                               ; preds = %67
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = call i32 @lsame_(ptr noundef %74, ptr noundef @.str.3)
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %79

77:                                               ; preds = %73
  %78 = load double, ptr @dlamch_.prec, align 8, !tbaa !11
  store double %78, ptr %9, align 8, !tbaa !11
  br label %121

79:                                               ; preds = %73
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = call i32 @lsame_(ptr noundef %80, ptr noundef @.str.4)
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %85

83:                                               ; preds = %79
  %84 = load double, ptr @dlamch_.t, align 8, !tbaa !11
  store double %84, ptr %9, align 8, !tbaa !11
  br label %120

85:                                               ; preds = %79
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = call i32 @lsame_(ptr noundef %86, ptr noundef @.str.5)
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %91

89:                                               ; preds = %85
  %90 = load double, ptr @dlamch_.rnd, align 8, !tbaa !11
  store double %90, ptr %9, align 8, !tbaa !11
  br label %119

91:                                               ; preds = %85
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = call i32 @lsame_(ptr noundef %92, ptr noundef @.str.6)
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %97

95:                                               ; preds = %91
  %96 = load double, ptr @dlamch_.emin, align 8, !tbaa !11
  store double %96, ptr %9, align 8, !tbaa !11
  br label %118

97:                                               ; preds = %91
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = call i32 @lsame_(ptr noundef %98, ptr noundef @.str.7)
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %103

101:                                              ; preds = %97
  %102 = load double, ptr @dlamch_.rmin, align 8, !tbaa !11
  store double %102, ptr %9, align 8, !tbaa !11
  br label %117

103:                                              ; preds = %97
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = call i32 @lsame_(ptr noundef %104, ptr noundef @.str.8)
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %109

107:                                              ; preds = %103
  %108 = load double, ptr @dlamch_.emax, align 8, !tbaa !11
  store double %108, ptr %9, align 8, !tbaa !11
  br label %116

109:                                              ; preds = %103
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = call i32 @lsame_(ptr noundef %110, ptr noundef @.str.9)
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %115

113:                                              ; preds = %109
  %114 = load double, ptr @dlamch_.rmax, align 8, !tbaa !11
  store double %114, ptr %9, align 8, !tbaa !11
  br label %115

115:                                              ; preds = %113, %109
  br label %116

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

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

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

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

120:                                              ; preds = %119, %83
  br label %121

121:                                              ; preds = %120, %77
  br label %122

122:                                              ; preds = %121, %71
  br label %123

123:                                              ; preds = %122, %65
  br label %124

124:                                              ; preds = %123, %59
  %125 = load double, ptr %9, align 8, !tbaa !11
  store double %125, ptr %4, align 8, !tbaa !11
  store i32 0, ptr @dlamch_.first, align 4, !tbaa !9
  %126 = load double, ptr %4, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, 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 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret double %126
}

; 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

; Function Attrs: nounwind uwtable
declare hidden double @dpow_ui(double noundef, i32 noundef) #0

declare i32 @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 = !{!"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"

@dlamch_.first = external hidden local_unnamed_addr global i32, align 4
@dlamch_.base = external hidden local_unnamed_addr 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_.t = external hidden local_unnamed_addr global double, align 8
@dlamch_.sfmin = 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
@.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 i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  %7 = load i32, ptr @dlamch_.first, align 4, !tbaa !5
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %35, label %8

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

16:                                               ; preds = %8
  store double 1.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !9
  %17 = call double @dpow_ui(double noundef %11, i32 noundef %15)
  %18 = fmul double %17, 5.000000e-01
  br label %21

19:                                               ; preds = %8
  store double 0.000000e+00, ptr @dlamch_.rnd, align 8, !tbaa !9
  %20 = call double @dpow_ui(double noundef %11, i32 noundef %15)
  br label %21

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

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

35:                                               ; preds = %21, %32, %1
  %36 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  %.not17 = icmp eq i32 %36, 0
  br i1 %.not17, label %39, label %37

37:                                               ; preds = %35
  %38 = load double, ptr @dlamch_.eps, align 8, !tbaa !9
  br label %75

39:                                               ; preds = %35
  %40 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #3
  %.not18 = icmp eq i32 %40, 0
  br i1 %.not18, label %43, label %41

41:                                               ; preds = %39
  %42 = load double, ptr @dlamch_.sfmin, align 8, !tbaa !9
  br label %75

43:                                               ; preds = %39
  %44 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #3
  %.not19 = icmp eq i32 %44, 0
  br i1 %.not19, label %47, label %45

45:                                               ; preds = %43
  %46 = load double, ptr @dlamch_.base, align 8, !tbaa !9
  br label %75

47:                                               ; preds = %43
  %48 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.3) #3
  %.not20 = icmp eq i32 %48, 0
  br i1 %.not20, label %51, label %49

49:                                               ; preds = %47
  %50 = load double, ptr @dlamch_.prec, align 8, !tbaa !9
  br label %75

51:                                               ; preds = %47
  %52 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.4) #3
  %.not21 = icmp eq i32 %52, 0
  br i1 %.not21, label %55, label %53

53:                                               ; preds = %51
  %54 = load double, ptr @dlamch_.t, align 8, !tbaa !9
  br label %75

55:                                               ; preds = %51
  %56 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.5) #3
  %.not22 = icmp eq i32 %56, 0
  br i1 %.not22, label %59, label %57

57:                                               ; preds = %55
  %58 = load double, ptr @dlamch_.rnd, align 8, !tbaa !9
  br label %75

59:                                               ; preds = %55
  %60 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.6) #3
  %.not23 = icmp eq i32 %60, 0
  br i1 %.not23, label %63, label %61

61:                                               ; preds = %59
  %62 = load double, ptr @dlamch_.emin, align 8, !tbaa !9
  br label %75

63:                                               ; preds = %59
  %64 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.7) #3
  %.not24 = icmp eq i32 %64, 0
  br i1 %.not24, label %67, label %65

65:                                               ; preds = %63
  %66 = load double, ptr @dlamch_.rmin, align 8, !tbaa !9
  br label %75

67:                                               ; preds = %63
  %68 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.8) #3
  %.not25 = icmp eq i32 %68, 0
  br i1 %.not25, label %71, label %69

69:                                               ; preds = %67
  %70 = load double, ptr @dlamch_.emax, align 8, !tbaa !9
  br label %75

71:                                               ; preds = %67
  %72 = call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.9) #3
  %.not26 = icmp eq i32 %72, 0
  br i1 %.not26, label %75, label %73

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

75:                                               ; preds = %41, %49, %57, %65, %71, %73, %69, %61, %53, %45, %37
  %.0 = phi double [ %38, %37 ], [ %42, %41 ], [ %46, %45 ], [ %50, %49 ], [ %54, %53 ], [ %58, %57 ], [ %62, %61 ], [ %66, %65 ], [ %70, %69 ], [ %74, %73 ], [ undef, %71 ]
  store i32 0, ptr @dlamch_.first, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 4, 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

; Function Attrs: nounwind uwtable
declare hidden double @dpow_ui(double noundef, i32 noundef) local_unnamed_addr #0

declare i32 @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 = !{!"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,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass