; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Collision/Shape (StaticCompoundShape)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.JPH::Vec3" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }

@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [105 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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH19StaticCompoundShape10sPartitionEPjPNS_5AABoxEiRi(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull align 4 dereferenceable(4) %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca i32, align 4
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca float, align 4
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"struct.JPH::AssertLastParam", align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = icmp sle i32 %31, 4
  br i1 %32, label %33, label %37

33:                                               ; preds = %4
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = sdiv i32 %34, 2
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %35, ptr %36, align 4, !tbaa !9
  br label %242

37:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %38 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 0x47EFFFFFE0000000)
  %39 = getelementptr inbounds %"class.JPH::Vec3", ptr %9, i32 0, i32 0
  %40 = getelementptr inbounds %union.anon.6, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %42 = extractvalue { double, double } %38, 0
  store double %42, ptr %41, align 16
  %43 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %44 = extractvalue { double, double } %38, 1
  store double %44, ptr %43, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %45 = call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 0xC7EFFFFFE0000000)
  %46 = getelementptr inbounds %"class.JPH::Vec3", ptr %10, i32 0, i32 0
  %47 = getelementptr inbounds %union.anon.6, ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %49 = extractvalue { double, double } %45, 0
  store double %49, ptr %48, align 16
  %50 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %51 = extractvalue { double, double } %45, 1
  store double %51, ptr %50, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %52, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load i32, ptr %7, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds %"class.JPH::AABox", ptr %53, i64 %55
  store ptr %56, ptr %12, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %101, %37
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = icmp ult ptr %58, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %104

62:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = call { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32) %63)
  %65 = getelementptr inbounds %"class.JPH::Vec3", ptr %13, i32 0, i32 0
  %66 = getelementptr inbounds %union.anon.6, ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds { double, double }, ptr %66, i32 0, i32 0
  %68 = extractvalue { double, double } %64, 0
  store double %68, ptr %67, align 16
  %69 = getelementptr inbounds { double, double }, ptr %66, i32 0, i32 1
  %70 = extractvalue { double, double } %64, 1
  store double %70, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %13, i64 16, i1 false), !tbaa.struct !11
  %71 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %72 = load double, ptr %71, align 16
  %73 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %74 = load double, ptr %73, align 8
  %75 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %76 = load double, ptr %75, align 16
  %77 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %78 = load double, ptr %77, align 8
  %79 = call { double, double } @_ZN3JPH4Vec34sMinES0_S0_(double %72, double %74, double %76, double %78)
  %80 = getelementptr inbounds %"class.JPH::Vec3", ptr %14, i32 0, i32 0
  %81 = getelementptr inbounds %union.anon.6, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds { double, double }, ptr %81, i32 0, i32 0
  %83 = extractvalue { double, double } %79, 0
  store double %83, ptr %82, align 16
  %84 = getelementptr inbounds { double, double }, ptr %81, i32 0, i32 1
  %85 = extractvalue { double, double } %79, 1
  store double %85, ptr %84, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %14, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %13, i64 16, i1 false), !tbaa.struct !11
  %86 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %87 = load double, ptr %86, align 16
  %88 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %89 = load double, ptr %88, align 8
  %90 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %91 = load double, ptr %90, align 16
  %92 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %93 = load double, ptr %92, align 8
  %94 = call { double, double } @_ZN3JPH4Vec34sMaxES0_S0_(double %87, double %89, double %91, double %93)
  %95 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %96 = getelementptr inbounds %union.anon.6, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 0
  %98 = extractvalue { double, double } %94, 0
  store double %98, ptr %97, align 16
  %99 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 1
  %100 = extractvalue { double, double } %94, 1
  store double %100, ptr %99, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %101

101:                                              ; preds = %62
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.JPH::AABox", ptr %102, i32 1
  store ptr %103, ptr %11, align 8, !tbaa !5
  br label %57, !llvm.loop !13

104:                                              ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !11
  %105 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %106 = load double, ptr %105, align 16
  %107 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %108 = load double, ptr %107, align 8
  %109 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %10, double %106, double %108)
  %110 = getelementptr inbounds %"class.JPH::Vec3", ptr %21, i32 0, i32 0
  %111 = getelementptr inbounds %union.anon.6, ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds { double, double }, ptr %111, i32 0, i32 0
  %113 = extractvalue { double, double } %109, 0
  store double %113, ptr %112, align 16
  %114 = getelementptr inbounds { double, double }, ptr %111, i32 0, i32 1
  %115 = extractvalue { double, double } %109, 1
  store double %115, ptr %114, align 8
  %116 = call noundef i32 @_ZNK3JPH4Vec324GetHighestComponentIndexEv(ptr noundef nonnull align 16 dereferenceable(16) %21)
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  store i32 %116, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  %117 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %118 = load double, ptr %117, align 16
  %119 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %120 = load double, ptr %119, align 8
  %121 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %118, double %120)
  %122 = getelementptr inbounds %"class.JPH::Vec3", ptr %24, i32 0, i32 0
  %123 = getelementptr inbounds %union.anon.6, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 0
  %125 = extractvalue { double, double } %121, 0
  store double %125, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %123, i32 0, i32 1
  %127 = extractvalue { double, double } %121, 1
  store double %127, ptr %126, align 8
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %24, i32 noundef %128)
  %130 = fmul float 5.000000e-01, %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  store float %130, ptr %23, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %131 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %131, ptr %27, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %216, %104
  %133 = load i32, ptr %26, align 4, !tbaa !9
  %134 = load i32, ptr %27, align 4, !tbaa !9
  %135 = icmp slt i32 %133, %134
  br i1 %135, label %136, label %217

136:                                              ; preds = %132
  br label %137

137:                                              ; preds = %159, %136
  %138 = load i32, ptr %26, align 4, !tbaa !9
  %139 = load i32, ptr %27, align 4, !tbaa !9
  %140 = icmp slt i32 %138, %139
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  br i1 %140, label %141, label %157

141:                                              ; preds = %137
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = load i32, ptr %26, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds %"class.JPH::AABox", ptr %142, i64 %144
  %146 = call { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32) %145)
  %147 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %148 = getelementptr inbounds %union.anon.6, ptr %147, i32 0, i32 0
  %149 = getelementptr inbounds { double, double }, ptr %148, i32 0, i32 0
  %150 = extractvalue { double, double } %146, 0
  store double %150, ptr %149, align 16
  %151 = getelementptr inbounds { double, double }, ptr %148, i32 0, i32 1
  %152 = extractvalue { double, double } %146, 1
  store double %152, ptr %151, align 8
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %28, i32 noundef %153)
  %155 = load float, ptr %23, align 4, !tbaa !15
  %156 = fcmp olt float %154, %155
  br label %157

157:                                              ; preds = %141, %137
  %158 = phi i1 [ false, %137 ], [ %156, %141 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  br i1 %158, label %159, label %162

159:                                              ; preds = %157
  %160 = load i32, ptr %26, align 4, !tbaa !9
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %26, align 4, !tbaa !9
  br label %137, !llvm.loop !17

162:                                              ; preds = %157
  br label %163

163:                                              ; preds = %186, %162
  %164 = load i32, ptr %26, align 4, !tbaa !9
  %165 = load i32, ptr %27, align 4, !tbaa !9
  %166 = icmp slt i32 %164, %165
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  br i1 %166, label %167, label %184

167:                                              ; preds = %163
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = load i32, ptr %27, align 4, !tbaa !9
  %170 = sub nsw i32 %169, 1
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds %"class.JPH::AABox", ptr %168, i64 %171
  %173 = call { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32) %172)
  %174 = getelementptr inbounds %"class.JPH::Vec3", ptr %29, i32 0, i32 0
  %175 = getelementptr inbounds %union.anon.6, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 0
  %177 = extractvalue { double, double } %173, 0
  store double %177, ptr %176, align 16
  %178 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 1
  %179 = extractvalue { double, double } %173, 1
  store double %179, ptr %178, align 8
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %29, i32 noundef %180)
  %182 = load float, ptr %23, align 4, !tbaa !15
  %183 = fcmp oge float %181, %182
  br label %184

184:                                              ; preds = %167, %163
  %185 = phi i1 [ false, %163 ], [ %183, %167 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  br i1 %185, label %186, label %189

186:                                              ; preds = %184
  %187 = load i32, ptr %27, align 4, !tbaa !9
  %188 = add nsw i32 %187, -1
  store i32 %188, ptr %27, align 4, !tbaa !9
  br label %163, !llvm.loop !18

189:                                              ; preds = %184
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = load i32, ptr %27, align 4, !tbaa !9
  %192 = icmp slt i32 %190, %191
  br i1 %192, label %193, label %216

193:                                              ; preds = %189
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = load i32, ptr %26, align 4, !tbaa !9
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds i32, ptr %194, i64 %196
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = load i32, ptr %27, align 4, !tbaa !9
  %200 = sub nsw i32 %199, 1
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds i32, ptr %198, i64 %201
  call void @_ZSt4swapIjENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %197, ptr noundef nonnull align 4 dereferenceable(4) %202) #7
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = load i32, ptr %26, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds %"class.JPH::AABox", ptr %203, i64 %205
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = load i32, ptr %27, align 4, !tbaa !9
  %209 = sub nsw i32 %208, 1
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %"class.JPH::AABox", ptr %207, i64 %210
  call void @_ZSt4swapIN3JPH5AABoxEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 16 dereferenceable(32) %206, ptr noundef nonnull align 16 dereferenceable(32) %211) #7
  %212 = load i32, ptr %26, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %26, align 4, !tbaa !9
  %214 = load i32, ptr %27, align 4, !tbaa !9
  %215 = add nsw i32 %214, -1
  store i32 %215, ptr %27, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %193, %189
  br label %132, !llvm.loop !19

217:                                              ; preds = %132
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %26, align 4, !tbaa !9
  %220 = load i32, ptr %27, align 4, !tbaa !9
  %221 = icmp eq i32 %219, %220
  br i1 %221, label %225, label %222

222:                                              ; preds = %218
  %223 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 142)
  br i1 %223, label %224, label %225

224:                                              ; preds = %222
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !20
  br label %225

225:                                              ; preds = %224, %222, %218
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  %228 = load i32, ptr %26, align 4, !tbaa !9
  %229 = icmp sgt i32 %228, 0
  br i1 %229, label %230, label %237

230:                                              ; preds = %227
  %231 = load i32, ptr %26, align 4, !tbaa !9
  %232 = load i32, ptr %7, align 4, !tbaa !9
  %233 = icmp slt i32 %231, %232
  br i1 %233, label %234, label %237

234:                                              ; preds = %230
  %235 = load i32, ptr %26, align 4, !tbaa !9
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %235, ptr %236, align 4, !tbaa !9
  br label %241

237:                                              ; preds = %230, %227
  %238 = load i32, ptr %7, align 4, !tbaa !9
  %239 = sdiv i32 %238, 2
  %240 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %239, ptr %240, align 4, !tbaa !9
  br label %241

241:                                              ; preds = %237, %234
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %242

242:                                              ; preds = %241, %33
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sMinES0_S0_(double, double, double, double) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sMaxES0_S0_(double, double, double, double) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIjENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIN3JPH5AABoxEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = !{i64 2158386154}


; 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::Vec3" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }

@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [105 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

; 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 @_ZN3JPH19StaticCompoundShape10sPartitionEPjPNS_5AABoxEiRi(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = icmp slt i32 %2, 5
  br i1 %11, label %12, label %.lr.ph.preheader

12:                                               ; preds = %4
  %13 = sdiv i32 %2, 2
  store i32 %13, ptr %3, align 4, !tbaa !5
  br label %90

.lr.ph.preheader:                                 ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %14 = tail call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 0x47EFFFFFE0000000)
  %15 = extractvalue { double, double } %14, 0
  %16 = getelementptr inbounds i8, ptr %5, i64 8
  %17 = extractvalue { double, double } %14, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %18 = tail call { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef 0xC7EFFFFFE0000000)
  %19 = extractvalue { double, double } %18, 0
  %20 = getelementptr inbounds i8, ptr %6, i64 8
  %21 = extractvalue { double, double } %18, 1
  %22 = zext nneg i32 %2 to i64
  %23 = getelementptr inbounds %"class.JPH::AABox", ptr %1, i64 %22
  br label %.lr.ph

.preheader.lr.ph:                                 ; preds = %.lr.ph
  store double %43, ptr %5, align 16
  store double %44, ptr %16, align 8, !tbaa !9
  store double %46, ptr %6, align 16
  store double %47, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %24 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %6, double %43, double %44)
  %25 = extractvalue { double, double } %24, 0
  store double %25, ptr %7, align 16
  %26 = getelementptr inbounds i8, ptr %7, i64 8
  %27 = extractvalue { double, double } %24, 1
  store double %27, ptr %26, align 8
  %28 = call noundef i32 @_ZNK3JPH4Vec324GetHighestComponentIndexEv(ptr noundef nonnull align 16 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %.sroa.0.0.copyload = load double, ptr %6, align 16
  %.sroa.2.0.copyload = load double, ptr %20, align 8, !tbaa !9
  %29 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %5, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %30 = extractvalue { double, double } %29, 0
  store double %30, ptr %8, align 16
  %31 = getelementptr inbounds i8, ptr %8, i64 8
  %32 = extractvalue { double, double } %29, 1
  store double %32, ptr %31, align 8
  %33 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %8, i32 noundef %28)
  %34 = fmul float %33, 5.000000e-01
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %35 = getelementptr inbounds i8, ptr %9, i64 8
  %invariant.gep = getelementptr i8, ptr %1, i64 -32
  %36 = getelementptr inbounds i8, ptr %10, i64 8
  br label %.preheader

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.06781 = phi ptr [ %48, %.lr.ph ], [ %1, %.lr.ph.preheader ]
  %37 = phi double [ %43, %.lr.ph ], [ %15, %.lr.ph.preheader ]
  %.sroa.239.0.copyload7480 = phi double [ %44, %.lr.ph ], [ %17, %.lr.ph.preheader ]
  %38 = phi double [ %46, %.lr.ph ], [ %19, %.lr.ph.preheader ]
  %.sroa.234.0.copyload7879 = phi double [ %47, %.lr.ph ], [ %21, %.lr.ph.preheader ]
  %39 = tail call { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32) %.06781)
  %40 = extractvalue { double, double } %39, 0
  %41 = extractvalue { double, double } %39, 1
  %42 = tail call { double, double } @_ZN3JPH4Vec34sMinES0_S0_(double %37, double %.sroa.239.0.copyload7480, double %40, double %41)
  %43 = extractvalue { double, double } %42, 0
  %44 = extractvalue { double, double } %42, 1
  %45 = tail call { double, double } @_ZN3JPH4Vec34sMaxES0_S0_(double %38, double %.sroa.234.0.copyload7879, double %40, double %41)
  %46 = extractvalue { double, double } %45, 0
  %47 = extractvalue { double, double } %45, 1
  %48 = getelementptr inbounds i8, ptr %.06781, i64 32
  %49 = icmp ult ptr %48, %23
  br i1 %49, label %.lr.ph, label %.preheader.lr.ph, !llvm.loop !10

.preheader:                                       ; preds = %.preheader.lr.ph, %80
  %.092 = phi i32 [ %2, %.preheader.lr.ph ], [ %.2, %80 ]
  %.06491 = phi i32 [ 0, %.preheader.lr.ph ], [ %.266, %80 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %50 = sext i32 %.06491 to i64
  %51 = sext i32 %.092 to i64
  br label %52

52:                                               ; preds = %.preheader, %59
  %indvars.iv = phi i64 [ %50, %.preheader ], [ %indvars.iv.next, %59 ]
  %53 = getelementptr inbounds %"class.JPH::AABox", ptr %1, i64 %indvars.iv
  %54 = call { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32) %53)
  %55 = extractvalue { double, double } %54, 0
  store double %55, ptr %9, align 16
  %56 = extractvalue { double, double } %54, 1
  store double %56, ptr %35, align 8
  %57 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %9, i32 noundef %28)
  %58 = fcmp olt float %57, %34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br i1 %58, label %59, label %.loopexit

59:                                               ; preds = %52
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %60 = icmp slt i64 %indvars.iv.next, %51
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  br i1 %60, label %52, label %.critedge, !llvm.loop !12

.critedge:                                        ; preds = %59
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %.loopexit

.loopexit:                                        ; preds = %52, %.critedge
  %.16571.in = phi i64 [ %indvars.iv.next, %.critedge ], [ %indvars.iv, %52 ]
  %.16571 = trunc i64 %.16571.in to i32
  %61 = icmp sgt i32 %.092, %.16571
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  br i1 %61, label %.lr.ph88.preheader, label %._crit_edge89

.lr.ph88.preheader:                               ; preds = %.loopexit
  %sext = shl i64 %.16571.in, 32
  %62 = ashr exact i64 %sext, 32
  br label %.lr.ph88

.lr.ph88:                                         ; preds = %.lr.ph88.preheader, %68
  %indvars.iv105 = phi i64 [ %51, %.lr.ph88.preheader ], [ %indvars.iv.next106, %68 ]
  %gep = getelementptr %"class.JPH::AABox", ptr %invariant.gep, i64 %indvars.iv105
  %63 = call { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32) %gep)
  %64 = extractvalue { double, double } %63, 0
  store double %64, ptr %10, align 16
  %65 = extractvalue { double, double } %63, 1
  store double %65, ptr %36, align 8
  %66 = call noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16) %10, i32 noundef %28)
  %67 = fcmp ult float %66, %34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br i1 %67, label %71, label %68

68:                                               ; preds = %.lr.ph88
  %indvars.iv.next106 = add nsw i64 %indvars.iv105, -1
  %69 = icmp slt i64 %62, %indvars.iv.next106
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  br i1 %69, label %.lr.ph88, label %._crit_edge89.loopexit, !llvm.loop !13

._crit_edge89.loopexit:                           ; preds = %68
  %70 = trunc nsw i64 %indvars.iv.next106 to i32
  br label %._crit_edge89

._crit_edge89:                                    ; preds = %._crit_edge89.loopexit, %.loopexit
  %.1.lcssa = phi i32 [ %.092, %.loopexit ], [ %70, %._crit_edge89.loopexit ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %80

71:                                               ; preds = %.lr.ph88
  %72 = trunc nsw i64 %indvars.iv105 to i32
  %73 = getelementptr inbounds i32, ptr %0, i64 %62
  %74 = add nsw i32 %72, -1
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i32, ptr %0, i64 %75
  call void @_ZSt4swapIjENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %76) #6
  %77 = getelementptr inbounds %"class.JPH::AABox", ptr %1, i64 %62
  %78 = getelementptr inbounds %"class.JPH::AABox", ptr %1, i64 %75
  call void @_ZSt4swapIN3JPH5AABoxEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 16 dereferenceable(32) %77, ptr noundef nonnull align 16 dereferenceable(32) %78) #6
  %79 = add nsw i32 %.16571, 1
  br label %80

80:                                               ; preds = %._crit_edge89, %71
  %.266 = phi i32 [ %79, %71 ], [ %.16571, %._crit_edge89 ]
  %.2 = phi i32 [ %74, %71 ], [ %.1.lcssa, %._crit_edge89 ]
  %81 = icmp slt i32 %.266, %.2
  br i1 %81, label %.preheader, label %._crit_edge93, !llvm.loop !14

._crit_edge93:                                    ; preds = %80
  %82 = icmp eq i32 %.266, %.2
  br i1 %82, label %86, label %83

83:                                               ; preds = %._crit_edge93
  %84 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 142)
  br i1 %84, label %85, label %86

85:                                               ; preds = %83
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !15
  br label %86

86:                                               ; preds = %85, %83, %._crit_edge93
  %87 = icmp sgt i32 %.266, 0
  %88 = icmp slt i32 %.266, %2
  %or.cond = and i1 %87, %88
  %89 = lshr i32 %2, 1
  %storemerge = select i1 %or.cond, i32 %.266, i32 %89
  store i32 %storemerge, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %90

90:                                               ; preds = %86, %12
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec310sReplicateEf(float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5AABox9GetCenterEv(ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sMinES0_S0_(double, double, double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sMaxES0_S0_(double, double, double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #2 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec3ixEj(ptr noundef nonnull align 16 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIjENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIN3JPH5AABoxEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #4

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

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 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = !{i64 2158386154}


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