; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Constraints (PoweredSliderConstraintTest)

; 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::basic_string_view" = type { i64, ptr }
%"class.JPH::Array.31" = type { i64, i64, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.36 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.36 = type { i64, [8 x i8] }
%"class.JPH::STLAllocator.34" = type { i8 }
%"class.JPH::STLAllocator.32" = type { i8 }
%"class.std::function.29" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.37 = type { ptr }
%"class.std::function.38" = type { %"class.std::_Function_base", ptr }
%class.anon.41 = type { ptr }
%class.anon.42 = type { ptr }
%class.anon.43 = type { i8 }
%class.anon.45 = type { i8 }
%class.anon.47 = type { i8 }
%class.anon.49 = type { i8 }
%class.PoweredSliderConstraintTest = type { %class.Test, ptr, ptr }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

@_ZN27PoweredSliderConstraintTest21sMaxMotorAccelerationE = external dso_local global float, align 4
@_ZN27PoweredSliderConstraintTest10sFrequencyE = external dso_local global float, align 4
@_ZN27PoweredSliderConstraintTest8sDampingE = external dso_local global float, align 4
@_ZN27PoweredSliderConstraintTest24sMaxFrictionAccelerationE = external dso_local global float, align 4
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElement(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = alloca %"class.JPH::Array.31", align 8
  %9 = alloca %"class.std::initializer_list", align 8
  %10 = alloca [3 x %"class.std::__cxx11::basic_string"], align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.JPH::STLAllocator.34", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.JPH::STLAllocator.34", align 1
  %16 = alloca %"class.JPH::STLAllocator.34", align 1
  %17 = alloca i1, align 1
  %18 = alloca %"class.JPH::STLAllocator.32", align 1
  %19 = alloca %"class.std::function.29", align 8
  %20 = alloca %class.anon.37, align 8
  %21 = alloca %"class.std::basic_string_view", align 8
  %22 = alloca %"class.std::function.38", align 8
  %23 = alloca %class.anon.41, align 8
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca %"class.std::function.38", align 8
  %26 = alloca %class.anon.42, align 8
  %27 = alloca %"class.std::basic_string_view", align 8
  %28 = alloca %"class.std::function.38", align 8
  %29 = alloca %class.anon.43, align 1
  %30 = alloca %"class.std::basic_string_view", align 8
  %31 = alloca %"class.std::function.38", align 8
  %32 = alloca %class.anon.45, align 1
  %33 = alloca %"class.std::basic_string_view", align 8
  %34 = alloca %"class.std::function.38", align 8
  %35 = alloca %class.anon.47, align 1
  %36 = alloca %"class.std::basic_string_view", align 8
  %37 = alloca %"class.std::function.38", align 8
  %38 = alloca %class.anon.49, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str.1) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #6
  store i1 true, ptr %17, align 1
  store ptr %10, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %42 unwind label %104

42:                                               ; preds = %3
  %43 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %10, i64 1
  store ptr %43, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %44 unwind label %108

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %10, i64 2
  store ptr %45, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %46 unwind label %112

46:                                               ; preds = %44
  store i1 false, ptr %17, align 1
  %47 = getelementptr inbounds %"class.std::initializer_list", ptr %9, i32 0, i32 0
  store ptr %10, ptr %47, align 8, !tbaa !9
  %48 = getelementptr inbounds %"class.std::initializer_list", ptr %9, i32 0, i32 1
  store i64 3, ptr %48, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %49 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8
  %51 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %52 = load i64, ptr %51, align 8
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %50, i64 %52, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %53 unwind label %116

53:                                               ; preds = %46
  %54 = getelementptr inbounds %class.PoweredSliderConstraintTest, ptr %39, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !13
  %56 = invoke noundef i32 @_ZNK3JPH16SliderConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832) %55)
          to label %57 unwind label %120

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %58 = getelementptr inbounds %class.anon.37, ptr %20, i32 0, i32 0
  store ptr %39, ptr %58, align 8, !tbaa !22
  call void @"_ZNSt8functionIFviEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  %59 = invoke noundef ptr @_ZN7DebugUI14CreateComboBoxEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEERKN3JPH5ArrayINSt7__cxx1112basic_stringIcS4_NS8_12STLAllocatorIcEEEENSC_ISE_EEEEiSt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef %41, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %56, ptr noundef %19)
          to label %60 unwind label %124

60:                                               ; preds = %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  %61 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %10, i32 0, i32 0
  %62 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %61, i64 3
  br label %63

63:                                               ; preds = %63, %60
  %64 = phi ptr [ %62, %60 ], [ %65, %63 ]
  %65 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %64, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #6
  %66 = icmp eq ptr %65, %61
  br i1 %66, label %67, label %63

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef @.str.5) #6
  %70 = getelementptr inbounds %class.PoweredSliderConstraintTest, ptr %39, i32 0, i32 2
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %72 = call noundef float @_ZNK3JPH16SliderConstraint17GetTargetVelocityEv(ptr noundef nonnull align 16 dereferenceable(832) %71)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %73 = getelementptr inbounds %class.anon.41, ptr %23, i32 0, i32 0
  store ptr %39, ptr %73, align 8, !tbaa !24
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %74 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef %69, ptr noundef nonnull align 8 dereferenceable(16) %21, float noundef %72, float noundef -1.000000e+01, float noundef 1.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef %22)
          to label %75 unwind label %150

75:                                               ; preds = %67
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef @.str.6) #6
  %78 = getelementptr inbounds %class.PoweredSliderConstraintTest, ptr %39, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !13
  %80 = call noundef float @_ZNK3JPH16SliderConstraint17GetTargetPositionEv(ptr noundef nonnull align 16 dereferenceable(832) %79)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %81 = getelementptr inbounds %class.anon.42, ptr %26, i32 0, i32 0
  store ptr %39, ptr %81, align 8, !tbaa !26
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %82 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef %77, ptr noundef nonnull align 8 dereferenceable(16) %24, float noundef %80, float noundef -5.000000e+00, float noundef 2.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef %25)
          to label %83 unwind label %154

83:                                               ; preds = %75
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str.7) #6
  %86 = load float, ptr @_ZN27PoweredSliderConstraintTest21sMaxMotorAccelerationE, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  %87 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef %85, ptr noundef nonnull align 8 dereferenceable(16) %27, float noundef %86, float noundef 0.000000e+00, float noundef 2.500000e+02, float noundef 1.000000e+00, ptr noundef %28)
          to label %88 unwind label %158

88:                                               ; preds = %83
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef @.str.8) #6
  %91 = load float, ptr @_ZN27PoweredSliderConstraintTest10sFrequencyE, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  %92 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef %90, ptr noundef nonnull align 8 dereferenceable(16) %30, float noundef %91, float noundef 0.000000e+00, float noundef 2.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef %31)
          to label %93 unwind label %162

93:                                               ; preds = %88
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef @.str.9) #6
  %96 = load float, ptr @_ZN27PoweredSliderConstraintTest8sDampingE, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  %97 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef %95, ptr noundef nonnull align 8 dereferenceable(16) %33, float noundef %96, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0x3F847AE140000000, ptr noundef %34)
          to label %98 unwind label %166

98:                                               ; preds = %93
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef @.str.10) #6
  %101 = load float, ptr @_ZN27PoweredSliderConstraintTest24sMaxFrictionAccelerationE, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  %102 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef %100, ptr noundef nonnull align 8 dereferenceable(16) %36, float noundef %101, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef %37)
          to label %103 unwind label %170

103:                                              ; preds = %98
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  ret void

104:                                              ; preds = %3
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %13, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %14, align 4
  br label %139

108:                                              ; preds = %42
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %13, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %14, align 4
  br label %138

112:                                              ; preds = %44
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %13, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %14, align 4
  br label %137

116:                                              ; preds = %46
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %13, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %14, align 4
  br label %129

120:                                              ; preds = %53
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %13, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %14, align 4
  br label %128

124:                                              ; preds = %57
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %13, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %128

128:                                              ; preds = %124, %120
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %129

129:                                              ; preds = %128, %116
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  %130 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %10, i32 0, i32 0
  %131 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %130, i64 3
  br label %132

132:                                              ; preds = %132, %129
  %133 = phi ptr [ %131, %129 ], [ %134, %132 ]
  %134 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %133, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %134) #6
  %135 = icmp eq ptr %134, %130
  br i1 %135, label %136, label %132

136:                                              ; preds = %132
  br label %137

137:                                              ; preds = %136, %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %138

138:                                              ; preds = %137, %108
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %139

139:                                              ; preds = %138, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  %140 = load i1, ptr %17, align 1
  br i1 %140, label %141, label %149

141:                                              ; preds = %139
  %142 = load ptr, ptr %11, align 8
  %143 = icmp eq ptr %10, %142
  br i1 %143, label %148, label %144

144:                                              ; preds = %144, %141
  %145 = phi ptr [ %142, %141 ], [ %146, %144 ]
  %146 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %145, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %146) #6
  %147 = icmp eq ptr %146, %10
  br i1 %147, label %148, label %144

148:                                              ; preds = %144, %141
  br label %149

149:                                              ; preds = %148, %139
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %174

150:                                              ; preds = %67
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %13, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %174

154:                                              ; preds = %75
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %13, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %174

158:                                              ; preds = %83
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %13, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  br label %174

162:                                              ; preds = %88
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %13, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  br label %174

166:                                              ; preds = %93
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %13, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  br label %174

170:                                              ; preds = %98
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %13, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  br label %174

174:                                              ; preds = %170, %166, %162, %158, %154, %150, %149
  %175 = load ptr, ptr %13, align 8
  %176 = load i32, ptr %14, align 4
  %177 = insertvalue { ptr, i32 } poison, ptr %175, 0
  %178 = insertvalue { ptr, i32 } %177, i32 %176, 1
  resume { ptr, i32 } %178
}

declare noundef ptr @_ZN7DebugUI14CreateComboBoxEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEERKN3JPH5ArrayINSt7__cxx1112basic_stringIcS4_NS8_12STLAllocatorIcEEEENSC_ISE_EEEEiSt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3JPH16SliderConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFviEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

declare noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), float noundef, float noundef, float noundef, float noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH16SliderConstraint17GetTargetVelocityEv(ptr noundef nonnull align 16 dereferenceable(832)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH16SliderConstraint17GetTargetPositionEv(ptr noundef nonnull align 16 dereferenceable(832)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { "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 = { 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 = { inlinehint 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 #5 = { 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 #6 = { 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, !6, i64 0}
!10 = !{!"_ZTSSt16initializer_listINSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEEE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 120}
!14 = !{!"_ZTS27PoweredSliderConstraintTest", !15, i64 0, !6, i64 112, !6, i64 120}
!15 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !16, i64 48, !17, i64 56}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !18, i64 0}
!18 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !11, i64 8, !19, i64 16, !11, i64 24, !20, i64 32, !6, i64 48}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !21, i64 0, !11, i64 8}
!21 = !{!"float", !7, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0", !6, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1", !6, i64 0}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2", !6, i64 0}
!28 = !{!21, !21, 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"

%"class.std::basic_string_view" = type { i64, ptr }
%"class.JPH::Array.31" = type { i64, i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.36 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.36 = type { i64, [8 x i8] }
%"class.JPH::STLAllocator.34" = type { i8 }
%"class.JPH::STLAllocator.32" = type { i8 }
%"class.std::function.29" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.37 = type { ptr }
%"class.std::function.38" = type { %"class.std::_Function_base", ptr }
%class.anon.41 = type { ptr }
%class.anon.42 = type { ptr }
%class.anon.43 = type { i8 }
%class.anon.45 = type { i8 }
%class.anon.47 = type { i8 }
%class.anon.49 = type { i8 }

@_ZN27PoweredSliderConstraintTest21sMaxMotorAccelerationE = external dso_local local_unnamed_addr global float, align 4
@_ZN27PoweredSliderConstraintTest10sFrequencyE = external dso_local local_unnamed_addr global float, align 4
@_ZN27PoweredSliderConstraintTest8sDampingE = external dso_local local_unnamed_addr global float, align 4
@_ZN27PoweredSliderConstraintTest24sMaxFrictionAccelerationE = external dso_local local_unnamed_addr global float, align 4
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElement(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::basic_string_view", align 8
  %5 = alloca %"class.JPH::Array.31", align 8
  %6 = alloca [3 x %"class.std::__cxx11::basic_string"], align 8
  %7 = alloca %"class.JPH::STLAllocator.34", align 1
  %8 = alloca %"class.JPH::STLAllocator.34", align 1
  %9 = alloca %"class.JPH::STLAllocator.34", align 1
  %10 = alloca %"class.JPH::STLAllocator.32", align 1
  %11 = alloca %"class.std::function.29", align 8
  %12 = alloca %class.anon.37, align 8
  %13 = alloca %"class.std::basic_string_view", align 8
  %14 = alloca %"class.std::function.38", align 8
  %15 = alloca %class.anon.41, align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"class.std::function.38", align 8
  %18 = alloca %class.anon.42, align 8
  %19 = alloca %"class.std::basic_string_view", align 8
  %20 = alloca %"class.std::function.38", align 8
  %21 = alloca %class.anon.43, align 1
  %22 = alloca %"class.std::basic_string_view", align 8
  %23 = alloca %"class.std::function.38", align 8
  %24 = alloca %class.anon.45, align 1
  %25 = alloca %"class.std::basic_string_view", align 8
  %26 = alloca %"class.std::function.38", align 8
  %27 = alloca %class.anon.47, align 1
  %28 = alloca %"class.std::basic_string_view", align 8
  %29 = alloca %"class.std::function.38", align 8
  %30 = alloca %class.anon.49, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef @.str.1) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %31 unwind label %.thread

31:                                               ; preds = %3
  %32 = getelementptr inbounds i8, ptr %6, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %33 unwind label %.thread42

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %6, i64 64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %35 unwind label %72

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %36 unwind label %66

36:                                               ; preds = %35
  %37 = getelementptr inbounds i8, ptr %0, i64 120
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK3JPH16SliderConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832) %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  store ptr %0, ptr %12, align 8, !tbaa !18
  call void @"_ZNSt8functionIFviEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %40 = invoke noundef ptr @_ZN7DebugUI14CreateComboBoxEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEERKN3JPH5ArrayINSt7__cxx1112basic_stringIcS4_NS8_12STLAllocatorIcEEEENSC_ISE_EEEEiSt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %39, ptr noundef nonnull %11)
          to label %41 unwind label %68

41:                                               ; preds = %36
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  %42 = getelementptr inbounds i8, ptr %6, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #6
  %43 = getelementptr inbounds i8, ptr %6, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.5) #6
  %44 = load ptr, ptr %37, align 8, !tbaa !5
  %45 = call noundef float @_ZNK3JPH16SliderConstraint17GetTargetVelocityEv(ptr noundef nonnull align 16 dereferenceable(832) %44)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  store ptr %0, ptr %15, align 8, !tbaa !20
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %46 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %13, float noundef %45, float noundef -1.000000e+01, float noundef 1.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef nonnull %14)
          to label %47 unwind label %77

47:                                               ; preds = %41
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.6) #6
  %48 = load ptr, ptr %37, align 8, !tbaa !5
  %49 = call noundef float @_ZNK3JPH16SliderConstraint17GetTargetPositionEv(ptr noundef nonnull align 16 dereferenceable(832) %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  store ptr %0, ptr %18, align 8, !tbaa !22
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %50 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %16, float noundef %49, float noundef -5.000000e+00, float noundef 2.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef nonnull %17)
          to label %51 unwind label %79

51:                                               ; preds = %47
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.7) #6
  %52 = load float, ptr @_ZN27PoweredSliderConstraintTest21sMaxMotorAccelerationE, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  %53 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %19, float noundef %52, float noundef 0.000000e+00, float noundef 2.500000e+02, float noundef 1.000000e+00, ptr noundef nonnull %20)
          to label %54 unwind label %81

54:                                               ; preds = %51
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str.8) #6
  %55 = load float, ptr @_ZN27PoweredSliderConstraintTest10sFrequencyE, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  %56 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %22, float noundef %55, float noundef 0.000000e+00, float noundef 2.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef nonnull %23)
          to label %57 unwind label %83

57:                                               ; preds = %54
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.9) #6
  %58 = load float, ptr @_ZN27PoweredSliderConstraintTest8sDampingE, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  %59 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %25, float noundef %58, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0x3F847AE140000000, ptr noundef nonnull %26)
          to label %60 unwind label %85

60:                                               ; preds = %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.10) #6
  %61 = load float, ptr @_ZN27PoweredSliderConstraintTest24sMaxFrictionAccelerationE, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #6
  call void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  %62 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %28, float noundef %61, float noundef 0.000000e+00, float noundef 1.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef nonnull %29)
          to label %63 unwind label %87

63:                                               ; preds = %60
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  ret void

.thread:                                          ; preds = %3
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %.loopexit

.thread42:                                        ; preds = %31
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %.preheader.preheader

66:                                               ; preds = %35
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %.thread48

68:                                               ; preds = %36
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %.thread48

.thread48:                                        ; preds = %66, %68
  %.pn = phi { ptr, i32 } [ %69, %68 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  %70 = getelementptr inbounds i8, ptr %6, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #6
  %71 = getelementptr inbounds i8, ptr %6, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %.loopexit

72:                                               ; preds = %33
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %72, %.thread42
  %.pn.pn.pn47 = phi { ptr, i32 } [ %65, %.thread42 ], [ %73, %72 ]
  %.02746 = phi ptr [ %32, %.thread42 ], [ %34, %72 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %74 = phi ptr [ %75, %.preheader ], [ %.02746, %.preheader.preheader ]
  %75 = getelementptr inbounds i8, ptr %74, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #6
  %76 = icmp eq ptr %75, %6
  br i1 %76, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread48, %.thread
  %.pn.pn.pn.pn40 = phi { ptr, i32 } [ %64, %.thread ], [ %.pn, %.thread48 ], [ %.pn.pn.pn47, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %89

77:                                               ; preds = %41
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br label %89

79:                                               ; preds = %47
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  br label %89

81:                                               ; preds = %51
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  br label %89

83:                                               ; preds = %54
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  br label %89

85:                                               ; preds = %57
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #6
  br label %89

87:                                               ; preds = %60
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  br label %89

89:                                               ; preds = %87, %85, %83, %81, %79, %77, %.loopexit
  %.pn34 = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ], [ %84, %83 ], [ %82, %81 ], [ %80, %79 ], [ %78, %77 ], [ %.pn.pn.pn.pn40, %.loopexit ]
  resume { ptr, i32 } %.pn34
}

declare noundef ptr @_ZN7DebugUI14CreateComboBoxEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEERKN3JPH5ArrayINSt7__cxx1112basic_stringIcS4_NS8_12STLAllocatorIcEEEENSC_ISE_EEEEiSt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3JPH16SliderConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFviEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

declare noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), float noundef, float noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH16SliderConstraint17GetTargetVelocityEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH16SliderConstraint17GetTargetPositionEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { "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 = { 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 = { inlinehint 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 #5 = { 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 #6 = { 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, !8, i64 120}
!6 = !{!"_ZTS27PoweredSliderConstraintTest", !7, i64 0, !8, i64 112, !8, i64 120}
!7 = !{!"_ZTS4Test", !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !12, i64 56}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !13, i64 0}
!13 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !8, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !8, i64 48}
!14 = !{!"long", !9, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !8, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !9, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"_ZTSZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0", !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"_ZTSZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1", !8, i64 0}
!22 = !{!23, !8, i64 0}
!23 = !{!"_ZTSZN27PoweredSliderConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2", !8, i64 0}
!24 = !{!17, !17, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass