; LLVM IR from siconos/siconos :: kernel/swig/tests/plugins/FollowerPlugin.ll (Z8CamStateddRdS_S_)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z8CamStateddRdS_S_(double noundef %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #0 {
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, 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
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  store double %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %34 = load double, ptr %6, align 8, !tbaa !5
  store double %34, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store double -0.000000e+00, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store double 0x400921FB53C8D4F1, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  store double 4.000000e-01, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  store double 4.500000e-01, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  store double 0x3FD9DA0AAAB6D0F0, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  store double 8.500000e-01, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  store double 1.500000e-01, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  store double 0x3FE1B9D222283545, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  store double 0.000000e+00, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  store double 0x3FF0CE24EA6FE05A, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  store double 0x3FF38C35418A5BF3, ptr %33, align 8, !tbaa !5
  %35 = load double, ptr %22, align 8, !tbaa !5
  %36 = fdiv double %35, 2.000000e+00
  store double %36, ptr %21, align 8, !tbaa !5
  %37 = load double, ptr %22, align 8, !tbaa !5
  %38 = fmul double 2.000000e+00, %37
  %39 = load double, ptr %7, align 8, !tbaa !5
  %40 = fmul double %38, %39
  %41 = fdiv double %40, 6.000000e+01
  store double %41, ptr %13, align 8, !tbaa !5
  store double 1.221000e+00, ptr %18, align 8, !tbaa !5
  store double 1.430800e+03, ptr %19, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  %42 = load double, ptr %13, align 8, !tbaa !5
  %43 = load double, ptr %11, align 8, !tbaa !5
  %44 = fmul double %42, %43
  store double %44, ptr %14, align 8, !tbaa !5
  %45 = load double, ptr %14, align 8, !tbaa !5
  %46 = load double, ptr %21, align 8, !tbaa !5
  %47 = fadd double %45, %46
  %48 = load double, ptr %22, align 8, !tbaa !5
  %49 = fmul double 2.000000e+00, %48
  %50 = call double @fmod(double noundef %47, double noundef %49) #5
  store double %50, ptr %14, align 8, !tbaa !5
  %51 = load double, ptr %14, align 8, !tbaa !5
  %52 = load double, ptr %22, align 8, !tbaa !5
  %53 = fcmp ogt double %51, %52
  br i1 %53, label %54, label %61

54:                                               ; preds = %5
  %55 = load double, ptr %22, align 8, !tbaa !5
  %56 = load double, ptr %14, align 8, !tbaa !5
  %57 = fneg double %56
  %58 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %55, double %57)
  store double %58, ptr %14, align 8, !tbaa !5
  %59 = load double, ptr %13, align 8, !tbaa !5
  %60 = fneg double %59
  store double %60, ptr %13, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %54, %5
  %62 = load double, ptr %13, align 8, !tbaa !5
  store double %62, ptr %29, align 8, !tbaa !5
  %63 = load double, ptr %14, align 8, !tbaa !5
  %64 = load double, ptr %22, align 8, !tbaa !5
  %65 = fdiv double %64, 2.000000e+00
  %66 = load double, ptr %31, align 8, !tbaa !5
  %67 = fsub double %65, %66
  %68 = fcmp ole double %63, %67
  br i1 %68, label %69, label %71

69:                                               ; preds = %61
  %70 = load double, ptr %23, align 8, !tbaa !5
  store double %70, ptr %15, align 8, !tbaa !5
  store double 0.000000e+00, ptr %16, align 8, !tbaa !5
  store double 0.000000e+00, ptr %17, align 8, !tbaa !5
  br label %326

71:                                               ; preds = %61
  %72 = load double, ptr %14, align 8, !tbaa !5
  %73 = load double, ptr %22, align 8, !tbaa !5
  %74 = fdiv double %73, 2.000000e+00
  %75 = load double, ptr %32, align 8, !tbaa !5
  %76 = fadd double %74, %75
  %77 = fcmp ole double %72, %76
  br i1 %77, label %78, label %187

78:                                               ; preds = %71
  %79 = load double, ptr %24, align 8, !tbaa !5
  %80 = fneg double %79
  %81 = load double, ptr %14, align 8, !tbaa !5
  %82 = call double @sin(double noundef %81) #5
  %83 = load double, ptr %26, align 8, !tbaa !5
  %84 = load double, ptr %14, align 8, !tbaa !5
  %85 = call double @cos(double noundef %84) #5
  %86 = load double, ptr %24, align 8, !tbaa !5
  %87 = load double, ptr %26, align 8, !tbaa !5
  %88 = fdiv double %86, %87
  %89 = fmul double %85, %88
  %90 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %89, i32 noundef 2)
  %91 = fsub double 1.000000e+00, %90
  %92 = call double @sqrt(double noundef %91) #5
  %93 = fmul double %83, %92
  %94 = call double @llvm.fmuladd.f64(double %80, double %82, double %93)
  store double %94, ptr %15, align 8, !tbaa !5
  %95 = load double, ptr %24, align 8, !tbaa !5
  %96 = fneg double %95
  %97 = load double, ptr %14, align 8, !tbaa !5
  %98 = call double @cos(double noundef %97) #5
  %99 = load double, ptr %24, align 8, !tbaa !5
  %100 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %99, i32 noundef 2)
  %101 = load double, ptr %14, align 8, !tbaa !5
  %102 = call double @sin(double noundef %101) #5
  %103 = fmul double %100, %102
  %104 = load double, ptr %14, align 8, !tbaa !5
  %105 = call double @cos(double noundef %104) #5
  %106 = fmul double %103, %105
  %107 = load double, ptr %26, align 8, !tbaa !5
  %108 = load double, ptr %14, align 8, !tbaa !5
  %109 = call double @cos(double noundef %108) #5
  %110 = load double, ptr %24, align 8, !tbaa !5
  %111 = load double, ptr %26, align 8, !tbaa !5
  %112 = fdiv double %110, %111
  %113 = fmul double %109, %112
  %114 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %113, i32 noundef 2)
  %115 = fsub double 1.000000e+00, %114
  %116 = call double @sqrt(double noundef %115) #5
  %117 = fmul double %107, %116
  %118 = fdiv double %106, %117
  %119 = call double @llvm.fmuladd.f64(double %96, double %98, double %118)
  %120 = load double, ptr %29, align 8, !tbaa !5
  %121 = fmul double %119, %120
  store double %121, ptr %16, align 8, !tbaa !5
  %122 = load double, ptr %14, align 8, !tbaa !5
  %123 = load double, ptr %31, align 8, !tbaa !5
  %124 = fsub double %122, %123
  %125 = call double @cos(double noundef %124) #5
  %126 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %125, i32 noundef 2)
  %127 = load double, ptr %14, align 8, !tbaa !5
  %128 = load double, ptr %31, align 8, !tbaa !5
  %129 = fsub double %127, %128
  %130 = call double @sin(double noundef %129) #5
  %131 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %130, i32 noundef 2)
  %132 = fsub double %126, %131
  %133 = load double, ptr %24, align 8, !tbaa !5
  %134 = load double, ptr %14, align 8, !tbaa !5
  %135 = load double, ptr %31, align 8, !tbaa !5
  %136 = fsub double %134, %135
  %137 = call double @sin(double noundef %136) #5
  %138 = fmul double %133, %137
  %139 = load double, ptr %14, align 8, !tbaa !5
  %140 = load double, ptr %31, align 8, !tbaa !5
  %141 = fsub double %139, %140
  %142 = call double @cos(double noundef %141) #5
  %143 = fmul double %138, %142
  %144 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %143, i32 noundef 2)
  %145 = load double, ptr %26, align 8, !tbaa !5
  %146 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %145, i32 noundef 2)
  %147 = load double, ptr %14, align 8, !tbaa !5
  %148 = load double, ptr %31, align 8, !tbaa !5
  %149 = fsub double %147, %148
  %150 = call double @cos(double noundef %149) #5
  %151 = load double, ptr %24, align 8, !tbaa !5
  %152 = load double, ptr %26, align 8, !tbaa !5
  %153 = fdiv double %151, %152
  %154 = fmul double %150, %153
  %155 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %154, i32 noundef 2)
  %156 = fsub double 1.000000e+00, %155
  %157 = fmul double %146, %156
  %158 = fdiv double %144, %157
  %159 = fsub double %132, %158
  store double %159, ptr %30, align 8, !tbaa !5
  %160 = load double, ptr %24, align 8, !tbaa !5
  %161 = load double, ptr %14, align 8, !tbaa !5
  %162 = load double, ptr %31, align 8, !tbaa !5
  %163 = fsub double %161, %162
  %164 = call double @sin(double noundef %163) #5
  %165 = load double, ptr %24, align 8, !tbaa !5
  %166 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %165, i32 noundef 2)
  %167 = load double, ptr %26, align 8, !tbaa !5
  %168 = load double, ptr %14, align 8, !tbaa !5
  %169 = load double, ptr %31, align 8, !tbaa !5
  %170 = fsub double %168, %169
  %171 = call double @cos(double noundef %170) #5
  %172 = load double, ptr %24, align 8, !tbaa !5
  %173 = load double, ptr %26, align 8, !tbaa !5
  %174 = fdiv double %172, %173
  %175 = fmul double %171, %174
  %176 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %175, i32 noundef 2)
  %177 = fsub double 1.000000e+00, %176
  %178 = call double @sqrt(double noundef %177) #5
  %179 = fmul double %167, %178
  %180 = fdiv double %166, %179
  %181 = load double, ptr %30, align 8, !tbaa !5
  %182 = fmul double %180, %181
  %183 = call double @llvm.fmuladd.f64(double %160, double %164, double %182)
  %184 = load double, ptr %29, align 8, !tbaa !5
  %185 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %184, i32 noundef 2)
  %186 = fmul double %183, %185
  store double %186, ptr %17, align 8, !tbaa !5
  br label %325

187:                                              ; preds = %71
  %188 = load double, ptr %14, align 8, !tbaa !5
  %189 = load double, ptr %22, align 8, !tbaa !5
  %190 = fdiv double %189, 2.000000e+00
  %191 = load double, ptr %33, align 8, !tbaa !5
  %192 = fadd double %190, %191
  %193 = fcmp ole double %188, %192
  br i1 %193, label %194, label %322

194:                                              ; preds = %187
  %195 = load double, ptr %25, align 8, !tbaa !5
  %196 = fneg double %195
  %197 = load double, ptr %14, align 8, !tbaa !5
  %198 = load double, ptr %22, align 8, !tbaa !5
  %199 = fdiv double %198, 9.000000e+00
  %200 = fadd double %197, %199
  %201 = call double @cos(double noundef %200) #5
  %202 = load double, ptr %27, align 8, !tbaa !5
  %203 = load double, ptr %14, align 8, !tbaa !5
  %204 = load double, ptr %22, align 8, !tbaa !5
  %205 = fdiv double %204, 9.000000e+00
  %206 = fadd double %203, %205
  %207 = call double @sin(double noundef %206) #5
  %208 = load double, ptr %25, align 8, !tbaa !5
  %209 = load double, ptr %27, align 8, !tbaa !5
  %210 = fdiv double %208, %209
  %211 = fmul double %207, %210
  %212 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %211, i32 noundef 2)
  %213 = fsub double 1.000000e+00, %212
  %214 = call double @sqrt(double noundef %213) #5
  %215 = fmul double %202, %214
  %216 = call double @llvm.fmuladd.f64(double %196, double %201, double %215)
  store double %216, ptr %15, align 8, !tbaa !5
  %217 = load double, ptr %25, align 8, !tbaa !5
  %218 = load double, ptr %14, align 8, !tbaa !5
  %219 = load double, ptr %22, align 8, !tbaa !5
  %220 = fdiv double %219, 9.000000e+00
  %221 = fadd double %218, %220
  %222 = call double @sin(double noundef %221) #5
  %223 = load double, ptr %25, align 8, !tbaa !5
  %224 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %223, i32 noundef 2)
  %225 = load double, ptr %14, align 8, !tbaa !5
  %226 = load double, ptr %22, align 8, !tbaa !5
  %227 = fdiv double %226, 9.000000e+00
  %228 = fadd double %225, %227
  %229 = call double @sin(double noundef %228) #5
  %230 = fmul double %224, %229
  %231 = load double, ptr %14, align 8, !tbaa !5
  %232 = load double, ptr %22, align 8, !tbaa !5
  %233 = fdiv double %232, 9.000000e+00
  %234 = fadd double %231, %233
  %235 = call double @cos(double noundef %234) #5
  %236 = fmul double %230, %235
  %237 = load double, ptr %27, align 8, !tbaa !5
  %238 = load double, ptr %14, align 8, !tbaa !5
  %239 = load double, ptr %22, align 8, !tbaa !5
  %240 = fdiv double %239, 9.000000e+00
  %241 = fadd double %238, %240
  %242 = call double @sin(double noundef %241) #5
  %243 = load double, ptr %25, align 8, !tbaa !5
  %244 = load double, ptr %27, align 8, !tbaa !5
  %245 = fdiv double %243, %244
  %246 = fmul double %242, %245
  %247 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %246, i32 noundef 2)
  %248 = fsub double 1.000000e+00, %247
  %249 = call double @sqrt(double noundef %248) #5
  %250 = fmul double %237, %249
  %251 = fdiv double %236, %250
  %252 = fneg double %251
  %253 = call double @llvm.fmuladd.f64(double %217, double %222, double %252)
  %254 = load double, ptr %29, align 8, !tbaa !5
  %255 = fmul double %253, %254
  store double %255, ptr %16, align 8, !tbaa !5
  %256 = load double, ptr %14, align 8, !tbaa !5
  %257 = load double, ptr %33, align 8, !tbaa !5
  %258 = fsub double %256, %257
  %259 = call double @cos(double noundef %258) #5
  %260 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %259, i32 noundef 2)
  %261 = load double, ptr %14, align 8, !tbaa !5
  %262 = load double, ptr %33, align 8, !tbaa !5
  %263 = fsub double %261, %262
  %264 = call double @sin(double noundef %263) #5
  %265 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %264, i32 noundef 2)
  %266 = fsub double %260, %265
  %267 = load double, ptr %25, align 8, !tbaa !5
  %268 = load double, ptr %14, align 8, !tbaa !5
  %269 = load double, ptr %33, align 8, !tbaa !5
  %270 = fsub double %268, %269
  %271 = call double @sin(double noundef %270) #5
  %272 = fmul double %267, %271
  %273 = load double, ptr %14, align 8, !tbaa !5
  %274 = load double, ptr %33, align 8, !tbaa !5
  %275 = fsub double %273, %274
  %276 = call double @cos(double noundef %275) #5
  %277 = fmul double %272, %276
  %278 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %277, i32 noundef 2)
  %279 = load double, ptr %27, align 8, !tbaa !5
  %280 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %279, i32 noundef 2)
  %281 = load double, ptr %14, align 8, !tbaa !5
  %282 = load double, ptr %33, align 8, !tbaa !5
  %283 = fsub double %281, %282
  %284 = call double @cos(double noundef %283) #5
  %285 = load double, ptr %25, align 8, !tbaa !5
  %286 = load double, ptr %27, align 8, !tbaa !5
  %287 = fdiv double %285, %286
  %288 = fmul double %284, %287
  %289 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %288, i32 noundef 2)
  %290 = fsub double 1.000000e+00, %289
  %291 = fmul double %280, %290
  %292 = fdiv double %278, %291
  %293 = fsub double %266, %292
  store double %293, ptr %30, align 8, !tbaa !5
  %294 = load double, ptr %25, align 8, !tbaa !5
  %295 = fneg double %294
  %296 = load double, ptr %14, align 8, !tbaa !5
  %297 = load double, ptr %33, align 8, !tbaa !5
  %298 = fsub double %296, %297
  %299 = call double @sin(double noundef %298) #5
  %300 = load double, ptr %25, align 8, !tbaa !5
  %301 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %300, i32 noundef 2)
  %302 = load double, ptr %27, align 8, !tbaa !5
  %303 = load double, ptr %14, align 8, !tbaa !5
  %304 = load double, ptr %33, align 8, !tbaa !5
  %305 = fsub double %303, %304
  %306 = call double @cos(double noundef %305) #5
  %307 = load double, ptr %25, align 8, !tbaa !5
  %308 = load double, ptr %27, align 8, !tbaa !5
  %309 = fdiv double %307, %308
  %310 = fmul double %306, %309
  %311 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %310, i32 noundef 2)
  %312 = fsub double 1.000000e+00, %311
  %313 = call double @sqrt(double noundef %312) #5
  %314 = fmul double %302, %313
  %315 = fdiv double %301, %314
  %316 = load double, ptr %30, align 8, !tbaa !5
  %317 = fmul double %315, %316
  %318 = call double @llvm.fmuladd.f64(double %295, double %299, double %317)
  %319 = load double, ptr %29, align 8, !tbaa !5
  %320 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %319, i32 noundef 2)
  %321 = fmul double %318, %320
  store double %321, ptr %17, align 8, !tbaa !5
  br label %324

322:                                              ; preds = %187
  %323 = load double, ptr %28, align 8, !tbaa !5
  store double %323, ptr %15, align 8, !tbaa !5
  store double 0.000000e+00, ptr %16, align 8, !tbaa !5
  store double 0.000000e+00, ptr %17, align 8, !tbaa !5
  br label %324

324:                                              ; preds = %322, %194
  br label %325

325:                                              ; preds = %324, %78
  br label %326

326:                                              ; preds = %325, %69
  %327 = load double, ptr %15, align 8, !tbaa !5
  %328 = fsub double %327, 3.000000e-01
  store double %328, ptr %15, align 8, !tbaa !5
  %329 = load double, ptr %15, align 8, !tbaa !5
  %330 = load ptr, ptr %8, align 8, !tbaa !9
  store double %329, ptr %330, align 8, !tbaa !5
  %331 = load double, ptr %16, align 8, !tbaa !5
  %332 = load ptr, ptr %9, align 8, !tbaa !9
  store double %331, ptr %332, align 8, !tbaa !5
  %333 = load double, ptr %17, align 8, !tbaa !5
  %334 = load ptr, ptr %10, align 8, !tbaa !9
  store double %333, ptr %334, align 8, !tbaa !5
  %335 = load double, ptr %18, align 8, !tbaa !5
  %336 = load double, ptr %17, align 8, !tbaa !5
  %337 = load double, ptr %20, align 8, !tbaa !5
  %338 = load double, ptr %16, align 8, !tbaa !5
  %339 = fmul double %337, %338
  %340 = call double @llvm.fmuladd.f64(double %335, double %336, double %339)
  %341 = load double, ptr %19, align 8, !tbaa !5
  %342 = load double, ptr %15, align 8, !tbaa !5
  %343 = call double @llvm.fmuladd.f64(double %341, double %342, double %340)
  %344 = fneg double %343
  store double %344, ptr %12, align 8, !tbaa !5
  %345 = load double, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret double %345
}

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

; Function Attrs: nounwind
declare double @fmod(double noundef, double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: nounwind
declare double @sin(double noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #4

; Function Attrs: nounwind
declare double @cos(double 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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint 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 #5 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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"

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_Z8CamStateddRdS_S_(double noundef %0, double noundef %1, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %2, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %3, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %4) local_unnamed_addr #0 {
  %6 = fmul double %1, 0x401921FB53C8D4F1
  %7 = fdiv double %6, 6.000000e+01
  %8 = fmul double %7, %0
  %9 = fadd double %8, 0x3FF921FB53C8D4F1
  %10 = tail call double @fmod(double noundef %9, double noundef 0x401921FB53C8D4F1) #5
  %11 = fcmp ogt double %10, 0x400921FB53C8D4F1
  %12 = fsub double 0x401921FB53C8D4F1, %10
  %13 = fneg double %7
  %.0128 = select i1 %11, double %12, double %10
  %.0 = select i1 %11, double %13, double %7
  %14 = fcmp ugt double %.0128, 0x3FF921FB53C8D4F1
  br i1 %14, label %15, label %148

15:                                               ; preds = %5
  %16 = fcmp ugt double %.0128, 0x4004F8101F1C5AA6
  br i1 %16, label %77, label %17

17:                                               ; preds = %15
  %18 = tail call double @sin(double noundef %.0128) #5
  %19 = tail call double @cos(double noundef %.0128) #5
  %20 = fmul double %19, 0x3FE0F0F0F0F0F0F1
  %21 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %20, i32 noundef 2)
  %22 = fsub double 1.000000e+00, %21
  %23 = tail call double @sqrt(double noundef %22) #5
  %24 = fmul double %23, 8.500000e-01
  %25 = tail call double @cos(double noundef %.0128) #5
  %26 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 4.500000e-01, i32 noundef 2)
  %27 = tail call double @sin(double noundef %.0128) #5
  %28 = fmul double %26, %27
  %29 = tail call double @cos(double noundef %.0128) #5
  %30 = fmul double %28, %29
  %31 = tail call double @cos(double noundef %.0128) #5
  %32 = fmul double %31, 0x3FE0F0F0F0F0F0F1
  %33 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %32, i32 noundef 2)
  %34 = fsub double 1.000000e+00, %33
  %35 = tail call double @sqrt(double noundef %34) #5
  %36 = fmul double %35, 8.500000e-01
  %37 = fdiv double %30, %36
  %38 = insertelement <2 x double> poison, double %25, i64 0
  %39 = insertelement <2 x double> %38, double %18, i64 1
  %40 = insertelement <2 x double> poison, double %37, i64 0
  %41 = insertelement <2 x double> %40, double %24, i64 1
  %42 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %39, <2 x double> <double -4.500000e-01, double -4.500000e-01>, <2 x double> %41)
  %43 = tail call double @cos(double noundef %.0128) #5
  %44 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %43, i32 noundef 2)
  %45 = tail call double @sin(double noundef %.0128) #5
  %46 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %45, i32 noundef 2)
  %47 = fsub double %44, %46
  %48 = tail call double @sin(double noundef %.0128) #5
  %49 = fmul double %48, 4.500000e-01
  %50 = tail call double @cos(double noundef %.0128) #5
  %51 = fmul double %49, %50
  %52 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %51, i32 noundef 2)
  %53 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 8.500000e-01, i32 noundef 2)
  %54 = tail call double @cos(double noundef %.0128) #5
  %55 = fmul double %54, 0x3FE0F0F0F0F0F0F1
  %56 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %55, i32 noundef 2)
  %57 = fsub double 1.000000e+00, %56
  %58 = tail call double @sin(double noundef %.0128) #5
  %59 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 4.500000e-01, i32 noundef 2)
  %60 = tail call double @cos(double noundef %.0128) #5
  %61 = fmul double %60, 0x3FE0F0F0F0F0F0F1
  %62 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %61, i32 noundef 2)
  %63 = fsub double 1.000000e+00, %62
  %64 = tail call double @sqrt(double noundef %63) #5
  %65 = insertelement <2 x double> poison, double %53, i64 0
  %66 = insertelement <2 x double> %65, double %64, i64 1
  %67 = insertelement <2 x double> <double poison, double 8.500000e-01>, double %57, i64 0
  %68 = fmul <2 x double> %66, %67
  %69 = insertelement <2 x double> poison, double %52, i64 0
  %70 = insertelement <2 x double> %69, double %59, i64 1
  %71 = fdiv <2 x double> %70, %68
  %72 = extractelement <2 x double> %71, i64 0
  %73 = fsub double %47, %72
  %74 = extractelement <2 x double> %71, i64 1
  %75 = fmul double %73, %74
  %76 = tail call double @llvm.fmuladd.f64(double %58, double 4.500000e-01, double %75)
  br label %.sink.split

77:                                               ; preds = %15
  %78 = fcmp ugt double %.0128, 0x400657184AA99872
  br i1 %78, label %148, label %79

79:                                               ; preds = %77
  %80 = fadd double %.0128, 0x3FD657184A79A0D6
  %81 = tail call double @cos(double noundef %80) #5
  %82 = tail call double @sin(double noundef %80) #5
  %83 = fmul double %82, 0x40058B08E39858C8
  %84 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %83, i32 noundef 2)
  %85 = fsub double 1.000000e+00, %84
  %86 = tail call double @sqrt(double noundef %85) #5
  %87 = fmul double %86, 1.500000e-01
  %88 = tail call double @sin(double noundef %80) #5
  %89 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 0x3FD9DA0AAAB6D0F0, i32 noundef 2)
  %90 = tail call double @sin(double noundef %80) #5
  %91 = tail call double @cos(double noundef %80) #5
  %92 = tail call double @sin(double noundef %80) #5
  %93 = fmul double %92, 0x40058B08E39858C8
  %94 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %93, i32 noundef 2)
  %95 = fsub double 1.000000e+00, %94
  %96 = tail call double @sqrt(double noundef %95) #5
  %97 = fmul double %96, 1.500000e-01
  %98 = fneg double %89
  %99 = fmul double %90, %98
  %100 = fmul double %99, %91
  %101 = fdiv double %100, %97
  %102 = insertelement <2 x double> poison, double %88, i64 0
  %103 = insertelement <2 x double> %102, double %81, i64 1
  %104 = insertelement <2 x double> poison, double %101, i64 0
  %105 = insertelement <2 x double> %104, double %87, i64 1
  %106 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %103, <2 x double> <double 0x3FD9DA0AAAB6D0F0, double 0xBFD9DA0AAAB6D0F0>, <2 x double> %105)
  %107 = fadd double %.0128, 0xBFF38C35418A5BF3
  %108 = tail call double @cos(double noundef %107) #5
  %109 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %108, i32 noundef 2)
  %110 = tail call double @sin(double noundef %107) #5
  %111 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %110, i32 noundef 2)
  %112 = fsub double %109, %111
  %113 = tail call double @sin(double noundef %107) #5
  %114 = fmul double %113, 0x3FD9DA0AAAB6D0F0
  %115 = tail call double @cos(double noundef %107) #5
  %116 = fmul double %114, %115
  %117 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %116, i32 noundef 2)
  %118 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 1.500000e-01, i32 noundef 2)
  %119 = tail call double @cos(double noundef %107) #5
  %120 = fmul double %119, 0x40058B08E39858C8
  %121 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %120, i32 noundef 2)
  %122 = fsub double 1.000000e+00, %121
  %123 = tail call double @sin(double noundef %107) #5
  %124 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 0x3FD9DA0AAAB6D0F0, i32 noundef 2)
  %125 = tail call double @cos(double noundef %107) #5
  %126 = fmul double %125, 0x40058B08E39858C8
  %127 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %126, i32 noundef 2)
  %128 = fsub double 1.000000e+00, %127
  %129 = tail call double @sqrt(double noundef %128) #5
  %130 = insertelement <2 x double> poison, double %118, i64 0
  %131 = insertelement <2 x double> %130, double %129, i64 1
  %132 = insertelement <2 x double> <double poison, double 1.500000e-01>, double %122, i64 0
  %133 = fmul <2 x double> %131, %132
  %134 = insertelement <2 x double> poison, double %117, i64 0
  %135 = insertelement <2 x double> %134, double %124, i64 1
  %136 = fdiv <2 x double> %135, %133
  %137 = extractelement <2 x double> %136, i64 0
  %138 = fsub double %112, %137
  %139 = extractelement <2 x double> %136, i64 1
  %140 = fmul double %138, %139
  %141 = tail call double @llvm.fmuladd.f64(double %123, double 0xBFD9DA0AAAB6D0F0, double %140)
  br label %.sink.split

.sink.split:                                      ; preds = %79, %17
  %.sink133 = phi double [ %76, %17 ], [ %141, %79 ]
  %142 = phi <2 x double> [ %42, %17 ], [ %106, %79 ]
  %143 = extractelement <2 x double> %142, i64 0
  %.0130.ph = fmul double %.0, %143
  %144 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %.0, i32 noundef 2)
  %145 = fmul double %144, %.sink133
  %146 = extractelement <2 x double> %142, i64 1
  %147 = fadd double %146, -3.000000e-01
  br label %148

148:                                              ; preds = %.sink.split, %77, %5
  %.0131 = phi double [ 0.000000e+00, %5 ], [ 0.000000e+00, %77 ], [ %145, %.sink.split ]
  %.0130 = phi double [ 0.000000e+00, %5 ], [ 0.000000e+00, %77 ], [ %.0130.ph, %.sink.split ]
  %.0129 = phi double [ 0x3FB999999999999C, %5 ], [ 0x3FD04071111D3757, %77 ], [ %147, %.sink.split ]
  store double %.0129, ptr %2, align 8, !tbaa !5
  store double %.0130, ptr %3, align 8, !tbaa !5
  store double %.0131, ptr %4, align 8, !tbaa !5
  %149 = fmul double %.0130, 0.000000e+00
  %150 = tail call double @llvm.fmuladd.f64(double %.0131, double 1.221000e+00, double %149)
  %151 = tail call double @llvm.fmuladd.f64(double %.0129, double 1.430800e+03, double %150)
  %152 = fneg double %151
  ret double %152
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @fmod(double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #4

attributes #0 = { 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 #1 = { mustprogress nofree nounwind willreturn memory(write) "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass