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

; 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.PoweredHingeConstraintTest = type <{ %class.Test, ptr, float, [4 x i8] }>
%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 }

@_ZN26PoweredHingeConstraintTest23sMaxAngularAccelerationE = external dso_local global float, align 4
@_ZN26PoweredHingeConstraintTest10sFrequencyE = external dso_local global float, align 4
@_ZN26PoweredHingeConstraintTest8sDampingE = external dso_local global float, align 4
@_ZN26PoweredHingeConstraintTest31sMaxFrictionAngularAccelerationE = 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 [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [35 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 [44 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 @_ZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElement(ptr noundef nonnull align 8 dereferenceable(124) %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) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str.1) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #7
  store i1 true, ptr %17, align 1
  store ptr %10, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  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 %108

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) #7
  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 %112

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) #7
  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 %116

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) #7
  %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 %120

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

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %58 = getelementptr inbounds %class.anon.37, ptr %20, i32 0, i32 0
  store ptr %39, ptr %58, align 8, !tbaa !22
  call void @"_ZNSt8functionIFviEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %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 %128

60:                                               ; preds = %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  %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) #7
  %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) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  %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) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef @.str.5) #7
  %70 = getelementptr inbounds %class.PoweredHingeConstraintTest, ptr %39, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %72 = call noundef float @_ZNK3JPH15HingeConstraint24GetTargetAngularVelocityEv(ptr noundef nonnull align 16 dereferenceable(832) %71)
  %73 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %72)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %74 = getelementptr inbounds %class.anon.41, ptr %23, i32 0, i32 0
  store ptr %39, ptr %74, align 8, !tbaa !24
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %75 = 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 %73, float noundef -9.000000e+01, float noundef 9.000000e+01, float noundef 1.000000e+00, ptr noundef %22)
          to label %76 unwind label %154

76:                                               ; preds = %67
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef @.str.6) #7
  %79 = getelementptr inbounds %class.PoweredHingeConstraintTest, ptr %39, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !13
  %81 = call noundef float @_ZNK3JPH15HingeConstraint14GetTargetAngleEv(ptr noundef nonnull align 16 dereferenceable(832) %80)
  %82 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %83 = getelementptr inbounds %class.anon.42, ptr %26, i32 0, i32 0
  store ptr %39, ptr %83, align 8, !tbaa !26
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  %84 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef %78, ptr noundef nonnull align 8 dereferenceable(16) %24, float noundef %82, float noundef -1.800000e+02, float noundef 1.800000e+02, float noundef 1.000000e+00, ptr noundef %25)
          to label %85 unwind label %158

85:                                               ; preds = %76
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str.7) #7
  %88 = load float, ptr @_ZN26PoweredHingeConstraintTest23sMaxAngularAccelerationE, align 4, !tbaa !28
  %89 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %88)
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  %90 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef %87, ptr noundef nonnull align 8 dereferenceable(16) %27, float noundef %89, float noundef 0.000000e+00, float noundef 3.600000e+03, float noundef 1.000000e+01, ptr noundef %28)
          to label %91 unwind label %162

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

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

101:                                              ; preds = %96
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef @.str.10) #7
  %104 = load float, ptr @_ZN26PoweredHingeConstraintTest31sMaxFrictionAngularAccelerationE, align 4, !tbaa !28
  %105 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %104)
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #7
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  %106 = invoke noundef ptr @_ZN7DebugUI12CreateSliderEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEEffffSt8functionIFvfEE(ptr noundef nonnull align 8 dereferenceable(24) %102, ptr noundef %103, ptr noundef nonnull align 8 dereferenceable(16) %36, float noundef %105, float noundef 0.000000e+00, float noundef 9.000000e+01, float noundef 1.000000e+00, ptr noundef %37)
          to label %107 unwind label %174

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

108:                                              ; preds = %3
  %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 %143

112:                                              ; preds = %42
  %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 %142

116:                                              ; preds = %44
  %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 %141

120:                                              ; preds = %46
  %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 %133

124:                                              ; preds = %53
  %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
  br label %132

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

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

133:                                              ; preds = %132, %120
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  %134 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %10, i32 0, i32 0
  %135 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %134, i64 3
  br label %136

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

140:                                              ; preds = %136
  br label %141

141:                                              ; preds = %140, %116
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %142

142:                                              ; preds = %141, %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %143

143:                                              ; preds = %142, %108
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  %144 = load i1, ptr %17, align 1
  br i1 %144, label %145, label %153

145:                                              ; preds = %143
  %146 = load ptr, ptr %11, align 8
  %147 = icmp eq ptr %10, %146
  br i1 %147, label %152, label %148

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

152:                                              ; preds = %148, %145
  br label %153

153:                                              ; preds = %152, %143
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %178

154:                                              ; preds = %67
  %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) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  br label %178

158:                                              ; preds = %76
  %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) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  br label %178

162:                                              ; preds = %85
  %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) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  br label %178

166:                                              ; preds = %91
  %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) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %178

170:                                              ; preds = %96
  %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) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  br label %178

174:                                              ; preds = %101
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %13, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  br label %178

178:                                              ; preds = %174, %170, %166, %162, %158, %154, %153
  %179 = load ptr, ptr %13, align 8
  %180 = load i32, ptr %14, align 4
  %181 = insertvalue { ptr, i32 } poison, ptr %179, 0
  %182 = insertvalue { ptr, i32 } %181, i32 %180, 1
  resume { ptr, i32 } %182
}

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 @_ZNK3JPH15HingeConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFviEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @_ZNK3JPH15HingeConstraint14GetTargetAngleEv(ptr noundef nonnull align 16 dereferenceable(832)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 = { alwaysinline 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 #7 = { 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 112}
!14 = !{!"_ZTS26PoweredHingeConstraintTest", !15, i64 0, !6, i64 112, !21, 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 = !{!"_ZTSZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0", !6, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1", !6, i64 0}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 }

@_ZN26PoweredHingeConstraintTest23sMaxAngularAccelerationE = external dso_local local_unnamed_addr global float, align 4
@_ZN26PoweredHingeConstraintTest10sFrequencyE = external dso_local local_unnamed_addr global float, align 4
@_ZN26PoweredHingeConstraintTest8sDampingE = external dso_local local_unnamed_addr global float, align 4
@_ZN26PoweredHingeConstraintTest31sMaxFrictionAngularAccelerationE = 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 [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [35 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 [44 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 @_ZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElement(ptr noundef nonnull align 8 dereferenceable(124) %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) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef @.str.1) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  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) #7
  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) #7
  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 %76

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  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 %70

36:                                               ; preds = %35
  %37 = getelementptr inbounds i8, ptr %0, i64 112
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK3JPH15HingeConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832) %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store ptr %0, ptr %12, align 8, !tbaa !18
  call void @"_ZNSt8functionIFviEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %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 %72

41:                                               ; preds = %36
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  %42 = getelementptr inbounds i8, ptr %6, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  %43 = getelementptr inbounds i8, ptr %6, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.5) #7
  %44 = load ptr, ptr %37, align 8, !tbaa !5
  %45 = call noundef float @_ZNK3JPH15HingeConstraint24GetTargetAngularVelocityEv(ptr noundef nonnull align 16 dereferenceable(832) %44)
  %46 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %45)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  store ptr %0, ptr %15, align 8, !tbaa !20
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %47 = 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 %46, float noundef -9.000000e+01, float noundef 9.000000e+01, float noundef 1.000000e+00, ptr noundef nonnull %14)
          to label %48 unwind label %81

48:                                               ; preds = %41
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.6) #7
  %49 = load ptr, ptr %37, align 8, !tbaa !5
  %50 = call noundef float @_ZNK3JPH15HingeConstraint14GetTargetAngleEv(ptr noundef nonnull align 16 dereferenceable(832) %49)
  %51 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %50)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store ptr %0, ptr %18, align 8, !tbaa !22
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %52 = 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 %51, float noundef -1.800000e+02, float noundef 1.800000e+02, float noundef 1.000000e+00, ptr noundef nonnull %17)
          to label %53 unwind label %83

53:                                               ; preds = %48
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.7) #7
  %54 = load float, ptr @_ZN26PoweredHingeConstraintTest23sMaxAngularAccelerationE, align 4, !tbaa !24
  %55 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %54)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #7
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  %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) %19, float noundef %55, float noundef 0.000000e+00, float noundef 3.600000e+03, float noundef 1.000000e+01, ptr noundef nonnull %20)
          to label %57 unwind label %85

57:                                               ; preds = %53
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str.8) #7
  %58 = load float, ptr @_ZN26PoweredHingeConstraintTest10sFrequencyE, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #7
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  %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) %22, float noundef %58, float noundef 0.000000e+00, float noundef 2.000000e+01, float noundef 0x3FB99999A0000000, ptr noundef nonnull %23)
          to label %60 unwind label %87

60:                                               ; preds = %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.9) #7
  %61 = load float, ptr @_ZN26PoweredHingeConstraintTest8sDampingE, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #7
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  %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) %25, float noundef %61, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0x3F847AE140000000, ptr noundef nonnull %26)
          to label %63 unwind label %89

63:                                               ; preds = %60
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.10) #7
  %64 = load float, ptr @_ZN26PoweredHingeConstraintTest31sMaxFrictionAngularAccelerationE, align 4, !tbaa !24
  %65 = call noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef %64)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #7
  call void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  %66 = 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 %65, float noundef 0.000000e+00, float noundef 9.000000e+01, float noundef 1.000000e+00, ptr noundef nonnull %29)
          to label %67 unwind label %91

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

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

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

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

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

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

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

.preheader.preheader:                             ; preds = %76, %.thread42
  %.pn.pn.pn47 = phi { ptr, i32 } [ %69, %.thread42 ], [ %77, %76 ]
  %.02746 = phi ptr [ %32, %.thread42 ], [ %34, %76 ]
  br label %.preheader

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

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

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

83:                                               ; preds = %48
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %93

85:                                               ; preds = %53
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  br label %93

87:                                               ; preds = %57
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  br label %93

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

91:                                               ; preds = %63
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #7
  br label %93

93:                                               ; preds = %91, %89, %87, %85, %83, %81, %.loopexit
  %.pn34 = phi { ptr, i32 } [ %92, %91 ], [ %90, %89 ], [ %88, %87 ], [ %86, %85 ], [ %84, %83 ], [ %82, %81 ], [ %.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 @_ZNK3JPH15HingeConstraint13GetMotorStateEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFviEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16RadiansToDegreesEf(float noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @_ZNK3JPH15HingeConstraint14GetTargetAngleEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 @"_ZNSt8functionIFvfEEC2IZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_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 = { alwaysinline 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 #7 = { 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 112}
!6 = !{!"_ZTS26PoweredHingeConstraintTest", !7, i64 0, !8, i64 112, !17, 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 = !{!"_ZTSZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0", !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"_ZTSZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1", !8, i64 0}
!22 = !{!23, !8, i64 0}
!23 = !{!"_ZTSZN26PoweredHingeConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2", !8, i64 0}
!24 = !{!17, !17, i64 0}


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