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

; 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.JPH::Array.32" = 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.37 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.37 = type { i64, [8 x i8] }
%"class.JPH::STLAllocator.35" = type { i8 }
%"class.JPH::STLAllocator.33" = type { i8 }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::function.40" = 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.42 = type { ptr, ptr, %"class.JPH::Array.32", %"class.JPH::Array.32" }
%class.anon.43 = type { ptr, ptr, %"class.JPH::Array.32" }
%class.anon.44 = type { ptr, ptr, %"class.JPH::Array.32", %"class.JPH::Array.32" }

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

48:                                               ; preds = %3
  %49 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %9, i64 1
  store ptr %49, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %50 unwind label %147

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %9, i64 2
  store ptr %51, ptr %10, 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) %51, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %52 unwind label %151

52:                                               ; preds = %50
  %53 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %9, i64 3
  store ptr %53, ptr %10, 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) %53, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %54 unwind label %155

54:                                               ; preds = %52
  %55 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %9, i64 4
  store ptr %55, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %56 unwind label %159

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %9, i64 5
  store ptr %57, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %58 unwind label %163

58:                                               ; preds = %56
  store i1 false, ptr %19, align 1
  %59 = getelementptr inbounds %"class.std::initializer_list", ptr %8, i32 0, i32 0
  store ptr %9, ptr %59, align 8, !tbaa !9
  %60 = getelementptr inbounds %"class.std::initializer_list", ptr %8, i32 0, i32 1
  store i64 6, ptr %60, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %61 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8
  %63 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %64 = load i64, ptr %63, align 8
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr %62, i64 %64, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %65 unwind label %167

65:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  %66 = getelementptr inbounds [6 x %"class.std::__cxx11::basic_string"], ptr %9, i32 0, i32 0
  %67 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %66, i64 6
  br label %68

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

72:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  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 %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 192, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #6
  store i1 true, ptr %28, align 1
  store ptr %23, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %73 unwind label %194

73:                                               ; preds = %72
  %74 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %23, i64 1
  store ptr %74, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %75 unwind label %198

75:                                               ; preds = %73
  %76 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %23, i64 2
  store ptr %76, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %77 unwind label %202

77:                                               ; preds = %75
  store i1 false, ptr %28, align 1
  %78 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 0
  store ptr %23, ptr %78, align 8, !tbaa !9
  %79 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 1
  store i64 3, ptr %79, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  %80 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %83 = load i64, ptr %82, align 8
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr %81, i64 %83, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %84 unwind label %206

84:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  %85 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %23, i32 0, i32 0
  %86 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %85, i64 3
  br label %87

87:                                               ; preds = %87, %84
  %88 = phi ptr [ %86, %84 ], [ %89, %87 ]
  %89 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %88, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #6
  %90 = icmp eq ptr %89, %85
  br i1 %90, label %91, label %87

91:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #6
  store i1 true, ptr %36, align 1
  store ptr %32, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %92 unwind label %230

92:                                               ; preds = %91
  %93 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %32, i64 1
  store ptr %93, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %94 unwind label %234

94:                                               ; preds = %92
  store i1 false, ptr %36, align 1
  %95 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %95, align 8, !tbaa !9
  %96 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 2, ptr %96, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #6
  %97 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8
  %99 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %100 = load i64, ptr %99, align 8
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr %98, i64 %100, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %101 unwind label %238

101:                                              ; preds = %94
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #6
  %102 = getelementptr inbounds [2 x %"class.std::__cxx11::basic_string"], ptr %32, i32 0, i32 0
  %103 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %102, i64 2
  br label %104

104:                                              ; preds = %104, %101
  %105 = phi ptr [ %103, %101 ], [ %106, %104 ]
  %106 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %105, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %106) #6
  %107 = icmp eq ptr %106, %102
  br i1 %107, label %108, label %104

108:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #6
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef @.str.13) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #6
  %111 = getelementptr inbounds %class.anon.42, ptr %40, i32 0, i32 0
  store ptr %47, ptr %111, align 8, !tbaa !13
  %112 = getelementptr inbounds %class.anon.42, ptr %40, i32 0, i32 1
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %113, ptr %112, align 8, !tbaa !16
  %114 = getelementptr inbounds %class.anon.42, ptr %40, i32 0, i32 2
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %115 unwind label %261

115:                                              ; preds = %108
  %116 = getelementptr inbounds %class.anon.42, ptr %40, i32 0, i32 3
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %116, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %117 unwind label %265

117:                                              ; preds = %115
  invoke void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(64) %40)
          to label %118 unwind label %269

118:                                              ; preds = %117
  %119 = invoke noundef ptr @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef %110, ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef %39)
          to label %120 unwind label %273

120:                                              ; preds = %118
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %40) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef @.str.14) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #6
  %123 = getelementptr inbounds %class.anon.43, ptr %43, i32 0, i32 0
  store ptr %47, ptr %123, align 8, !tbaa !17
  %124 = getelementptr inbounds %class.anon.43, ptr %43, i32 0, i32 1
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %125, ptr %124, align 8, !tbaa !19
  %126 = getelementptr inbounds %class.anon.43, ptr %43, i32 0, i32 2
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %126, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %127 unwind label %279

127:                                              ; preds = %120
  invoke void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(40) %43)
          to label %128 unwind label %283

128:                                              ; preds = %127
  %129 = invoke noundef ptr @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24) %121, ptr noundef %122, ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef %42)
          to label %130 unwind label %287

130:                                              ; preds = %128
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #6
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(40) %43) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef @.str.15) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %46) #6
  %133 = getelementptr inbounds %class.anon.44, ptr %46, i32 0, i32 0
  store ptr %47, ptr %133, align 8, !tbaa !20
  %134 = getelementptr inbounds %class.anon.44, ptr %46, i32 0, i32 1
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %135, ptr %134, align 8, !tbaa !22
  %136 = getelementptr inbounds %class.anon.44, ptr %46, i32 0, i32 2
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %136, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %137 unwind label %293

137:                                              ; preds = %130
  %138 = getelementptr inbounds %class.anon.44, ptr %46, i32 0, i32 3
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %138, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %139 unwind label %297

139:                                              ; preds = %137
  invoke void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(64) %46)
          to label %140 unwind label %301

140:                                              ; preds = %139
  %141 = invoke noundef ptr @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef %132, ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef %45)
          to label %142 unwind label %305

142:                                              ; preds = %140
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #6
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %46) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  ret void

143:                                              ; preds = %3
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %12, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %13, align 4
  br label %183

147:                                              ; preds = %48
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %12, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %13, align 4
  br label %182

151:                                              ; preds = %50
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %12, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %13, align 4
  br label %181

155:                                              ; preds = %52
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %12, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %13, align 4
  br label %180

159:                                              ; preds = %54
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %12, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %13, align 4
  br label %179

163:                                              ; preds = %56
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %12, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %13, align 4
  br label %178

167:                                              ; preds = %58
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %12, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  %171 = getelementptr inbounds [6 x %"class.std::__cxx11::basic_string"], ptr %9, i32 0, i32 0
  %172 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %171, i64 6
  br label %173

173:                                              ; preds = %173, %167
  %174 = phi ptr [ %172, %167 ], [ %175, %173 ]
  %175 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %174, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %175) #6
  %176 = icmp eq ptr %175, %171
  br i1 %176, label %177, label %173

177:                                              ; preds = %173
  br label %178

178:                                              ; preds = %177, %163
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %179

179:                                              ; preds = %178, %159
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  br label %180

180:                                              ; preds = %179, %155
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %181

181:                                              ; preds = %180, %151
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %182

182:                                              ; preds = %181, %147
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %183

183:                                              ; preds = %182, %143
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  %184 = load i1, ptr %19, align 1
  br i1 %184, label %185, label %193

185:                                              ; preds = %183
  %186 = load ptr, ptr %10, align 8
  %187 = icmp eq ptr %9, %186
  br i1 %187, label %192, label %188

188:                                              ; preds = %188, %185
  %189 = phi ptr [ %186, %185 ], [ %190, %188 ]
  %190 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %189, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %190) #6
  %191 = icmp eq ptr %190, %9
  br i1 %191, label %192, label %188

192:                                              ; preds = %188, %185
  br label %193

193:                                              ; preds = %192, %183
  call void @llvm.lifetime.end.p0(i64 192, ptr %9) #6
  br label %314

194:                                              ; preds = %72
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %12, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %13, align 4
  br label %219

198:                                              ; preds = %73
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %12, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %13, align 4
  br label %218

202:                                              ; preds = %75
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %12, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %13, align 4
  br label %217

206:                                              ; preds = %77
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %12, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  %210 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %23, i32 0, i32 0
  %211 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %210, i64 3
  br label %212

212:                                              ; preds = %212, %206
  %213 = phi ptr [ %211, %206 ], [ %214, %212 ]
  %214 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %213, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %214) #6
  %215 = icmp eq ptr %214, %210
  br i1 %215, label %216, label %212

216:                                              ; preds = %212
  br label %217

217:                                              ; preds = %216, %202
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %218

218:                                              ; preds = %217, %198
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %219

219:                                              ; preds = %218, %194
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  %220 = load i1, ptr %28, align 1
  br i1 %220, label %221, label %229

221:                                              ; preds = %219
  %222 = load ptr, ptr %24, align 8
  %223 = icmp eq ptr %23, %222
  br i1 %223, label %228, label %224

224:                                              ; preds = %224, %221
  %225 = phi ptr [ %222, %221 ], [ %226, %224 ]
  %226 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %225, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %226) #6
  %227 = icmp eq ptr %226, %23
  br i1 %227, label %228, label %224

228:                                              ; preds = %224, %221
  br label %229

229:                                              ; preds = %228, %219
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #6
  br label %313

230:                                              ; preds = %91
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %12, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %13, align 4
  br label %250

234:                                              ; preds = %92
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %12, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %13, align 4
  br label %249

238:                                              ; preds = %94
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %12, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #6
  %242 = getelementptr inbounds [2 x %"class.std::__cxx11::basic_string"], ptr %32, i32 0, i32 0
  %243 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %242, i64 2
  br label %244

244:                                              ; preds = %244, %238
  %245 = phi ptr [ %243, %238 ], [ %246, %244 ]
  %246 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %245, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %246) #6
  %247 = icmp eq ptr %246, %242
  br i1 %247, label %248, label %244

248:                                              ; preds = %244
  br label %249

249:                                              ; preds = %248, %234
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  br label %250

250:                                              ; preds = %249, %230
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  %251 = load i1, ptr %36, align 1
  br i1 %251, label %252, label %260

252:                                              ; preds = %250
  %253 = load ptr, ptr %33, align 8
  %254 = icmp eq ptr %32, %253
  br i1 %254, label %259, label %255

255:                                              ; preds = %255, %252
  %256 = phi ptr [ %253, %252 ], [ %257, %255 ]
  %257 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %256, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %257) #6
  %258 = icmp eq ptr %257, %32
  br i1 %258, label %259, label %255

259:                                              ; preds = %255, %252
  br label %260

260:                                              ; preds = %259, %250
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #6
  br label %312

261:                                              ; preds = %108
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %12, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %13, align 4
  br label %278

265:                                              ; preds = %115
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %12, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %13, align 4
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %114) #6
  br label %278

269:                                              ; preds = %117
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %12, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %13, align 4
  br label %277

273:                                              ; preds = %118
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %12, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  br label %277

277:                                              ; preds = %273, %269
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %40) #6
  br label %278

278:                                              ; preds = %277, %265, %261
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  br label %311

279:                                              ; preds = %120
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %12, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %13, align 4
  br label %292

283:                                              ; preds = %127
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %12, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %13, align 4
  br label %291

287:                                              ; preds = %128
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %12, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #6
  br label %291

291:                                              ; preds = %287, %283
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(40) %43) #6
  br label %292

292:                                              ; preds = %291, %279
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  br label %311

293:                                              ; preds = %130
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %12, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %13, align 4
  br label %310

297:                                              ; preds = %137
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %12, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %13, align 4
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %136) #6
  br label %310

301:                                              ; preds = %139
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %12, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %13, align 4
  br label %309

305:                                              ; preds = %140
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %12, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #6
  br label %309

309:                                              ; preds = %305, %301
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %46) #6
  br label %310

310:                                              ; preds = %309, %297, %293
  call void @llvm.lifetime.end.p0(i64 64, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  br label %311

311:                                              ; preds = %310, %292, %278
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  br label %312

312:                                              ; preds = %311, %260
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %313

313:                                              ; preds = %312, %229
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %314

314:                                              ; preds = %313, %193
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  br label %315

315:                                              ; preds = %314
  %316 = load ptr, ptr %12, align 8
  %317 = load i32, ptr %13, align 4
  %318 = insertvalue { ptr, i32 } poison, ptr %316, 0
  %319 = insertvalue { ptr, i32 } %318, i32 %317, 1
  resume { ptr, i32 } %319
}

; 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 #2 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 @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #4

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 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

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 = { 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 #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 = { "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 0}
!14 = !{!"_ZTSZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 40}
!15 = !{!"_ZTSN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEE", !11, i64 0, !11, i64 8, !6, i64 16}
!16 = !{!14, !6, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1", !6, i64 0, !6, i64 8, !15, i64 16}
!19 = !{!18, !6, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 40}
!22 = !{!21, !6, i64 8}


; 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.JPH::Array.32" = 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.37 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.37 = type { i64, [8 x i8] }
%"class.JPH::STLAllocator.35" = type { i8 }
%"class.JPH::STLAllocator.33" = type { i8 }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::function.40" = 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.42 = type { ptr, ptr, %"class.JPH::Array.32", %"class.JPH::Array.32" }
%class.anon.43 = type { ptr, ptr, %"class.JPH::Array.32" }
%class.anon.44 = type { ptr, ptr, %"class.JPH::Array.32", %"class.JPH::Array.32" }

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 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 @_ZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElement(ptr noundef nonnull align 16 dereferenceable(136) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.JPH::Array.32", align 8
  %5 = alloca [6 x %"class.std::__cxx11::basic_string"], align 8
  %6 = alloca %"class.JPH::STLAllocator.35", align 1
  %7 = alloca %"class.JPH::STLAllocator.35", align 1
  %8 = alloca %"class.JPH::STLAllocator.35", align 1
  %9 = alloca %"class.JPH::STLAllocator.35", align 1
  %10 = alloca %"class.JPH::STLAllocator.35", align 1
  %11 = alloca %"class.JPH::STLAllocator.35", align 1
  %12 = alloca %"class.JPH::STLAllocator.33", align 1
  %13 = alloca %"class.JPH::Array.32", align 8
  %14 = alloca [3 x %"class.std::__cxx11::basic_string"], align 8
  %15 = alloca %"class.JPH::STLAllocator.35", align 1
  %16 = alloca %"class.JPH::STLAllocator.35", align 1
  %17 = alloca %"class.JPH::STLAllocator.35", align 1
  %18 = alloca %"class.JPH::STLAllocator.33", align 1
  %19 = alloca %"class.JPH::Array.32", align 8
  %20 = alloca [2 x %"class.std::__cxx11::basic_string"], align 8
  %21 = alloca %"class.JPH::STLAllocator.35", align 1
  %22 = alloca %"class.JPH::STLAllocator.35", align 1
  %23 = alloca %"class.JPH::STLAllocator.33", align 1
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca %"class.std::function.40", align 8
  %26 = alloca %class.anon.42, align 8
  %27 = alloca %"class.std::basic_string_view", align 8
  %28 = alloca %"class.std::function.40", align 8
  %29 = alloca %class.anon.43, align 8
  %30 = alloca %"class.std::basic_string_view", align 8
  %31 = alloca %"class.std::function.40", align 8
  %32 = alloca %class.anon.44, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %33 unwind label %.thread

33:                                               ; preds = %3
  %34 = getelementptr inbounds i8, ptr %5, i64 32
  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) %34, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %35 unwind label %86

35:                                               ; preds = %33
  %36 = getelementptr inbounds i8, ptr %5, i64 64
  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) %36, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %37 unwind label %88

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %5, i64 96
  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) %38, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %39 unwind label %90

39:                                               ; preds = %37
  %40 = getelementptr inbounds i8, ptr %5, i64 128
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %41 unwind label %92

41:                                               ; preds = %39
  %42 = getelementptr inbounds i8, ptr %5, i64 160
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %43 unwind label %94

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr nonnull %5, i64 6, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %44 unwind label %.loopexit121.loopexit

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %45 = getelementptr inbounds i8, ptr %5, i64 160
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #6
  %46 = getelementptr inbounds i8, ptr %5, i64 128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #6
  %47 = getelementptr inbounds i8, ptr %5, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  %48 = getelementptr inbounds i8, ptr %5, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  %49 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #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 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %50 unwind label %.thread102

50:                                               ; preds = %44
  %51 = getelementptr inbounds i8, ptr %14, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %52 unwind label %.thread122

52:                                               ; preds = %50
  %53 = getelementptr inbounds i8, ptr %14, i64 64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %54 unwind label %116

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr nonnull %14, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %55 unwind label %.thread128

55:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  %56 = getelementptr inbounds i8, ptr %14, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #6
  %57 = getelementptr inbounds i8, ptr %14, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %58 unwind label %.thread108

58:                                               ; preds = %55
  %59 = getelementptr inbounds i8, ptr %20, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %60 unwind label %.loopexit.loopexit

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #6
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ESt16initializer_listIS7_ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr nonnull %20, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %61 unwind label %.thread114

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  %62 = getelementptr inbounds i8, ptr %20, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef @.str.13) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #6
  store ptr %0, ptr %26, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %26, i64 8
  store ptr %1, ptr %63, align 8, !tbaa !12
  %64 = getelementptr inbounds i8, ptr %26, i64 16
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %65 unwind label %125

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %26, i64 40
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %67 unwind label %127

67:                                               ; preds = %65
  invoke void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(64) %26)
          to label %68 unwind label %129

68:                                               ; preds = %67
  %69 = invoke noundef ptr @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull %25)
          to label %70 unwind label %131

70:                                               ; preds = %68
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %26) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str.14) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #6
  store ptr %0, ptr %29, align 8, !tbaa !13
  %71 = getelementptr inbounds i8, ptr %29, i64 8
  store ptr %1, ptr %71, align 8, !tbaa !15
  %72 = getelementptr inbounds i8, ptr %29, i64 16
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %73 unwind label %135

73:                                               ; preds = %70
  invoke void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %74 unwind label %137

74:                                               ; preds = %73
  %75 = invoke noundef ptr @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull %28)
          to label %76 unwind label %139

76:                                               ; preds = %74
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(40) %29) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef @.str.15) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #6
  store ptr %0, ptr %32, align 8, !tbaa !16
  %77 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %1, ptr %77, align 8, !tbaa !18
  %78 = getelementptr inbounds i8, ptr %32, i64 16
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %79 unwind label %143

79:                                               ; preds = %76
  %80 = getelementptr inbounds i8, ptr %32, i64 40
  invoke void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %81 unwind label %145

81:                                               ; preds = %79
  invoke void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(64) %32)
          to label %82 unwind label %147

82:                                               ; preds = %81
  %83 = invoke noundef ptr @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull %31)
          to label %84 unwind label %149

84:                                               ; preds = %82
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %32) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  ret void

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

86:                                               ; preds = %33
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %106

88:                                               ; preds = %35
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %105

90:                                               ; preds = %37
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %104

92:                                               ; preds = %39
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %103

94:                                               ; preds = %41
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit121

.loopexit121.loopexit:                            ; preds = %43
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %97 = getelementptr inbounds i8, ptr %5, i64 160
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %97) #6
  %98 = getelementptr inbounds i8, ptr %5, i64 128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #6
  %99 = getelementptr inbounds i8, ptr %5, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #6
  %100 = getelementptr inbounds i8, ptr %5, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %100) #6
  %101 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %101) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %.loopexit121

.loopexit121:                                     ; preds = %.loopexit121.loopexit, %94
  %102 = phi i1 [ false, %94 ], [ true, %.loopexit121.loopexit ]
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %96, %.loopexit121.loopexit ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  br label %103

103:                                              ; preds = %.loopexit121, %92
  %.163 = phi i1 [ %102, %.loopexit121 ], [ false, %92 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit121 ], [ %93, %92 ]
  %.029 = phi ptr [ %42, %.loopexit121 ], [ %40, %92 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %104

104:                                              ; preds = %103, %90
  %.264 = phi i1 [ %.163, %103 ], [ false, %90 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %103 ], [ %91, %90 ]
  %.130 = phi ptr [ %.029, %103 ], [ %38, %90 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %105

105:                                              ; preds = %104, %88
  %.365 = phi i1 [ %.264, %104 ], [ false, %88 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %104 ], [ %89, %88 ]
  %.2 = phi ptr [ %.130, %104 ], [ %36, %88 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %106

106:                                              ; preds = %86, %105
  %.466 = phi i1 [ %.365, %105 ], [ false, %86 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %105 ], [ %87, %86 ]
  %.3 = phi ptr [ %.2, %105 ], [ %34, %86 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  %107 = icmp eq ptr %5, %.3
  %or.cond = or i1 %.466, %107
  br i1 %or.cond, label %.loopexit120, label %.preheader119

.preheader119:                                    ; preds = %106, %.preheader119
  %108 = phi ptr [ %109, %.preheader119 ], [ %.3, %106 ]
  %109 = getelementptr inbounds i8, ptr %108, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %109) #6
  %110 = icmp eq ptr %109, %5
  br i1 %110, label %.loopexit120, label %.preheader119

.loopexit120:                                     ; preds = %.preheader119, %.thread, %106
  %.pn.pn.pn.pn.pn.pn101 = phi { ptr, i32 } [ %85, %.thread ], [ %.pn.pn.pn.pn.pn, %106 ], [ %.pn.pn.pn.pn.pn, %.preheader119 ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %5) #6
  br label %156

.thread102:                                       ; preds = %44
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %.loopexit117

.thread122:                                       ; preds = %50
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %.preheader.preheader

.thread128:                                       ; preds = %54
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  %114 = getelementptr inbounds i8, ptr %14, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %114) #6
  %115 = getelementptr inbounds i8, ptr %14, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %115) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %.loopexit117

116:                                              ; preds = %52
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %116, %.thread122
  %.039127 = phi ptr [ %51, %.thread122 ], [ %53, %116 ]
  %.pn77.pn126 = phi { ptr, i32 } [ %112, %.thread122 ], [ %117, %116 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %118 = phi ptr [ %119, %.preheader ], [ %.039127, %.preheader.preheader ]
  %119 = getelementptr inbounds i8, ptr %118, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %119) #6
  %120 = icmp eq ptr %119, %14
  br i1 %120, label %.loopexit117, label %.preheader

.loopexit117:                                     ; preds = %.preheader, %.thread128, %.thread102
  %.pn77.pn.pn107 = phi { ptr, i32 } [ %111, %.thread102 ], [ %113, %.thread128 ], [ %.pn77.pn126, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #6
  br label %155

.thread108:                                       ; preds = %55
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %.loopexit

.thread114:                                       ; preds = %60
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  %123 = getelementptr inbounds i8, ptr %20, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %123) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %58
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.thread114, %.thread108
  %.pn81.pn113 = phi { ptr, i32 } [ %121, %.thread108 ], [ %122, %.thread114 ], [ %124, %.loopexit.loopexit ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #6
  br label %154

125:                                              ; preds = %61
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %134

127:                                              ; preds = %65
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #6
  br label %134

129:                                              ; preds = %67
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %133

131:                                              ; preds = %68
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %133

133:                                              ; preds = %131, %129
  %.pn84 = phi { ptr, i32 } [ %132, %131 ], [ %130, %129 ]
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %26) #6
  br label %134

134:                                              ; preds = %133, %127, %125
  %.pn84.pn = phi { ptr, i32 } [ %.pn84, %133 ], [ %128, %127 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  br label %153

135:                                              ; preds = %70
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %142

137:                                              ; preds = %73
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %74
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %141

141:                                              ; preds = %139, %137
  %.pn87 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(40) %29) #6
  br label %142

142:                                              ; preds = %141, %135
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %141 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #6
  br label %153

143:                                              ; preds = %76
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %152

145:                                              ; preds = %79
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  br label %152

147:                                              ; preds = %81
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %151

149:                                              ; preds = %82
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %151

151:                                              ; preds = %149, %147
  %.pn90 = phi { ptr, i32 } [ %150, %149 ], [ %148, %147 ]
  call void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(64) %32) #6
  br label %152

152:                                              ; preds = %151, %145, %143
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %151 ], [ %146, %145 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  br label %153

153:                                              ; preds = %152, %142, %134
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn90.pn, %152 ], [ %.pn87.pn, %142 ], [ %.pn84.pn, %134 ]
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %154

154:                                              ; preds = %153, %.loopexit
  %.pn90.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn, %153 ], [ %.pn81.pn113, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %155

155:                                              ; preds = %154, %.loopexit117
  %.pn90.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn, %154 ], [ %.pn77.pn.pn107, %.loopexit117 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %156

156:                                              ; preds = %155, %.loopexit120
  %.pn90.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn, %155 ], [ %.pn.pn.pn.pn.pn.pn101, %.loopexit120 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn90.pn.pn.pn.pn.pn
}

; 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 #2 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 @_ZN7DebugUI16CreateTextButtonEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEESt8functionIFvvEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #4

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 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

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 = { 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 #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 = { "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, !7, i64 0}
!6 = !{!"_ZTSZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_0", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_12STLAllocatorIcEEEENS5_IS7_EEEE", !11, i64 0, !11, i64 8, !7, i64 16}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTSZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_1", !7, i64 0, !7, i64 8, !10, i64 16}
!15 = !{!14, !7, i64 8}
!16 = !{!17, !7, i64 0}
!17 = !{!"_ZTSZN20SixDOFConstraintTest18CreateSettingsMenuEP7DebugUIP9UIElementE3$_2", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 40}
!18 = !{!17, !7, i64 8}


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