; LLVM IR from Angelo1211/SoftwareRenderer :: src/geometry.ll (ZN5AABox6updateERK7Matrix4)

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

%struct.Vector3 = type { %union.anon, float }
%union.anon = type { [3 x float] }
%struct.AABox = type { %struct.Vector3, %struct.Vector3 }
%struct.anon = type { float, float, float }

; 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 noundef float @_ZNSt14numeric_limitsIfE3maxEv() #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE3minEv() #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5AABox6updateERK7Matrix4(ptr noundef nonnull align 4 dereferenceable(32) %0, ptr noundef nonnull align 4 dereferenceable(64) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.Vector3, align 4
  %6 = alloca %struct.Vector3, align 4
  %7 = alloca [8 x %struct.Vector3], align 16
  %8 = alloca %struct.Vector3, align 4
  %9 = alloca %struct.Vector3, align 4
  %10 = alloca %struct.Vector3, align 4
  %11 = alloca %struct.Vector3, align 4
  %12 = alloca %struct.Vector3, align 4
  %13 = alloca %struct.Vector3, align 4
  %14 = alloca %struct.Vector3, align 4
  %15 = alloca %struct.Vector3, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  %20 = call noundef float @_ZNSt14numeric_limitsIfE3maxEv() #5
  call void @_ZN7Vector3IfEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %20)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  %21 = call noundef float @_ZNSt14numeric_limitsIfE3minEv() #5
  call void @_ZN7Vector3IfEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %21)
  call void @llvm.lifetime.start.p0(i64 128, ptr %7) #5
  %22 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i32 0, i32 0
  %23 = getelementptr inbounds %struct.Vector3, ptr %22, i64 8
  br label %24

24:                                               ; preds = %24, %2
  %25 = phi ptr [ %22, %2 ], [ %26, %24 ]
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25)
  %26 = getelementptr inbounds %struct.Vector3, ptr %25, i64 1
  %27 = icmp eq ptr %26, %23
  br i1 %27, label %28, label %24

28:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %29 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %30 = getelementptr inbounds %struct.Vector3, ptr %29, i32 0, i32 0
  %31 = getelementptr inbounds %struct.anon, ptr %30, i32 0, i32 0
  %32 = load float, ptr %31, align 4, !tbaa !9
  %33 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %34 = getelementptr inbounds %struct.Vector3, ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds %struct.anon, ptr %34, i32 0, i32 1
  %36 = load float, ptr %35, align 4, !tbaa !9
  %37 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %38 = getelementptr inbounds %struct.Vector3, ptr %37, i32 0, i32 0
  %39 = getelementptr inbounds %struct.anon, ptr %38, i32 0, i32 2
  %40 = load float, ptr %39, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %32, float noundef %36, float noundef %40)
  %41 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 4 %8, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %42 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %43 = getelementptr inbounds %struct.Vector3, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %struct.anon, ptr %43, i32 0, i32 0
  %45 = load float, ptr %44, align 4, !tbaa !9
  %46 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %47 = getelementptr inbounds %struct.Vector3, ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds %struct.anon, ptr %47, i32 0, i32 1
  %49 = load float, ptr %48, align 4, !tbaa !9
  %50 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %51 = getelementptr inbounds %struct.Vector3, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.anon, ptr %51, i32 0, i32 2
  %53 = load float, ptr %52, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %45, float noundef %49, float noundef %53)
  %54 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %55 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %56 = getelementptr inbounds %struct.Vector3, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds %struct.anon, ptr %56, i32 0, i32 0
  %58 = load float, ptr %57, align 4, !tbaa !9
  %59 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %60 = getelementptr inbounds %struct.Vector3, ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds %struct.anon, ptr %60, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !9
  %63 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %64 = getelementptr inbounds %struct.Vector3, ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %struct.anon, ptr %64, i32 0, i32 2
  %66 = load float, ptr %65, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %58, float noundef %62, float noundef %66)
  %67 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %67, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %68 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %69 = getelementptr inbounds %struct.Vector3, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %struct.anon, ptr %69, i32 0, i32 0
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %73 = getelementptr inbounds %struct.Vector3, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %struct.anon, ptr %73, i32 0, i32 1
  %75 = load float, ptr %74, align 4, !tbaa !9
  %76 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %77 = getelementptr inbounds %struct.Vector3, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %struct.anon, ptr %77, i32 0, i32 2
  %79 = load float, ptr %78, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %71, float noundef %75, float noundef %79)
  %80 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %80, ptr align 4 %11, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %81 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %82 = getelementptr inbounds %struct.Vector3, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds %struct.anon, ptr %82, i32 0, i32 0
  %84 = load float, ptr %83, align 4, !tbaa !9
  %85 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %86 = getelementptr inbounds %struct.Vector3, ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %struct.anon, ptr %86, i32 0, i32 1
  %88 = load float, ptr %87, align 4, !tbaa !9
  %89 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %90 = getelementptr inbounds %struct.Vector3, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds %struct.anon, ptr %90, i32 0, i32 2
  %92 = load float, ptr %91, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %84, float noundef %88, float noundef %92)
  %93 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %93, ptr align 4 %12, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %94 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %95 = getelementptr inbounds %struct.Vector3, ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %struct.anon, ptr %95, i32 0, i32 0
  %97 = load float, ptr %96, align 4, !tbaa !9
  %98 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %99 = getelementptr inbounds %struct.Vector3, ptr %98, i32 0, i32 0
  %100 = getelementptr inbounds %struct.anon, ptr %99, i32 0, i32 1
  %101 = load float, ptr %100, align 4, !tbaa !9
  %102 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %103 = getelementptr inbounds %struct.Vector3, ptr %102, i32 0, i32 0
  %104 = getelementptr inbounds %struct.anon, ptr %103, i32 0, i32 2
  %105 = load float, ptr %104, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %97, float noundef %101, float noundef %105)
  %106 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %106, ptr align 4 %13, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %107 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  %108 = getelementptr inbounds %struct.Vector3, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %struct.anon, ptr %108, i32 0, i32 0
  %110 = load float, ptr %109, align 4, !tbaa !9
  %111 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %112 = getelementptr inbounds %struct.Vector3, ptr %111, i32 0, i32 0
  %113 = getelementptr inbounds %struct.anon, ptr %112, i32 0, i32 1
  %114 = load float, ptr %113, align 4, !tbaa !9
  %115 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %116 = getelementptr inbounds %struct.Vector3, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds %struct.anon, ptr %116, i32 0, i32 2
  %118 = load float, ptr %117, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef %110, float noundef %114, float noundef %118)
  %119 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %119, ptr align 4 %14, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %120 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %121 = getelementptr inbounds %struct.Vector3, ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds %struct.anon, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 4, !tbaa !9
  %124 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %125 = getelementptr inbounds %struct.Vector3, ptr %124, i32 0, i32 0
  %126 = getelementptr inbounds %struct.anon, ptr %125, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !9
  %128 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  %129 = getelementptr inbounds %struct.Vector3, ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds %struct.anon, ptr %129, i32 0, i32 2
  %131 = load float, ptr %130, align 4, !tbaa !9
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef %123, float noundef %127, float noundef %131)
  %132 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %132, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !13
  br label %133

133:                                              ; preds = %181, %28
  %134 = load i32, ptr %16, align 4, !tbaa !13
  %135 = icmp slt i32 %134, 8
  br i1 %135, label %137, label %136

136:                                              ; preds = %133
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %184

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !13
  br label %138

138:                                              ; preds = %177, %137
  %139 = load i32, ptr %18, align 4, !tbaa !13
  %140 = icmp slt i32 %139, 3
  br i1 %140, label %142, label %141

141:                                              ; preds = %138
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %180

142:                                              ; preds = %138
  %143 = load i32, ptr %16, align 4, !tbaa !13
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 %144
  %146 = getelementptr inbounds %struct.Vector3, ptr %145, i32 0, i32 0
  %147 = load i32, ptr %18, align 4, !tbaa !13
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [3 x float], ptr %146, i64 0, i64 %148
  %150 = getelementptr inbounds %struct.Vector3, ptr %6, i32 0, i32 0
  %151 = load i32, ptr %18, align 4, !tbaa !13
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [3 x float], ptr %150, i64 0, i64 %152
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %149, ptr noundef nonnull align 4 dereferenceable(4) %153)
  %155 = load float, ptr %154, align 4, !tbaa !11
  %156 = getelementptr inbounds %struct.Vector3, ptr %6, i32 0, i32 0
  %157 = load i32, ptr %18, align 4, !tbaa !13
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [3 x float], ptr %156, i64 0, i64 %158
  store float %155, ptr %159, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !13
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [8 x %struct.Vector3], ptr %7, i64 0, i64 %161
  %163 = getelementptr inbounds %struct.Vector3, ptr %162, i32 0, i32 0
  %164 = load i32, ptr %18, align 4, !tbaa !13
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [3 x float], ptr %163, i64 0, i64 %165
  %167 = getelementptr inbounds %struct.Vector3, ptr %5, i32 0, i32 0
  %168 = load i32, ptr %18, align 4, !tbaa !13
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [3 x float], ptr %167, i64 0, i64 %169
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %166, ptr noundef nonnull align 4 dereferenceable(4) %170)
  %172 = load float, ptr %171, align 4, !tbaa !11
  %173 = getelementptr inbounds %struct.Vector3, ptr %5, i32 0, i32 0
  %174 = load i32, ptr %18, align 4, !tbaa !13
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [3 x float], ptr %173, i64 0, i64 %175
  store float %172, ptr %176, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %142
  %178 = load i32, ptr %18, align 4, !tbaa !13
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %18, align 4, !tbaa !13
  br label %138, !llvm.loop !15

180:                                              ; preds = %141
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %16, align 4, !tbaa !13
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %16, align 4, !tbaa !13
  br label %133, !llvm.loop !17

184:                                              ; preds = %136
  %185 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %185, ptr align 4 %5, i64 16, i1 false), !tbaa.struct !10
  %186 = getelementptr inbounds %struct.AABox, ptr %19, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %186, ptr align 4 %6, i64 16, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 128, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  ret void
}

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

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

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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!7, !7, i64 0}
!10 = !{i64 0, i64 12, !9, i64 12, i64 4, !11}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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

%struct.Vector3 = type { %union.anon, float }
%union.anon = type { [3 x 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 noundef float @_ZNSt14numeric_limitsIfE3maxEv() local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE3minEv() local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #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 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) #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5AABox6updateERK7Matrix4(ptr nocapture noundef nonnull align 4 dereferenceable(32) %0, ptr nocapture noundef nonnull readnone align 4 dereferenceable(64) %1) local_unnamed_addr #1 align 2 {
.preheader:
  %2 = alloca %struct.Vector3, align 4
  %3 = alloca %struct.Vector3, align 4
  %4 = alloca [8 x %struct.Vector3], align 16
  %5 = alloca %struct.Vector3, align 4
  %6 = alloca %struct.Vector3, align 4
  %7 = alloca %struct.Vector3, align 4
  %8 = alloca %struct.Vector3, align 4
  %9 = alloca %struct.Vector3, align 4
  %10 = alloca %struct.Vector3, align 4
  %11 = alloca %struct.Vector3, align 4
  %12 = alloca %struct.Vector3, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %13 = tail call noundef float @_ZNSt14numeric_limitsIfE3maxEv() #4
  call void @_ZN7Vector3IfEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %13)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %14 = call noundef float @_ZNSt14numeric_limitsIfE3minEv() #4
  call void @_ZN7Vector3IfEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef %14)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #4
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %.ptr.1 = getelementptr inbounds i8, ptr %4, i64 16
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %4, i64 32
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %4, i64 48
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %4, i64 64
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.4)
  %.ptr.5 = getelementptr inbounds i8, ptr %4, i64 80
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.5)
  %.ptr.6 = getelementptr inbounds i8, ptr %4, i64 96
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.6)
  %.ptr.7 = getelementptr inbounds i8, ptr %4, i64 112
  call void @_ZN7Vector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %15 = load float, ptr %0, align 4, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 4
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  %19 = load float, ptr %18, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %15, float noundef %17, float noundef %19)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %20 = getelementptr inbounds i8, ptr %0, i64 16
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = load float, ptr %16, align 4, !tbaa !5
  %23 = load float, ptr %18, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %21, float noundef %22, float noundef %23)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.1, ptr noundef nonnull align 4 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  %24 = load float, ptr %0, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %0, i64 20
  %26 = load float, ptr %25, align 4, !tbaa !5
  %27 = load float, ptr %18, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef %24, float noundef %26, float noundef %27)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.2, ptr noundef nonnull align 4 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  %28 = load float, ptr %20, align 4, !tbaa !5
  %29 = load float, ptr %25, align 4, !tbaa !5
  %30 = load float, ptr %18, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %28, float noundef %29, float noundef %30)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.3, ptr noundef nonnull align 4 dereferenceable(16) %8, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  %31 = load float, ptr %0, align 4, !tbaa !5
  %32 = load float, ptr %16, align 4, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %0, i64 24
  %34 = load float, ptr %33, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %31, float noundef %32, float noundef %34)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.4, ptr noundef nonnull align 4 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %35 = load float, ptr %20, align 4, !tbaa !5
  %36 = load float, ptr %16, align 4, !tbaa !5
  %37 = load float, ptr %33, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %35, float noundef %36, float noundef %37)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.5, ptr noundef nonnull align 4 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  %38 = load float, ptr %0, align 4, !tbaa !5
  %39 = load float, ptr %25, align 4, !tbaa !5
  %40 = load float, ptr %33, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %38, float noundef %39, float noundef %40)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.6, ptr noundef nonnull align 4 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #4
  %41 = load float, ptr %20, align 4, !tbaa !5
  %42 = load float, ptr %25, align 4, !tbaa !5
  %43 = load float, ptr %33, align 4, !tbaa !5
  call void @_ZN7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %41, float noundef %42, float noundef %43)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %.ptr.7, ptr noundef nonnull align 4 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #4
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %45 = load float, ptr %44, align 4, !tbaa !9
  store float %45, ptr %3, align 4, !tbaa !5
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %47 = load float, ptr %46, align 4, !tbaa !9
  store float %47, ptr %2, align 4, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %4, i64 4
  %49 = getelementptr inbounds i8, ptr %3, i64 4
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %51 = load float, ptr %50, align 4, !tbaa !9
  store float %51, ptr %49, align 4, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %2, i64 4
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %54 = load float, ptr %53, align 4, !tbaa !9
  store float %54, ptr %52, align 4, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %4, i64 8
  %56 = getelementptr inbounds i8, ptr %3, i64 8
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %58 = load float, ptr %57, align 4, !tbaa !9
  store float %58, ptr %56, align 4, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %2, i64 8
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %61 = load float, ptr %60, align 4, !tbaa !9
  store float %61, ptr %59, align 4, !tbaa !5
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.1, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %63 = load float, ptr %62, align 4, !tbaa !9
  store float %63, ptr %3, align 4, !tbaa !5
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.1, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %65 = load float, ptr %64, align 4, !tbaa !9
  store float %65, ptr %2, align 4, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %4, i64 20
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %68 = load float, ptr %67, align 4, !tbaa !9
  store float %68, ptr %49, align 4, !tbaa !5
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %70 = load float, ptr %69, align 4, !tbaa !9
  store float %70, ptr %52, align 4, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %4, i64 24
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %73 = load float, ptr %72, align 4, !tbaa !9
  store float %73, ptr %56, align 4, !tbaa !5
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %75 = load float, ptr %74, align 4, !tbaa !9
  store float %75, ptr %59, align 4, !tbaa !5
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.2, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %77 = load float, ptr %76, align 4, !tbaa !9
  store float %77, ptr %3, align 4, !tbaa !5
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.2, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %79 = load float, ptr %78, align 4, !tbaa !9
  store float %79, ptr %2, align 4, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %4, i64 36
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %82 = load float, ptr %81, align 4, !tbaa !9
  store float %82, ptr %49, align 4, !tbaa !5
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %84 = load float, ptr %83, align 4, !tbaa !9
  store float %84, ptr %52, align 4, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %4, i64 40
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %87 = load float, ptr %86, align 4, !tbaa !9
  store float %87, ptr %56, align 4, !tbaa !5
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %89 = load float, ptr %88, align 4, !tbaa !9
  store float %89, ptr %59, align 4, !tbaa !5
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.3, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %91 = load float, ptr %90, align 4, !tbaa !9
  store float %91, ptr %3, align 4, !tbaa !5
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.3, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %93 = load float, ptr %92, align 4, !tbaa !9
  store float %93, ptr %2, align 4, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %4, i64 52
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %94, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %96 = load float, ptr %95, align 4, !tbaa !9
  store float %96, ptr %49, align 4, !tbaa !5
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %94, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %98 = load float, ptr %97, align 4, !tbaa !9
  store float %98, ptr %52, align 4, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %4, i64 56
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %101 = load float, ptr %100, align 4, !tbaa !9
  store float %101, ptr %56, align 4, !tbaa !5
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %103 = load float, ptr %102, align 4, !tbaa !9
  store float %103, ptr %59, align 4, !tbaa !5
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.4, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %105 = load float, ptr %104, align 4, !tbaa !9
  store float %105, ptr %3, align 4, !tbaa !5
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.4, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %107 = load float, ptr %106, align 4, !tbaa !9
  store float %107, ptr %2, align 4, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %4, i64 68
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %110 = load float, ptr %109, align 4, !tbaa !9
  store float %110, ptr %49, align 4, !tbaa !5
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %112 = load float, ptr %111, align 4, !tbaa !9
  store float %112, ptr %52, align 4, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %4, i64 72
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %113, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %115 = load float, ptr %114, align 4, !tbaa !9
  store float %115, ptr %56, align 4, !tbaa !5
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %113, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %117 = load float, ptr %116, align 4, !tbaa !9
  store float %117, ptr %59, align 4, !tbaa !5
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.5, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %119 = load float, ptr %118, align 4, !tbaa !9
  store float %119, ptr %3, align 4, !tbaa !5
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.5, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %121 = load float, ptr %120, align 4, !tbaa !9
  store float %121, ptr %2, align 4, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %4, i64 84
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %122, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %124 = load float, ptr %123, align 4, !tbaa !9
  store float %124, ptr %49, align 4, !tbaa !5
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %122, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %126 = load float, ptr %125, align 4, !tbaa !9
  store float %126, ptr %52, align 4, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %4, i64 88
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %127, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %129 = load float, ptr %128, align 4, !tbaa !9
  store float %129, ptr %56, align 4, !tbaa !5
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %127, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %131 = load float, ptr %130, align 4, !tbaa !9
  store float %131, ptr %59, align 4, !tbaa !5
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.6, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %133 = load float, ptr %132, align 4, !tbaa !9
  store float %133, ptr %3, align 4, !tbaa !5
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.6, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %135 = load float, ptr %134, align 4, !tbaa !9
  store float %135, ptr %2, align 4, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %4, i64 100
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %136, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %138 = load float, ptr %137, align 4, !tbaa !9
  store float %138, ptr %49, align 4, !tbaa !5
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %136, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %140 = load float, ptr %139, align 4, !tbaa !9
  store float %140, ptr %52, align 4, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %4, i64 104
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %141, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %143 = load float, ptr %142, align 4, !tbaa !9
  store float %143, ptr %56, align 4, !tbaa !5
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %141, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %145 = load float, ptr %144, align 4, !tbaa !9
  store float %145, ptr %59, align 4, !tbaa !5
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.7, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %147 = load float, ptr %146, align 4, !tbaa !9
  store float %147, ptr %3, align 4, !tbaa !5
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %.ptr.7, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %149 = load float, ptr %148, align 4, !tbaa !9
  store float %149, ptr %2, align 4, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %4, i64 116
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %150, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %152 = load float, ptr %151, align 4, !tbaa !9
  store float %152, ptr %49, align 4, !tbaa !5
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %150, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %154 = load float, ptr %153, align 4, !tbaa !9
  store float %154, ptr %52, align 4, !tbaa !5
  %155 = getelementptr inbounds i8, ptr %4, i64 120
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %155, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %157 = load float, ptr %156, align 4, !tbaa !9
  store float %157, ptr %56, align 4, !tbaa !5
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %155, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %159 = load float, ptr %158, align 4, !tbaa !9
  store float %159, ptr %59, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %0, ptr noundef nonnull align 4 dereferenceable(16) %2, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  ret void
}

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass