; LLVM IR from Try/Tempest :: Engine/thirdparty/squish/clusterfit.ll (ZN6squish10ClusterFit9Compress3EPv)

; 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.squish::Vec4" = type { float, float, float, float }
%"class.squish::Vec3" = type { float, float, float }
%"class.squish::ColourFit" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.squish::ClusterFit" = type { %"class.squish::ColourFit.base", i32, %"class.squish::Vec3", [128 x i8], [16 x %"class.squish::Vec4"], %"class.squish::Vec4", %"class.squish::Vec4", %"class.squish::Vec4", [4 x i8] }
%"class.squish::ColourFit.base" = type <{ ptr, ptr, i32 }>

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16), float noundef) unnamed_addr #1 align 2

; 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) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6squish9ColourSet8GetCountEv(ptr noundef nonnull align 4 dereferenceable(325)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468), ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6squish10ClusterFit9Compress3EPv(ptr noundef nonnull align 8 dereferenceable(468) %0, ptr noundef %1) unnamed_addr #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.squish::Vec4", align 4
  %7 = alloca %"class.squish::Vec4", align 4
  %8 = alloca %"class.squish::Vec4", align 4
  %9 = alloca %"class.squish::Vec4", align 4
  %10 = alloca %"class.squish::Vec4", align 4
  %11 = alloca %"class.squish::Vec4", align 4
  %12 = alloca %"class.squish::Vec4", align 4
  %13 = alloca %"class.squish::Vec4", align 4
  %14 = alloca %"class.squish::Vec4", align 4
  %15 = alloca %"class.squish::Vec4", align 4
  %16 = alloca [16 x i8], align 16
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.squish::Vec4", align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.squish::Vec4", align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.squish::Vec4", align 4
  %28 = alloca %"class.squish::Vec4", align 4
  %29 = alloca %"class.squish::Vec4", align 4
  %30 = alloca %"class.squish::Vec4", align 4
  %31 = alloca %"class.squish::Vec4", align 4
  %32 = alloca %"class.squish::Vec4", align 4
  %33 = alloca %"class.squish::Vec4", align 4
  %34 = alloca %"class.squish::Vec4", align 4
  %35 = alloca %"class.squish::Vec4", align 4
  %36 = alloca %"class.squish::Vec4", align 4
  %37 = alloca %"class.squish::Vec4", align 4
  %38 = alloca %"class.squish::Vec4", align 4
  %39 = alloca %"class.squish::Vec4", align 4
  %40 = alloca %"class.squish::Vec4", align 4
  %41 = alloca %"class.squish::Vec4", align 4
  %42 = alloca %"class.squish::Vec4", align 4
  %43 = alloca %"class.squish::Vec4", align 4
  %44 = alloca %"class.squish::Vec4", align 4
  %45 = alloca %"class.squish::Vec4", align 4
  %46 = alloca %"class.squish::Vec4", align 4
  %47 = alloca %"class.squish::Vec4", align 4
  %48 = alloca %"class.squish::Vec4", align 4
  %49 = alloca %"class.squish::Vec4", align 4
  %50 = alloca %"class.squish::Vec4", align 4
  %51 = alloca %"class.squish::Vec4", align 4
  %52 = alloca %"class.squish::Vec4", align 4
  %53 = alloca %"class.squish::Vec4", align 4
  %54 = alloca %"class.squish::Vec4", align 4
  %55 = alloca %"class.squish::Vec4", align 4
  %56 = alloca %"class.squish::Vec4", align 4
  %57 = alloca %"class.squish::Vec4", align 4
  %58 = alloca %"class.squish::Vec4", align 4
  %59 = alloca %"class.squish::Vec4", align 4
  %60 = alloca %"class.squish::Vec4", align 4
  %61 = alloca %"class.squish::Vec4", align 4
  %62 = alloca %"class.squish::Vec4", align 4
  %63 = alloca %"class.squish::Vec4", align 4
  %64 = alloca %"class.squish::Vec4", align 4
  %65 = alloca %"class.squish::Vec4", align 4
  %66 = alloca %"class.squish::Vec4", align 4
  %67 = alloca %"class.squish::Vec4", align 4
  %68 = alloca %"class.squish::Vec4", align 4
  %69 = alloca %"class.squish::Vec3", align 4
  %70 = alloca %"class.squish::Vec4", align 4
  %71 = alloca { <2 x float>, float }, align 8
  %72 = alloca ptr, align 8
  %73 = alloca [16 x i8], align 16
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca %"class.squish::Vec3", align 4
  %78 = alloca { <2 x float>, float }, align 8
  %79 = alloca %"class.squish::Vec3", align 4
  %80 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %81 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %82 = getelementptr inbounds %"class.squish::ColourFit", ptr %81, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = call noundef i32 @_ZNK6squish9ColourSet8GetCountEv(ptr noundef nonnull align 4 dereferenceable(325) %83)
  store i32 %84, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 2.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 2.500000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 3.100000e+01, float noundef 6.300000e+01, float noundef 3.100000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef 0x3FA0842100000000, float noundef 0x3F90410420000000, float noundef 0x3FA0842100000000, float noundef 0.000000e+00)
  %85 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 2
  %86 = call noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468) %81, ptr noundef nonnull align 4 dereferenceable(12) %85, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %87 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %87, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !12
  br label %88

88:                                               ; preds = %381, %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !12
  br label %89

89:                                               ; preds = %351, %88
  %90 = load i32, ptr %22, align 4, !tbaa !12
  %91 = load i32, ptr %5, align 4, !tbaa !12
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 4, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %354

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %95 = load i32, ptr %22, align 4, !tbaa !12
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %100

97:                                               ; preds = %94
  %98 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 4
  %99 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %98, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %99, i64 16, i1 false), !tbaa.struct !13
  br label %101

100:                                              ; preds = %94
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %24, float noundef 0.000000e+00)
  br label %101

101:                                              ; preds = %100, %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %102 = load i32, ptr %22, align 4, !tbaa !12
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %101
  br label %107

105:                                              ; preds = %101
  %106 = load i32, ptr %22, align 4, !tbaa !12
  br label %107

107:                                              ; preds = %105, %104
  %108 = phi i32 [ 1, %104 ], [ %106, %105 ]
  store i32 %108, ptr %25, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %109 = load i32, ptr %25, align 4, !tbaa !12
  store i32 %109, ptr %26, align 4, !tbaa !12
  br label %110

110:                                              ; preds = %343, %107
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  %111 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 5
  %112 = call { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %111, ptr noundef nonnull align 4 dereferenceable(16) %24)
  %113 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %114 = extractvalue { <2 x float>, <2 x float> } %112, 0
  store <2 x float> %114, ptr %113, align 4
  %115 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %116 = extractvalue { <2 x float>, <2 x float> } %112, 1
  store <2 x float> %116, ptr %115, align 4
  %117 = call { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(16) %21)
  %118 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %119 = extractvalue { <2 x float>, <2 x float> } %117, 0
  store <2 x float> %119, ptr %118, align 4
  %120 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %121 = extractvalue { <2 x float>, <2 x float> } %117, 1
  store <2 x float> %121, ptr %120, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %122 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %21)
  %123 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 0
  %124 = extractvalue { <2 x float>, <2 x float> } %122, 0
  store <2 x float> %124, ptr %123, align 4
  %125 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 1
  %126 = extractvalue { <2 x float>, <2 x float> } %122, 1
  store <2 x float> %126, ptr %125, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  %127 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16) %29)
  %128 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 0
  %129 = extractvalue { <2 x float>, <2 x float> } %127, 0
  store <2 x float> %129, ptr %128, align 4
  %130 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 1
  %131 = extractvalue { <2 x float>, <2 x float> } %127, 1
  store <2 x float> %131, ptr %130, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  %132 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %27)
  %133 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %134 = extractvalue { <2 x float>, <2 x float> } %132, 0
  store <2 x float> %134, ptr %133, align 4
  %135 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %136 = extractvalue { <2 x float>, <2 x float> } %132, 1
  store <2 x float> %136, ptr %135, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #6
  %137 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16) %31)
  %138 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 0
  %139 = extractvalue { <2 x float>, <2 x float> } %137, 0
  store <2 x float> %139, ptr %138, align 4
  %140 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %32, i32 0, i32 1
  %141 = extractvalue { <2 x float>, <2 x float> } %137, 1
  store <2 x float> %141, ptr %140, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #6
  %142 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %143 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 0
  %144 = extractvalue { <2 x float>, <2 x float> } %142, 0
  store <2 x float> %144, ptr %143, align 4
  %145 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 1
  %146 = extractvalue { <2 x float>, <2 x float> } %142, 1
  store <2 x float> %146, ptr %145, align 4
  %147 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16) %34)
  %148 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %33, i32 0, i32 0
  %149 = extractvalue { <2 x float>, <2 x float> } %147, 0
  store <2 x float> %149, ptr %148, align 4
  %150 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %33, i32 0, i32 1
  %151 = extractvalue { <2 x float>, <2 x float> } %147, 1
  store <2 x float> %151, ptr %150, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #6
  %152 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %153 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %37, i32 0, i32 0
  %154 = extractvalue { <2 x float>, <2 x float> } %152, 0
  store <2 x float> %154, ptr %153, align 4
  %155 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %37, i32 0, i32 1
  %156 = extractvalue { <2 x float>, <2 x float> } %152, 1
  store <2 x float> %156, ptr %155, align 4
  %157 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %37)
  %158 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 0
  %159 = extractvalue { <2 x float>, <2 x float> } %157, 0
  store <2 x float> %159, ptr %158, align 4
  %160 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 1
  %161 = extractvalue { <2 x float>, <2 x float> } %157, 1
  store <2 x float> %161, ptr %160, align 4
  %162 = call { <2 x float>, <2 x float> } @_ZN6squish10ReciprocalERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16) %36)
  %163 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %35, i32 0, i32 0
  %164 = extractvalue { <2 x float>, <2 x float> } %162, 0
  store <2 x float> %164, ptr %163, align 4
  %165 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %35, i32 0, i32 1
  %166 = extractvalue { <2 x float>, <2 x float> } %162, 1
  store <2 x float> %166, ptr %165, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #6
  %167 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %168 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %40, i32 0, i32 0
  %169 = extractvalue { <2 x float>, <2 x float> } %167, 0
  store <2 x float> %169, ptr %168, align 4
  %170 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %40, i32 0, i32 1
  %171 = extractvalue { <2 x float>, <2 x float> } %167, 1
  store <2 x float> %171, ptr %170, align 4
  %172 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %40)
  %173 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %39, i32 0, i32 0
  %174 = extractvalue { <2 x float>, <2 x float> } %172, 0
  store <2 x float> %174, ptr %173, align 4
  %175 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %39, i32 0, i32 1
  %176 = extractvalue { <2 x float>, <2 x float> } %172, 1
  store <2 x float> %176, ptr %175, align 4
  %177 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(16) %35)
  %178 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %38, i32 0, i32 0
  %179 = extractvalue { <2 x float>, <2 x float> } %177, 0
  store <2 x float> %179, ptr %178, align 4
  %180 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %38, i32 0, i32 1
  %181 = extractvalue { <2 x float>, <2 x float> } %177, 1
  store <2 x float> %181, ptr %180, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #6
  %182 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %183 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %43, i32 0, i32 0
  %184 = extractvalue { <2 x float>, <2 x float> } %182, 0
  store <2 x float> %184, ptr %183, align 4
  %185 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %43, i32 0, i32 1
  %186 = extractvalue { <2 x float>, <2 x float> } %182, 1
  store <2 x float> %186, ptr %185, align 4
  %187 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %43)
  %188 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %42, i32 0, i32 0
  %189 = extractvalue { <2 x float>, <2 x float> } %187, 0
  store <2 x float> %189, ptr %188, align 4
  %190 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %42, i32 0, i32 1
  %191 = extractvalue { <2 x float>, <2 x float> } %187, 1
  store <2 x float> %191, ptr %190, align 4
  %192 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %42, ptr noundef nonnull align 4 dereferenceable(16) %35)
  %193 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %41, i32 0, i32 0
  %194 = extractvalue { <2 x float>, <2 x float> } %192, 0
  store <2 x float> %194, ptr %193, align 4
  %195 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %41, i32 0, i32 1
  %196 = extractvalue { <2 x float>, <2 x float> } %192, 1
  store <2 x float> %196, ptr %195, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #6
  %197 = call { <2 x float>, <2 x float> } @_ZN6squish3MaxERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %38)
  %198 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %45, i32 0, i32 0
  %199 = extractvalue { <2 x float>, <2 x float> } %197, 0
  store <2 x float> %199, ptr %198, align 4
  %200 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %45, i32 0, i32 1
  %201 = extractvalue { <2 x float>, <2 x float> } %197, 1
  store <2 x float> %201, ptr %200, align 4
  %202 = call { <2 x float>, <2 x float> } @_ZN6squish3MinERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %45)
  %203 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %44, i32 0, i32 0
  %204 = extractvalue { <2 x float>, <2 x float> } %202, 0
  store <2 x float> %204, ptr %203, align 4
  %205 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %44, i32 0, i32 1
  %206 = extractvalue { <2 x float>, <2 x float> } %202, 1
  store <2 x float> %206, ptr %205, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %44, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #6
  %207 = call { <2 x float>, <2 x float> } @_ZN6squish3MaxERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %41)
  %208 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 0
  %209 = extractvalue { <2 x float>, <2 x float> } %207, 0
  store <2 x float> %209, ptr %208, align 4
  %210 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 1
  %211 = extractvalue { <2 x float>, <2 x float> } %207, 1
  store <2 x float> %211, ptr %210, align 4
  %212 = call { <2 x float>, <2 x float> } @_ZN6squish3MinERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %47)
  %213 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %46, i32 0, i32 0
  %214 = extractvalue { <2 x float>, <2 x float> } %212, 0
  store <2 x float> %214, ptr %213, align 4
  %215 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %46, i32 0, i32 1
  %216 = extractvalue { <2 x float>, <2 x float> } %212, 1
  store <2 x float> %216, ptr %215, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %46, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #6
  %217 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(16) %10)
  %218 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 0
  %219 = extractvalue { <2 x float>, <2 x float> } %217, 0
  store <2 x float> %219, ptr %218, align 4
  %220 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 1
  %221 = extractvalue { <2 x float>, <2 x float> } %217, 1
  store <2 x float> %221, ptr %220, align 4
  %222 = call { <2 x float>, <2 x float> } @_ZN6squish8TruncateERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16) %50)
  %223 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 0
  %224 = extractvalue { <2 x float>, <2 x float> } %222, 0
  store <2 x float> %224, ptr %223, align 4
  %225 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 1
  %226 = extractvalue { <2 x float>, <2 x float> } %222, 1
  store <2 x float> %226, ptr %225, align 4
  %227 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %12)
  %228 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 0
  %229 = extractvalue { <2 x float>, <2 x float> } %227, 0
  store <2 x float> %229, ptr %228, align 4
  %230 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 1
  %231 = extractvalue { <2 x float>, <2 x float> } %227, 1
  store <2 x float> %231, ptr %230, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %48, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #6
  %232 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(16) %10)
  %233 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %53, i32 0, i32 0
  %234 = extractvalue { <2 x float>, <2 x float> } %232, 0
  store <2 x float> %234, ptr %233, align 4
  %235 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %53, i32 0, i32 1
  %236 = extractvalue { <2 x float>, <2 x float> } %232, 1
  store <2 x float> %236, ptr %235, align 4
  %237 = call { <2 x float>, <2 x float> } @_ZN6squish8TruncateERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16) %53)
  %238 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %52, i32 0, i32 0
  %239 = extractvalue { <2 x float>, <2 x float> } %237, 0
  store <2 x float> %239, ptr %238, align 4
  %240 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %52, i32 0, i32 1
  %241 = extractvalue { <2 x float>, <2 x float> } %237, 1
  store <2 x float> %241, ptr %240, align 4
  %242 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %52, ptr noundef nonnull align 4 dereferenceable(16) %12)
  %243 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 0
  %244 = extractvalue { <2 x float>, <2 x float> } %242, 0
  store <2 x float> %244, ptr %243, align 4
  %245 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 1
  %246 = extractvalue { <2 x float>, <2 x float> } %242, 1
  store <2 x float> %246, ptr %245, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %51, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #6
  %247 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(16) %38)
  %248 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %55, i32 0, i32 0
  %249 = extractvalue { <2 x float>, <2 x float> } %247, 0
  store <2 x float> %249, ptr %248, align 4
  %250 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %55, i32 0, i32 1
  %251 = extractvalue { <2 x float>, <2 x float> } %247, 1
  store <2 x float> %251, ptr %250, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #6
  %252 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(16) %41)
  %253 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %57, i32 0, i32 0
  %254 = extractvalue { <2 x float>, <2 x float> } %252, 0
  store <2 x float> %254, ptr %253, align 4
  %255 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %57, i32 0, i32 1
  %256 = extractvalue { <2 x float>, <2 x float> } %252, 1
  store <2 x float> %256, ptr %255, align 4
  %257 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %57, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %258 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 0
  %259 = extractvalue { <2 x float>, <2 x float> } %257, 0
  store <2 x float> %259, ptr %258, align 4
  %260 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 1
  %261 = extractvalue { <2 x float>, <2 x float> } %257, 1
  store <2 x float> %261, ptr %260, align 4
  %262 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %55, ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %56)
  %263 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %54, i32 0, i32 0
  %264 = extractvalue { <2 x float>, <2 x float> } %262, 0
  store <2 x float> %264, ptr %263, align 4
  %265 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %54, i32 0, i32 1
  %266 = extractvalue { <2 x float>, <2 x float> } %262, 1
  store <2 x float> %266, ptr %265, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #6
  %267 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(16) %41)
  %268 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 0
  %269 = extractvalue { <2 x float>, <2 x float> } %267, 0
  store <2 x float> %269, ptr %268, align 4
  %270 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 1
  %271 = extractvalue { <2 x float>, <2 x float> } %267, 1
  store <2 x float> %271, ptr %270, align 4
  %272 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %60, ptr noundef nonnull align 4 dereferenceable(16) %33)
  %273 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %59, i32 0, i32 0
  %274 = extractvalue { <2 x float>, <2 x float> } %272, 0
  store <2 x float> %274, ptr %273, align 4
  %275 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %59, i32 0, i32 1
  %276 = extractvalue { <2 x float>, <2 x float> } %272, 1
  store <2 x float> %276, ptr %275, align 4
  %277 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(16) %59)
  %278 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %58, i32 0, i32 0
  %279 = extractvalue { <2 x float>, <2 x float> } %277, 0
  store <2 x float> %279, ptr %278, align 4
  %280 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %58, i32 0, i32 1
  %281 = extractvalue { <2 x float>, <2 x float> } %277, 1
  store <2 x float> %281, ptr %280, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #6
  %282 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(16) %58)
  %283 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 0
  %284 = extractvalue { <2 x float>, <2 x float> } %282, 0
  store <2 x float> %284, ptr %283, align 4
  %285 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 1
  %286 = extractvalue { <2 x float>, <2 x float> } %282, 1
  store <2 x float> %286, ptr %285, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #6
  %287 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %61, ptr noundef nonnull align 4 dereferenceable(16) %54)
  %288 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 0
  %289 = extractvalue { <2 x float>, <2 x float> } %287, 0
  store <2 x float> %289, ptr %288, align 4
  %290 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 1
  %291 = extractvalue { <2 x float>, <2 x float> } %287, 1
  store <2 x float> %291, ptr %290, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #6
  %292 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 6
  %293 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %62, ptr noundef nonnull align 4 dereferenceable(16) %292)
  %294 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 0
  %295 = extractvalue { <2 x float>, <2 x float> } %293, 0
  store <2 x float> %295, ptr %294, align 4
  %296 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 1
  %297 = extractvalue { <2 x float>, <2 x float> } %293, 1
  store <2 x float> %297, ptr %296, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %64) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %65) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #6
  %298 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatXEv(ptr noundef nonnull align 4 dereferenceable(16) %63)
  %299 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 0
  %300 = extractvalue { <2 x float>, <2 x float> } %298, 0
  store <2 x float> %300, ptr %299, align 4
  %301 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 1
  %302 = extractvalue { <2 x float>, <2 x float> } %298, 1
  store <2 x float> %302, ptr %301, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %67) #6
  %303 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatYEv(ptr noundef nonnull align 4 dereferenceable(16) %63)
  %304 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %305 = extractvalue { <2 x float>, <2 x float> } %303, 0
  store <2 x float> %305, ptr %304, align 4
  %306 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %307 = extractvalue { <2 x float>, <2 x float> } %303, 1
  store <2 x float> %307, ptr %306, align 4
  %308 = call { <2 x float>, <2 x float> } @_ZN6squishplERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %66, ptr noundef nonnull align 4 dereferenceable(16) %67)
  %309 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %65, i32 0, i32 0
  %310 = extractvalue { <2 x float>, <2 x float> } %308, 0
  store <2 x float> %310, ptr %309, align 4
  %311 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %65, i32 0, i32 1
  %312 = extractvalue { <2 x float>, <2 x float> } %308, 1
  store <2 x float> %312, ptr %311, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #6
  %313 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatZEv(ptr noundef nonnull align 4 dereferenceable(16) %63)
  %314 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 0
  %315 = extractvalue { <2 x float>, <2 x float> } %313, 0
  store <2 x float> %315, ptr %314, align 4
  %316 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 1
  %317 = extractvalue { <2 x float>, <2 x float> } %313, 1
  store <2 x float> %317, ptr %316, align 4
  %318 = call { <2 x float>, <2 x float> } @_ZN6squishplERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %65, ptr noundef nonnull align 4 dereferenceable(16) %68)
  %319 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %64, i32 0, i32 0
  %320 = extractvalue { <2 x float>, <2 x float> } %318, 0
  store <2 x float> %320, ptr %319, align 4
  %321 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %64, i32 0, i32 1
  %322 = extractvalue { <2 x float>, <2 x float> } %318, 1
  store <2 x float> %322, ptr %321, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #6
  %323 = call noundef zeroext i1 @_ZN6squish18CompareAnyLessThanERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %64, ptr noundef nonnull align 4 dereferenceable(16) %15)
  br i1 %323, label %324, label %328

324:                                              ; preds = %110
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %38, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %41, i64 16, i1 false), !tbaa.struct !13
  %325 = load i32, ptr %22, align 4, !tbaa !12
  store i32 %325, ptr %18, align 4, !tbaa !12
  %326 = load i32, ptr %26, align 4, !tbaa !12
  store i32 %326, ptr %19, align 4, !tbaa !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %64, i64 16, i1 false), !tbaa.struct !13
  %327 = load i32, ptr %20, align 4, !tbaa !12
  store i32 %327, ptr %17, align 4, !tbaa !12
  br label %328

328:                                              ; preds = %324, %110
  %329 = load i32, ptr %26, align 4, !tbaa !12
  %330 = load i32, ptr %5, align 4, !tbaa !12
  %331 = icmp eq i32 %329, %330
  br i1 %331, label %332, label %333

332:                                              ; preds = %328
  store i32 7, ptr %23, align 4
  br label %341

333:                                              ; preds = %328
  %334 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 4
  %335 = load i32, ptr %26, align 4, !tbaa !12
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %334, i64 0, i64 %336
  %338 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %337)
  %339 = load i32, ptr %26, align 4, !tbaa !12
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr %26, align 4, !tbaa !12
  store i32 0, ptr %23, align 4
  br label %341

341:                                              ; preds = %333, %332
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  %342 = load i32, ptr %23, align 4
  switch i32 %342, label %344 [
    i32 0, label %343
  ]

343:                                              ; preds = %341
  br label %110, !llvm.loop !16

344:                                              ; preds = %341
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %345

345:                                              ; preds = %344
  %346 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 4
  %347 = load i32, ptr %22, align 4, !tbaa !12
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %346, i64 0, i64 %348
  %350 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(16) %349)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %351

351:                                              ; preds = %345
  %352 = load i32, ptr %22, align 4, !tbaa !12
  %353 = add nsw i32 %352, 1
  store i32 %353, ptr %22, align 4, !tbaa !12
  br label %89, !llvm.loop !18

354:                                              ; preds = %93
  %355 = load i32, ptr %17, align 4, !tbaa !12
  %356 = load i32, ptr %20, align 4, !tbaa !12
  %357 = icmp ne i32 %355, %356
  br i1 %357, label %358, label %359

358:                                              ; preds = %354
  store i32 2, ptr %23, align 4
  br label %379

359:                                              ; preds = %354
  %360 = load i32, ptr %20, align 4, !tbaa !12
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %20, align 4, !tbaa !12
  %362 = load i32, ptr %20, align 4, !tbaa !12
  %363 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 1
  %364 = load i32, ptr %363, align 4, !tbaa !19
  %365 = icmp eq i32 %362, %364
  br i1 %365, label %366, label %367

366:                                              ; preds = %359
  store i32 2, ptr %23, align 4
  br label %379

367:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 12, ptr %69) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %70) #6
  %368 = call { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %13)
  %369 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 0
  %370 = extractvalue { <2 x float>, <2 x float> } %368, 0
  store <2 x float> %370, ptr %369, align 4
  %371 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 1
  %372 = extractvalue { <2 x float>, <2 x float> } %368, 1
  store <2 x float> %372, ptr %371, align 4
  %373 = call { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16) %70)
  store { <2 x float>, float } %373, ptr %71, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 8 %71, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #6
  %374 = load i32, ptr %20, align 4, !tbaa !12
  %375 = call noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468) %81, ptr noundef nonnull align 4 dereferenceable(12) %69, i32 noundef %374)
  br i1 %375, label %377, label %376

376:                                              ; preds = %367
  store i32 2, ptr %23, align 4
  br label %378

377:                                              ; preds = %367
  store i32 0, ptr %23, align 4
  br label %378

378:                                              ; preds = %377, %376
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #6
  br label %379

379:                                              ; preds = %378, %366, %358
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  %380 = load i32, ptr %23, align 4
  switch i32 %380, label %382 [
    i32 0, label %381
  ]

381:                                              ; preds = %379
  br label %88, !llvm.loop !23

382:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %383

383:                                              ; preds = %382
  %384 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 7
  %385 = call noundef zeroext i1 @_ZN6squish18CompareAnyLessThanERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %384)
  br i1 %385, label %386, label %455

386:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #6
  %387 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 3
  %388 = getelementptr inbounds [128 x i8], ptr %387, i64 0, i64 0
  %389 = load i32, ptr %17, align 4, !tbaa !12
  %390 = mul nsw i32 16, %389
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds i8, ptr %388, i64 %391
  store ptr %392, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %73) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #6
  store i32 0, ptr %74, align 4, !tbaa !12
  br label %393

393:                                              ; preds = %406, %386
  %394 = load i32, ptr %74, align 4, !tbaa !12
  %395 = load i32, ptr %18, align 4, !tbaa !12
  %396 = icmp slt i32 %394, %395
  br i1 %396, label %398, label %397

397:                                              ; preds = %393
  store i32 9, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #6
  br label %409

398:                                              ; preds = %393
  %399 = load ptr, ptr %72, align 8, !tbaa !5
  %400 = load i32, ptr %74, align 4, !tbaa !12
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds i8, ptr %399, i64 %401
  %403 = load i8, ptr %402, align 1, !tbaa !24
  %404 = zext i8 %403 to i64
  %405 = getelementptr inbounds [16 x i8], ptr %73, i64 0, i64 %404
  store i8 0, ptr %405, align 1, !tbaa !24
  br label %406

406:                                              ; preds = %398
  %407 = load i32, ptr %74, align 4, !tbaa !12
  %408 = add nsw i32 %407, 1
  store i32 %408, ptr %74, align 4, !tbaa !12
  br label %393, !llvm.loop !25

409:                                              ; preds = %397
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #6
  %410 = load i32, ptr %18, align 4, !tbaa !12
  store i32 %410, ptr %75, align 4, !tbaa !12
  br label %411

411:                                              ; preds = %424, %409
  %412 = load i32, ptr %75, align 4, !tbaa !12
  %413 = load i32, ptr %19, align 4, !tbaa !12
  %414 = icmp slt i32 %412, %413
  br i1 %414, label %416, label %415

415:                                              ; preds = %411
  store i32 12, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #6
  br label %427

416:                                              ; preds = %411
  %417 = load ptr, ptr %72, align 8, !tbaa !5
  %418 = load i32, ptr %75, align 4, !tbaa !12
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds i8, ptr %417, i64 %419
  %421 = load i8, ptr %420, align 1, !tbaa !24
  %422 = zext i8 %421 to i64
  %423 = getelementptr inbounds [16 x i8], ptr %73, i64 0, i64 %422
  store i8 2, ptr %423, align 1, !tbaa !24
  br label %424

424:                                              ; preds = %416
  %425 = load i32, ptr %75, align 4, !tbaa !12
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr %75, align 4, !tbaa !12
  br label %411, !llvm.loop !26

427:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #6
  %428 = load i32, ptr %19, align 4, !tbaa !12
  store i32 %428, ptr %76, align 4, !tbaa !12
  br label %429

429:                                              ; preds = %442, %427
  %430 = load i32, ptr %76, align 4, !tbaa !12
  %431 = load i32, ptr %5, align 4, !tbaa !12
  %432 = icmp slt i32 %430, %431
  br i1 %432, label %434, label %433

433:                                              ; preds = %429
  store i32 15, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #6
  br label %445

434:                                              ; preds = %429
  %435 = load ptr, ptr %72, align 8, !tbaa !5
  %436 = load i32, ptr %76, align 4, !tbaa !12
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds i8, ptr %435, i64 %437
  %439 = load i8, ptr %438, align 1, !tbaa !24
  %440 = zext i8 %439 to i64
  %441 = getelementptr inbounds [16 x i8], ptr %73, i64 0, i64 %440
  store i8 1, ptr %441, align 1, !tbaa !24
  br label %442

442:                                              ; preds = %434
  %443 = load i32, ptr %76, align 4, !tbaa !12
  %444 = add nsw i32 %443, 1
  store i32 %444, ptr %76, align 4, !tbaa !12
  br label %429, !llvm.loop !27

445:                                              ; preds = %433
  %446 = getelementptr inbounds %"class.squish::ColourFit", ptr %81, i32 0, i32 1
  %447 = load ptr, ptr %446, align 8, !tbaa !9
  %448 = getelementptr inbounds [16 x i8], ptr %73, i64 0, i64 0
  %449 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  call void @_ZNK6squish9ColourSet12RemapIndicesEPKhPh(ptr noundef nonnull align 4 dereferenceable(325) %447, ptr noundef %448, ptr noundef %449)
  call void @llvm.lifetime.start.p0(i64 12, ptr %77) #6
  %450 = call { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16) %13)
  store { <2 x float>, float } %450, ptr %78, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 8 %78, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %79) #6
  %451 = call { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16) %14)
  store { <2 x float>, float } %451, ptr %80, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 8 %80, i64 12, i1 false)
  %452 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  %453 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6squish17WriteColourBlock3ERKNS_4Vec3ES2_PKhPv(ptr noundef nonnull align 4 dereferenceable(12) %77, ptr noundef nonnull align 4 dereferenceable(12) %79, ptr noundef %452, ptr noundef %453)
  call void @llvm.lifetime.end.p0(i64 12, ptr %79) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %77) #6
  %454 = getelementptr inbounds %"class.squish::ClusterFit", ptr %81, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %454, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #6
  br label %455

455:                                              ; preds = %445, %383
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish10ReciprocalERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish3MinERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish3MaxERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish8TruncateERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishplERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #1

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatXEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatYEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatZEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6squish18CompareAnyLessThanERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #1

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

declare void @_ZNK6squish9ColourSet12RemapIndicesEPKhPh(ptr noundef nonnull align 4 dereferenceable(325), ptr noundef, ptr noundef) #5

declare void @_ZN6squish17WriteColourBlock3ERKNS_4Vec3ES2_PKhPv(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef, ptr noundef) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN6squish9ColourFitE", !6, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{i64 0, i64 4, !14, i64 4, i64 4, !14, i64 8, i64 4, !14, i64 12, i64 4, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!20, !11, i64 20}
!20 = !{!"_ZTSN6squish10ClusterFitE", !10, i64 0, !11, i64 20, !21, i64 24, !7, i64 36, !7, i64 164, !22, i64 420, !22, i64 436, !22, i64 452}
!21 = !{!"_ZTSN6squish4Vec3E", !15, i64 0, !15, i64 4, !15, i64 8}
!22 = !{!"_ZTSN6squish4Vec4E", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = distinct !{!23, !17}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = distinct !{!27, !17}


; 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.squish::Vec4" = type { float, float, float, float }
%"class.squish::Vec3" = type { float, float, float }

; 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 nounwind uwtable
declare dso_local void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress 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) #2

; 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 nounwind uwtable
declare dso_local void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6squish9ColourSet8GetCountEv(ptr noundef nonnull align 4 dereferenceable(325)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468), ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6squish10ClusterFit9Compress3EPv(ptr noundef nonnull align 8 dereferenceable(468) %0, ptr noundef %1) unnamed_addr #3 align 2 {
  %3 = alloca %"class.squish::Vec4", align 4
  %4 = alloca %"class.squish::Vec4", align 4
  %5 = alloca %"class.squish::Vec4", align 4
  %6 = alloca %"class.squish::Vec4", align 4
  %7 = alloca %"class.squish::Vec4", align 4
  %8 = alloca %"class.squish::Vec4", align 4
  %9 = alloca %"class.squish::Vec4", align 4
  %10 = alloca %"class.squish::Vec4", align 4
  %11 = alloca %"class.squish::Vec4", align 4
  %12 = alloca %"class.squish::Vec4", align 4
  %13 = alloca [16 x i8], align 16
  %14 = alloca %"class.squish::Vec4", align 4
  %15 = alloca %"class.squish::Vec4", align 4
  %16 = alloca %"class.squish::Vec4", align 8
  %17 = alloca %"class.squish::Vec4", align 8
  %18 = alloca %"class.squish::Vec4", align 8
  %19 = alloca %"class.squish::Vec4", align 8
  %20 = alloca %"class.squish::Vec4", align 8
  %21 = alloca %"class.squish::Vec4", align 8
  %22 = alloca %"class.squish::Vec4", align 8
  %23 = alloca %"class.squish::Vec4", align 8
  %24 = alloca %"class.squish::Vec4", align 8
  %25 = alloca %"class.squish::Vec4", align 8
  %26 = alloca %"class.squish::Vec4", align 8
  %27 = alloca %"class.squish::Vec4", align 8
  %28 = alloca %"class.squish::Vec4", align 8
  %29 = alloca %"class.squish::Vec4", align 8
  %30 = alloca %"class.squish::Vec4", align 8
  %31 = alloca %"class.squish::Vec4", align 8
  %32 = alloca %"class.squish::Vec4", align 8
  %33 = alloca %"class.squish::Vec4", align 8
  %34 = alloca %"class.squish::Vec4", align 8
  %35 = alloca %"class.squish::Vec4", align 8
  %36 = alloca %"class.squish::Vec4", align 8
  %37 = alloca %"class.squish::Vec4", align 8
  %38 = alloca %"class.squish::Vec4", align 8
  %39 = alloca %"class.squish::Vec4", align 8
  %40 = alloca %"class.squish::Vec4", align 8
  %41 = alloca %"class.squish::Vec4", align 8
  %42 = alloca %"class.squish::Vec4", align 8
  %43 = alloca %"class.squish::Vec4", align 8
  %44 = alloca %"class.squish::Vec4", align 8
  %45 = alloca %"class.squish::Vec4", align 8
  %46 = alloca %"class.squish::Vec4", align 8
  %47 = alloca %"class.squish::Vec4", align 8
  %48 = alloca %"class.squish::Vec4", align 8
  %49 = alloca %"class.squish::Vec4", align 8
  %50 = alloca %"class.squish::Vec4", align 8
  %51 = alloca %"class.squish::Vec4", align 8
  %52 = alloca %"class.squish::Vec4", align 8
  %53 = alloca %"class.squish::Vec4", align 8
  %54 = alloca %"class.squish::Vec3", align 8
  %55 = alloca %"class.squish::Vec4", align 8
  %56 = alloca [16 x i8], align 16
  %57 = alloca %"class.squish::Vec3", align 8
  %58 = alloca %"class.squish::Vec3", align 8
  %59 = getelementptr inbounds i8, ptr %0, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = tail call noundef i32 @_ZNK6squish9ColourSet8GetCountEv(ptr noundef nonnull align 4 dereferenceable(325) %60)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef 2.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 2.500000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 3.100000e+01, float noundef 6.300000e+01, float noundef 3.100000e+01, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0x3FA0842100000000, float noundef 0x3F90410420000000, float noundef 0x3FA0842100000000, float noundef 0.000000e+00)
  %62 = getelementptr inbounds i8, ptr %0, i64 24
  %63 = call noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468) %0, ptr noundef nonnull align 4 dereferenceable(12) %62, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  %64 = getelementptr inbounds i8, ptr %0, i64 452
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %64, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %65 = icmp sgt i32 %61, 0
  %66 = getelementptr inbounds i8, ptr %0, i64 164
  %67 = getelementptr inbounds i8, ptr %0, i64 420
  %68 = getelementptr inbounds i8, ptr %17, i64 8
  %69 = getelementptr inbounds i8, ptr %16, i64 8
  %70 = getelementptr inbounds i8, ptr %18, i64 8
  %71 = getelementptr inbounds i8, ptr %19, i64 8
  %72 = getelementptr inbounds i8, ptr %20, i64 8
  %73 = getelementptr inbounds i8, ptr %21, i64 8
  %74 = getelementptr inbounds i8, ptr %23, i64 8
  %75 = getelementptr inbounds i8, ptr %22, i64 8
  %76 = getelementptr inbounds i8, ptr %26, i64 8
  %77 = getelementptr inbounds i8, ptr %25, i64 8
  %78 = getelementptr inbounds i8, ptr %24, i64 8
  %79 = getelementptr inbounds i8, ptr %29, i64 8
  %80 = getelementptr inbounds i8, ptr %28, i64 8
  %81 = getelementptr inbounds i8, ptr %27, i64 8
  %82 = getelementptr inbounds i8, ptr %32, i64 8
  %83 = getelementptr inbounds i8, ptr %31, i64 8
  %84 = getelementptr inbounds i8, ptr %30, i64 8
  %85 = getelementptr inbounds i8, ptr %33, i64 8
  %86 = getelementptr inbounds i8, ptr %34, i64 8
  %87 = getelementptr inbounds i8, ptr %36, i64 8
  %88 = getelementptr inbounds i8, ptr %35, i64 8
  %89 = getelementptr inbounds i8, ptr %38, i64 8
  %90 = getelementptr inbounds i8, ptr %37, i64 8
  %91 = getelementptr inbounds i8, ptr %40, i64 8
  %92 = getelementptr inbounds i8, ptr %42, i64 8
  %93 = getelementptr inbounds i8, ptr %41, i64 8
  %94 = getelementptr inbounds i8, ptr %39, i64 8
  %95 = getelementptr inbounds i8, ptr %45, i64 8
  %96 = getelementptr inbounds i8, ptr %44, i64 8
  %97 = getelementptr inbounds i8, ptr %43, i64 8
  %98 = getelementptr inbounds i8, ptr %46, i64 8
  %99 = getelementptr inbounds i8, ptr %47, i64 8
  %100 = getelementptr inbounds i8, ptr %0, i64 436
  %101 = getelementptr inbounds i8, ptr %48, i64 8
  %102 = getelementptr inbounds i8, ptr %51, i64 8
  %103 = getelementptr inbounds i8, ptr %52, i64 8
  %104 = getelementptr inbounds i8, ptr %50, i64 8
  %105 = getelementptr inbounds i8, ptr %53, i64 8
  %106 = getelementptr inbounds i8, ptr %49, i64 8
  %107 = getelementptr inbounds i8, ptr %0, i64 20
  %108 = getelementptr inbounds i8, ptr %55, i64 8
  %.sroa.219.0..sroa_idx = getelementptr inbounds i8, ptr %54, i64 8
  %109 = zext i32 %61 to i64
  br label %110

110:                                              ; preds = %263, %2
  %.065 = phi i32 [ 0, %2 ], [ %254, %263 ]
  %.061 = phi i32 [ 0, %2 ], [ %.162.lcssa, %263 ]
  %.057 = phi i32 [ 0, %2 ], [ %.158.lcssa, %263 ]
  %.0 = phi i32 [ 0, %2 ], [ %.065, %263 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef 0.000000e+00)
  br i1 %65, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %250, %110
  %.162.lcssa = phi i32 [ %.061, %110 ], [ %.364, %250 ]
  %.158.lcssa = phi i32 [ %.057, %110 ], [ %.360, %250 ]
  %.1.lcssa = phi i32 [ %.0, %110 ], [ %.3, %250 ]
  %.not = icmp eq i32 %.1.lcssa, %.065
  br i1 %.not, label %253, label %264

.lr.ph:                                           ; preds = %110, %250
  %indvars.iv = phi i64 [ %indvars.iv.next, %250 ], [ 0, %110 ]
  %.190 = phi i32 [ %.3, %250 ], [ %.0, %110 ]
  %.15889 = phi i32 [ %.360, %250 ], [ %.057, %110 ]
  %.16288 = phi i32 [ %.364, %250 ], [ %.061, %110 ]
  %umax = call i64 @llvm.umax.i64(i64 %indvars.iv, i64 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  %111 = icmp eq i64 %indvars.iv, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %.lr.ph
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %66, i64 16, i1 false), !tbaa.struct !11
  br label %114

113:                                              ; preds = %.lr.ph
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 0.000000e+00)
  br label %114

114:                                              ; preds = %113, %112
  %115 = trunc nuw nsw i64 %indvars.iv to i32
  br label %116

116:                                              ; preds = %247, %114
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %247 ], [ %umax, %114 ]
  %.263 = phi i32 [ %.364, %247 ], [ %.16288, %114 ]
  %.259 = phi i32 [ %.360, %247 ], [ %.15889, %114 ]
  %.2 = phi i32 [ %.3, %247 ], [ %.190, %114 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  %117 = call { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %67, ptr noundef nonnull align 4 dereferenceable(16) %15)
  %118 = extractvalue { <2 x float>, <2 x float> } %117, 0
  store <2 x float> %118, ptr %17, align 8
  %119 = extractvalue { <2 x float>, <2 x float> } %117, 1
  store <2 x float> %119, ptr %68, align 8
  %120 = call { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %14)
  %121 = extractvalue { <2 x float>, <2 x float> } %120, 0
  store <2 x float> %121, ptr %16, align 8
  %122 = extractvalue { <2 x float>, <2 x float> } %120, 1
  store <2 x float> %122, ptr %69, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  %123 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %14)
  %124 = extractvalue { <2 x float>, <2 x float> } %123, 0
  store <2 x float> %124, ptr %18, align 8
  %125 = extractvalue { <2 x float>, <2 x float> } %123, 1
  store <2 x float> %125, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  %126 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %127 = extractvalue { <2 x float>, <2 x float> } %126, 0
  store <2 x float> %127, ptr %19, align 8
  %128 = extractvalue { <2 x float>, <2 x float> } %126, 1
  store <2 x float> %128, ptr %71, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  %129 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %16)
  %130 = extractvalue { <2 x float>, <2 x float> } %129, 0
  store <2 x float> %130, ptr %20, align 8
  %131 = extractvalue { <2 x float>, <2 x float> } %129, 1
  store <2 x float> %131, ptr %72, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  %132 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16) %20)
  %133 = extractvalue { <2 x float>, <2 x float> } %132, 0
  store <2 x float> %133, ptr %21, align 8
  %134 = extractvalue { <2 x float>, <2 x float> } %132, 1
  store <2 x float> %134, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  %135 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %5)
  %136 = extractvalue { <2 x float>, <2 x float> } %135, 0
  store <2 x float> %136, ptr %23, align 8
  %137 = extractvalue { <2 x float>, <2 x float> } %135, 1
  store <2 x float> %137, ptr %74, align 8
  %138 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16) %23)
  %139 = extractvalue { <2 x float>, <2 x float> } %138, 0
  store <2 x float> %139, ptr %22, align 8
  %140 = extractvalue { <2 x float>, <2 x float> } %138, 1
  store <2 x float> %140, ptr %75, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #7
  %141 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(16) %21)
  %142 = extractvalue { <2 x float>, <2 x float> } %141, 0
  store <2 x float> %142, ptr %26, align 8
  %143 = extractvalue { <2 x float>, <2 x float> } %141, 1
  store <2 x float> %143, ptr %76, align 8
  %144 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(16) %26)
  %145 = extractvalue { <2 x float>, <2 x float> } %144, 0
  store <2 x float> %145, ptr %25, align 8
  %146 = extractvalue { <2 x float>, <2 x float> } %144, 1
  store <2 x float> %146, ptr %77, align 8
  %147 = call { <2 x float>, <2 x float> } @_ZN6squish10ReciprocalERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16) %25)
  %148 = extractvalue { <2 x float>, <2 x float> } %147, 0
  store <2 x float> %148, ptr %24, align 8
  %149 = extractvalue { <2 x float>, <2 x float> } %147, 1
  store <2 x float> %149, ptr %78, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #7
  %150 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(16) %21)
  %151 = extractvalue { <2 x float>, <2 x float> } %150, 0
  store <2 x float> %151, ptr %29, align 8
  %152 = extractvalue { <2 x float>, <2 x float> } %150, 1
  store <2 x float> %152, ptr %79, align 8
  %153 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(16) %29)
  %154 = extractvalue { <2 x float>, <2 x float> } %153, 0
  store <2 x float> %154, ptr %28, align 8
  %155 = extractvalue { <2 x float>, <2 x float> } %153, 1
  store <2 x float> %155, ptr %80, align 8
  %156 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(16) %24)
  %157 = extractvalue { <2 x float>, <2 x float> } %156, 0
  store <2 x float> %157, ptr %27, align 8
  %158 = extractvalue { <2 x float>, <2 x float> } %156, 1
  store <2 x float> %158, ptr %81, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #7
  %159 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %19)
  %160 = extractvalue { <2 x float>, <2 x float> } %159, 0
  store <2 x float> %160, ptr %32, align 8
  %161 = extractvalue { <2 x float>, <2 x float> } %159, 1
  store <2 x float> %161, ptr %82, align 8
  %162 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %163 = extractvalue { <2 x float>, <2 x float> } %162, 0
  store <2 x float> %163, ptr %31, align 8
  %164 = extractvalue { <2 x float>, <2 x float> } %162, 1
  store <2 x float> %164, ptr %83, align 8
  %165 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(16) %24)
  %166 = extractvalue { <2 x float>, <2 x float> } %165, 0
  store <2 x float> %166, ptr %30, align 8
  %167 = extractvalue { <2 x float>, <2 x float> } %165, 1
  store <2 x float> %167, ptr %84, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #7
  %168 = call { <2 x float>, <2 x float> } @_ZN6squish3MaxERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %27)
  %169 = extractvalue { <2 x float>, <2 x float> } %168, 0
  store <2 x float> %169, ptr %33, align 8
  %170 = extractvalue { <2 x float>, <2 x float> } %168, 1
  store <2 x float> %170, ptr %85, align 8
  %171 = call { <2 x float>, <2 x float> } @_ZN6squish3MinERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %33)
  %172 = extractvalue { <2 x float>, <2 x float> } %171, 0
  %173 = extractvalue { <2 x float>, <2 x float> } %171, 1
  store <2 x float> %172, ptr %27, align 8
  store <2 x float> %173, ptr %81, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #7
  %174 = call { <2 x float>, <2 x float> } @_ZN6squish3MaxERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %175 = extractvalue { <2 x float>, <2 x float> } %174, 0
  store <2 x float> %175, ptr %34, align 8
  %176 = extractvalue { <2 x float>, <2 x float> } %174, 1
  store <2 x float> %176, ptr %86, align 8
  %177 = call { <2 x float>, <2 x float> } @_ZN6squish3MinERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %34)
  %178 = extractvalue { <2 x float>, <2 x float> } %177, 0
  %179 = extractvalue { <2 x float>, <2 x float> } %177, 1
  store <2 x float> %178, ptr %30, align 8
  store <2 x float> %179, ptr %84, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  %180 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) %7)
  %181 = extractvalue { <2 x float>, <2 x float> } %180, 0
  store <2 x float> %181, ptr %36, align 8
  %182 = extractvalue { <2 x float>, <2 x float> } %180, 1
  store <2 x float> %182, ptr %87, align 8
  %183 = call { <2 x float>, <2 x float> } @_ZN6squish8TruncateERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16) %36)
  %184 = extractvalue { <2 x float>, <2 x float> } %183, 0
  store <2 x float> %184, ptr %35, align 8
  %185 = extractvalue { <2 x float>, <2 x float> } %183, 1
  store <2 x float> %185, ptr %88, align 8
  %186 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %35, ptr noundef nonnull align 4 dereferenceable(16) %9)
  %187 = extractvalue { <2 x float>, <2 x float> } %186, 0
  %188 = extractvalue { <2 x float>, <2 x float> } %186, 1
  store <2 x float> %187, ptr %27, align 8
  store <2 x float> %188, ptr %81, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #7
  %189 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %7)
  %190 = extractvalue { <2 x float>, <2 x float> } %189, 0
  store <2 x float> %190, ptr %38, align 8
  %191 = extractvalue { <2 x float>, <2 x float> } %189, 1
  store <2 x float> %191, ptr %89, align 8
  %192 = call { <2 x float>, <2 x float> } @_ZN6squish8TruncateERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16) %38)
  %193 = extractvalue { <2 x float>, <2 x float> } %192, 0
  store <2 x float> %193, ptr %37, align 8
  %194 = extractvalue { <2 x float>, <2 x float> } %192, 1
  store <2 x float> %194, ptr %90, align 8
  %195 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %37, ptr noundef nonnull align 4 dereferenceable(16) %9)
  %196 = extractvalue { <2 x float>, <2 x float> } %195, 0
  %197 = extractvalue { <2 x float>, <2 x float> } %195, 1
  store <2 x float> %196, ptr %30, align 8
  store <2 x float> %197, ptr %84, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  %198 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) %27)
  %199 = extractvalue { <2 x float>, <2 x float> } %198, 0
  store <2 x float> %199, ptr %40, align 8
  %200 = extractvalue { <2 x float>, <2 x float> } %198, 1
  store <2 x float> %200, ptr %91, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #7
  %201 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %202 = extractvalue { <2 x float>, <2 x float> } %201, 0
  store <2 x float> %202, ptr %42, align 8
  %203 = extractvalue { <2 x float>, <2 x float> } %201, 1
  store <2 x float> %203, ptr %92, align 8
  %204 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %42, ptr noundef nonnull align 4 dereferenceable(16) %21)
  %205 = extractvalue { <2 x float>, <2 x float> } %204, 0
  store <2 x float> %205, ptr %41, align 8
  %206 = extractvalue { <2 x float>, <2 x float> } %204, 1
  store <2 x float> %206, ptr %93, align 8
  %207 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(16) %41)
  %208 = extractvalue { <2 x float>, <2 x float> } %207, 0
  store <2 x float> %208, ptr %39, align 8
  %209 = extractvalue { <2 x float>, <2 x float> } %207, 1
  store <2 x float> %209, ptr %94, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #7
  %210 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %211 = extractvalue { <2 x float>, <2 x float> } %210, 0
  store <2 x float> %211, ptr %45, align 8
  %212 = extractvalue { <2 x float>, <2 x float> } %210, 1
  store <2 x float> %212, ptr %95, align 8
  %213 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %45, ptr noundef nonnull align 4 dereferenceable(16) %22)
  %214 = extractvalue { <2 x float>, <2 x float> } %213, 0
  store <2 x float> %214, ptr %44, align 8
  %215 = extractvalue { <2 x float>, <2 x float> } %213, 1
  store <2 x float> %215, ptr %96, align 8
  %216 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(16) %44)
  %217 = extractvalue { <2 x float>, <2 x float> } %216, 0
  store <2 x float> %217, ptr %43, align 8
  %218 = extractvalue { <2 x float>, <2 x float> } %216, 1
  store <2 x float> %218, ptr %97, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #7
  %219 = call { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %43)
  %220 = extractvalue { <2 x float>, <2 x float> } %219, 0
  store <2 x float> %220, ptr %46, align 8
  %221 = extractvalue { <2 x float>, <2 x float> } %219, 1
  store <2 x float> %221, ptr %98, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #7
  %222 = call { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %46, ptr noundef nonnull align 4 dereferenceable(16) %39)
  %223 = extractvalue { <2 x float>, <2 x float> } %222, 0
  store <2 x float> %223, ptr %47, align 8
  %224 = extractvalue { <2 x float>, <2 x float> } %222, 1
  store <2 x float> %224, ptr %99, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %48) #7
  %225 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(16) %100)
  %226 = extractvalue { <2 x float>, <2 x float> } %225, 0
  store <2 x float> %226, ptr %48, align 8
  %227 = extractvalue { <2 x float>, <2 x float> } %225, 1
  store <2 x float> %227, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %49) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %50) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %51) #7
  %228 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatXEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  %229 = extractvalue { <2 x float>, <2 x float> } %228, 0
  store <2 x float> %229, ptr %51, align 8
  %230 = extractvalue { <2 x float>, <2 x float> } %228, 1
  store <2 x float> %230, ptr %102, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %52) #7
  %231 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatYEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  %232 = extractvalue { <2 x float>, <2 x float> } %231, 0
  store <2 x float> %232, ptr %52, align 8
  %233 = extractvalue { <2 x float>, <2 x float> } %231, 1
  store <2 x float> %233, ptr %103, align 8
  %234 = call { <2 x float>, <2 x float> } @_ZN6squishplERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %51, ptr noundef nonnull align 4 dereferenceable(16) %52)
  %235 = extractvalue { <2 x float>, <2 x float> } %234, 0
  store <2 x float> %235, ptr %50, align 8
  %236 = extractvalue { <2 x float>, <2 x float> } %234, 1
  store <2 x float> %236, ptr %104, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %53) #7
  %237 = call { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatZEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  %238 = extractvalue { <2 x float>, <2 x float> } %237, 0
  store <2 x float> %238, ptr %53, align 8
  %239 = extractvalue { <2 x float>, <2 x float> } %237, 1
  store <2 x float> %239, ptr %105, align 8
  %240 = call { <2 x float>, <2 x float> } @_ZN6squishplERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %50, ptr noundef nonnull align 4 dereferenceable(16) %53)
  %241 = extractvalue { <2 x float>, <2 x float> } %240, 0
  store <2 x float> %241, ptr %49, align 8
  %242 = extractvalue { <2 x float>, <2 x float> } %240, 1
  store <2 x float> %242, ptr %106, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #7
  %243 = call noundef zeroext i1 @_ZN6squish18CompareAnyLessThanERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %12)
  br i1 %243, label %244, label %246

244:                                              ; preds = %116
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %27, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %30, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %49, i64 16, i1 false), !tbaa.struct !11
  %245 = trunc nuw nsw i64 %indvars.iv101 to i32
  br label %246

246:                                              ; preds = %244, %116
  %.364 = phi i32 [ %245, %244 ], [ %.263, %116 ]
  %.360 = phi i32 [ %115, %244 ], [ %.259, %116 ]
  %.3 = phi i32 [ %.065, %244 ], [ %.2, %116 ]
  %.not80 = icmp eq i64 %indvars.iv101, %109
  br i1 %.not80, label %250, label %247

247:                                              ; preds = %246
  %248 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %66, i64 0, i64 %indvars.iv101
  %249 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %248)
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %116

250:                                              ; preds = %246
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  %251 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %66, i64 0, i64 %indvars.iv
  %252 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %251)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %109
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

253:                                              ; preds = %._crit_edge
  %254 = add nuw nsw i32 %.065, 1
  %255 = load i32, ptr %107, align 4, !tbaa !16
  %256 = icmp eq i32 %254, %255
  br i1 %256, label %264, label %257

257:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %54) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %55) #7
  %258 = call { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %10)
  %259 = extractvalue { <2 x float>, <2 x float> } %258, 0
  store <2 x float> %259, ptr %55, align 8
  %260 = extractvalue { <2 x float>, <2 x float> } %258, 1
  store <2 x float> %260, ptr %108, align 8
  %261 = call { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16) %55)
  %.fca.0.extract16 = extractvalue { <2 x float>, float } %261, 0
  %.fca.1.extract17 = extractvalue { <2 x float>, float } %261, 1
  store <2 x float> %.fca.0.extract16, ptr %54, align 8
  store float %.fca.1.extract17, ptr %.sroa.219.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #7
  %262 = call noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468) %0, ptr noundef nonnull align 4 dereferenceable(12) %54, i32 noundef %254)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %54) #7
  br i1 %262, label %263, label %264

263:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  br label %110, !llvm.loop !20

264:                                              ; preds = %257, %._crit_edge, %253
  %.1.lcssa.lcssa = phi i32 [ %.065, %257 ], [ %.1.lcssa, %._crit_edge ], [ %.065, %253 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  %265 = call noundef zeroext i1 @_ZN6squish18CompareAnyLessThanERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %64)
  br i1 %265, label %266, label %340

266:                                              ; preds = %264
  %267 = getelementptr inbounds i8, ptr %0, i64 36
  %268 = shl nsw i32 %.1.lcssa.lcssa, 4
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds i8, ptr %267, i64 %269
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %56) #7
  %271 = icmp sgt i32 %.158.lcssa, 0
  br i1 %271, label %.lr.ph95.preheader, label %.preheader86

.lr.ph95.preheader:                               ; preds = %266
  %wide.trip.count107 = zext nneg i32 %.158.lcssa to i64
  %xtraiter = and i64 %wide.trip.count107, 3
  %272 = icmp ult i32 %.158.lcssa, 4
  br i1 %272, label %.preheader86.loopexit.unr-lcssa, label %.lr.ph95.preheader.new

.lr.ph95.preheader.new:                           ; preds = %.lr.ph95.preheader
  %unroll_iter = and i64 %wide.trip.count107, 2147483644
  br label %.lr.ph95

.preheader86.loopexit.unr-lcssa:                  ; preds = %.lr.ph95, %.lr.ph95.preheader
  %indvars.iv104.unr = phi i64 [ 0, %.lr.ph95.preheader ], [ %indvars.iv.next105.3, %.lr.ph95 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader86, label %.lr.ph95.epil

.lr.ph95.epil:                                    ; preds = %.preheader86.loopexit.unr-lcssa, %.lr.ph95.epil
  %indvars.iv104.epil = phi i64 [ %indvars.iv.next105.epil, %.lr.ph95.epil ], [ %indvars.iv104.unr, %.preheader86.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph95.epil ], [ 0, %.preheader86.loopexit.unr-lcssa ]
  %273 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv104.epil
  %274 = load i8, ptr %273, align 1, !tbaa !21
  %275 = zext i8 %274 to i64
  %276 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %275
  store i8 0, ptr %276, align 1, !tbaa !21
  %indvars.iv.next105.epil = add nuw nsw i64 %indvars.iv104.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader86, label %.lr.ph95.epil, !llvm.loop !22

.preheader86:                                     ; preds = %.preheader86.loopexit.unr-lcssa, %.lr.ph95.epil, %266
  %277 = icmp slt i32 %.158.lcssa, %.162.lcssa
  br i1 %277, label %.lr.ph97.preheader, label %.preheader

.lr.ph97.preheader:                               ; preds = %.preheader86
  %278 = sext i32 %.158.lcssa to i64
  %wide.trip.count112 = sext i32 %.162.lcssa to i64
  %279 = sub nsw i64 %wide.trip.count112, %278
  %xtraiter119 = and i64 %279, 3
  %lcmp.mod120.not = icmp eq i64 %xtraiter119, 0
  br i1 %lcmp.mod120.not, label %.lr.ph97.prol.loopexit, label %.lr.ph97.prol

.lr.ph97.prol:                                    ; preds = %.lr.ph97.preheader, %.lr.ph97.prol
  %indvars.iv109.prol = phi i64 [ %indvars.iv.next110.prol, %.lr.ph97.prol ], [ %278, %.lr.ph97.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph97.prol ], [ 0, %.lr.ph97.preheader ]
  %280 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv109.prol
  %281 = load i8, ptr %280, align 1, !tbaa !21
  %282 = zext i8 %281 to i64
  %283 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %282
  store i8 2, ptr %283, align 1, !tbaa !21
  %indvars.iv.next110.prol = add nsw i64 %indvars.iv109.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter119
  br i1 %prol.iter.cmp.not, label %.lr.ph97.prol.loopexit, label %.lr.ph97.prol, !llvm.loop !24

.lr.ph97.prol.loopexit:                           ; preds = %.lr.ph97.prol, %.lr.ph97.preheader
  %indvars.iv109.unr = phi i64 [ %278, %.lr.ph97.preheader ], [ %indvars.iv.next110.prol, %.lr.ph97.prol ]
  %284 = sub nsw i64 %278, %wide.trip.count112
  %285 = icmp ugt i64 %284, -4
  br i1 %285, label %.preheader, label %.lr.ph97.preheader.new

.lr.ph97.preheader.new:                           ; preds = %.lr.ph97.prol.loopexit
  %invariant.gep = getelementptr i8, ptr %270, i64 1
  %invariant.gep124 = getelementptr i8, ptr %270, i64 2
  %invariant.gep126 = getelementptr i8, ptr %270, i64 3
  br label %.lr.ph97

.lr.ph95:                                         ; preds = %.lr.ph95, %.lr.ph95.preheader.new
  %indvars.iv104 = phi i64 [ 0, %.lr.ph95.preheader.new ], [ %indvars.iv.next105.3, %.lr.ph95 ]
  %niter = phi i64 [ 0, %.lr.ph95.preheader.new ], [ %niter.next.3, %.lr.ph95 ]
  %286 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv104
  %287 = load i8, ptr %286, align 4, !tbaa !21
  %288 = zext i8 %287 to i64
  %289 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %288
  store i8 0, ptr %289, align 1, !tbaa !21
  %indvars.iv.next105 = or disjoint i64 %indvars.iv104, 1
  %290 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv.next105
  %291 = load i8, ptr %290, align 1, !tbaa !21
  %292 = zext i8 %291 to i64
  %293 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %292
  store i8 0, ptr %293, align 1, !tbaa !21
  %indvars.iv.next105.1 = or disjoint i64 %indvars.iv104, 2
  %294 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv.next105.1
  %295 = load i8, ptr %294, align 2, !tbaa !21
  %296 = zext i8 %295 to i64
  %297 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %296
  store i8 0, ptr %297, align 1, !tbaa !21
  %indvars.iv.next105.2 = or disjoint i64 %indvars.iv104, 3
  %298 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv.next105.2
  %299 = load i8, ptr %298, align 1, !tbaa !21
  %300 = zext i8 %299 to i64
  %301 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %300
  store i8 0, ptr %301, align 1, !tbaa !21
  %indvars.iv.next105.3 = add nuw nsw i64 %indvars.iv104, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader86.loopexit.unr-lcssa, label %.lr.ph95, !llvm.loop !25

.preheader:                                       ; preds = %.lr.ph97.prol.loopexit, %.lr.ph97, %.preheader86
  %302 = icmp slt i32 %.162.lcssa, %61
  br i1 %302, label %.lr.ph99.preheader, label %._crit_edge100

.lr.ph99.preheader:                               ; preds = %.preheader
  %303 = sext i32 %.162.lcssa to i64
  %wide.trip.count117 = sext i32 %61 to i64
  %304 = sub nsw i64 %wide.trip.count117, %303
  %xtraiter121 = and i64 %304, 3
  %lcmp.mod122.not = icmp eq i64 %xtraiter121, 0
  br i1 %lcmp.mod122.not, label %.lr.ph99.prol.loopexit, label %.lr.ph99.prol

.lr.ph99.prol:                                    ; preds = %.lr.ph99.preheader, %.lr.ph99.prol
  %indvars.iv114.prol = phi i64 [ %indvars.iv.next115.prol, %.lr.ph99.prol ], [ %303, %.lr.ph99.preheader ]
  %prol.iter123 = phi i64 [ %prol.iter123.next, %.lr.ph99.prol ], [ 0, %.lr.ph99.preheader ]
  %305 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv114.prol
  %306 = load i8, ptr %305, align 1, !tbaa !21
  %307 = zext i8 %306 to i64
  %308 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %307
  store i8 1, ptr %308, align 1, !tbaa !21
  %indvars.iv.next115.prol = add nsw i64 %indvars.iv114.prol, 1
  %prol.iter123.next = add i64 %prol.iter123, 1
  %prol.iter123.cmp.not = icmp eq i64 %prol.iter123.next, %xtraiter121
  br i1 %prol.iter123.cmp.not, label %.lr.ph99.prol.loopexit, label %.lr.ph99.prol, !llvm.loop !26

.lr.ph99.prol.loopexit:                           ; preds = %.lr.ph99.prol, %.lr.ph99.preheader
  %indvars.iv114.unr = phi i64 [ %303, %.lr.ph99.preheader ], [ %indvars.iv.next115.prol, %.lr.ph99.prol ]
  %309 = sub nsw i64 %303, %wide.trip.count117
  %310 = icmp ugt i64 %309, -4
  br i1 %310, label %._crit_edge100, label %.lr.ph99.preheader.new

.lr.ph99.preheader.new:                           ; preds = %.lr.ph99.prol.loopexit
  %invariant.gep128 = getelementptr i8, ptr %270, i64 1
  %invariant.gep130 = getelementptr i8, ptr %270, i64 2
  %invariant.gep132 = getelementptr i8, ptr %270, i64 3
  br label %.lr.ph99

.lr.ph97:                                         ; preds = %.lr.ph97, %.lr.ph97.preheader.new
  %indvars.iv109 = phi i64 [ %indvars.iv109.unr, %.lr.ph97.preheader.new ], [ %indvars.iv.next110.3, %.lr.ph97 ]
  %311 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv109
  %312 = load i8, ptr %311, align 1, !tbaa !21
  %313 = zext i8 %312 to i64
  %314 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %313
  store i8 2, ptr %314, align 1, !tbaa !21
  %gep = getelementptr i8, ptr %invariant.gep, i64 %indvars.iv109
  %315 = load i8, ptr %gep, align 1, !tbaa !21
  %316 = zext i8 %315 to i64
  %317 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %316
  store i8 2, ptr %317, align 1, !tbaa !21
  %gep125 = getelementptr i8, ptr %invariant.gep124, i64 %indvars.iv109
  %318 = load i8, ptr %gep125, align 1, !tbaa !21
  %319 = zext i8 %318 to i64
  %320 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %319
  store i8 2, ptr %320, align 1, !tbaa !21
  %gep127 = getelementptr i8, ptr %invariant.gep126, i64 %indvars.iv109
  %321 = load i8, ptr %gep127, align 1, !tbaa !21
  %322 = zext i8 %321 to i64
  %323 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %322
  store i8 2, ptr %323, align 1, !tbaa !21
  %indvars.iv.next110.3 = add nsw i64 %indvars.iv109, 4
  %exitcond113.not.3 = icmp eq i64 %indvars.iv.next110.3, %wide.trip.count112
  br i1 %exitcond113.not.3, label %.preheader, label %.lr.ph97, !llvm.loop !27

._crit_edge100:                                   ; preds = %.lr.ph99.prol.loopexit, %.lr.ph99, %.preheader
  %324 = load ptr, ptr %59, align 8, !tbaa !5
  call void @_ZNK6squish9ColourSet12RemapIndicesEPKhPh(ptr noundef nonnull align 4 dereferenceable(325) %324, ptr noundef nonnull %56, ptr noundef nonnull %13)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %57) #7
  %325 = call { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %.fca.0.extract2 = extractvalue { <2 x float>, float } %325, 0
  %.fca.1.extract3 = extractvalue { <2 x float>, float } %325, 1
  store <2 x float> %.fca.0.extract2, ptr %57, align 8
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %57, i64 8
  store float %.fca.1.extract3, ptr %.sroa.25.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %58) #7
  %326 = call { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %.fca.0.extract = extractvalue { <2 x float>, float } %326, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %326, 1
  store <2 x float> %.fca.0.extract, ptr %58, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %58, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZN6squish17WriteColourBlock3ERKNS_4Vec3ES2_PKhPv(ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %58, ptr noundef nonnull %13, ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %58) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %57) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %64, ptr noundef nonnull align 4 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %56) #7
  br label %340

.lr.ph99:                                         ; preds = %.lr.ph99, %.lr.ph99.preheader.new
  %indvars.iv114 = phi i64 [ %indvars.iv114.unr, %.lr.ph99.preheader.new ], [ %indvars.iv.next115.3, %.lr.ph99 ]
  %327 = getelementptr inbounds i8, ptr %270, i64 %indvars.iv114
  %328 = load i8, ptr %327, align 1, !tbaa !21
  %329 = zext i8 %328 to i64
  %330 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %329
  store i8 1, ptr %330, align 1, !tbaa !21
  %gep129 = getelementptr i8, ptr %invariant.gep128, i64 %indvars.iv114
  %331 = load i8, ptr %gep129, align 1, !tbaa !21
  %332 = zext i8 %331 to i64
  %333 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %332
  store i8 1, ptr %333, align 1, !tbaa !21
  %gep131 = getelementptr i8, ptr %invariant.gep130, i64 %indvars.iv114
  %334 = load i8, ptr %gep131, align 1, !tbaa !21
  %335 = zext i8 %334 to i64
  %336 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %335
  store i8 1, ptr %336, align 1, !tbaa !21
  %gep133 = getelementptr i8, ptr %invariant.gep132, i64 %indvars.iv114
  %337 = load i8, ptr %gep133, align 1, !tbaa !21
  %338 = zext i8 %337 to i64
  %339 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %338
  store i8 1, ptr %339, align 1, !tbaa !21
  %indvars.iv.next115.3 = add nsw i64 %indvars.iv114, 4
  %exitcond118.not.3 = icmp eq i64 %indvars.iv.next115.3, %wide.trip.count117
  br i1 %exitcond118.not.3, label %._crit_edge100, label %.lr.ph99, !llvm.loop !28

340:                                              ; preds = %._crit_edge100, %264
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishmiERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish11MultiplyAddERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatWEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish10ReciprocalERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish24NegativeMultiplySubtractERKNS_4Vec4ES2_S2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish3MinERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish3MaxERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squish8TruncateERKNS_4Vec4E(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishplERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatXEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatYEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK6squish4Vec46SplatZEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6squish18CompareAnyLessThanERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK6squish4Vec47GetVec3Ev(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

declare void @_ZNK6squish9ColourSet12RemapIndicesEPKhPh(ptr noundef nonnull align 4 dereferenceable(325), ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN6squish17WriteColourBlock3ERKNS_4Vec3ES2_PKhPv(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 8}
!6 = !{!"_ZTSN6squish9ColourFitE", !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !10, i64 20}
!17 = !{!"_ZTSN6squish10ClusterFitE", !6, i64 0, !10, i64 20, !18, i64 24, !8, i64 36, !8, i64 164, !19, i64 420, !19, i64 436, !19, i64 452}
!18 = !{!"_ZTSN6squish4Vec3E", !13, i64 0, !13, i64 4, !13, i64 8}
!19 = !{!"_ZTSN6squish4Vec4E", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!20 = distinct !{!20, !15}
!21 = !{!8, !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !23}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}


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