; LLVM IR from unitreerobotics/kinect_teleoperate :: src/mujoco-3.1.5/sample/testspeed.ll (Z9CtrlNoisePK8mjModel_id)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.mjModel_ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, %struct.mjOption_, %struct.mjVisual_, %struct.mjStatistic_, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.mjOption_ = type { double, double, double, double, double, double, double, [3 x double], [3 x double], [3 x double], double, double, double, [2 x double], [5 x double], [5 x double], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.mjVisual_ = type { %struct.anon, %struct.anon.1, %struct.anon.2, %struct.anon.3, %struct.anon.4, %struct.anon.5 }
%struct.anon = type { float, float, float, float, float, float, float, i32, i32, i32, i32 }
%struct.anon.1 = type { i32, i32, i32, i32, i32 }
%struct.anon.2 = type { [3 x float], [3 x float], [3 x float], i32 }
%struct.anon.3 = type { float, float, float, float, float, float, float, float, float, float, float, float, float }
%struct.anon.4 = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%struct.anon.5 = type { [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float], [4 x float] }
%struct.mjStatistic_ = type { double, double, double, double, [3 x double] }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9CtrlNoisePK8mjModel_id(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, i32 noundef %2, double noundef %3) #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca i1, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store double %3, ptr %8, align 8, !tbaa !11
  store i1 false, ptr %9, align 1
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %87, %4
  %20 = load i32, ptr %10, align 4, !tbaa !9
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %90

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %79, %24
  %26 = load i32, ptr %12, align 4, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.mjModel_, ptr %27, i32 0, i32 2
  %29 = load i32, ptr %28, align 8, !tbaa !13
  %30 = icmp slt i32 %26, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %25
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %86

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store double 1.000000e+00, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.mjModel_, ptr %33, i32 0, i32 386
  %35 = load ptr, ptr %34, align 8, !tbaa !26
  %36 = load i32, ptr %12, align 4, !tbaa !9
  %37 = mul nsw i32 2, %36
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds double, ptr %35, i64 %38
  store ptr %39, ptr %15, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.mjModel_, ptr %40, i32 0, i32 379
  %42 = load ptr, ptr %41, align 8, !tbaa !27
  %43 = load i32, ptr %12, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i8, ptr %42, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !28
  %47 = icmp ne i8 %46, 0
  br i1 %47, label %48, label %65

48:                                               ; preds = %32
  %49 = load ptr, ptr %15, align 8, !tbaa !5
  %50 = getelementptr inbounds double, ptr %49, i64 1
  %51 = load double, ptr %50, align 8, !tbaa !11
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  %53 = getelementptr inbounds double, ptr %52, i64 0
  %54 = load double, ptr %53, align 8, !tbaa !11
  %55 = fadd double %51, %54
  %56 = fdiv double %55, 2.000000e+00
  store double %56, ptr %13, align 8, !tbaa !11
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  %58 = getelementptr inbounds double, ptr %57, i64 1
  %59 = load double, ptr %58, align 8, !tbaa !11
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  %61 = getelementptr inbounds double, ptr %60, i64 0
  %62 = load double, ptr %61, align 8, !tbaa !11
  %63 = fsub double %59, %62
  %64 = fdiv double %63, 2.000000e+00
  store double %64, ptr %14, align 8, !tbaa !11
  br label %65

65:                                               ; preds = %48, %32
  %66 = load double, ptr %8, align 8, !tbaa !11
  %67 = load double, ptr %14, align 8, !tbaa !11
  %68 = fmul double %67, %66
  store double %68, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %69 = load double, ptr %13, align 8, !tbaa !11
  %70 = load double, ptr %14, align 8, !tbaa !11
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = load i32, ptr %12, align 4, !tbaa !9
  %73 = add nsw i32 %72, 2
  %74 = invoke double @mju_Halton(i32 noundef %71, i32 noundef %73)
          to label %75 unwind label %82

75:                                               ; preds = %65
  %76 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %74, double -1.000000e+00)
  %77 = call double @llvm.fmuladd.f64(double %70, double %76, double %69)
  store double %77, ptr %16, align 8, !tbaa !11
  invoke void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %78 unwind label %82

78:                                               ; preds = %75
  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
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %12, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %12, align 4, !tbaa !9
  br label %25, !llvm.loop !29

82:                                               ; preds = %75, %65
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %17, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %18, align 4
  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 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %94

86:                                               ; preds = %31
  br label %87

87:                                               ; preds = %86
  %88 = load i32, ptr %10, align 4, !tbaa !9
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %10, align 4, !tbaa !9
  br label %19, !llvm.loop !31

90:                                               ; preds = %23
  store i1 true, ptr %9, align 1
  store i32 1, ptr %11, align 4
  %91 = load i1, ptr %9, align 1
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %93

93:                                               ; preds = %92, %90
  ret void

94:                                               ; preds = %82
  %95 = load ptr, ptr %17, align 8
  %96 = load i32, ptr %18, align 4
  %97 = insertvalue { ptr, i32 } poison, ptr %95, 0
  %98 = insertvalue { ptr, i32 } %97, i32 %96, 1
  resume { ptr, i32 } %98
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

declare double @mju_Halton(i32 noundef, i32 noundef) #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 = !{!"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 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTS8mjModel_", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !15, i64 304, !15, i64 312, !16, i64 320, !17, i64 624, !25, i64 1248, !6, i64 1304, !6, i64 1312, !6, i64 1320, !6, i64 1328, !6, i64 1336, !6, i64 1344, !6, i64 1352, !6, i64 1360, !6, i64 1368, !6, i64 1376, !6, i64 1384, !6, i64 1392, !6, i64 1400, !6, i64 1408, !6, i64 1416, !6, i64 1424, !6, i64 1432, !6, i64 1440, !6, i64 1448, !6, i64 1456, !6, i64 1464, !6, i64 1472, !6, i64 1480, !6, i64 1488, !6, i64 1496, !6, i64 1504, !6, i64 1512, !6, i64 1520, !6, i64 1528, !6, i64 1536, !6, i64 1544, !6, i64 1552, !6, i64 1560, !6, i64 1568, !6, i64 1576, !6, i64 1584, !6, i64 1592, !6, i64 1600, !6, i64 1608, !6, i64 1616, !6, i64 1624, !6, i64 1632, !6, i64 1640, !6, i64 1648, !6, i64 1656, !6, i64 1664, !6, i64 1672, !6, i64 1680, !6, i64 1688, !6, i64 1696, !6, i64 1704, !6, i64 1712, !6, i64 1720, !6, i64 1728, !6, i64 1736, !6, i64 1744, !6, i64 1752, !6, i64 1760, !6, i64 1768, !6, i64 1776, !6, i64 1784, !6, i64 1792, !6, i64 1800, !6, i64 1808, !6, i64 1816, !6, i64 1824, !6, i64 1832, !6, i64 1840, !6, i64 1848, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !6, i64 1904, !6, i64 1912, !6, i64 1920, !6, i64 1928, !6, i64 1936, !6, i64 1944, !6, i64 1952, !6, i64 1960, !6, i64 1968, !6, i64 1976, !6, i64 1984, !6, i64 1992, !6, i64 2000, !6, i64 2008, !6, i64 2016, !6, i64 2024, !6, i64 2032, !6, i64 2040, !6, i64 2048, !6, i64 2056, !6, i64 2064, !6, i64 2072, !6, i64 2080, !6, i64 2088, !6, i64 2096, !6, i64 2104, !6, i64 2112, !6, i64 2120, !6, i64 2128, !6, i64 2136, !6, i64 2144, !6, i64 2152, !6, i64 2160, !6, i64 2168, !6, i64 2176, !6, i64 2184, !6, i64 2192, !6, i64 2200, !6, i64 2208, !6, i64 2216, !6, i64 2224, !6, i64 2232, !6, i64 2240, !6, i64 2248, !6, i64 2256, !6, i64 2264, !6, i64 2272, !6, i64 2280, !6, i64 2288, !6, i64 2296, !6, i64 2304, !6, i64 2312, !6, i64 2320, !6, i64 2328, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !6, i64 2376, !6, i64 2384, !6, i64 2392, !6, i64 2400, !6, i64 2408, !6, i64 2416, !6, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !6, i64 2512, !6, i64 2520, !6, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, i64 2560, !6, i64 2568, !6, i64 2576, !6, i64 2584, !6, i64 2592, !6, i64 2600, !6, i64 2608, !6, i64 2616, !6, i64 2624, !6, i64 2632, !6, i64 2640, !6, i64 2648, !6, i64 2656, !6, i64 2664, !6, i64 2672, !6, i64 2680, !6, i64 2688, !6, i64 2696, !6, i64 2704, !6, i64 2712, !6, i64 2720, !6, i64 2728, !6, i64 2736, !6, i64 2744, !6, i64 2752, !6, i64 2760, !6, i64 2768, !6, i64 2776, !6, i64 2784, !6, i64 2792, !6, i64 2800, !6, i64 2808, !6, i64 2816, !6, i64 2824, !6, i64 2832, !6, i64 2840, !6, i64 2848, !6, i64 2856, !6, i64 2864, !6, i64 2872, !6, i64 2880, !6, i64 2888, !6, i64 2896, !6, i64 2904, !6, i64 2912, !6, i64 2920, !6, i64 2928, !6, i64 2936, !6, i64 2944, !6, i64 2952, !6, i64 2960, !6, i64 2968, !6, i64 2976, !6, i64 2984, !6, i64 2992, !6, i64 3000, !6, i64 3008, !6, i64 3016, !6, i64 3024, !6, i64 3032, !6, i64 3040, !6, i64 3048, !6, i64 3056, !6, i64 3064, !6, i64 3072, !6, i64 3080, !6, i64 3088, !6, i64 3096, !6, i64 3104, !6, i64 3112, !6, i64 3120, !6, i64 3128, !6, i64 3136, !6, i64 3144, !6, i64 3152, !6, i64 3160, !6, i64 3168, !6, i64 3176, !6, i64 3184, !6, i64 3192, !6, i64 3200, !6, i64 3208, !6, i64 3216, !6, i64 3224, !6, i64 3232, !6, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !6, i64 3272, !6, i64 3280, !6, i64 3288, !6, i64 3296, !6, i64 3304, !6, i64 3312, !6, i64 3320, !6, i64 3328, !6, i64 3336, !6, i64 3344, !6, i64 3352, !6, i64 3360, !6, i64 3368, !6, i64 3376, !6, i64 3384, !6, i64 3392, !6, i64 3400, !6, i64 3408, !6, i64 3416, !6, i64 3424, !6, i64 3432, !6, i64 3440, !6, i64 3448, !6, i64 3456, !6, i64 3464, !6, i64 3472, !6, i64 3480, !6, i64 3488, !6, i64 3496, !6, i64 3504, !6, i64 3512, !6, i64 3520, !6, i64 3528, !6, i64 3536, !6, i64 3544, !6, i64 3552, !6, i64 3560, !6, i64 3568, !6, i64 3576, !6, i64 3584, !6, i64 3592, !6, i64 3600, !6, i64 3608, !6, i64 3616, !6, i64 3624, !6, i64 3632, !6, i64 3640, !6, i64 3648, !6, i64 3656, !6, i64 3664, !6, i64 3672, !6, i64 3680, !6, i64 3688, !6, i64 3696, !6, i64 3704, !6, i64 3712, !6, i64 3720, !6, i64 3728, !6, i64 3736, !6, i64 3744, !6, i64 3752, !6, i64 3760, !6, i64 3768, !6, i64 3776, !6, i64 3784, !6, i64 3792, !6, i64 3800, !6, i64 3808, !6, i64 3816, !6, i64 3824, !6, i64 3832, !6, i64 3840, !6, i64 3848, !6, i64 3856, !6, i64 3864, !6, i64 3872, !6, i64 3880, !6, i64 3888, !6, i64 3896, !6, i64 3904, !6, i64 3912, !6, i64 3920, !6, i64 3928, !6, i64 3936, !6, i64 3944, !6, i64 3952, !6, i64 3960, !6, i64 3968, !6, i64 3976, !6, i64 3984, !6, i64 3992, !6, i64 4000, !6, i64 4008, !6, i64 4016, !6, i64 4024, !6, i64 4032, !6, i64 4040, !6, i64 4048, !6, i64 4056, !6, i64 4064, !6, i64 4072, !6, i64 4080, !6, i64 4088, !6, i64 4096, !6, i64 4104, !6, i64 4112, !6, i64 4120, !6, i64 4128, !6, i64 4136, !6, i64 4144, !6, i64 4152, !6, i64 4160, !6, i64 4168, !6, i64 4176, !6, i64 4184, !6, i64 4192, !6, i64 4200, !6, i64 4208, !6, i64 4216, !6, i64 4224, !6, i64 4232, !6, i64 4240, !6, i64 4248, !6, i64 4256, !6, i64 4264, !6, i64 4272, !6, i64 4280, !6, i64 4288, !6, i64 4296, !6, i64 4304, !6, i64 4312}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTS9mjOption_", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !7, i64 56, !7, i64 80, !7, i64 104, !12, i64 128, !12, i64 136, !12, i64 144, !7, i64 152, !7, i64 168, !7, i64 208, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296}
!17 = !{!"_ZTS9mjVisual_", !18, i64 0, !20, i64 44, !21, i64 64, !22, i64 104, !23, i64 156, !24, i64 224}
!18 = !{!"_ZTSN9mjVisual_Ut_E", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTSN9mjVisual_Ut0_E", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16}
!21 = !{!"_ZTSN9mjVisual_Ut1_E", !7, i64 0, !7, i64 12, !7, i64 24, !10, i64 36}
!22 = !{!"_ZTSN9mjVisual_Ut2_E", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !19, i64 48}
!23 = !{!"_ZTSN9mjVisual_Ut3_E", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !19, i64 48, !19, i64 52, !19, i64 56, !19, i64 60, !19, i64 64}
!24 = !{!"_ZTSN9mjVisual_Ut4_E", !7, i64 0, !7, i64 16, !7, i64 32, !7, i64 48, !7, i64 64, !7, i64 80, !7, i64 96, !7, i64 112, !7, i64 128, !7, i64 144, !7, i64 160, !7, i64 176, !7, i64 192, !7, i64 208, !7, i64 224, !7, i64 240, !7, i64 256, !7, i64 272, !7, i64 288, !7, i64 304, !7, i64 320, !7, i64 336, !7, i64 352, !7, i64 368, !7, i64 384}
!25 = !{!"_ZTS12mjStatistic_", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !7, i64 32}
!26 = !{!14, !6, i64 3744}
!27 = !{!14, !6, i64 3688}
!28 = !{!7, !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9CtrlNoisePK8mjModel_id(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr nocapture noundef readonly %1, i32 noundef %2, double noundef %3) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca double, align 8
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %6 = icmp sgt i32 %2, 0
  br i1 %6, label %.preheader.lr.ph, label %._crit_edge27

.preheader.lr.ph:                                 ; preds = %4
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = getelementptr inbounds i8, ptr %1, i64 3688
  %9 = getelementptr inbounds i8, ptr %1, i64 3744
  %10 = load i32, ptr %7, align 8, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.preheader, label %._crit_edge27

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge
  %12 = phi i32 [ %14, %._crit_edge ], [ %10, %.preheader.lr.ph ]
  %.026 = phi i32 [ %15, %._crit_edge ], [ 0, %.preheader.lr.ph ]
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %37, %.preheader
  %14 = phi i32 [ %12, %.preheader ], [ %38, %37 ]
  %15 = add nuw nsw i32 %.026, 1
  %exitcond.not = icmp eq i32 %15, %2
  br i1 %exitcond.not, label %._crit_edge27, label %.preheader, !llvm.loop !23

.lr.ph:                                           ; preds = %.preheader, %37
  %indvars.iv = phi i64 [ %indvars.iv.next, %37 ], [ 0, %.preheader ]
  %16 = load ptr, ptr %8, align 8, !tbaa !26
  %17 = getelementptr inbounds i8, ptr %16, i64 %indvars.iv
  %18 = load i8, ptr %17, align 1, !tbaa !27
  %.not = icmp eq i8 %18, 0
  br i1 %.not, label %29, label %19

19:                                               ; preds = %.lr.ph
  %20 = load ptr, ptr %9, align 8, !tbaa !28
  %.idx = shl nsw i64 %indvars.iv, 4
  %21 = getelementptr inbounds i8, ptr %20, i64 %.idx
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = load double, ptr %22, align 8, !tbaa !29
  %24 = load double, ptr %21, align 8, !tbaa !29
  %25 = fadd double %23, %24
  %26 = fmul double %25, 5.000000e-01
  %27 = fsub double %23, %24
  %28 = fmul double %27, 5.000000e-01
  br label %29

29:                                               ; preds = %19, %.lr.ph
  %.023 = phi double [ %26, %19 ], [ 0.000000e+00, %.lr.ph ]
  %.022 = phi double [ %28, %19 ], [ 1.000000e+00, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %30 = trunc i64 %indvars.iv to i32
  %31 = add i32 %30, 2
  %32 = invoke double @mju_Halton(i32 noundef %.026, i32 noundef %31)
          to label %33 unwind label %41

33:                                               ; preds = %29
  %34 = fmul double %.022, %3
  %35 = call double @llvm.fmuladd.f64(double %32, double 2.000000e+00, double -1.000000e+00)
  %36 = call double @llvm.fmuladd.f64(double %34, double %35, double %.023)
  store double %36, ptr %5, align 8, !tbaa !29
  invoke void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %37 unwind label %41

37:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %38 = load i32, ptr %7, align 8, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = icmp slt i64 %indvars.iv.next, %39
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !30

41:                                               ; preds = %33, %29
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %42

._crit_edge27:                                    ; preds = %._crit_edge, %.preheader.lr.ph, %4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

declare double @mju_Halton(i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 = { mustprogress 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, !7, i64 8}
!6 = !{!"_ZTS8mjModel_", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !10, i64 304, !10, i64 312, !11, i64 320, !13, i64 624, !21, i64 1248, !22, i64 1304, !22, i64 1312, !22, i64 1320, !22, i64 1328, !22, i64 1336, !22, i64 1344, !22, i64 1352, !22, i64 1360, !22, i64 1368, !22, i64 1376, !22, i64 1384, !22, i64 1392, !22, i64 1400, !22, i64 1408, !22, i64 1416, !22, i64 1424, !22, i64 1432, !22, i64 1440, !22, i64 1448, !22, i64 1456, !22, i64 1464, !22, i64 1472, !22, i64 1480, !22, i64 1488, !22, i64 1496, !22, i64 1504, !22, i64 1512, !22, i64 1520, !22, i64 1528, !22, i64 1536, !22, i64 1544, !22, i64 1552, !22, i64 1560, !22, i64 1568, !22, i64 1576, !22, i64 1584, !22, i64 1592, !22, i64 1600, !22, i64 1608, !22, i64 1616, !22, i64 1624, !22, i64 1632, !22, i64 1640, !22, i64 1648, !22, i64 1656, !22, i64 1664, !22, i64 1672, !22, i64 1680, !22, i64 1688, !22, i64 1696, !22, i64 1704, !22, i64 1712, !22, i64 1720, !22, i64 1728, !22, i64 1736, !22, i64 1744, !22, i64 1752, !22, i64 1760, !22, i64 1768, !22, i64 1776, !22, i64 1784, !22, i64 1792, !22, i64 1800, !22, i64 1808, !22, i64 1816, !22, i64 1824, !22, i64 1832, !22, i64 1840, !22, i64 1848, !22, i64 1856, !22, i64 1864, !22, i64 1872, !22, i64 1880, !22, i64 1888, !22, i64 1896, !22, i64 1904, !22, i64 1912, !22, i64 1920, !22, i64 1928, !22, i64 1936, !22, i64 1944, !22, i64 1952, !22, i64 1960, !22, i64 1968, !22, i64 1976, !22, i64 1984, !22, i64 1992, !22, i64 2000, !22, i64 2008, !22, i64 2016, !22, i64 2024, !22, i64 2032, !22, i64 2040, !22, i64 2048, !22, i64 2056, !22, i64 2064, !22, i64 2072, !22, i64 2080, !22, i64 2088, !22, i64 2096, !22, i64 2104, !22, i64 2112, !22, i64 2120, !22, i64 2128, !22, i64 2136, !22, i64 2144, !22, i64 2152, !22, i64 2160, !22, i64 2168, !22, i64 2176, !22, i64 2184, !22, i64 2192, !22, i64 2200, !22, i64 2208, !22, i64 2216, !22, i64 2224, !22, i64 2232, !22, i64 2240, !22, i64 2248, !22, i64 2256, !22, i64 2264, !22, i64 2272, !22, i64 2280, !22, i64 2288, !22, i64 2296, !22, i64 2304, !22, i64 2312, !22, i64 2320, !22, i64 2328, !22, i64 2336, !22, i64 2344, !22, i64 2352, !22, i64 2360, !22, i64 2368, !22, i64 2376, !22, i64 2384, !22, i64 2392, !22, i64 2400, !22, i64 2408, !22, i64 2416, !22, i64 2424, !22, i64 2432, !22, i64 2440, !22, i64 2448, !22, i64 2456, !22, i64 2464, !22, i64 2472, !22, i64 2480, !22, i64 2488, !22, i64 2496, !22, i64 2504, !22, i64 2512, !22, i64 2520, !22, i64 2528, !22, i64 2536, !22, i64 2544, !22, i64 2552, !22, i64 2560, !22, i64 2568, !22, i64 2576, !22, i64 2584, !22, i64 2592, !22, i64 2600, !22, i64 2608, !22, i64 2616, !22, i64 2624, !22, i64 2632, !22, i64 2640, !22, i64 2648, !22, i64 2656, !22, i64 2664, !22, i64 2672, !22, i64 2680, !22, i64 2688, !22, i64 2696, !22, i64 2704, !22, i64 2712, !22, i64 2720, !22, i64 2728, !22, i64 2736, !22, i64 2744, !22, i64 2752, !22, i64 2760, !22, i64 2768, !22, i64 2776, !22, i64 2784, !22, i64 2792, !22, i64 2800, !22, i64 2808, !22, i64 2816, !22, i64 2824, !22, i64 2832, !22, i64 2840, !22, i64 2848, !22, i64 2856, !22, i64 2864, !22, i64 2872, !22, i64 2880, !22, i64 2888, !22, i64 2896, !22, i64 2904, !22, i64 2912, !22, i64 2920, !22, i64 2928, !22, i64 2936, !22, i64 2944, !22, i64 2952, !22, i64 2960, !22, i64 2968, !22, i64 2976, !22, i64 2984, !22, i64 2992, !22, i64 3000, !22, i64 3008, !22, i64 3016, !22, i64 3024, !22, i64 3032, !22, i64 3040, !22, i64 3048, !22, i64 3056, !22, i64 3064, !22, i64 3072, !22, i64 3080, !22, i64 3088, !22, i64 3096, !22, i64 3104, !22, i64 3112, !22, i64 3120, !22, i64 3128, !22, i64 3136, !22, i64 3144, !22, i64 3152, !22, i64 3160, !22, i64 3168, !22, i64 3176, !22, i64 3184, !22, i64 3192, !22, i64 3200, !22, i64 3208, !22, i64 3216, !22, i64 3224, !22, i64 3232, !22, i64 3240, !22, i64 3248, !22, i64 3256, !22, i64 3264, !22, i64 3272, !22, i64 3280, !22, i64 3288, !22, i64 3296, !22, i64 3304, !22, i64 3312, !22, i64 3320, !22, i64 3328, !22, i64 3336, !22, i64 3344, !22, i64 3352, !22, i64 3360, !22, i64 3368, !22, i64 3376, !22, i64 3384, !22, i64 3392, !22, i64 3400, !22, i64 3408, !22, i64 3416, !22, i64 3424, !22, i64 3432, !22, i64 3440, !22, i64 3448, !22, i64 3456, !22, i64 3464, !22, i64 3472, !22, i64 3480, !22, i64 3488, !22, i64 3496, !22, i64 3504, !22, i64 3512, !22, i64 3520, !22, i64 3528, !22, i64 3536, !22, i64 3544, !22, i64 3552, !22, i64 3560, !22, i64 3568, !22, i64 3576, !22, i64 3584, !22, i64 3592, !22, i64 3600, !22, i64 3608, !22, i64 3616, !22, i64 3624, !22, i64 3632, !22, i64 3640, !22, i64 3648, !22, i64 3656, !22, i64 3664, !22, i64 3672, !22, i64 3680, !22, i64 3688, !22, i64 3696, !22, i64 3704, !22, i64 3712, !22, i64 3720, !22, i64 3728, !22, i64 3736, !22, i64 3744, !22, i64 3752, !22, i64 3760, !22, i64 3768, !22, i64 3776, !22, i64 3784, !22, i64 3792, !22, i64 3800, !22, i64 3808, !22, i64 3816, !22, i64 3824, !22, i64 3832, !22, i64 3840, !22, i64 3848, !22, i64 3856, !22, i64 3864, !22, i64 3872, !22, i64 3880, !22, i64 3888, !22, i64 3896, !22, i64 3904, !22, i64 3912, !22, i64 3920, !22, i64 3928, !22, i64 3936, !22, i64 3944, !22, i64 3952, !22, i64 3960, !22, i64 3968, !22, i64 3976, !22, i64 3984, !22, i64 3992, !22, i64 4000, !22, i64 4008, !22, i64 4016, !22, i64 4024, !22, i64 4032, !22, i64 4040, !22, i64 4048, !22, i64 4056, !22, i64 4064, !22, i64 4072, !22, i64 4080, !22, i64 4088, !22, i64 4096, !22, i64 4104, !22, i64 4112, !22, i64 4120, !22, i64 4128, !22, i64 4136, !22, i64 4144, !22, i64 4152, !22, i64 4160, !22, i64 4168, !22, i64 4176, !22, i64 4184, !22, i64 4192, !22, i64 4200, !22, i64 4208, !22, i64 4216, !22, i64 4224, !22, i64 4232, !22, i64 4240, !22, i64 4248, !22, i64 4256, !22, i64 4264, !22, i64 4272, !22, i64 4280, !22, i64 4288, !22, i64 4296, !22, i64 4304, !22, i64 4312}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTS9mjOption_", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !8, i64 56, !8, i64 80, !8, i64 104, !12, i64 128, !12, i64 136, !12, i64 144, !8, i64 152, !8, i64 168, !8, i64 208, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTS9mjVisual_", !14, i64 0, !16, i64 44, !17, i64 64, !18, i64 104, !19, i64 156, !20, i64 224}
!14 = !{!"_ZTSN9mjVisual_Ut_E", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40}
!15 = !{!"float", !8, i64 0}
!16 = !{!"_ZTSN9mjVisual_Ut0_E", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!17 = !{!"_ZTSN9mjVisual_Ut1_E", !8, i64 0, !8, i64 12, !8, i64 24, !7, i64 36}
!18 = !{!"_ZTSN9mjVisual_Ut2_E", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48}
!19 = !{!"_ZTSN9mjVisual_Ut3_E", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64}
!20 = !{!"_ZTSN9mjVisual_Ut4_E", !8, i64 0, !8, i64 16, !8, i64 32, !8, i64 48, !8, i64 64, !8, i64 80, !8, i64 96, !8, i64 112, !8, i64 128, !8, i64 144, !8, i64 160, !8, i64 176, !8, i64 192, !8, i64 208, !8, i64 224, !8, i64 240, !8, i64 256, !8, i64 272, !8, i64 288, !8, i64 304, !8, i64 320, !8, i64 336, !8, i64 352, !8, i64 368, !8, i64 384}
!21 = !{!"_ZTS12mjStatistic_", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !8, i64 32}
!22 = !{!"any pointer", !8, i64 0}
!23 = distinct !{!23, !24, !25}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.unswitch.partial.disable"}
!26 = !{!6, !22, i64 3688}
!27 = !{!8, !8, i64 0}
!28 = !{!6, !22, i64 3744}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !24}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass