; LLVM IR from USDA-ARS-ACSL/MAIZSIM :: Crop source/leaf.ll (ZN5CLeafC2EiP12CDevelopment)

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

%class.CLeaf = type { %class.COrgan, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i8, double, double, double, double, double, double, double, double, double, double, double, double, double }
%class.COrgan = type { ptr, double, double, %struct.TInitInfo, ptr, ptr, double, double, double, double, double, double, double, double, double }
%struct.TInitInfo = type { [255 x i8], [255 x i8], i32, i32, double, double, double, double, i32, i32, i32, double, i32, double, i8, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }

@_ZTV5CLeaf = external dso_local unnamed_addr constant { [18 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5CLeafC2EiP12CDevelopment(ptr noundef nonnull align 8 dereferenceable(1256) %0, i32 noundef %1, ptr noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8
  call void @_ZN6COrganC2Ev(ptr noundef nonnull align 8 dereferenceable(864) %9)
  store ptr getelementptr inbounds inrange(-16, 128) ({ [18 x ptr] }, ptr @_ZTV5CLeaf, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !11
  %10 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 56
  store double -8.657000e-01, ptr %10, align 8, !tbaa !13
  %11 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 57
  %12 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 45
  %13 = load double, ptr %12, align 8, !tbaa !19
  %14 = fcmp ogt double 2.500000e-01, %13
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  br label %19

16:                                               ; preds = %3
  %17 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 45
  %18 = load double, ptr %17, align 8, !tbaa !19
  br label %19

19:                                               ; preds = %16, %15
  %20 = phi double [ 2.500000e-01, %15 ], [ %18, %16 ]
  store double %20, ptr %11, align 8, !tbaa !20
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 8
  store i32 %21, ptr %22, align 8, !tbaa !21
  %23 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 27
  store double 0.000000e+00, ptr %23, align 8, !tbaa !22
  %24 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 26
  store double 0.000000e+00, ptr %24, align 8, !tbaa !23
  %25 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 12
  store double 0.000000e+00, ptr %25, align 8, !tbaa !24
  %26 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 17
  store double 0.000000e+00, ptr %26, align 8, !tbaa !25
  %27 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 24
  store double 0.000000e+00, ptr %27, align 8, !tbaa !26
  %28 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 23
  store double 0.000000e+00, ptr %28, align 8, !tbaa !27
  %29 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 25
  store double 2.000000e+02, ptr %29, align 8, !tbaa !28
  %30 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 14
  store double 0.000000e+00, ptr %30, align 8, !tbaa !29
  %31 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 16
  store double 0.000000e+00, ptr %31, align 8, !tbaa !30
  %32 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 13
  store double 0.000000e+00, ptr %32, align 8, !tbaa !31
  %33 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 10
  store i32 0, ptr %33, align 8, !tbaa !32
  %34 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 11
  store i32 0, ptr %34, align 4, !tbaa !33
  %35 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 18
  store double 0.000000e+00, ptr %35, align 8, !tbaa !34
  %36 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 22
  store double 0.000000e+00, ptr %36, align 8, !tbaa !35
  %37 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 21
  store double 0.000000e+00, ptr %37, align 8, !tbaa !36
  %38 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 19
  store double 0.000000e+00, ptr %38, align 8, !tbaa !37
  %39 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 20
  store double 0.000000e+00, ptr %39, align 8, !tbaa !38
  %40 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 41
  store double 0.000000e+00, ptr %40, align 8, !tbaa !39
  %41 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 43
  store double 0.000000e+00, ptr %41, align 8, !tbaa !40
  %42 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 42
  store double 0.000000e+00, ptr %42, align 8, !tbaa !41
  %43 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 7
  store i8 0, ptr %43, align 2, !tbaa !42
  %44 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 6
  store i8 0, ptr %44, align 1, !tbaa !43
  %45 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 5
  store i8 0, ptr %45, align 4, !tbaa !44
  %46 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 4
  store i8 0, ptr %46, align 1, !tbaa !45
  %47 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 3
  store i8 0, ptr %47, align 2, !tbaa !46
  %48 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 2
  store i8 0, ptr %48, align 1, !tbaa !47
  %49 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 1
  store i8 0, ptr %49, align 8, !tbaa !48
  %50 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 35
  store double 0.000000e+00, ptr %50, align 8, !tbaa !49
  %51 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 37
  store double 0.000000e+00, ptr %51, align 8, !tbaa !50
  %52 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 29
  store double 0.000000e+00, ptr %52, align 8, !tbaa !51
  %53 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 28
  store double 0.000000e+00, ptr %53, align 8, !tbaa !52
  %54 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 39
  store double 0.000000e+00, ptr %54, align 8, !tbaa !53
  %55 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 38
  store double 0.000000e+00, ptr %55, align 8, !tbaa !54
  %56 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 30
  store double 0.000000e+00, ptr %56, align 8, !tbaa !55
  %57 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 33
  store double 0.000000e+00, ptr %57, align 8, !tbaa !56
  %58 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 34
  store double 0.000000e+00, ptr %58, align 8, !tbaa !57
  %59 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 15
  store double 0.000000e+00, ptr %59, align 8, !tbaa !58
  %60 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 45
  store double 3.000000e+00, ptr %60, align 8, !tbaa !19
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = invoke noundef double @_ZN12CDevelopment13get_stayGreenEv(ptr noundef nonnull align 8 dereferenceable(1352) %61)
          to label %63 unwind label %100

63:                                               ; preds = %19
  %64 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 36
  store double %62, ptr %64, align 8, !tbaa !59
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = invoke noundef double @_ZN12CDevelopment10get_LM_minEv(ptr noundef nonnull align 8 dereferenceable(1352) %65)
          to label %67 unwind label %100

67:                                               ; preds = %63
  %68 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 40
  store double %66, ptr %68, align 8, !tbaa !60
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = invoke noundef double @_ZN12CDevelopment21get_Q10LeafSenescenceEv(ptr noundef nonnull align 8 dereferenceable(1352) %69)
          to label %71 unwind label %100

71:                                               ; preds = %67
  %72 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 51
  store double %70, ptr %72, align 8, !tbaa !61
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = invoke noundef double @_ZN12CDevelopment11get_WLRATIOEv(ptr noundef nonnull align 8 dereferenceable(1352) %73)
          to label %75 unwind label %100

75:                                               ; preds = %71
  %76 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 47
  store double %74, ptr %76, align 8, !tbaa !62
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = invoke noundef double @_ZN12CDevelopment8get_A_WLEv(ptr noundef nonnull align 8 dereferenceable(1352) %77)
          to label %79 unwind label %100

79:                                               ; preds = %75
  %80 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 48
  store double %78, ptr %80, align 8, !tbaa !63
  %81 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 32
  store double 1.200000e+01, ptr %81, align 8, !tbaa !64
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = invoke noundef double @_ZN12CDevelopment23get_leafNumberFactor_a1Ev(ptr noundef nonnull align 8 dereferenceable(1352) %82)
          to label %84 unwind label %100

84:                                               ; preds = %79
  %85 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 52
  store double %83, ptr %85, align 8, !tbaa !65
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = invoke noundef double @_ZN12CDevelopment23get_leafNumberFactor_b1Ev(ptr noundef nonnull align 8 dereferenceable(1352) %86)
          to label %88 unwind label %100

88:                                               ; preds = %84
  %89 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 54
  store double %87, ptr %89, align 8, !tbaa !66
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = invoke noundef double @_ZN12CDevelopment23get_leafNumberFactor_a2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %90)
          to label %92 unwind label %100

92:                                               ; preds = %88
  %93 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 53
  store double %91, ptr %93, align 8, !tbaa !67
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = invoke noundef double @_ZN12CDevelopment23get_leafNumberFactor_b2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %94)
          to label %96 unwind label %100

96:                                               ; preds = %92
  %97 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 55
  store double %95, ptr %97, align 8, !tbaa !68
  %98 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 49
  store double 1.870000e+01, ptr %98, align 8, !tbaa !69
  %99 = getelementptr inbounds %class.CLeaf, ptr %9, i32 0, i32 50
  store double 8.000000e+00, ptr %99, align 8, !tbaa !70
  ret void

100:                                              ; preds = %92, %88, %84, %79, %75, %71, %67, %63, %19
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  call void @_ZN6COrganD2Ev(ptr noundef nonnull align 8 dereferenceable(864) %9) #4
  br label %104

104:                                              ; preds = %100
  %105 = load ptr, ptr %7, align 8
  %106 = load i32, ptr %8, align 4
  %107 = insertvalue { ptr, i32 } poison, ptr %105, 0
  %108 = insertvalue { ptr, i32 } %107, i32 %106, 1
  resume { ptr, i32 } %108
}

declare void @_ZN6COrganC2Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment13get_stayGreenEv(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment10get_LM_minEv(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment21get_Q10LeafSenescenceEv(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment11get_WLRATIOEv(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment8get_A_WLEv(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_a1Ev(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_b1Ev(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_a2Ev(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_b2Ev(ptr noundef nonnull align 8 dereferenceable(1352)) #2 align 2

; Function Attrs: nounwind
declare void @_ZN6COrganD2Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #3

attributes #0 = { mustprogress 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 = { "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 = { mustprogress 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 #3 = { 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 #4 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !16, i64 1240}
!14 = !{!"_ZTS5CLeaf", !15, i64 0, !18, i64 864, !18, i64 865, !18, i64 866, !18, i64 867, !18, i64 868, !18, i64 869, !18, i64 870, !10, i64 872, !10, i64 876, !10, i64 880, !10, i64 884, !16, i64 888, !16, i64 896, !16, i64 904, !16, i64 912, !16, i64 920, !16, i64 928, !16, i64 936, !16, i64 944, !16, i64 952, !16, i64 960, !16, i64 968, !16, i64 976, !16, i64 984, !16, i64 992, !16, i64 1000, !16, i64 1008, !16, i64 1016, !16, i64 1024, !16, i64 1032, !16, i64 1040, !16, i64 1048, !16, i64 1056, !16, i64 1064, !16, i64 1072, !16, i64 1080, !16, i64 1088, !16, i64 1096, !16, i64 1104, !16, i64 1112, !16, i64 1120, !16, i64 1128, !16, i64 1136, !18, i64 1144, !16, i64 1152, !16, i64 1160, !16, i64 1168, !16, i64 1176, !16, i64 1184, !16, i64 1192, !16, i64 1200, !16, i64 1208, !16, i64 1216, !16, i64 1224, !16, i64 1232, !16, i64 1240, !16, i64 1248}
!15 = !{!"_ZTS6COrgan", !16, i64 8, !16, i64 16, !17, i64 24, !6, i64 776, !6, i64 784, !16, i64 792, !16, i64 800, !16, i64 808, !16, i64 816, !16, i64 824, !16, i64 832, !16, i64 840, !16, i64 848, !16, i64 856}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTS9TInitInfo", !7, i64 0, !7, i64 255, !10, i64 512, !10, i64 516, !16, i64 520, !16, i64 528, !16, i64 536, !16, i64 544, !10, i64 552, !10, i64 556, !10, i64 560, !16, i64 568, !10, i64 576, !16, i64 584, !18, i64 592, !16, i64 600, !16, i64 608, !16, i64 616, !16, i64 624, !16, i64 632, !16, i64 640, !16, i64 648, !16, i64 656, !16, i64 664, !16, i64 672, !16, i64 680, !16, i64 688, !16, i64 696, !16, i64 704, !16, i64 712, !16, i64 720, !16, i64 728, !16, i64 736, !16, i64 744}
!18 = !{!"bool", !7, i64 0}
!19 = !{!14, !16, i64 1152}
!20 = !{!14, !16, i64 1248}
!21 = !{!14, !10, i64 872}
!22 = !{!14, !16, i64 1008}
!23 = !{!14, !16, i64 1000}
!24 = !{!14, !16, i64 888}
!25 = !{!14, !16, i64 928}
!26 = !{!14, !16, i64 984}
!27 = !{!14, !16, i64 976}
!28 = !{!14, !16, i64 992}
!29 = !{!14, !16, i64 904}
!30 = !{!14, !16, i64 920}
!31 = !{!14, !16, i64 896}
!32 = !{!14, !10, i64 880}
!33 = !{!14, !10, i64 884}
!34 = !{!14, !16, i64 936}
!35 = !{!14, !16, i64 968}
!36 = !{!14, !16, i64 960}
!37 = !{!14, !16, i64 944}
!38 = !{!14, !16, i64 952}
!39 = !{!14, !16, i64 1120}
!40 = !{!14, !16, i64 1136}
!41 = !{!14, !16, i64 1128}
!42 = !{!14, !18, i64 870}
!43 = !{!14, !18, i64 869}
!44 = !{!14, !18, i64 868}
!45 = !{!14, !18, i64 867}
!46 = !{!14, !18, i64 866}
!47 = !{!14, !18, i64 865}
!48 = !{!14, !18, i64 864}
!49 = !{!14, !16, i64 1072}
!50 = !{!14, !16, i64 1088}
!51 = !{!14, !16, i64 1024}
!52 = !{!14, !16, i64 1016}
!53 = !{!14, !16, i64 1104}
!54 = !{!14, !16, i64 1096}
!55 = !{!14, !16, i64 1032}
!56 = !{!14, !16, i64 1056}
!57 = !{!14, !16, i64 1064}
!58 = !{!14, !16, i64 912}
!59 = !{!14, !16, i64 1080}
!60 = !{!14, !16, i64 1112}
!61 = !{!14, !16, i64 1200}
!62 = !{!14, !16, i64 1168}
!63 = !{!14, !16, i64 1176}
!64 = !{!14, !16, i64 1048}
!65 = !{!14, !16, i64 1208}
!66 = !{!14, !16, i64 1224}
!67 = !{!14, !16, i64 1216}
!68 = !{!14, !16, i64 1232}
!69 = !{!14, !16, i64 1184}
!70 = !{!14, !16, i64 1192}


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

@_ZTV5CLeaf = external dso_local unnamed_addr constant { [18 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5CLeafC2EiP12CDevelopment(ptr noundef nonnull align 8 dereferenceable(1256) %0, i32 noundef %1, ptr noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN6COrganC2Ev(ptr noundef nonnull align 8 dereferenceable(864) %0)
  store ptr getelementptr inbounds inrange(-16, 128) (i8, ptr @_ZTV5CLeaf, i64 16), ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 1240
  store double -8.657000e-01, ptr %4, align 8, !tbaa !8
  %5 = getelementptr inbounds i8, ptr %0, i64 1152
  %6 = load double, ptr %5, align 8, !tbaa !17
  %7 = fcmp olt double %6, 2.500000e-01
  %8 = select i1 %7, double 2.500000e-01, double %6
  %9 = getelementptr inbounds i8, ptr %0, i64 1248
  store double %8, ptr %9, align 8, !tbaa !18
  %10 = getelementptr inbounds i8, ptr %0, i64 872
  store i32 %1, ptr %10, align 8, !tbaa !19
  %11 = getelementptr inbounds i8, ptr %0, i64 1000
  %12 = getelementptr inbounds i8, ptr %0, i64 888
  store double 0.000000e+00, ptr %12, align 8, !tbaa !20
  %13 = getelementptr inbounds i8, ptr %0, i64 928
  store double 0.000000e+00, ptr %13, align 8, !tbaa !21
  %14 = getelementptr inbounds i8, ptr %0, i64 976
  %15 = getelementptr inbounds i8, ptr %0, i64 992
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  store double 2.000000e+02, ptr %15, align 8, !tbaa !22
  %16 = getelementptr inbounds i8, ptr %0, i64 896
  %17 = getelementptr inbounds i8, ptr %0, i64 880
  store i32 0, ptr %17, align 8, !tbaa !23
  %18 = getelementptr inbounds i8, ptr %0, i64 884
  store i32 0, ptr %18, align 4, !tbaa !24
  %19 = getelementptr inbounds i8, ptr %0, i64 936
  %20 = getelementptr inbounds i8, ptr %0, i64 1120
  %21 = getelementptr inbounds i8, ptr %0, i64 864
  %22 = getelementptr inbounds i8, ptr %0, i64 1088
  %23 = getelementptr inbounds i8, ptr %0, i64 1016
  %24 = getelementptr inbounds i8, ptr %0, i64 1056
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(7) %21, i8 0, i64 7, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %16, i8 0, i64 32, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %19, i8 0, i64 40, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %23, i8 0, i64 24, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %24, i8 0, i64 24, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %22, i8 0, i64 24, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %20, i8 0, i64 24, i1 false)
  store double 3.000000e+00, ptr %5, align 8, !tbaa !17
  %25 = tail call noundef double @_ZN12CDevelopment13get_stayGreenEv(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %26 = getelementptr inbounds i8, ptr %0, i64 1080
  store double %25, ptr %26, align 8, !tbaa !25
  %27 = tail call noundef double @_ZN12CDevelopment10get_LM_minEv(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %28 = getelementptr inbounds i8, ptr %0, i64 1112
  store double %27, ptr %28, align 8, !tbaa !26
  %29 = tail call noundef double @_ZN12CDevelopment21get_Q10LeafSenescenceEv(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %30 = getelementptr inbounds i8, ptr %0, i64 1200
  store double %29, ptr %30, align 8, !tbaa !27
  %31 = tail call noundef double @_ZN12CDevelopment11get_WLRATIOEv(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %32 = getelementptr inbounds i8, ptr %0, i64 1168
  store double %31, ptr %32, align 8, !tbaa !28
  %33 = tail call noundef double @_ZN12CDevelopment8get_A_WLEv(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %34 = getelementptr inbounds i8, ptr %0, i64 1176
  store double %33, ptr %34, align 8, !tbaa !29
  %35 = getelementptr inbounds i8, ptr %0, i64 1048
  store double 1.200000e+01, ptr %35, align 8, !tbaa !30
  %36 = tail call noundef double @_ZN12CDevelopment23get_leafNumberFactor_a1Ev(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %37 = getelementptr inbounds i8, ptr %0, i64 1208
  store double %36, ptr %37, align 8, !tbaa !31
  %38 = tail call noundef double @_ZN12CDevelopment23get_leafNumberFactor_b1Ev(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %39 = getelementptr inbounds i8, ptr %0, i64 1224
  store double %38, ptr %39, align 8, !tbaa !32
  %40 = tail call noundef double @_ZN12CDevelopment23get_leafNumberFactor_a2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %41 = getelementptr inbounds i8, ptr %0, i64 1216
  store double %40, ptr %41, align 8, !tbaa !33
  %42 = tail call noundef double @_ZN12CDevelopment23get_leafNumberFactor_b2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %2)
  %43 = getelementptr inbounds i8, ptr %0, i64 1232
  store double %42, ptr %43, align 8, !tbaa !34
  %44 = getelementptr inbounds i8, ptr %0, i64 1184
  store <2 x double> <double 1.870000e+01, double 8.000000e+00>, ptr %44, align 8, !tbaa !35
  ret void
}

declare void @_ZN6COrganC2Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment13get_stayGreenEv(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment10get_LM_minEv(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment21get_Q10LeafSenescenceEv(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment11get_WLRATIOEv(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment8get_A_WLEv(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_a1Ev(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_b1Ev(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_a2Ev(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN12CDevelopment23get_leafNumberFactor_b2Ev(ptr noundef nonnull align 8 dereferenceable(1352)) local_unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress 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 = { "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 = { mustprogress 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 1240}
!9 = !{!"_ZTS5CLeaf", !10, i64 0, !15, i64 864, !15, i64 865, !15, i64 866, !15, i64 867, !15, i64 868, !15, i64 869, !15, i64 870, !14, i64 872, !14, i64 876, !14, i64 880, !14, i64 884, !11, i64 888, !11, i64 896, !11, i64 904, !11, i64 912, !11, i64 920, !11, i64 928, !11, i64 936, !11, i64 944, !11, i64 952, !11, i64 960, !11, i64 968, !11, i64 976, !11, i64 984, !11, i64 992, !11, i64 1000, !11, i64 1008, !11, i64 1016, !11, i64 1024, !11, i64 1032, !11, i64 1040, !11, i64 1048, !11, i64 1056, !11, i64 1064, !11, i64 1072, !11, i64 1080, !11, i64 1088, !11, i64 1096, !11, i64 1104, !11, i64 1112, !11, i64 1120, !11, i64 1128, !11, i64 1136, !15, i64 1144, !11, i64 1152, !11, i64 1160, !11, i64 1168, !11, i64 1176, !11, i64 1184, !11, i64 1192, !11, i64 1200, !11, i64 1208, !11, i64 1216, !11, i64 1224, !11, i64 1232, !11, i64 1240, !11, i64 1248}
!10 = !{!"_ZTS6COrgan", !11, i64 8, !11, i64 16, !13, i64 24, !16, i64 776, !16, i64 784, !11, i64 792, !11, i64 800, !11, i64 808, !11, i64 816, !11, i64 824, !11, i64 832, !11, i64 840, !11, i64 848, !11, i64 856}
!11 = !{!"double", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTS9TInitInfo", !12, i64 0, !12, i64 255, !14, i64 512, !14, i64 516, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !14, i64 552, !14, i64 556, !14, i64 560, !11, i64 568, !14, i64 576, !11, i64 584, !15, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648, !11, i64 656, !11, i64 664, !11, i64 672, !11, i64 680, !11, i64 688, !11, i64 696, !11, i64 704, !11, i64 712, !11, i64 720, !11, i64 728, !11, i64 736, !11, i64 744}
!14 = !{!"int", !12, i64 0}
!15 = !{!"bool", !12, i64 0}
!16 = !{!"any pointer", !12, i64 0}
!17 = !{!9, !11, i64 1152}
!18 = !{!9, !11, i64 1248}
!19 = !{!9, !14, i64 872}
!20 = !{!9, !11, i64 888}
!21 = !{!9, !11, i64 928}
!22 = !{!9, !11, i64 992}
!23 = !{!9, !14, i64 880}
!24 = !{!9, !14, i64 884}
!25 = !{!9, !11, i64 1080}
!26 = !{!9, !11, i64 1112}
!27 = !{!9, !11, i64 1200}
!28 = !{!9, !11, i64 1168}
!29 = !{!9, !11, i64 1176}
!30 = !{!9, !11, i64 1048}
!31 = !{!9, !11, i64 1208}
!32 = !{!9, !11, i64 1224}
!33 = !{!9, !11, i64 1216}
!34 = !{!9, !11, i64 1232}
!35 = !{!11, !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InstCombinePass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass