; LLVM IR from nikitakaraevv/ray-tracing-engine :: source/Main.ll (Z16createCornellBoxffR4MeshS0_S0_)

; 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.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%class.Vec3 = type { [3 x float] }
%"class.std::allocator.12" = type { i8 }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16createCornellBoxffR4MeshS0_S0_(float noundef %0, float noundef %1, ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(208) %4) #4 personality ptr @__gxx_personality_v0 {
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::vector.10", align 8
  %12 = alloca %"class.std::initializer_list", align 8
  %13 = alloca [4 x %class.Vec3], align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::allocator.12", align 1
  %18 = alloca %class.Vec3, align 4
  %19 = alloca %"class.std::vector.10", align 8
  %20 = alloca %class.Vec3, align 4
  %21 = alloca %"class.std::initializer_list", align 8
  %22 = alloca [4 x %class.Vec3], align 4
  %23 = alloca ptr, align 8
  %24 = alloca %class.Vec3, align 4
  %25 = alloca %"class.std::vector.10", align 8
  %26 = alloca %class.Vec3, align 4
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [4 x %class.Vec3], align 4
  %29 = alloca ptr, align 8
  %30 = alloca %class.Vec3, align 4
  %31 = alloca %"class.std::vector.10", align 8
  %32 = alloca %class.Vec3, align 4
  %33 = alloca %"class.std::initializer_list", align 8
  %34 = alloca [4 x %class.Vec3], align 4
  %35 = alloca ptr, align 8
  %36 = alloca %class.Vec3, align 4
  %37 = alloca %"class.std::vector.10", align 8
  %38 = alloca %class.Vec3, align 4
  %39 = alloca %"class.std::initializer_list", align 8
  %40 = alloca [4 x %class.Vec3], align 4
  %41 = alloca ptr, align 8
  %42 = alloca %class.Vec3, align 4
  %43 = alloca %"class.std::vector.10", align 8
  %44 = alloca %class.Vec3, align 4
  store float %0, ptr %6, align 4, !tbaa !5
  store float %1, ptr %7, align 4, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #5
  store ptr %13, ptr %14, align 8
  %45 = load float, ptr %6, align 4, !tbaa !5
  %46 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %13, float noundef %45, float noundef -1.000000e+00, float noundef %46)
          to label %47 unwind label %259

47:                                               ; preds = %5
  %48 = getelementptr inbounds %class.Vec3, ptr %13, i64 1
  store ptr %48, ptr %14, align 8
  %49 = load float, ptr %6, align 4, !tbaa !5
  %50 = load float, ptr %6, align 4, !tbaa !5
  %51 = fneg float %50
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %48, float noundef %49, float noundef -1.000000e+00, float noundef %51)
          to label %52 unwind label %259

52:                                               ; preds = %47
  %53 = getelementptr inbounds %class.Vec3, ptr %13, i64 2
  store ptr %53, ptr %14, align 8
  %54 = load float, ptr %6, align 4, !tbaa !5
  %55 = fneg float %54
  %56 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %53, float noundef %55, float noundef -1.000000e+00, float noundef %56)
          to label %57 unwind label %259

57:                                               ; preds = %52
  %58 = getelementptr inbounds %class.Vec3, ptr %13, i64 3
  store ptr %58, ptr %14, align 8
  %59 = load float, ptr %6, align 4, !tbaa !5
  %60 = fneg float %59
  %61 = load float, ptr %6, align 4, !tbaa !5
  %62 = fneg float %61
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %58, float noundef %60, float noundef -1.000000e+00, float noundef %62)
          to label %63 unwind label %259

63:                                               ; preds = %57
  %64 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 0
  store ptr %13, ptr %64, align 8, !tbaa !11
  %65 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 1
  store i64 4, ptr %65, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaI4Vec3IfEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %66 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8
  %68 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %69 = load i64, ptr %68, align 8
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %67, i64 %69, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %70 unwind label %270

70:                                               ; preds = %63
  call void @_ZNSt15__new_allocatorI4Vec3IfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  %71 = getelementptr inbounds [4 x %class.Vec3], ptr %13, i32 0, i32 0
  %72 = getelementptr inbounds %class.Vec3, ptr %71, i64 4
  br label %73

73:                                               ; preds = %73, %70
  %74 = phi ptr [ %72, %70 ], [ %75, %73 ]
  %75 = getelementptr inbounds %class.Vec3, ptr %74, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %75) #5
  %76 = icmp eq ptr %75, %71
  br i1 %76, label %77, label %73

77:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %18, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
          to label %78 unwind label %282

78:                                               ; preds = %77
  %79 = load ptr, ptr %8, align 8, !tbaa !9
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %80 unwind label %286

80:                                               ; preds = %78
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %81 unwind label %290

81:                                               ; preds = %80
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %79, ptr noundef %19, ptr noundef %20)
          to label %82 unwind label %294

82:                                               ; preds = %81
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %20) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #5
  store ptr %22, ptr %23, align 8
  %83 = load float, ptr %6, align 4, !tbaa !5
  %84 = fneg float %83
  %85 = load float, ptr %6, align 4, !tbaa !5
  %86 = fneg float %85
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %22, float noundef %84, float noundef -1.000000e+00, float noundef %86)
          to label %87 unwind label %299

87:                                               ; preds = %82
  %88 = getelementptr inbounds %class.Vec3, ptr %22, i64 1
  store ptr %88, ptr %23, align 8
  %89 = load float, ptr %6, align 4, !tbaa !5
  %90 = load float, ptr %6, align 4, !tbaa !5
  %91 = fneg float %90
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %88, float noundef %89, float noundef -1.000000e+00, float noundef %91)
          to label %92 unwind label %299

92:                                               ; preds = %87
  %93 = getelementptr inbounds %class.Vec3, ptr %22, i64 2
  store ptr %93, ptr %23, align 8
  %94 = load float, ptr %6, align 4, !tbaa !5
  %95 = fneg float %94
  %96 = load float, ptr %7, align 4, !tbaa !5
  %97 = load float, ptr %6, align 4, !tbaa !5
  %98 = fneg float %97
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %93, float noundef %95, float noundef %96, float noundef %98)
          to label %99 unwind label %299

99:                                               ; preds = %92
  %100 = getelementptr inbounds %class.Vec3, ptr %22, i64 3
  store ptr %100, ptr %23, align 8
  %101 = load float, ptr %6, align 4, !tbaa !5
  %102 = load float, ptr %7, align 4, !tbaa !5
  %103 = load float, ptr %6, align 4, !tbaa !5
  %104 = fneg float %103
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %100, float noundef %101, float noundef %102, float noundef %104)
          to label %105 unwind label %299

105:                                              ; preds = %99
  %106 = getelementptr inbounds %"class.std::initializer_list", ptr %21, i32 0, i32 0
  store ptr %22, ptr %106, align 8, !tbaa !11
  %107 = getelementptr inbounds %"class.std::initializer_list", ptr %21, i32 0, i32 1
  store i64 4, ptr %107, align 8, !tbaa !14
  %108 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8
  %110 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %111 = load i64, ptr %110, align 8
  %112 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %109, i64 %111)
          to label %113 unwind label %310

113:                                              ; preds = %105
  %114 = getelementptr inbounds [4 x %class.Vec3], ptr %22, i32 0, i32 0
  %115 = getelementptr inbounds %class.Vec3, ptr %114, i64 4
  br label %116

116:                                              ; preds = %116, %113
  %117 = phi ptr [ %115, %113 ], [ %118, %116 ]
  %118 = getelementptr inbounds %class.Vec3, ptr %117, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %118) #5
  %119 = icmp eq ptr %118, %114
  br i1 %119, label %120, label %116

120:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %24, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %121 unwind label %322

121:                                              ; preds = %120
  %122 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %24)
          to label %123 unwind label %326

123:                                              ; preds = %121
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %24) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #5
  %124 = load ptr, ptr %8, align 8, !tbaa !9
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %125 unwind label %286

125:                                              ; preds = %123
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %126 unwind label %331

126:                                              ; preds = %125
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %124, ptr noundef %25, ptr noundef %26)
          to label %127 unwind label %335

127:                                              ; preds = %126
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %26) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #5
  store ptr %28, ptr %29, align 8
  %128 = load float, ptr %6, align 4, !tbaa !5
  %129 = load float, ptr %7, align 4, !tbaa !5
  %130 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %28, float noundef %128, float noundef %129, float noundef %130)
          to label %131 unwind label %340

131:                                              ; preds = %127
  %132 = getelementptr inbounds %class.Vec3, ptr %28, i64 1
  store ptr %132, ptr %29, align 8
  %133 = load float, ptr %6, align 4, !tbaa !5
  %134 = load float, ptr %7, align 4, !tbaa !5
  %135 = load float, ptr %6, align 4, !tbaa !5
  %136 = fneg float %135
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %132, float noundef %133, float noundef %134, float noundef %136)
          to label %137 unwind label %340

137:                                              ; preds = %131
  %138 = getelementptr inbounds %class.Vec3, ptr %28, i64 2
  store ptr %138, ptr %29, align 8
  %139 = load float, ptr %6, align 4, !tbaa !5
  %140 = fneg float %139
  %141 = load float, ptr %7, align 4, !tbaa !5
  %142 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %138, float noundef %140, float noundef %141, float noundef %142)
          to label %143 unwind label %340

143:                                              ; preds = %137
  %144 = getelementptr inbounds %class.Vec3, ptr %28, i64 3
  store ptr %144, ptr %29, align 8
  %145 = load float, ptr %6, align 4, !tbaa !5
  %146 = fneg float %145
  %147 = load float, ptr %7, align 4, !tbaa !5
  %148 = load float, ptr %6, align 4, !tbaa !5
  %149 = fneg float %148
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %144, float noundef %146, float noundef %147, float noundef %149)
          to label %150 unwind label %340

150:                                              ; preds = %143
  %151 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %151, align 8, !tbaa !11
  %152 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 4, ptr %152, align 8, !tbaa !14
  %153 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %156 = load i64, ptr %155, align 8
  %157 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %154, i64 %156)
          to label %158 unwind label %351

158:                                              ; preds = %150
  %159 = getelementptr inbounds [4 x %class.Vec3], ptr %28, i32 0, i32 0
  %160 = getelementptr inbounds %class.Vec3, ptr %159, i64 4
  br label %161

161:                                              ; preds = %161, %158
  %162 = phi ptr [ %160, %158 ], [ %163, %161 ]
  %163 = getelementptr inbounds %class.Vec3, ptr %162, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %163) #5
  %164 = icmp eq ptr %163, %159
  br i1 %164, label %165, label %161

165:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %30, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
          to label %166 unwind label %363

166:                                              ; preds = %165
  %167 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %30)
          to label %168 unwind label %367

168:                                              ; preds = %166
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %30) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #5
  %169 = load ptr, ptr %8, align 8, !tbaa !9
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %170 unwind label %286

170:                                              ; preds = %168
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %32, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %171 unwind label %372

171:                                              ; preds = %170
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %169, ptr noundef %31, ptr noundef %32)
          to label %172 unwind label %376

172:                                              ; preds = %171
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %32) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #5
  store ptr %34, ptr %35, align 8
  %173 = load float, ptr %6, align 4, !tbaa !5
  %174 = fneg float %173
  %175 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %34, float noundef %174, float noundef -1.000000e+00, float noundef %175)
          to label %176 unwind label %381

176:                                              ; preds = %172
  %177 = getelementptr inbounds %class.Vec3, ptr %34, i64 1
  store ptr %177, ptr %35, align 8
  %178 = load float, ptr %6, align 4, !tbaa !5
  %179 = fneg float %178
  %180 = load float, ptr %6, align 4, !tbaa !5
  %181 = fneg float %180
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %177, float noundef %179, float noundef -1.000000e+00, float noundef %181)
          to label %182 unwind label %381

182:                                              ; preds = %176
  %183 = getelementptr inbounds %class.Vec3, ptr %34, i64 2
  store ptr %183, ptr %35, align 8
  %184 = load float, ptr %6, align 4, !tbaa !5
  %185 = fneg float %184
  %186 = load float, ptr %7, align 4, !tbaa !5
  %187 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %183, float noundef %185, float noundef %186, float noundef %187)
          to label %188 unwind label %381

188:                                              ; preds = %182
  %189 = getelementptr inbounds %class.Vec3, ptr %34, i64 3
  store ptr %189, ptr %35, align 8
  %190 = load float, ptr %6, align 4, !tbaa !5
  %191 = fneg float %190
  %192 = load float, ptr %7, align 4, !tbaa !5
  %193 = load float, ptr %6, align 4, !tbaa !5
  %194 = fneg float %193
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %189, float noundef %191, float noundef %192, float noundef %194)
          to label %195 unwind label %381

195:                                              ; preds = %188
  %196 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 0
  store ptr %34, ptr %196, align 8, !tbaa !11
  %197 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 1
  store i64 4, ptr %197, align 8, !tbaa !14
  %198 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %199 = load ptr, ptr %198, align 8
  %200 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %201 = load i64, ptr %200, align 8
  %202 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %199, i64 %201)
          to label %203 unwind label %392

203:                                              ; preds = %195
  %204 = getelementptr inbounds [4 x %class.Vec3], ptr %34, i32 0, i32 0
  %205 = getelementptr inbounds %class.Vec3, ptr %204, i64 4
  br label %206

206:                                              ; preds = %206, %203
  %207 = phi ptr [ %205, %203 ], [ %208, %206 ]
  %208 = getelementptr inbounds %class.Vec3, ptr %207, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %208) #5
  %209 = icmp eq ptr %208, %204
  br i1 %209, label %210, label %206

210:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %36, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %211 unwind label %404

211:                                              ; preds = %210
  %212 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %36)
          to label %213 unwind label %408

213:                                              ; preds = %211
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %36) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #5
  %214 = load ptr, ptr %10, align 8, !tbaa !9
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %215 unwind label %286

215:                                              ; preds = %213
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %216 unwind label %413

216:                                              ; preds = %215
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %214, ptr noundef %37, ptr noundef %38)
          to label %217 unwind label %417

217:                                              ; preds = %216
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %38) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %40) #5
  store ptr %40, ptr %41, align 8
  %218 = load float, ptr %6, align 4, !tbaa !5
  %219 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %40, float noundef %218, float noundef -1.000000e+00, float noundef %219)
          to label %220 unwind label %422

220:                                              ; preds = %217
  %221 = getelementptr inbounds %class.Vec3, ptr %40, i64 1
  store ptr %221, ptr %41, align 8
  %222 = load float, ptr %6, align 4, !tbaa !5
  %223 = load float, ptr %6, align 4, !tbaa !5
  %224 = fneg float %223
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %221, float noundef %222, float noundef -1.000000e+00, float noundef %224)
          to label %225 unwind label %422

225:                                              ; preds = %220
  %226 = getelementptr inbounds %class.Vec3, ptr %40, i64 2
  store ptr %226, ptr %41, align 8
  %227 = load float, ptr %6, align 4, !tbaa !5
  %228 = load float, ptr %7, align 4, !tbaa !5
  %229 = load float, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %226, float noundef %227, float noundef %228, float noundef %229)
          to label %230 unwind label %422

230:                                              ; preds = %225
  %231 = getelementptr inbounds %class.Vec3, ptr %40, i64 3
  store ptr %231, ptr %41, align 8
  %232 = load float, ptr %6, align 4, !tbaa !5
  %233 = load float, ptr %7, align 4, !tbaa !5
  %234 = load float, ptr %6, align 4, !tbaa !5
  %235 = fneg float %234
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %231, float noundef %232, float noundef %233, float noundef %235)
          to label %236 unwind label %422

236:                                              ; preds = %230
  %237 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 0
  store ptr %40, ptr %237, align 8, !tbaa !11
  %238 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 1
  store i64 4, ptr %238, align 8, !tbaa !14
  %239 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %240 = load ptr, ptr %239, align 8
  %241 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %242 = load i64, ptr %241, align 8
  %243 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %240, i64 %242)
          to label %244 unwind label %433

244:                                              ; preds = %236
  %245 = getelementptr inbounds [4 x %class.Vec3], ptr %40, i32 0, i32 0
  %246 = getelementptr inbounds %class.Vec3, ptr %245, i64 4
  br label %247

247:                                              ; preds = %247, %244
  %248 = phi ptr [ %246, %244 ], [ %249, %247 ]
  %249 = getelementptr inbounds %class.Vec3, ptr %248, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %249) #5
  %250 = icmp eq ptr %249, %245
  br i1 %250, label %251, label %247

251:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %42, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %252 unwind label %445

252:                                              ; preds = %251
  %253 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %42)
          to label %254 unwind label %449

254:                                              ; preds = %252
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %42) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #5
  %255 = load ptr, ptr %9, align 8, !tbaa !9
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %256 unwind label %286

256:                                              ; preds = %254
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %44, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %257 unwind label %454

257:                                              ; preds = %256
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %255, ptr noundef %43, ptr noundef %44)
          to label %258 unwind label %458

258:                                              ; preds = %257
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %44) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  ret void

259:                                              ; preds = %57, %52, %47, %5
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %15, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %16, align 4
  %263 = load ptr, ptr %14, align 8
  %264 = icmp eq ptr %13, %263
  br i1 %264, label %269, label %265

265:                                              ; preds = %265, %259
  %266 = phi ptr [ %263, %259 ], [ %267, %265 ]
  %267 = getelementptr inbounds %class.Vec3, ptr %266, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %267) #5
  %268 = icmp eq ptr %267, %13
  br i1 %268, label %269, label %265

269:                                              ; preds = %265, %259
  br label %281

270:                                              ; preds = %63
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %15, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %16, align 4
  call void @_ZNSt15__new_allocatorI4Vec3IfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  %274 = getelementptr inbounds [4 x %class.Vec3], ptr %13, i32 0, i32 0
  %275 = getelementptr inbounds %class.Vec3, ptr %274, i64 4
  br label %276

276:                                              ; preds = %276, %270
  %277 = phi ptr [ %275, %270 ], [ %278, %276 ]
  %278 = getelementptr inbounds %class.Vec3, ptr %277, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %278) #5
  %279 = icmp eq ptr %278, %274
  br i1 %279, label %280, label %276

280:                                              ; preds = %276
  br label %281

281:                                              ; preds = %280, %269
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #5
  br label %465

282:                                              ; preds = %77
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %15, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %16, align 4
  br label %464

286:                                              ; preds = %254, %213, %168, %123, %78
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %15, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %16, align 4
  br label %463

290:                                              ; preds = %80
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %15, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %16, align 4
  br label %298

294:                                              ; preds = %81
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %15, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %20) #5
  br label %298

298:                                              ; preds = %294, %290
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  br label %463

299:                                              ; preds = %99, %92, %87, %82
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %15, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %16, align 4
  %303 = load ptr, ptr %23, align 8
  %304 = icmp eq ptr %22, %303
  br i1 %304, label %309, label %305

305:                                              ; preds = %305, %299
  %306 = phi ptr [ %303, %299 ], [ %307, %305 ]
  %307 = getelementptr inbounds %class.Vec3, ptr %306, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %307) #5
  %308 = icmp eq ptr %307, %22
  br i1 %308, label %309, label %305

309:                                              ; preds = %305, %299
  br label %321

310:                                              ; preds = %105
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %15, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %16, align 4
  %314 = getelementptr inbounds [4 x %class.Vec3], ptr %22, i32 0, i32 0
  %315 = getelementptr inbounds %class.Vec3, ptr %314, i64 4
  br label %316

316:                                              ; preds = %316, %310
  %317 = phi ptr [ %315, %310 ], [ %318, %316 ]
  %318 = getelementptr inbounds %class.Vec3, ptr %317, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %318) #5
  %319 = icmp eq ptr %318, %314
  br i1 %319, label %320, label %316

320:                                              ; preds = %316
  br label %321

321:                                              ; preds = %320, %309
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #5
  br label %463

322:                                              ; preds = %120
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %15, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %16, align 4
  br label %330

326:                                              ; preds = %121
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %15, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %24) #5
  br label %330

330:                                              ; preds = %326, %322
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #5
  br label %463

331:                                              ; preds = %125
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %15, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %16, align 4
  br label %339

335:                                              ; preds = %126
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %15, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %26) #5
  br label %339

339:                                              ; preds = %335, %331
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  br label %463

340:                                              ; preds = %143, %137, %131, %127
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %15, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %16, align 4
  %344 = load ptr, ptr %29, align 8
  %345 = icmp eq ptr %28, %344
  br i1 %345, label %350, label %346

346:                                              ; preds = %346, %340
  %347 = phi ptr [ %344, %340 ], [ %348, %346 ]
  %348 = getelementptr inbounds %class.Vec3, ptr %347, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %348) #5
  %349 = icmp eq ptr %348, %28
  br i1 %349, label %350, label %346

350:                                              ; preds = %346, %340
  br label %362

351:                                              ; preds = %150
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %15, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %16, align 4
  %355 = getelementptr inbounds [4 x %class.Vec3], ptr %28, i32 0, i32 0
  %356 = getelementptr inbounds %class.Vec3, ptr %355, i64 4
  br label %357

357:                                              ; preds = %357, %351
  %358 = phi ptr [ %356, %351 ], [ %359, %357 ]
  %359 = getelementptr inbounds %class.Vec3, ptr %358, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %359) #5
  %360 = icmp eq ptr %359, %355
  br i1 %360, label %361, label %357

361:                                              ; preds = %357
  br label %362

362:                                              ; preds = %361, %350
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #5
  br label %463

363:                                              ; preds = %165
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %15, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %16, align 4
  br label %371

367:                                              ; preds = %166
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %15, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %30) #5
  br label %371

371:                                              ; preds = %367, %363
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #5
  br label %463

372:                                              ; preds = %170
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %15, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %16, align 4
  br label %380

376:                                              ; preds = %171
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %15, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %32) #5
  br label %380

380:                                              ; preds = %376, %372
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  br label %463

381:                                              ; preds = %188, %182, %176, %172
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %15, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %16, align 4
  %385 = load ptr, ptr %35, align 8
  %386 = icmp eq ptr %34, %385
  br i1 %386, label %391, label %387

387:                                              ; preds = %387, %381
  %388 = phi ptr [ %385, %381 ], [ %389, %387 ]
  %389 = getelementptr inbounds %class.Vec3, ptr %388, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %389) #5
  %390 = icmp eq ptr %389, %34
  br i1 %390, label %391, label %387

391:                                              ; preds = %387, %381
  br label %403

392:                                              ; preds = %195
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %15, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %16, align 4
  %396 = getelementptr inbounds [4 x %class.Vec3], ptr %34, i32 0, i32 0
  %397 = getelementptr inbounds %class.Vec3, ptr %396, i64 4
  br label %398

398:                                              ; preds = %398, %392
  %399 = phi ptr [ %397, %392 ], [ %400, %398 ]
  %400 = getelementptr inbounds %class.Vec3, ptr %399, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %400) #5
  %401 = icmp eq ptr %400, %396
  br i1 %401, label %402, label %398

402:                                              ; preds = %398
  br label %403

403:                                              ; preds = %402, %391
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #5
  br label %463

404:                                              ; preds = %210
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %15, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %16, align 4
  br label %412

408:                                              ; preds = %211
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %15, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %36) #5
  br label %412

412:                                              ; preds = %408, %404
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #5
  br label %463

413:                                              ; preds = %215
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %15, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %16, align 4
  br label %421

417:                                              ; preds = %216
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %15, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %38) #5
  br label %421

421:                                              ; preds = %417, %413
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  br label %463

422:                                              ; preds = %230, %225, %220, %217
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %15, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %16, align 4
  %426 = load ptr, ptr %41, align 8
  %427 = icmp eq ptr %40, %426
  br i1 %427, label %432, label %428

428:                                              ; preds = %428, %422
  %429 = phi ptr [ %426, %422 ], [ %430, %428 ]
  %430 = getelementptr inbounds %class.Vec3, ptr %429, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %430) #5
  %431 = icmp eq ptr %430, %40
  br i1 %431, label %432, label %428

432:                                              ; preds = %428, %422
  br label %444

433:                                              ; preds = %236
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %15, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %16, align 4
  %437 = getelementptr inbounds [4 x %class.Vec3], ptr %40, i32 0, i32 0
  %438 = getelementptr inbounds %class.Vec3, ptr %437, i64 4
  br label %439

439:                                              ; preds = %439, %433
  %440 = phi ptr [ %438, %433 ], [ %441, %439 ]
  %441 = getelementptr inbounds %class.Vec3, ptr %440, i64 -1
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %441) #5
  %442 = icmp eq ptr %441, %437
  br i1 %442, label %443, label %439

443:                                              ; preds = %439
  br label %444

444:                                              ; preds = %443, %432
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #5
  br label %463

445:                                              ; preds = %251
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %15, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %16, align 4
  br label %453

449:                                              ; preds = %252
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %15, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %42) #5
  br label %453

453:                                              ; preds = %449, %445
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #5
  br label %463

454:                                              ; preds = %256
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %15, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %16, align 4
  br label %462

458:                                              ; preds = %257
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %15, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %16, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %44) #5
  br label %462

462:                                              ; preds = %458, %454
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  br label %463

463:                                              ; preds = %462, %453, %444, %421, %412, %403, %380, %371, %362, %339, %330, %321, %298, %286
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #5
  br label %464

464:                                              ; preds = %463, %282
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %465

465:                                              ; preds = %464, %281
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  br label %466

466:                                              ; preds = %465
  %467 = load ptr, ptr %15, align 8
  %468 = load i32, ptr %16, align 4
  %469 = insertvalue { ptr, i32 } poison, ptr %467, 0
  %470 = insertvalue { ptr, i32 } %469, i32 %468, 1
  resume { ptr, i32 } %470
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef) #3

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

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vec3<float>, std::allocator<Vec3<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Vec3 = type { [3 x float] }
%"class.std::allocator.12" = type { i8 }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #2 align 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16createCornellBoxffR4MeshS0_S0_(float noundef %0, float noundef %1, ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(208) %4) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector.10", align 8
  %7 = alloca [4 x %class.Vec3], align 4
  %8 = alloca %"class.std::allocator.12", align 1
  %9 = alloca %class.Vec3, align 4
  %10 = alloca %"class.std::vector.10", align 8
  %11 = alloca %class.Vec3, align 4
  %12 = alloca [4 x %class.Vec3], align 4
  %13 = alloca %class.Vec3, align 4
  %14 = alloca %"class.std::vector.10", align 8
  %15 = alloca %class.Vec3, align 4
  %16 = alloca [4 x %class.Vec3], align 4
  %17 = alloca %class.Vec3, align 4
  %18 = alloca %"class.std::vector.10", align 8
  %19 = alloca %class.Vec3, align 4
  %20 = alloca [4 x %class.Vec3], align 4
  %21 = alloca %class.Vec3, align 4
  %22 = alloca %"class.std::vector.10", align 8
  %23 = alloca %class.Vec3, align 4
  %24 = alloca [4 x %class.Vec3], align 4
  %25 = alloca %class.Vec3, align 4
  %26 = alloca %"class.std::vector.10", align 8
  %27 = alloca %class.Vec3, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef %0, float noundef -1.000000e+00, float noundef %0)
  %28 = getelementptr inbounds i8, ptr %7, i64 12
  %29 = fneg float %0
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %28, float noundef %0, float noundef -1.000000e+00, float noundef %29)
  %30 = getelementptr inbounds i8, ptr %7, i64 24
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %30, float noundef %29, float noundef -1.000000e+00, float noundef %0)
  %31 = getelementptr inbounds i8, ptr %7, i64 36
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %31, float noundef %29, float noundef -1.000000e+00, float noundef %29)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaI4Vec3IfEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %7, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %32 unwind label %87

32:                                               ; preds = %5
  call void @_ZNSt15__new_allocatorI4Vec3IfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  %33 = getelementptr inbounds i8, ptr %7, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #5
  %34 = getelementptr inbounds i8, ptr %7, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %34) #5
  %35 = getelementptr inbounds i8, ptr %7, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %35) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %36 unwind label %92

36:                                               ; preds = %32
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %37 unwind label %94

37:                                               ; preds = %36
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull %10, ptr noundef nonnull %11)
          to label %38 unwind label %96

38:                                               ; preds = %37
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %11) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef %29, float noundef -1.000000e+00, float noundef %29)
  %39 = getelementptr inbounds i8, ptr %12, i64 12
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %39, float noundef %0, float noundef -1.000000e+00, float noundef %29)
  %40 = getelementptr inbounds i8, ptr %12, i64 24
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %40, float noundef %29, float noundef %1, float noundef %29)
  %41 = getelementptr inbounds i8, ptr %12, i64 36
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %41, float noundef %0, float noundef %1, float noundef %29)
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %12, i64 4)
          to label %43 unwind label %99

43:                                               ; preds = %38
  %44 = getelementptr inbounds i8, ptr %12, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %44) #5
  %45 = getelementptr inbounds i8, ptr %12, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %45) #5
  %46 = getelementptr inbounds i8, ptr %12, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %46) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %13, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %47 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #5
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %48 unwind label %92

48:                                               ; preds = %43
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %49 unwind label %104

49:                                               ; preds = %48
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull %14, ptr noundef nonnull %15)
          to label %50 unwind label %106

50:                                               ; preds = %49
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %16, float noundef %0, float noundef %1, float noundef %0)
  %51 = getelementptr inbounds i8, ptr %16, i64 12
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %51, float noundef %0, float noundef %1, float noundef %29)
  %52 = getelementptr inbounds i8, ptr %16, i64 24
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %52, float noundef %29, float noundef %1, float noundef %0)
  %53 = getelementptr inbounds i8, ptr %16, i64 36
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %53, float noundef %29, float noundef %1, float noundef %29)
  %54 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %16, i64 4)
          to label %55 unwind label %109

55:                                               ; preds = %50
  %56 = getelementptr inbounds i8, ptr %16, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %56) #5
  %57 = getelementptr inbounds i8, ptr %16, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %57) #5
  %58 = getelementptr inbounds i8, ptr %16, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %58) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %17, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %59 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %17) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #5
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %60 unwind label %92

60:                                               ; preds = %55
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %61 unwind label %114

61:                                               ; preds = %60
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull %18, ptr noundef nonnull %19)
          to label %62 unwind label %116

62:                                               ; preds = %61
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %19) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %20, float noundef %29, float noundef -1.000000e+00, float noundef %0)
  %63 = getelementptr inbounds i8, ptr %20, i64 12
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %63, float noundef %29, float noundef -1.000000e+00, float noundef %29)
  %64 = getelementptr inbounds i8, ptr %20, i64 24
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %64, float noundef %29, float noundef %1, float noundef %0)
  %65 = getelementptr inbounds i8, ptr %20, i64 36
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %65, float noundef %29, float noundef %1, float noundef %29)
  %66 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %20, i64 4)
          to label %67 unwind label %119

67:                                               ; preds = %62
  %68 = getelementptr inbounds i8, ptr %20, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %68) #5
  %69 = getelementptr inbounds i8, ptr %20, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %69) #5
  %70 = getelementptr inbounds i8, ptr %20, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %70) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %21, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %71 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %21)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #5
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %72 unwind label %92

72:                                               ; preds = %67
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %73 unwind label %124

73:                                               ; preds = %72
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %4, ptr noundef nonnull %22, ptr noundef nonnull %23)
          to label %74 unwind label %126

74:                                               ; preds = %73
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %24, float noundef %0, float noundef -1.000000e+00, float noundef %0)
  %75 = getelementptr inbounds i8, ptr %24, i64 12
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %75, float noundef %0, float noundef -1.000000e+00, float noundef %29)
  %76 = getelementptr inbounds i8, ptr %24, i64 24
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %76, float noundef %0, float noundef %1, float noundef %0)
  %77 = getelementptr inbounds i8, ptr %24, i64 36
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %77, float noundef %0, float noundef %1, float noundef %29)
  %78 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI4Vec3IfESaIS1_EEaSESt16initializer_listIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %24, i64 4)
          to label %79 unwind label %129

79:                                               ; preds = %74
  %80 = getelementptr inbounds i8, ptr %24, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %80) #5
  %81 = getelementptr inbounds i8, ptr %24, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %81) #5
  %82 = getelementptr inbounds i8, ptr %24, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %82) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %83 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %25)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %25) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #5
  invoke void @_ZNSt6vectorI4Vec3IfESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %84 unwind label %92

84:                                               ; preds = %79
  invoke void @_ZN4Vec3IfEC2ERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %85 unwind label %134

85:                                               ; preds = %84
  invoke void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull %26, ptr noundef nonnull %27)
          to label %86 unwind label %136

86:                                               ; preds = %85
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %27) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  ret void

87:                                               ; preds = %5
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI4Vec3IfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  %89 = getelementptr inbounds i8, ptr %7, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %89) #5
  %90 = getelementptr inbounds i8, ptr %7, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %90) #5
  %91 = getelementptr inbounds i8, ptr %7, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %91) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  br label %140

92:                                               ; preds = %79, %67, %55, %43, %32
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %139

94:                                               ; preds = %36
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %98

96:                                               ; preds = %37
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %11) #5
  br label %98

98:                                               ; preds = %96, %94
  %.pn = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %139

99:                                               ; preds = %38
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = getelementptr inbounds i8, ptr %12, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %101) #5
  %102 = getelementptr inbounds i8, ptr %12, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %102) #5
  %103 = getelementptr inbounds i8, ptr %12, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %103) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %139

104:                                              ; preds = %48
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

106:                                              ; preds = %49
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #5
  br label %108

108:                                              ; preds = %106, %104
  %.pn82 = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  br label %139

109:                                              ; preds = %50
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = getelementptr inbounds i8, ptr %16, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %111) #5
  %112 = getelementptr inbounds i8, ptr %16, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %112) #5
  %113 = getelementptr inbounds i8, ptr %16, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %113) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #5
  br label %139

114:                                              ; preds = %60
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %118

116:                                              ; preds = %61
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %19) #5
  br label %118

118:                                              ; preds = %116, %114
  %.pn84 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %139

119:                                              ; preds = %62
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = getelementptr inbounds i8, ptr %20, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %121) #5
  %122 = getelementptr inbounds i8, ptr %20, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %122) #5
  %123 = getelementptr inbounds i8, ptr %20, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %123) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #5
  br label %139

124:                                              ; preds = %72
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %73
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #5
  br label %128

128:                                              ; preds = %126, %124
  %.pn86 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  br label %139

129:                                              ; preds = %74
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = getelementptr inbounds i8, ptr %24, i64 36
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %131) #5
  %132 = getelementptr inbounds i8, ptr %24, i64 24
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %132) #5
  %133 = getelementptr inbounds i8, ptr %24, i64 12
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %133) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #5
  br label %139

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

136:                                              ; preds = %85
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %27) #5
  br label %138

138:                                              ; preds = %136, %134
  %.pn88 = phi { ptr, i32 } [ %137, %136 ], [ %135, %134 ]
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  br label %139

139:                                              ; preds = %138, %129, %128, %119, %118, %109, %108, %99, %98, %92
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %138 ], [ %93, %92 ], [ %130, %129 ], [ %.pn86, %128 ], [ %120, %119 ], [ %.pn84, %118 ], [ %110, %109 ], [ %.pn82, %108 ], [ %100, %99 ], [ %.pn, %98 ]
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  call void @_ZNSt6vectorI4Vec3IfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %140

140:                                              ; preds = %139, %87
  %.pn88.pn.pn = phi { ptr, i32 } [ %.pn88.pn, %139 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn88.pn.pn
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11createPlaneR4MeshSt6vectorI4Vec3IfESaIS3_EES3_(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass