; LLVM IR from jrouwe/JoltPhysics :: Jolt/Skeleton (SkeletonMapper)

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

%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::Array.13" = type { i64, i64, ptr }
%"class.JPH::STLAllocator.14" = type { i8 }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Array.16" = type { i64, i64, ptr }
%"class.JPH::SkeletonMapper" = type { %"class.JPH::RefTarget", %"class.JPH::Array", %"class.JPH::Array.0", %"class.JPH::Array.3", %"class.JPH::Array.6" }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Array.0" = type { i64, i64, ptr }
%"class.JPH::Array.3" = type { i64, i64, ptr }
%"class.JPH::Array.6" = type { i64, i64, ptr }
%"class.JPH::SkeletonMapper::Mapping" = type { i32, i32, %"class.JPH::Mat44", %"class.JPH::Mat44" }
%"class.JPH::Skeleton::Joint" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.21 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.21 = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [58 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [46 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 @_ZN3JPH14SkeletonMapper10InitializeEPKNS_8SkeletonEPKNS_5Mat44ES3_S6_RKSt8functionIFbS3_iS3_iEE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 8 dereferenceable(32) %5) #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.JPH::AssertLastParam", align 1
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"struct.JPH::AssertLastParam", align 1
  %17 = alloca %"class.JPH::Array.13", align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.JPH::STLAllocator.14", align 1
  %20 = alloca %"class.JPH::Array.13", align 8
  %21 = alloca i8, align 1
  %22 = alloca %"class.JPH::STLAllocator.14", align 1
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %"class.JPH::Mat44", align 16
  %29 = alloca %"class.JPH::Mat44", align 16
  %30 = alloca %"class.JPH::Array.16", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.JPH::Array.16", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"class.JPH::Array.16", align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %50 = load ptr, ptr %7, align 8
  br label %51

51:                                               ; preds = %6
  %52 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %53 = call noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
  br i1 %53, label %54, label %60

54:                                               ; preds = %51
  %55 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 2
  %56 = call noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %55)
  br i1 %56, label %57, label %60

57:                                               ; preds = %54
  %58 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 3
  %59 = call noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %58)
  br i1 %59, label %63, label %60

60:                                               ; preds = %57, %54, %51
  %61 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13)
  br i1 %61, label %62, label %63

62:                                               ; preds = %60
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !9
  br label %63

63:                                               ; preds = %62, %60, %57
  br label %64

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %65)
  store i32 %66, ptr %14, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %67)
  store i32 %68, ptr %15, align 4, !tbaa !10
  br label %69

69:                                               ; preds = %64
  %70 = load i32, ptr %14, align 4, !tbaa !10
  %71 = load i32, ptr %15, align 4, !tbaa !10
  %72 = icmp sle i32 %70, %71
  br i1 %72, label %76, label %73

73:                                               ; preds = %69
  %74 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 18, ptr noundef @.str.3)
  br i1 %74, label %75, label %76

75:                                               ; preds = %73
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !12
  br label %76

76:                                               ; preds = %75, %73, %69
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  %79 = load i32, ptr %14, align 4, !tbaa !10
  %80 = sext i32 %79 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  store i8 0, ptr %18, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEC2EmRKbRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %80, ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  %81 = load i32, ptr %15, align 4, !tbaa !10
  %82 = sext i32 %81 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  store i8 0, ptr %21, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  invoke void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEC2EmRKbRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %82, ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %83 unwind label %89

83:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !10
  br label %84

84:                                               ; preds = %151, %83
  %85 = load i32, ptr %25, align 4, !tbaa !10
  %86 = load i32, ptr %14, align 4, !tbaa !10
  %87 = icmp slt i32 %85, %86
  br i1 %87, label %93, label %88

88:                                               ; preds = %84
  store i32 6, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %154

89:                                               ; preds = %78
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %23, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  br label %448

93:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !10
  br label %94

94:                                               ; preds = %145, %93
  %95 = load i32, ptr %27, align 4, !tbaa !10
  %96 = load i32, ptr %15, align 4, !tbaa !10
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  store i32 9, ptr %26, align 4
  br label %148

99:                                               ; preds = %94
  %100 = load ptr, ptr %12, align 8, !tbaa !5
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load i32, ptr %25, align 4, !tbaa !10
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = load i32, ptr %27, align 4, !tbaa !10
  %105 = invoke noundef zeroext i1 @_ZNKSt8functionIFbPKN3JPH8SkeletonEiS3_iEEclES3_iS3_i(ptr noundef nonnull align 8 dereferenceable(32) %100, ptr noundef %101, i32 noundef %102, ptr noundef %103, i32 noundef %104)
          to label %106 unwind label %131

106:                                              ; preds = %99
  br i1 %105, label %107, label %144

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #8
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = load i32, ptr %25, align 4, !tbaa !10
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %"class.JPH::Mat44", ptr %108, i64 %110
  invoke void @_ZNK3JPH5Mat448InversedEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %29, ptr noundef nonnull align 16 dereferenceable(64) %111)
          to label %112 unwind label %135

112:                                              ; preds = %107
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = load i32, ptr %27, align 4, !tbaa !10
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %"class.JPH::Mat44", ptr %113, i64 %115
  invoke void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %28, ptr noundef nonnull align 16 dereferenceable(64) %29, ptr noundef nonnull align 16 dereferenceable(64) %116)
          to label %117 unwind label %135

117:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #8
  %118 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %28, i32 noundef 3, i32 noundef 3)
          to label %119 unwind label %139

119:                                              ; preds = %117
  store float 1.000000e+00, ptr %118, align 4, !tbaa !15
  %120 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %121 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE12emplace_backIJRiS7_RNS_5Mat44EEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %120, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 16 dereferenceable(64) %28)
          to label %122 unwind label %139

122:                                              ; preds = %119
  %123 = load i32, ptr %25, align 4, !tbaa !10
  %124 = sext i32 %123 to i64
  %125 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %124)
          to label %126 unwind label %139

126:                                              ; preds = %122
  store i8 1, ptr %125, align 1, !tbaa !13
  %127 = load i32, ptr %27, align 4, !tbaa !10
  %128 = sext i32 %127 to i64
  %129 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %128)
          to label %130 unwind label %139

130:                                              ; preds = %126
  store i8 1, ptr %129, align 1, !tbaa !13
  store i32 9, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #8
  br label %148

131:                                              ; preds = %99
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %23, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %24, align 4
  br label %149

135:                                              ; preds = %112, %107
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %23, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #8
  br label %143

139:                                              ; preds = %126, %122, %119, %117
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %23, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %24, align 4
  br label %143

143:                                              ; preds = %139, %135
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #8
  br label %149

144:                                              ; preds = %106
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %27, align 4, !tbaa !10
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %27, align 4, !tbaa !10
  br label %94, !llvm.loop !17

148:                                              ; preds = %130, %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %150

149:                                              ; preds = %143, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %447

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %25, align 4, !tbaa !10
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %25, align 4, !tbaa !10
  br label %84, !llvm.loop !19

154:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !10
  br label %155

155:                                              ; preds = %410, %154
  %156 = load i32, ptr %31, align 4, !tbaa !10
  %157 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %158 = invoke noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %157)
          to label %159 unwind label %163

159:                                              ; preds = %155
  %160 = trunc i64 %158 to i32
  %161 = icmp slt i32 %156, %160
  br i1 %161, label %167, label %162

162:                                              ; preds = %159
  store i32 12, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %415

163:                                              ; preds = %155
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %23, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %24, align 4
  br label %414

167:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  store i32 -1, ptr %33, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %168 = load i32, ptr %31, align 4, !tbaa !10
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %34, align 4, !tbaa !10
  br label %170

170:                                              ; preds = %254, %167
  %171 = load i32, ptr %34, align 4, !tbaa !10
  %172 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %173 = invoke noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %172)
          to label %174 unwind label %178

174:                                              ; preds = %170
  %175 = trunc i64 %173 to i32
  %176 = icmp slt i32 %171, %175
  br i1 %176, label %182, label %177

177:                                              ; preds = %174
  store i32 15, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %260

178:                                              ; preds = %170
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %23, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %24, align 4
  br label %259

182:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  %183 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %184 = load i32, ptr %31, align 4, !tbaa !10
  %185 = sext i32 %184 to i64
  %186 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %185)
          to label %187 unwind label %241

187:                                              ; preds = %182
  %188 = getelementptr inbounds %"class.JPH::SkeletonMapper::Mapping", ptr %186, i32 0, i32 1
  %189 = load i32, ptr %188, align 4, !tbaa !20
  store i32 %189, ptr %35, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %190 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %191 = load i32, ptr %34, align 4, !tbaa !10
  %192 = sext i32 %191 to i64
  %193 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %192)
          to label %194 unwind label %245

194:                                              ; preds = %187
  %195 = getelementptr inbounds %"class.JPH::SkeletonMapper::Mapping", ptr %193, i32 0, i32 1
  %196 = load i32, ptr %195, align 4, !tbaa !20
  store i32 %196, ptr %36, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %197 = load i32, ptr %36, align 4, !tbaa !10
  store i32 %197, ptr %37, align 4, !tbaa !10
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %198 unwind label %249

198:                                              ; preds = %194
  br label %199

199:                                              ; preds = %222, %198
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %200 unwind label %249

200:                                              ; preds = %199
  %201 = load ptr, ptr %10, align 8, !tbaa !5
  %202 = load i32, ptr %37, align 4, !tbaa !10
  %203 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32) %201, i32 noundef %202)
          to label %204 unwind label %249

204:                                              ; preds = %200
  %205 = getelementptr inbounds %"class.JPH::Skeleton::Joint", ptr %203, i32 0, i32 2
  %206 = load i32, ptr %205, align 8, !tbaa !23
  store i32 %206, ptr %37, align 4, !tbaa !10
  br label %207

207:                                              ; preds = %204
  %208 = load i32, ptr %37, align 4, !tbaa !10
  %209 = icmp sge i32 %208, 0
  br i1 %209, label %210, label %222

210:                                              ; preds = %207
  %211 = load i32, ptr %37, align 4, !tbaa !10
  %212 = load i32, ptr %35, align 4, !tbaa !10
  %213 = icmp ne i32 %211, %212
  br i1 %213, label %214, label %222

214:                                              ; preds = %210
  %215 = load i32, ptr %37, align 4, !tbaa !10
  %216 = sext i32 %215 to i64
  %217 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %216)
          to label %218 unwind label %249

218:                                              ; preds = %214
  %219 = load i8, ptr %217, align 1, !tbaa !13, !range !28, !noundef !29
  %220 = trunc i8 %219 to i1
  %221 = xor i1 %220, true
  br label %222

222:                                              ; preds = %218, %210, %207
  %223 = phi i1 [ false, %210 ], [ false, %207 ], [ %221, %218 ]
  br i1 %223, label %199, label %224, !llvm.loop !30

224:                                              ; preds = %222
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %225 unwind label %249

225:                                              ; preds = %224
  %226 = load i32, ptr %37, align 4, !tbaa !10
  %227 = load i32, ptr %35, align 4, !tbaa !10
  %228 = icmp eq i32 %226, %227
  br i1 %228, label %229, label %253

229:                                              ; preds = %225
  %230 = invoke noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %231 unwind label %249

231:                                              ; preds = %229
  %232 = icmp ugt i64 %230, 2
  br i1 %232, label %233, label %253

233:                                              ; preds = %231
  %234 = invoke noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %235 unwind label %249

235:                                              ; preds = %233
  %236 = invoke noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %237 unwind label %249

237:                                              ; preds = %235
  %238 = icmp ugt i64 %234, %236
  br i1 %238, label %239, label %253

239:                                              ; preds = %237
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE4swapERS3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  %240 = load i32, ptr %34, align 4, !tbaa !10
  store i32 %240, ptr %33, align 4, !tbaa !10
  br label %253

241:                                              ; preds = %182
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %23, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %24, align 4
  br label %258

245:                                              ; preds = %187
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %23, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %24, align 4
  br label %257

249:                                              ; preds = %235, %233, %229, %224, %214, %200, %199, %194
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %23, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %257

253:                                              ; preds = %239, %237, %231, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %34, align 4, !tbaa !10
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %34, align 4, !tbaa !10
  br label %170, !llvm.loop !31

257:                                              ; preds = %249, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %258

258:                                              ; preds = %257, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %259

259:                                              ; preds = %258, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %413

260:                                              ; preds = %177
  %261 = invoke noundef zeroext i1 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %262 unwind label %330

262:                                              ; preds = %260
  br i1 %261, label %409, label %263

263:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %264 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %265 = load i32, ptr %31, align 4, !tbaa !10
  %266 = sext i32 %265 to i64
  %267 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %264, i64 noundef %266)
          to label %268 unwind label %334

268:                                              ; preds = %263
  %269 = getelementptr inbounds %"class.JPH::SkeletonMapper::Mapping", ptr %267, i32 0, i32 0
  %270 = load i32, ptr %269, align 16, !tbaa !32
  store i32 %270, ptr %39, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %271 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 1
  %272 = load i32, ptr %33, align 4, !tbaa !10
  %273 = sext i32 %272 to i64
  %274 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %271, i64 noundef %273)
          to label %275 unwind label %338

275:                                              ; preds = %268
  %276 = getelementptr inbounds %"class.JPH::SkeletonMapper::Mapping", ptr %274, i32 0, i32 0
  %277 = load i32, ptr %276, align 16, !tbaa !32
  store i32 %277, ptr %40, align 4, !tbaa !10
  br label %278

278:                                              ; preds = %301, %275
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %279 unwind label %338

279:                                              ; preds = %278
  %280 = load ptr, ptr %8, align 8, !tbaa !5
  %281 = load i32, ptr %40, align 4, !tbaa !10
  %282 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32) %280, i32 noundef %281)
          to label %283 unwind label %338

283:                                              ; preds = %279
  %284 = getelementptr inbounds %"class.JPH::Skeleton::Joint", ptr %282, i32 0, i32 2
  %285 = load i32, ptr %284, align 8, !tbaa !23
  store i32 %285, ptr %40, align 4, !tbaa !10
  br label %286

286:                                              ; preds = %283
  %287 = load i32, ptr %40, align 4, !tbaa !10
  %288 = icmp sge i32 %287, 0
  br i1 %288, label %289, label %301

289:                                              ; preds = %286
  %290 = load i32, ptr %40, align 4, !tbaa !10
  %291 = load i32, ptr %39, align 4, !tbaa !10
  %292 = icmp ne i32 %290, %291
  br i1 %292, label %293, label %301

293:                                              ; preds = %289
  %294 = load i32, ptr %40, align 4, !tbaa !10
  %295 = sext i32 %294 to i64
  %296 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %295)
          to label %297 unwind label %338

297:                                              ; preds = %293
  %298 = load i8, ptr %296, align 1, !tbaa !13, !range !28, !noundef !29
  %299 = trunc i8 %298 to i1
  %300 = xor i1 %299, true
  br label %301

301:                                              ; preds = %297, %289, %286
  %302 = phi i1 [ false, %289 ], [ false, %286 ], [ %300, %297 ]
  br i1 %302, label %278, label %303, !llvm.loop !33

303:                                              ; preds = %301
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %304 unwind label %338

304:                                              ; preds = %303
  %305 = load i32, ptr %40, align 4, !tbaa !10
  %306 = load i32, ptr %39, align 4, !tbaa !10
  %307 = icmp eq i32 %305, %306
  br i1 %307, label %308, label %406

308:                                              ; preds = %304
  %309 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %310 unwind label %338

310:                                              ; preds = %308
  %311 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %312 unwind label %338

312:                                              ; preds = %310
  invoke void @_ZSt7reverseIPiEvT_S1_(ptr noundef %309, ptr noundef %311)
          to label %313 unwind label %338

313:                                              ; preds = %312
  %314 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %315 unwind label %338

315:                                              ; preds = %313
  %316 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %317 unwind label %338

317:                                              ; preds = %315
  invoke void @_ZSt7reverseIPiEvT_S1_(ptr noundef %314, ptr noundef %316)
          to label %318 unwind label %338

318:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  store ptr %38, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %319 = load ptr, ptr %41, align 8, !tbaa !5
  %320 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %319)
          to label %321 unwind label %342

321:                                              ; preds = %318
  store ptr %320, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %322 = load ptr, ptr %41, align 8, !tbaa !5
  %323 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %322)
          to label %324 unwind label %346

324:                                              ; preds = %321
  store ptr %323, ptr %43, align 8, !tbaa !5
  br label %325

325:                                              ; preds = %357, %324
  %326 = load ptr, ptr %42, align 8, !tbaa !5
  %327 = load ptr, ptr %43, align 8, !tbaa !5
  %328 = icmp ne ptr %326, %327
  br i1 %328, label %350, label %329

329:                                              ; preds = %325
  store i32 22, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %366

330:                                              ; preds = %260
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %23, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %24, align 4
  br label %413

334:                                              ; preds = %263
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %23, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %24, align 4
  br label %408

338:                                              ; preds = %402, %317, %315, %313, %312, %310, %308, %303, %293, %279, %278, %268
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %23, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %24, align 4
  br label %407

342:                                              ; preds = %318
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %23, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %24, align 4
  br label %365

346:                                              ; preds = %321
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %23, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %24, align 4
  br label %364

350:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  %351 = load ptr, ptr %42, align 8, !tbaa !5
  %352 = load i32, ptr %351, align 4, !tbaa !10
  store i32 %352, ptr %44, align 4, !tbaa !10
  %353 = load i32, ptr %44, align 4, !tbaa !10
  %354 = sext i32 %353 to i64
  %355 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %354)
          to label %356 unwind label %360

356:                                              ; preds = %350
  store i8 1, ptr %355, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %357

357:                                              ; preds = %356
  %358 = load ptr, ptr %42, align 8, !tbaa !5
  %359 = getelementptr inbounds i32, ptr %358, i32 1
  store ptr %359, ptr %42, align 8, !tbaa !5
  br label %325

360:                                              ; preds = %350
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %23, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %364

364:                                              ; preds = %360, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %365

365:                                              ; preds = %364, %342
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %407

366:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  store ptr %32, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %367 = load ptr, ptr %45, align 8, !tbaa !5
  %368 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %367)
          to label %369 unwind label %378

369:                                              ; preds = %366
  store ptr %368, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %370 = load ptr, ptr %45, align 8, !tbaa !5
  %371 = invoke noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %370)
          to label %372 unwind label %382

372:                                              ; preds = %369
  store ptr %371, ptr %47, align 8, !tbaa !5
  br label %373

373:                                              ; preds = %393, %372
  %374 = load ptr, ptr %46, align 8, !tbaa !5
  %375 = load ptr, ptr %47, align 8, !tbaa !5
  %376 = icmp ne ptr %374, %375
  br i1 %376, label %386, label %377

377:                                              ; preds = %373
  store i32 24, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %402

378:                                              ; preds = %366
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %23, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %24, align 4
  br label %401

382:                                              ; preds = %369
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %23, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %24, align 4
  br label %400

386:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  %387 = load ptr, ptr %46, align 8, !tbaa !5
  %388 = load i32, ptr %387, align 4, !tbaa !10
  store i32 %388, ptr %48, align 4, !tbaa !10
  %389 = load i32, ptr %48, align 4, !tbaa !10
  %390 = sext i32 %389 to i64
  %391 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %390)
          to label %392 unwind label %396

392:                                              ; preds = %386
  store i8 1, ptr %391, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %393

393:                                              ; preds = %392
  %394 = load ptr, ptr %46, align 8, !tbaa !5
  %395 = getelementptr inbounds i32, ptr %394, i32 1
  store ptr %395, ptr %46, align 8, !tbaa !5
  br label %373

396:                                              ; preds = %386
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %23, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %400

400:                                              ; preds = %396, %382
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %401

401:                                              ; preds = %400, %378
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %407

402:                                              ; preds = %377
  %403 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 2
  %404 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE12emplace_backIJNS0_IiNS3_IiEEEES8_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %403, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %405 unwind label %338

405:                                              ; preds = %402
  br label %406

406:                                              ; preds = %405, %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  br label %409

407:                                              ; preds = %401, %365, %338
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %408

408:                                              ; preds = %407, %334
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  br label %413

409:                                              ; preds = %406, %262
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  br label %410

410:                                              ; preds = %409
  %411 = load i32, ptr %31, align 4, !tbaa !10
  %412 = add nsw i32 %411, 1
  store i32 %412, ptr %31, align 4, !tbaa !10
  br label %155, !llvm.loop !34

413:                                              ; preds = %408, %330, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  br label %414

414:                                              ; preds = %413, %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %446

415:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !10
  br label %416

416:                                              ; preds = %442, %415
  %417 = load i32, ptr %49, align 4, !tbaa !10
  %418 = load i32, ptr %15, align 4, !tbaa !10
  %419 = icmp slt i32 %417, %418
  br i1 %419, label %421, label %420

420:                                              ; preds = %416
  store i32 26, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %445

421:                                              ; preds = %416
  %422 = load i32, ptr %49, align 4, !tbaa !10
  %423 = sext i32 %422 to i64
  %424 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %423)
          to label %425 unwind label %437

425:                                              ; preds = %421
  %426 = load i8, ptr %424, align 1, !tbaa !13, !range !28, !noundef !29
  %427 = trunc i8 %426 to i1
  br i1 %427, label %441, label %428

428:                                              ; preds = %425
  %429 = getelementptr inbounds %"class.JPH::SkeletonMapper", ptr %50, i32 0, i32 3
  %430 = load ptr, ptr %10, align 8, !tbaa !5
  %431 = load i32, ptr %49, align 4, !tbaa !10
  %432 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32) %430, i32 noundef %431)
          to label %433 unwind label %437

433:                                              ; preds = %428
  %434 = getelementptr inbounds %"class.JPH::Skeleton::Joint", ptr %432, i32 0, i32 2
  %435 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE12emplace_backIJRiRKiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %429, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %434)
          to label %436 unwind label %437

436:                                              ; preds = %433
  br label %441

437:                                              ; preds = %433, %428, %421
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %23, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %446

441:                                              ; preds = %436, %425
  br label %442

442:                                              ; preds = %441
  %443 = load i32, ptr %49, align 4, !tbaa !10
  %444 = add nsw i32 %443, 1
  store i32 %444, ptr %49, align 4, !tbaa !10
  br label %416, !llvm.loop !35

445:                                              ; preds = %420
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  ret void

446:                                              ; preds = %437, %414
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  br label %447

447:                                              ; preds = %446, %149
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %448

448:                                              ; preds = %447, %89
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %449

449:                                              ; preds = %448
  %450 = load ptr, ptr %23, align 8
  %451 = load i32, ptr %24, align 4
  %452 = insertvalue { ptr, i32 } poison, ptr %450, 0
  %453 = insertvalue { ptr, i32 } %452, i32 %451, 1
  resume { ptr, i32 } %453
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFbPKN3JPH8SkeletonEiS3_iEEclES3_iS3_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat448InversedEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64), i32 noundef, i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE12emplace_backIJRiS7_RNS_5Mat44EEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(64)) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPiEvT_S1_(ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE12emplace_backIJNS0_IiNS3_IiEEEES8_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE12emplace_backIJRiRKiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 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 = { 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 #8 = { 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 = !{i64 2157111231}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{i64 2157111587}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !11, i64 4}
!21 = !{!"_ZTSN3JPH14SkeletonMapper7MappingE", !11, i64 0, !11, i64 4, !22, i64 16, !22, i64 80}
!22 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!23 = !{!24, !11, i64 64}
!24 = !{!"_ZTSN3JPH8Skeleton5JointE", !25, i64 0, !25, i64 32, !11, i64 64}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !26, i64 0, !27, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !6, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}
!32 = !{!21, !11, i64 0}
!33 = distinct !{!33, !18}
!34 = distinct !{!34, !18}
!35 = distinct !{!35, !18}


; 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.13" = type { i64, i64, ptr }
%"class.JPH::STLAllocator.14" = type { i8 }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Array.16" = type { i64, i64, ptr }

@.str = external hidden unnamed_addr constant [58 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [46 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 @_ZN3JPH14SkeletonMapper10InitializeEPKNS_8SkeletonEPKNS_5Mat44ES3_S6_RKSt8functionIFbS3_iS3_iEE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 8 dereferenceable(32) %5) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.JPH::Array.13", align 8
  %8 = alloca i8, align 1
  %9 = alloca %"class.JPH::STLAllocator.14", align 1
  %10 = alloca %"class.JPH::Array.13", align 8
  %11 = alloca i8, align 1
  %12 = alloca %"class.JPH::STLAllocator.14", align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.JPH::Mat44", align 16
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca %"class.JPH::Array.16", align 8
  %18 = alloca %"class.JPH::Array.16", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.JPH::Array.16", align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = tail call noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  br i1 %26, label %27, label %33

27:                                               ; preds = %6
  %28 = getelementptr inbounds i8, ptr %0, i64 32
  %29 = tail call noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %28)
  br i1 %29, label %30, label %33

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %0, i64 56
  %32 = tail call noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %31)
  br i1 %32, label %36, label %33

33:                                               ; preds = %30, %27, %6
  %34 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 13)
  br i1 %34, label %35, label %36

35:                                               ; preds = %33
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !5
  br label %36

36:                                               ; preds = %30, %33, %35
  %37 = tail call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %38 = tail call noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %.not = icmp sgt i32 %37, %38
  br i1 %.not, label %39, label %42

39:                                               ; preds = %36
  %40 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 18, ptr noundef nonnull @.str.3)
  br i1 %40, label %41, label %42

41:                                               ; preds = %39
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !6
  br label %42

42:                                               ; preds = %41, %39, %36
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  %43 = sext i32 %37 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #8
  store i8 0, ptr %8, align 1, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEC2EmRKbRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %43, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  %44 = sext i32 %38 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  store i8 0, ptr %11, align 1, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  invoke void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEC2EmRKbRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %44, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %45 unwind label %86

45:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  store i32 0, ptr %13, align 4, !tbaa !11
  %46 = icmp sgt i32 %37, 0
  %47 = icmp sgt i32 %38, 0
  %or.cond133 = and i1 %46, %47
  br i1 %or.cond133, label %.lr.ph.us, label %._crit_edge

.lr.ph.us:                                        ; preds = %45, %..loopexit90_crit_edge.us
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %48

48:                                               ; preds = %.lr.ph.us, %52
  %storemerge7895.us = phi i32 [ 0, %.lr.ph.us ], [ %54, %52 ]
  %49 = load i32, ptr %13, align 4, !tbaa !11
  %50 = invoke noundef zeroext i1 @_ZNKSt8functionIFbPKN3JPH8SkeletonEiS3_iEEclES3_iS3_i(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %1, i32 noundef %49, ptr noundef nonnull %3, i32 noundef %storemerge7895.us)
          to label %51 unwind label %.split.us

51:                                               ; preds = %48
  br i1 %50, label %56, label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %14, align 4, !tbaa !11
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %14, align 4, !tbaa !11
  %55 = icmp slt i32 %54, %38
  br i1 %55, label %48, label %..loopexit90_crit_edge.us, !llvm.loop !13

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #8
  %57 = load i32, ptr %13, align 4, !tbaa !11
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds %"class.JPH::Mat44", ptr %2, i64 %58
  invoke void @_ZNK3JPH5Mat448InversedEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %59)
          to label %60 unwind label %.split98.us

60:                                               ; preds = %56
  %61 = load i32, ptr %14, align 4, !tbaa !11
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds %"class.JPH::Mat44", ptr %4, i64 %62
  call void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %15, ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) %63)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #8
  %64 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64) %15, i32 noundef 3, i32 noundef 3)
          to label %65 unwind label %.split101.us

65:                                               ; preds = %60
  store float 1.000000e+00, ptr %64, align 4, !tbaa !15
  %66 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE12emplace_backIJRiS7_RNS_5Mat44EEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 16 dereferenceable(64) %15)
          to label %67 unwind label %.split101.us

67:                                               ; preds = %65
  %68 = load i32, ptr %13, align 4, !tbaa !11
  %69 = sext i32 %68 to i64
  %70 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %69)
          to label %71 unwind label %.split101.us

71:                                               ; preds = %67
  store i8 1, ptr %70, align 1, !tbaa !7
  %72 = load i32, ptr %14, align 4, !tbaa !11
  %73 = sext i32 %72 to i64
  %74 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %73)
          to label %75 unwind label %.split101.us

75:                                               ; preds = %71
  store i8 1, ptr %74, align 1, !tbaa !7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #8
  br label %..loopexit90_crit_edge.us

..loopexit90_crit_edge.us:                        ; preds = %52, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  %76 = load i32, ptr %13, align 4, !tbaa !11
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %13, align 4, !tbaa !11
  %78 = icmp slt i32 %77, %37
  br i1 %78, label %.lr.ph.us, label %._crit_edge, !llvm.loop !17

.split.us:                                        ; preds = %48
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %89

.split98.us:                                      ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #8
  br label %88

.split101.us:                                     ; preds = %71, %67, %65, %60
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %88

._crit_edge:                                      ; preds = %..loopexit90_crit_edge.us, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %82 = call noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %83 = trunc i64 %82 to i32
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph119, label %._crit_edge120

.lr.ph119:                                        ; preds = %._crit_edge
  %85 = getelementptr inbounds i8, ptr %0, i64 32
  br label %92

86:                                               ; preds = %42
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %226

88:                                               ; preds = %.split101.us, %.split98.us
  %.pn79 = phi { ptr, i32 } [ %81, %.split101.us ], [ %80, %.split98.us ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #8
  br label %89

89:                                               ; preds = %88, %.split.us
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %88 ], [ %79, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  br label %225

._crit_edge120:                                   ; preds = %201, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #8
  store i32 0, ptr %24, align 4, !tbaa !11
  %90 = icmp sgt i32 %38, 0
  br i1 %90, label %.lr.ph123, label %._crit_edge124

.lr.ph123:                                        ; preds = %._crit_edge120
  %91 = getelementptr inbounds i8, ptr %0, i64 56
  br label %206

92:                                               ; preds = %.lr.ph119, %201
  %indvars.iv128 = phi i64 [ 0, %.lr.ph119 ], [ %indvars.iv.next129, %201 ]
  %indvars.iv = phi i64 [ 1, %.lr.ph119 ], [ %indvars.iv.next, %201 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %indvars.iv.next129 = add nuw nsw i64 %indvars.iv128, 1
  %93 = call noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %sext = shl i64 %93, 32
  %94 = ashr exact i64 %sext, 32
  %95 = icmp slt i64 %indvars.iv.next129, %94
  br i1 %95, label %.lr.ph, label %._crit_edge106

._crit_edge106:                                   ; preds = %137, %92
  %.058.lcssa = phi i32 [ -1, %92 ], [ %.159, %137 ]
  %96 = call noundef zeroext i1 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  br i1 %96, label %201, label %143

.lr.ph:                                           ; preds = %92, %137
  %indvars.iv125 = phi i64 [ %indvars.iv.next126, %137 ], [ %indvars.iv, %92 ]
  %.058104 = phi i32 [ %.159, %137 ], [ -1, %92 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  %97 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv128)
          to label %98 unwind label %132

98:                                               ; preds = %.lr.ph
  %99 = getelementptr inbounds i8, ptr %97, i64 4
  %100 = load i32, ptr %99, align 4, !tbaa !18
  store i32 %100, ptr %19, align 4, !tbaa !11
  %101 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv125)
          to label %102 unwind label %134

102:                                              ; preds = %98
  %103 = getelementptr inbounds i8, ptr %101, i64 4
  %104 = load i32, ptr %103, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  store i32 %104, ptr %20, align 4, !tbaa !11
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %102, %116
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %105 unwind label %.loopexit

105:                                              ; preds = %.preheader
  %106 = load i32, ptr %20, align 4, !tbaa !11
  %107 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %106)
          to label %108 unwind label %.loopexit

108:                                              ; preds = %105
  %109 = getelementptr inbounds i8, ptr %107, i64 64
  %110 = load i32, ptr %109, align 8, !tbaa !21
  store i32 %110, ptr %20, align 4, !tbaa !11
  %111 = icmp slt i32 %110, 0
  %112 = load i32, ptr %19, align 4
  %.not72 = icmp eq i32 %110, %112
  %or.cond = select i1 %111, i1 true, i1 %.not72
  br i1 %or.cond, label %.critedge, label %113

113:                                              ; preds = %108
  %114 = zext nneg i32 %110 to i64
  %115 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %114)
          to label %116 unwind label %.loopexit

116:                                              ; preds = %113
  %117 = load i8, ptr %115, align 1, !tbaa !7, !range !27, !noundef !28
  %118 = trunc nuw i8 %117 to i1
  br i1 %118, label %.critedge, label %.preheader, !llvm.loop !29

.critedge:                                        ; preds = %108, %116
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %119 unwind label %.loopexit.split-lp

119:                                              ; preds = %.critedge
  %120 = load i32, ptr %20, align 4, !tbaa !11
  %121 = load i32, ptr %19, align 4, !tbaa !11
  %122 = icmp eq i32 %120, %121
  br i1 %122, label %123, label %137

123:                                              ; preds = %119
  %124 = call noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
  %125 = icmp ugt i64 %124, 2
  br i1 %125, label %126, label %137

126:                                              ; preds = %123
  %127 = call noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
  %128 = call noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %129 = icmp ugt i64 %127, %128
  br i1 %129, label %130, label %137

130:                                              ; preds = %126
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE4swapERS3_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %131 = trunc nuw nsw i64 %indvars.iv125 to i32
  br label %137

132:                                              ; preds = %.lr.ph
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %142

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

.loopexit:                                        ; preds = %.preheader, %105, %113
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %136

.loopexit.split-lp:                               ; preds = %102, %.critedge
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %136

136:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  br label %142

137:                                              ; preds = %130, %126, %123, %119
  %.159 = phi i32 [ %131, %130 ], [ %.058104, %126 ], [ %.058104, %123 ], [ %.058104, %119 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %138 = call noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %139 = trunc i64 %138 to i32
  %140 = trunc nuw i64 %indvars.iv.next126 to i32
  %141 = icmp slt i32 %140, %139
  br i1 %141, label %.lr.ph, label %._crit_edge106, !llvm.loop !30

142:                                              ; preds = %134, %136, %132
  %.pn73.pn = phi { ptr, i32 } [ %133, %132 ], [ %lpad.phi, %136 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  br label %205

143:                                              ; preds = %._crit_edge106
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #8
  %144 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv128)
          to label %145 unwind label %181

145:                                              ; preds = %143
  %146 = load i32, ptr %144, align 16, !tbaa !31
  store i32 %146, ptr %22, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #8
  %147 = sext i32 %.058.lcssa to i64
  %148 = invoke noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %147)
          to label %149 unwind label %.loopexit.split-lp86

149:                                              ; preds = %145
  %150 = load i32, ptr %148, align 16, !tbaa !31
  store i32 %150, ptr %23, align 4, !tbaa !11
  br label %151

151:                                              ; preds = %163, %149
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %152 unwind label %.loopexit85

152:                                              ; preds = %151
  %153 = load i32, ptr %23, align 4, !tbaa !11
  %154 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %153)
          to label %155 unwind label %.loopexit85

155:                                              ; preds = %152
  %156 = getelementptr inbounds i8, ptr %154, i64 64
  %157 = load i32, ptr %156, align 8, !tbaa !21
  store i32 %157, ptr %23, align 4, !tbaa !11
  %158 = icmp slt i32 %157, 0
  %159 = load i32, ptr %22, align 4
  %.not67 = icmp eq i32 %157, %159
  %or.cond84 = select i1 %158, i1 true, i1 %.not67
  br i1 %or.cond84, label %.critedge2, label %160

160:                                              ; preds = %155
  %161 = zext nneg i32 %157 to i64
  %162 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %161)
          to label %163 unwind label %.loopexit85

163:                                              ; preds = %160
  %164 = load i8, ptr %162, align 1, !tbaa !7, !range !27, !noundef !28
  %165 = trunc nuw i8 %164 to i1
  br i1 %165, label %.critedge2, label %151, !llvm.loop !32

.critedge2:                                       ; preds = %155, %163
  invoke void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %166 unwind label %.loopexit.split-lp86

166:                                              ; preds = %.critedge2
  %167 = load i32, ptr %23, align 4, !tbaa !11
  %168 = load i32, ptr %22, align 4, !tbaa !11
  %169 = icmp eq i32 %167, %168
  br i1 %169, label %170, label %198

170:                                              ; preds = %166
  %171 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21)
  %172 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21)
  invoke void @_ZSt7reverseIPiEvT_S1_(ptr noundef %171, ptr noundef %172)
          to label %173 unwind label %.loopexit.split-lp86

173:                                              ; preds = %170
  %174 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %175 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  invoke void @_ZSt7reverseIPiEvT_S1_(ptr noundef %174, ptr noundef %175)
          to label %176 unwind label %.loopexit.split-lp86

176:                                              ; preds = %173
  %177 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21)
  %178 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21)
  %.not68107 = icmp eq ptr %177, %178
  br i1 %.not68107, label %._crit_edge111, label %.lr.ph110

._crit_edge111:                                   ; preds = %186, %176
  %179 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %180 = call noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %.not69112 = icmp eq ptr %179, %180
  br i1 %.not69112, label %._crit_edge116, label %.lr.ph115

181:                                              ; preds = %143
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %200

.loopexit85:                                      ; preds = %151, %152, %160
  %lpad.loopexit87 = landingpad { ptr, i32 }
          cleanup
  br label %199

.loopexit.split-lp86:                             ; preds = %145, %.critedge2, %170, %173, %._crit_edge116
  %lpad.loopexit.split-lp88 = landingpad { ptr, i32 }
          cleanup
  br label %199

.lr.ph110:                                        ; preds = %176, %186
  %.060108 = phi ptr [ %187, %186 ], [ %177, %176 ]
  %183 = load i32, ptr %.060108, align 4, !tbaa !11
  %184 = sext i32 %183 to i64
  %185 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %184)
          to label %186 unwind label %188

186:                                              ; preds = %.lr.ph110
  store i8 1, ptr %185, align 1, !tbaa !7
  %187 = getelementptr inbounds i8, ptr %.060108, i64 4
  %.not68 = icmp eq ptr %187, %178
  br i1 %.not68, label %._crit_edge111, label %.lr.ph110

188:                                              ; preds = %.lr.ph110
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %199

._crit_edge116:                                   ; preds = %194, %._crit_edge111
  %190 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE12emplace_backIJNS0_IiNS3_IiEEEES8_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %198 unwind label %.loopexit.split-lp86

.lr.ph115:                                        ; preds = %._crit_edge111, %194
  %.056113 = phi ptr [ %195, %194 ], [ %179, %._crit_edge111 ]
  %191 = load i32, ptr %.056113, align 4, !tbaa !11
  %192 = sext i32 %191 to i64
  %193 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %192)
          to label %194 unwind label %196

194:                                              ; preds = %.lr.ph115
  store i8 1, ptr %193, align 1, !tbaa !7
  %195 = getelementptr inbounds i8, ptr %.056113, i64 4
  %.not69 = icmp eq ptr %195, %180
  br i1 %.not69, label %._crit_edge116, label %.lr.ph115

196:                                              ; preds = %.lr.ph115
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %199

198:                                              ; preds = %._crit_edge116, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  br label %201

199:                                              ; preds = %.loopexit85, %.loopexit.split-lp86, %196, %188
  %.pn = phi { ptr, i32 } [ %189, %188 ], [ %197, %196 ], [ %lpad.loopexit87, %.loopexit85 ], [ %lpad.loopexit.split-lp88, %.loopexit.split-lp86 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  br label %200

200:                                              ; preds = %199, %181
  %.pn.pn = phi { ptr, i32 } [ %.pn, %199 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  br label %205

201:                                              ; preds = %198, %._crit_edge106
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  %202 = call noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %sext131 = shl i64 %202, 32
  %203 = ashr exact i64 %sext131, 32
  %204 = icmp slt i64 %indvars.iv.next129, %203
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %204, label %92, label %._crit_edge120, !llvm.loop !33

205:                                              ; preds = %200, %142
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %142 ], [ %.pn.pn, %200 ]
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %224

._crit_edge124:                                   ; preds = %220, %._crit_edge120
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  ret void

206:                                              ; preds = %.lr.ph123, %220
  %storemerge66121 = phi i32 [ 0, %.lr.ph123 ], [ %222, %220 ]
  %207 = sext i32 %storemerge66121 to i64
  %208 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %207)
          to label %209 unwind label %218

209:                                              ; preds = %206
  %210 = load i8, ptr %208, align 1, !tbaa !7, !range !27, !noundef !28
  %211 = trunc nuw i8 %210 to i1
  br i1 %211, label %220, label %212

212:                                              ; preds = %209
  %213 = load i32, ptr %24, align 4, !tbaa !11
  %214 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %213)
          to label %215 unwind label %218

215:                                              ; preds = %212
  %216 = getelementptr inbounds i8, ptr %214, i64 64
  %217 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE12emplace_backIJRiRKiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %216)
          to label %220 unwind label %218

218:                                              ; preds = %215, %212, %206
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  br label %224

220:                                              ; preds = %209, %215
  %221 = load i32, ptr %24, align 4, !tbaa !11
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %24, align 4, !tbaa !11
  %223 = icmp slt i32 %222, %38
  br i1 %223, label %206, label %._crit_edge124, !llvm.loop !34

224:                                              ; preds = %218, %205
  %.pn73.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn, %205 ], [ %219, %218 ]
  call void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  br label %225

225:                                              ; preds = %224, %89
  %.pn79.pn.pn = phi { ptr, i32 } [ %.pn79.pn, %89 ], [ %.pn73.pn.pn.pn, %224 ]
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %226

226:                                              ; preds = %225, %86
  %.pn79.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn, %225 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  resume { ptr, i32 } %.pn79.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH8Skeleton13GetJointCountEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jS1_NS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFbPKN3JPH8SkeletonEiS3_iEEclES3_iS3_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat448InversedEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat44mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3JPH5Mat44clEjj(ptr noundef nonnull align 16 dereferenceable(64), i32 noundef, i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE12emplace_backIJRiS7_RNS_5Mat44EEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3JPH5ArrayIbNS_12STLAllocatorIbEEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(144) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper7MappingENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(68) ptr @_ZNK3JPH8Skeleton8GetJointEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH5ArrayIiNS_12STLAllocatorIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayIiNS_12STLAllocatorIiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper5ChainENS_12STLAllocatorIS2_EEE12emplace_backIJNS0_IiNS3_IiEEEES8_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3JPH5ArrayINS_14SkeletonMapper8UnmappedENS_12STLAllocatorIS2_EEE12emplace_backIJRiRKiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 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 = { 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 #8 = { 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 = !{i64 2157111231}
!6 = !{i64 2157111587}
!7 = !{!8, !8, i64 0}
!8 = !{!"bool", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !9, i64 0}
!17 = distinct !{!17, !14}
!18 = !{!19, !12, i64 4}
!19 = !{!"_ZTSN3JPH14SkeletonMapper7MappingE", !12, i64 0, !12, i64 4, !20, i64 16, !20, i64 80}
!20 = !{!"_ZTSN3JPH5Mat44E", !9, i64 0}
!21 = !{!22, !12, i64 64}
!22 = !{!"_ZTSN3JPH8Skeleton5JointE", !23, i64 0, !23, i64 32, !12, i64 64}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !24, i64 0, !26, i64 8, !9, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !25, i64 0}
!25 = !{!"any pointer", !9, i64 0}
!26 = !{!"long", !9, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = !{!19, !12, i64 0}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !14}
!34 = distinct !{!34, !14}


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