; LLVM IR from ysyesilyurt/ComputerGraphics :: RayTracing/Scene.ll (ZN5SceneC2EPKc)

; 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.tinyxml2::XMLDocument" = type { %"class.tinyxml2::XMLNode", i8, i8, i32, i32, %"class.tinyxml2::StrPair", %"class.tinyxml2::StrPair", i32, ptr, i32, %"class.tinyxml2::MemPoolT", %"class.tinyxml2::MemPoolT.22", %"class.tinyxml2::MemPoolT.24", %"class.tinyxml2::MemPoolT.26" }
%"class.tinyxml2::XMLNode" = type { ptr, ptr, ptr, %"class.tinyxml2::StrPair", i32, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.tinyxml2::StrPair" = type { i32, ptr, ptr }
%"class.tinyxml2::MemPoolT" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::MemPool" = type { ptr }
%"class.tinyxml2::DynArray" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.22" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.23", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.23" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.24" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.25", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.25" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.26" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.27", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.27" = type { ptr, [10 x ptr], i32, i32 }
%struct.Vector3f = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%struct.ImagePlane = type { float, float, float, float, float, i32, i32 }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Scene = type { i32, float, float, %struct.Vector3f, %struct.Vector3f, %"class.std::vector.2", %"class.std::vector.7", %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector" }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl" }
%"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<PointLight *, std::allocator<PointLight *>>::_Vector_impl" }
%"struct.std::_Vector_base<PointLight *, std::allocator<PointLight *>>::_Vector_impl" = type { %"struct.std::_Vector_base<PointLight *, std::allocator<PointLight *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PointLight *, std::allocator<PointLight *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<Material *, std::allocator<Material *>>::_Vector_impl" }
%"struct.std::_Vector_base<Material *, std::allocator<Material *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Material *, std::allocator<Material *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Material *, std::allocator<Material *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<Vector3f, std::allocator<Vector3f>>::_Vector_impl" }
%"struct.std::_Vector_base<Vector3f, std::allocator<Vector3f>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vector3f, std::allocator<Vector3f>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vector3f, std::allocator<Vector3f>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Shape *, std::allocator<Shape *>>::_Vector_impl" }
%"struct.std::_Vector_base<Shape *, std::allocator<Shape *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Shape *, std::allocator<Shape *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Shape *, std::allocator<Shape *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Material = type { i32, i32, %struct.Vector3f, %struct.Vector3f, %struct.Vector3f, %struct.Vector3f }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SceneC2EPKc(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.tinyxml2::XMLDocument", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca [64 x i8], align 16
  %16 = alloca %struct.Vector3f, align 4
  %17 = alloca %struct.Vector3f, align 4
  %18 = alloca %struct.Vector3f, align 4
  %19 = alloca %struct.ImagePlane, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %struct.Vector3f, align 4
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %"class.std::vector.28", align 8
  %49 = alloca i32, align 4
  %50 = alloca ptr, align 8
  %51 = alloca i32, align 4
  %52 = alloca %struct.Vector3f, align 4
  %53 = alloca %struct.Vector3f, align 4
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %57 = load ptr, ptr %3, align 8
  %58 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 3
  %59 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 4
  %60 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 5
  call void @_ZNSt6vectorIP6CameraSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  %61 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 6
  call void @_ZNSt6vectorIP10PointLightSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #8
  %62 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  call void @_ZNSt6vectorIP8MaterialSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %63 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 8
  call void @_ZNSt6vectorI8Vector3fSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #8
  %64 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 9
  call void @_ZNSt6vectorIP5ShapeSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 704, ptr %6) #8
  invoke void @_ZN8tinyxml211XMLDocumentC1EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(704) %6, i1 noundef zeroext true, i32 noundef 0)
          to label %65 unwind label %83

65:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %66 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 0
  store i32 1, ptr %66, align 8, !tbaa !9
  %67 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 2
  store float 0x3F50624DE0000000, ptr %67, align 8, !tbaa !34
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = invoke noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEPKc(ptr noundef nonnull align 8 dereferenceable(704) %6, ptr noundef %68)
          to label %70 unwind label %87

70:                                               ; preds = %65
  store i32 %69, ptr %9, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %71 = invoke noundef ptr @_ZN8tinyxml27XMLNode10FirstChildEv(ptr noundef nonnull align 8 dereferenceable(104) %6)
          to label %72 unwind label %91

72:                                               ; preds = %70
  store ptr %71, ptr %11, align 8, !tbaa !5
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %73, ptr noundef @.str)
          to label %75 unwind label %91

75:                                               ; preds = %72
  store ptr %74, ptr %10, align 8, !tbaa !5
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %95

78:                                               ; preds = %75
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 0
  %81 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %79, ptr noundef %80)
          to label %82 unwind label %91

82:                                               ; preds = %78
  br label %95

83:                                               ; preds = %2
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  br label %1023

87:                                               ; preds = %65
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %7, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %8, align 4
  br label %1022

91:                                               ; preds = %131, %126, %120, %115, %101, %98, %95, %78, %72, %70
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %7, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %8, align 4
  br label %1021

95:                                               ; preds = %82, %75
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %96, ptr noundef @.str.1)
          to label %98 unwind label %91

98:                                               ; preds = %95
  store ptr %97, ptr %10, align 8, !tbaa !5
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %99)
          to label %101 unwind label %91

101:                                              ; preds = %98
  store ptr %100, ptr %5, align 8, !tbaa !5
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 3
  %104 = getelementptr inbounds %struct.Vector3f, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 3
  %106 = getelementptr inbounds %struct.Vector3f, ptr %105, i32 0, i32 1
  %107 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 3
  %108 = getelementptr inbounds %struct.Vector3f, ptr %107, i32 0, i32 2
  %109 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %102, ptr noundef @.str.2, ptr noundef %104, ptr noundef %106, ptr noundef %108) #8
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %110, ptr noundef @.str.3)
          to label %112 unwind label %91

112:                                              ; preds = %101
  store ptr %111, ptr %10, align 8, !tbaa !5
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %120

115:                                              ; preds = %112
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 2
  %118 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %116, ptr noundef %117)
          to label %119 unwind label %91

119:                                              ; preds = %115
  br label %120

120:                                              ; preds = %119, %112
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %121, ptr noundef @.str.4)
          to label %123 unwind label %91

123:                                              ; preds = %120
  store ptr %122, ptr %10, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = icmp ne ptr %124, null
  br i1 %125, label %126, label %131

126:                                              ; preds = %123
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %128 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 1
  %129 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %127, ptr noundef %128)
          to label %130 unwind label %91

130:                                              ; preds = %126
  store i32 %129, ptr %9, align 4, !tbaa !35
  br label %131

131:                                              ; preds = %130, %123
  %132 = load ptr, ptr %11, align 8, !tbaa !5
  %133 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %132, ptr noundef @.str.5)
          to label %134 unwind label %91

134:                                              ; preds = %131
  store ptr %133, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %135, ptr noundef @.str.6)
          to label %137 unwind label %226

137:                                              ; preds = %134
  store ptr %136, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  br label %138

138:                                              ; preds = %225, %137
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %244

141:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 28, ptr %19) #8
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  %143 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %142, ptr noundef @.str.7, ptr noundef %14)
          to label %144 unwind label %230

144:                                              ; preds = %141
  store i32 %143, ptr %9, align 4, !tbaa !35
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %145, ptr noundef @.str.8)
          to label %147 unwind label %230

147:                                              ; preds = %144
  store ptr %146, ptr %13, align 8, !tbaa !5
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %148)
          to label %150 unwind label %230

150:                                              ; preds = %147
  store ptr %149, ptr %5, align 8, !tbaa !5
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.Vector3f, ptr %16, i32 0, i32 0
  %153 = getelementptr inbounds %struct.Vector3f, ptr %16, i32 0, i32 1
  %154 = getelementptr inbounds %struct.Vector3f, ptr %16, i32 0, i32 2
  %155 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %151, ptr noundef @.str.2, ptr noundef %152, ptr noundef %153, ptr noundef %154) #8
  %156 = load ptr, ptr %12, align 8, !tbaa !5
  %157 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %156, ptr noundef @.str.9)
          to label %158 unwind label %230

158:                                              ; preds = %150
  store ptr %157, ptr %13, align 8, !tbaa !5
  %159 = load ptr, ptr %13, align 8, !tbaa !5
  %160 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %159)
          to label %161 unwind label %230

161:                                              ; preds = %158
  store ptr %160, ptr %5, align 8, !tbaa !5
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.Vector3f, ptr %17, i32 0, i32 0
  %164 = getelementptr inbounds %struct.Vector3f, ptr %17, i32 0, i32 1
  %165 = getelementptr inbounds %struct.Vector3f, ptr %17, i32 0, i32 2
  %166 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %162, ptr noundef @.str.2, ptr noundef %163, ptr noundef %164, ptr noundef %165) #8
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %167, ptr noundef @.str.10)
          to label %169 unwind label %230

169:                                              ; preds = %161
  store ptr %168, ptr %13, align 8, !tbaa !5
  %170 = load ptr, ptr %13, align 8, !tbaa !5
  %171 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %170)
          to label %172 unwind label %230

172:                                              ; preds = %169
  store ptr %171, ptr %5, align 8, !tbaa !5
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.Vector3f, ptr %18, i32 0, i32 0
  %175 = getelementptr inbounds %struct.Vector3f, ptr %18, i32 0, i32 1
  %176 = getelementptr inbounds %struct.Vector3f, ptr %18, i32 0, i32 2
  %177 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %173, ptr noundef @.str.2, ptr noundef %174, ptr noundef %175, ptr noundef %176) #8
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %178, ptr noundef @.str.11)
          to label %180 unwind label %230

180:                                              ; preds = %172
  store ptr %179, ptr %13, align 8, !tbaa !5
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %181)
          to label %183 unwind label %230

183:                                              ; preds = %180
  store ptr %182, ptr %5, align 8, !tbaa !5
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 0
  %186 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 1
  %187 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 2
  %188 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 3
  %189 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %184, ptr noundef @.str.12, ptr noundef %185, ptr noundef %186, ptr noundef %187, ptr noundef %188) #8
  %190 = load ptr, ptr %12, align 8, !tbaa !5
  %191 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %190, ptr noundef @.str.13)
          to label %192 unwind label %230

192:                                              ; preds = %183
  store ptr %191, ptr %13, align 8, !tbaa !5
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 4
  %195 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %193, ptr noundef %194)
          to label %196 unwind label %230

196:                                              ; preds = %192
  store i32 %195, ptr %9, align 4, !tbaa !35
  %197 = load ptr, ptr %12, align 8, !tbaa !5
  %198 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %197, ptr noundef @.str.14)
          to label %199 unwind label %230

199:                                              ; preds = %196
  store ptr %198, ptr %13, align 8, !tbaa !5
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %200)
          to label %202 unwind label %230

202:                                              ; preds = %199
  store ptr %201, ptr %5, align 8, !tbaa !5
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 5
  %205 = getelementptr inbounds %struct.ImagePlane, ptr %19, i32 0, i32 6
  %206 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %203, ptr noundef @.str.15, ptr noundef %204, ptr noundef %205) #8
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %207, ptr noundef @.str.16)
          to label %209 unwind label %230

209:                                              ; preds = %202
  store ptr %208, ptr %13, align 8, !tbaa !5
  %210 = load ptr, ptr %13, align 8, !tbaa !5
  %211 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %210)
          to label %212 unwind label %230

212:                                              ; preds = %209
  store ptr %211, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = call ptr @strcpy(ptr noundef %213, ptr noundef %214) #8
  %216 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %217 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #9
          to label %218 unwind label %234

218:                                              ; preds = %212
  %219 = load i32, ptr %14, align 4, !tbaa !37
  %220 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
  invoke void @_ZN6CameraC1EiPKcRK8Vector3fS4_S4_RK10ImagePlane(ptr noundef nonnull align 4 dereferenceable(112) %217, i32 noundef %219, ptr noundef %220, ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(28) %19)
          to label %221 unwind label %238

221:                                              ; preds = %218
  store ptr %217, ptr %20, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP6CameraSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %216, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %222 unwind label %234

222:                                              ; preds = %221
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  %223 = load ptr, ptr %12, align 8, !tbaa !5
  %224 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %223, ptr noundef @.str.6)
          to label %225 unwind label %230

225:                                              ; preds = %222
  store ptr %224, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 28, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %138, !llvm.loop !38

226:                                              ; preds = %134
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %7, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %8, align 4
  br label %1020

230:                                              ; preds = %222, %209, %202, %199, %196, %192, %183, %180, %172, %169, %161, %158, %150, %147, %144, %141
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %7, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %8, align 4
  br label %243

234:                                              ; preds = %221, %212
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %7, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %8, align 4
  br label %242

238:                                              ; preds = %218
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %7, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %217, i64 noundef 112) #10
  br label %242

242:                                              ; preds = %238, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %243

243:                                              ; preds = %242, %230
  call void @llvm.lifetime.end.p0(i64 28, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %1019

244:                                              ; preds = %138
  %245 = load ptr, ptr %11, align 8, !tbaa !5
  %246 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %245, ptr noundef @.str.17)
          to label %247 unwind label %392

247:                                              ; preds = %244
  store ptr %246, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %248 = load ptr, ptr %10, align 8, !tbaa !5
  %249 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %248, ptr noundef @.str.18)
          to label %250 unwind label %396

250:                                              ; preds = %247
  store ptr %249, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  br label %251

251:                                              ; preds = %454, %250
  %252 = load ptr, ptr %21, align 8, !tbaa !5
  %253 = icmp ne ptr %252, null
  br i1 %253, label %254, label %455

254:                                              ; preds = %251
  %255 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %256 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #9
          to label %257 unwind label %400

257:                                              ; preds = %254
  invoke void @_ZN8MaterialC1Ev(ptr noundef nonnull align 4 dereferenceable(56) %256)
          to label %258 unwind label %404

258:                                              ; preds = %257
  store ptr %256, ptr %23, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP8MaterialSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %255, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %259 unwind label %400

259:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %260 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %261 = call noundef i64 @_ZNKSt6vectorIP8MaterialSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %260) #8
  %262 = sub i64 %261, 1
  %263 = trunc i64 %262 to i32
  store i32 %263, ptr %24, align 4, !tbaa !37
  %264 = load ptr, ptr %21, align 8, !tbaa !5
  %265 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %266 = load i32, ptr %24, align 4, !tbaa !37
  %267 = sext i32 %266 to i64
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %265, i64 noundef %267) #8
  %269 = load ptr, ptr %268, align 8, !tbaa !5
  %270 = getelementptr inbounds %class.Material, ptr %269, i32 0, i32 0
  %271 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %264, ptr noundef @.str.7, ptr noundef %270)
          to label %272 unwind label %409

272:                                              ; preds = %259
  store i32 %271, ptr %9, align 4, !tbaa !35
  %273 = load ptr, ptr %21, align 8, !tbaa !5
  %274 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %273, ptr noundef @.str.19)
          to label %275 unwind label %409

275:                                              ; preds = %272
  store ptr %274, ptr %22, align 8, !tbaa !5
  %276 = load ptr, ptr %22, align 8, !tbaa !5
  %277 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %276)
          to label %278 unwind label %409

278:                                              ; preds = %275
  store ptr %277, ptr %5, align 8, !tbaa !5
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %281 = load i32, ptr %24, align 4, !tbaa !37
  %282 = sext i32 %281 to i64
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef %282) #8
  %284 = load ptr, ptr %283, align 8, !tbaa !5
  %285 = getelementptr inbounds %class.Material, ptr %284, i32 0, i32 2
  %286 = getelementptr inbounds %struct.Vector3f, ptr %285, i32 0, i32 0
  %287 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %288 = load i32, ptr %24, align 4, !tbaa !37
  %289 = sext i32 %288 to i64
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %287, i64 noundef %289) #8
  %291 = load ptr, ptr %290, align 8, !tbaa !5
  %292 = getelementptr inbounds %class.Material, ptr %291, i32 0, i32 2
  %293 = getelementptr inbounds %struct.Vector3f, ptr %292, i32 0, i32 1
  %294 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %295 = load i32, ptr %24, align 4, !tbaa !37
  %296 = sext i32 %295 to i64
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %294, i64 noundef %296) #8
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  %299 = getelementptr inbounds %class.Material, ptr %298, i32 0, i32 2
  %300 = getelementptr inbounds %struct.Vector3f, ptr %299, i32 0, i32 2
  %301 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %279, ptr noundef @.str.2, ptr noundef %286, ptr noundef %293, ptr noundef %300) #8
  %302 = load ptr, ptr %21, align 8, !tbaa !5
  %303 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %302, ptr noundef @.str.20)
          to label %304 unwind label %409

304:                                              ; preds = %278
  store ptr %303, ptr %22, align 8, !tbaa !5
  %305 = load ptr, ptr %22, align 8, !tbaa !5
  %306 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %305)
          to label %307 unwind label %409

307:                                              ; preds = %304
  store ptr %306, ptr %5, align 8, !tbaa !5
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %310 = load i32, ptr %24, align 4, !tbaa !37
  %311 = sext i32 %310 to i64
  %312 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %309, i64 noundef %311) #8
  %313 = load ptr, ptr %312, align 8, !tbaa !5
  %314 = getelementptr inbounds %class.Material, ptr %313, i32 0, i32 3
  %315 = getelementptr inbounds %struct.Vector3f, ptr %314, i32 0, i32 0
  %316 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %317 = load i32, ptr %24, align 4, !tbaa !37
  %318 = sext i32 %317 to i64
  %319 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %316, i64 noundef %318) #8
  %320 = load ptr, ptr %319, align 8, !tbaa !5
  %321 = getelementptr inbounds %class.Material, ptr %320, i32 0, i32 3
  %322 = getelementptr inbounds %struct.Vector3f, ptr %321, i32 0, i32 1
  %323 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %324 = load i32, ptr %24, align 4, !tbaa !37
  %325 = sext i32 %324 to i64
  %326 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %323, i64 noundef %325) #8
  %327 = load ptr, ptr %326, align 8, !tbaa !5
  %328 = getelementptr inbounds %class.Material, ptr %327, i32 0, i32 3
  %329 = getelementptr inbounds %struct.Vector3f, ptr %328, i32 0, i32 2
  %330 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %308, ptr noundef @.str.2, ptr noundef %315, ptr noundef %322, ptr noundef %329) #8
  %331 = load ptr, ptr %21, align 8, !tbaa !5
  %332 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %331, ptr noundef @.str.21)
          to label %333 unwind label %409

333:                                              ; preds = %307
  store ptr %332, ptr %22, align 8, !tbaa !5
  %334 = load ptr, ptr %22, align 8, !tbaa !5
  %335 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %334)
          to label %336 unwind label %409

336:                                              ; preds = %333
  store ptr %335, ptr %5, align 8, !tbaa !5
  %337 = load ptr, ptr %5, align 8, !tbaa !5
  %338 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %339 = load i32, ptr %24, align 4, !tbaa !37
  %340 = sext i32 %339 to i64
  %341 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %338, i64 noundef %340) #8
  %342 = load ptr, ptr %341, align 8, !tbaa !5
  %343 = getelementptr inbounds %class.Material, ptr %342, i32 0, i32 4
  %344 = getelementptr inbounds %struct.Vector3f, ptr %343, i32 0, i32 0
  %345 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %346 = load i32, ptr %24, align 4, !tbaa !37
  %347 = sext i32 %346 to i64
  %348 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %345, i64 noundef %347) #8
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  %350 = getelementptr inbounds %class.Material, ptr %349, i32 0, i32 4
  %351 = getelementptr inbounds %struct.Vector3f, ptr %350, i32 0, i32 1
  %352 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %353 = load i32, ptr %24, align 4, !tbaa !37
  %354 = sext i32 %353 to i64
  %355 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %352, i64 noundef %354) #8
  %356 = load ptr, ptr %355, align 8, !tbaa !5
  %357 = getelementptr inbounds %class.Material, ptr %356, i32 0, i32 4
  %358 = getelementptr inbounds %struct.Vector3f, ptr %357, i32 0, i32 2
  %359 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %337, ptr noundef @.str.2, ptr noundef %344, ptr noundef %351, ptr noundef %358) #8
  %360 = load ptr, ptr %21, align 8, !tbaa !5
  %361 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %360, ptr noundef @.str.22)
          to label %362 unwind label %409

362:                                              ; preds = %336
  store ptr %361, ptr %22, align 8, !tbaa !5
  %363 = load ptr, ptr %22, align 8, !tbaa !5
  %364 = icmp ne ptr %363, null
  br i1 %364, label %365, label %413

365:                                              ; preds = %362
  %366 = load ptr, ptr %22, align 8, !tbaa !5
  %367 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %366)
          to label %368 unwind label %409

368:                                              ; preds = %365
  store ptr %367, ptr %5, align 8, !tbaa !5
  %369 = load ptr, ptr %5, align 8, !tbaa !5
  %370 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %371 = load i32, ptr %24, align 4, !tbaa !37
  %372 = sext i32 %371 to i64
  %373 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %370, i64 noundef %372) #8
  %374 = load ptr, ptr %373, align 8, !tbaa !5
  %375 = getelementptr inbounds %class.Material, ptr %374, i32 0, i32 5
  %376 = getelementptr inbounds %struct.Vector3f, ptr %375, i32 0, i32 0
  %377 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %378 = load i32, ptr %24, align 4, !tbaa !37
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %377, i64 noundef %379) #8
  %381 = load ptr, ptr %380, align 8, !tbaa !5
  %382 = getelementptr inbounds %class.Material, ptr %381, i32 0, i32 5
  %383 = getelementptr inbounds %struct.Vector3f, ptr %382, i32 0, i32 1
  %384 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %385 = load i32, ptr %24, align 4, !tbaa !37
  %386 = sext i32 %385 to i64
  %387 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %384, i64 noundef %386) #8
  %388 = load ptr, ptr %387, align 8, !tbaa !5
  %389 = getelementptr inbounds %class.Material, ptr %388, i32 0, i32 5
  %390 = getelementptr inbounds %struct.Vector3f, ptr %389, i32 0, i32 2
  %391 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %369, ptr noundef @.str.2, ptr noundef %376, ptr noundef %383, ptr noundef %390) #8
  br label %435

392:                                              ; preds = %244
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %7, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %8, align 4
  br label %1019

396:                                              ; preds = %247
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %7, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %8, align 4
  br label %1018

400:                                              ; preds = %258, %254
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %7, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %8, align 4
  br label %408

404:                                              ; preds = %257
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %7, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %256, i64 noundef 56) #10
  br label %408

408:                                              ; preds = %404, %400
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %1017

409:                                              ; preds = %451, %441, %435, %365, %336, %333, %307, %304, %278, %275, %272, %259
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %7, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %1017

413:                                              ; preds = %362
  %414 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %415 = load i32, ptr %24, align 4, !tbaa !37
  %416 = sext i32 %415 to i64
  %417 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %414, i64 noundef %416) #8
  %418 = load ptr, ptr %417, align 8, !tbaa !5
  %419 = getelementptr inbounds %class.Material, ptr %418, i32 0, i32 5
  %420 = getelementptr inbounds %struct.Vector3f, ptr %419, i32 0, i32 0
  store float 0.000000e+00, ptr %420, align 4, !tbaa !40
  %421 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %422 = load i32, ptr %24, align 4, !tbaa !37
  %423 = sext i32 %422 to i64
  %424 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %421, i64 noundef %423) #8
  %425 = load ptr, ptr %424, align 8, !tbaa !5
  %426 = getelementptr inbounds %class.Material, ptr %425, i32 0, i32 5
  %427 = getelementptr inbounds %struct.Vector3f, ptr %426, i32 0, i32 1
  store float 0.000000e+00, ptr %427, align 4, !tbaa !40
  %428 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %429 = load i32, ptr %24, align 4, !tbaa !37
  %430 = sext i32 %429 to i64
  %431 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %428, i64 noundef %430) #8
  %432 = load ptr, ptr %431, align 8, !tbaa !5
  %433 = getelementptr inbounds %class.Material, ptr %432, i32 0, i32 5
  %434 = getelementptr inbounds %struct.Vector3f, ptr %433, i32 0, i32 2
  store float 0.000000e+00, ptr %434, align 4, !tbaa !40
  br label %435

435:                                              ; preds = %413, %368
  %436 = load ptr, ptr %21, align 8, !tbaa !5
  %437 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %436, ptr noundef @.str.23)
          to label %438 unwind label %409

438:                                              ; preds = %435
  store ptr %437, ptr %22, align 8, !tbaa !5
  %439 = load ptr, ptr %22, align 8, !tbaa !5
  %440 = icmp ne ptr %439, null
  br i1 %440, label %441, label %451

441:                                              ; preds = %438
  %442 = load ptr, ptr %22, align 8, !tbaa !5
  %443 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 7
  %444 = load i32, ptr %24, align 4, !tbaa !37
  %445 = sext i32 %444 to i64
  %446 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %443, i64 noundef %445) #8
  %447 = load ptr, ptr %446, align 8, !tbaa !5
  %448 = getelementptr inbounds %class.Material, ptr %447, i32 0, i32 1
  %449 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %442, ptr noundef %448)
          to label %450 unwind label %409

450:                                              ; preds = %441
  br label %451

451:                                              ; preds = %450, %438
  %452 = load ptr, ptr %21, align 8, !tbaa !5
  %453 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %452, ptr noundef @.str.18)
          to label %454 unwind label %409

454:                                              ; preds = %451
  store ptr %453, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %251, !llvm.loop !41

455:                                              ; preds = %251
  %456 = load ptr, ptr %11, align 8, !tbaa !5
  %457 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %456, ptr noundef @.str.24)
          to label %458 unwind label %491

458:                                              ; preds = %455
  store ptr %457, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #8
  %459 = load ptr, ptr %10, align 8, !tbaa !5
  %460 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %459)
          to label %461 unwind label %495

461:                                              ; preds = %458
  store ptr %460, ptr %5, align 8, !tbaa !5
  br label %462

462:                                              ; preds = %488, %461
  %463 = load ptr, ptr %5, align 8, !tbaa !5
  %464 = load i32, ptr %25, align 4, !tbaa !37
  %465 = sext i32 %464 to i64
  %466 = getelementptr inbounds i8, ptr %463, i64 %465
  %467 = load i8, ptr %466, align 1, !tbaa !40
  %468 = sext i8 %467 to i32
  %469 = icmp eq i32 %468, 32
  br i1 %469, label %486, label %470

470:                                              ; preds = %462
  %471 = load ptr, ptr %5, align 8, !tbaa !5
  %472 = load i32, ptr %25, align 4, !tbaa !37
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds i8, ptr %471, i64 %473
  %475 = load i8, ptr %474, align 1, !tbaa !40
  %476 = sext i8 %475 to i32
  %477 = icmp eq i32 %476, 9
  br i1 %477, label %486, label %478

478:                                              ; preds = %470
  %479 = load ptr, ptr %5, align 8, !tbaa !5
  %480 = load i32, ptr %25, align 4, !tbaa !37
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds i8, ptr %479, i64 %481
  %483 = load i8, ptr %482, align 1, !tbaa !40
  %484 = sext i8 %483 to i32
  %485 = icmp eq i32 %484, 10
  br label %486

486:                                              ; preds = %478, %470, %462
  %487 = phi i1 [ true, %470 ], [ true, %462 ], [ %485, %478 ]
  br i1 %487, label %488, label %499

488:                                              ; preds = %486
  %489 = load i32, ptr %25, align 4, !tbaa !37
  %490 = add nsw i32 %489, 1
  store i32 %490, ptr %25, align 4, !tbaa !37
  br label %462, !llvm.loop !42

491:                                              ; preds = %455
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %7, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %8, align 4
  br label %1017

495:                                              ; preds = %611, %608, %458
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %7, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %8, align 4
  br label %1016

499:                                              ; preds = %486
  br label %500

500:                                              ; preds = %610, %499
  %501 = load ptr, ptr %5, align 8, !tbaa !5
  %502 = load i32, ptr %25, align 4, !tbaa !37
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds i8, ptr %501, i64 %503
  %505 = load i8, ptr %504, align 1, !tbaa !40
  %506 = sext i8 %505 to i32
  %507 = icmp ne i32 %506, 0
  br i1 %507, label %508, label %611

508:                                              ; preds = %500
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !37
  br label %509

509:                                              ; preds = %605, %508
  %510 = load i32, ptr %27, align 4, !tbaa !37
  %511 = icmp slt i32 %510, 3
  br i1 %511, label %513, label %512

512:                                              ; preds = %509
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %608

513:                                              ; preds = %509
  %514 = load i32, ptr %27, align 4, !tbaa !37
  %515 = icmp eq i32 %514, 0
  br i1 %515, label %516, label %524

516:                                              ; preds = %513
  %517 = load ptr, ptr %5, align 8, !tbaa !5
  %518 = load i32, ptr %25, align 4, !tbaa !37
  %519 = sext i32 %518 to i64
  %520 = getelementptr inbounds i8, ptr %517, i64 %519
  %521 = call double @atof(ptr noundef %520) #11
  %522 = fptrunc double %521 to float
  %523 = getelementptr inbounds %struct.Vector3f, ptr %26, i32 0, i32 0
  store float %522, ptr %523, align 4, !tbaa !40
  br label %544

524:                                              ; preds = %513
  %525 = load i32, ptr %27, align 4, !tbaa !37
  %526 = icmp eq i32 %525, 1
  br i1 %526, label %527, label %535

527:                                              ; preds = %524
  %528 = load ptr, ptr %5, align 8, !tbaa !5
  %529 = load i32, ptr %25, align 4, !tbaa !37
  %530 = sext i32 %529 to i64
  %531 = getelementptr inbounds i8, ptr %528, i64 %530
  %532 = call double @atof(ptr noundef %531) #11
  %533 = fptrunc double %532 to float
  %534 = getelementptr inbounds %struct.Vector3f, ptr %26, i32 0, i32 1
  store float %533, ptr %534, align 4, !tbaa !40
  br label %543

535:                                              ; preds = %524
  %536 = load ptr, ptr %5, align 8, !tbaa !5
  %537 = load i32, ptr %25, align 4, !tbaa !37
  %538 = sext i32 %537 to i64
  %539 = getelementptr inbounds i8, ptr %536, i64 %538
  %540 = call double @atof(ptr noundef %539) #11
  %541 = fptrunc double %540 to float
  %542 = getelementptr inbounds %struct.Vector3f, ptr %26, i32 0, i32 2
  store float %541, ptr %542, align 4, !tbaa !40
  br label %543

543:                                              ; preds = %535, %527
  br label %544

544:                                              ; preds = %543, %516
  br label %545

545:                                              ; preds = %571, %544
  %546 = load ptr, ptr %5, align 8, !tbaa !5
  %547 = load i32, ptr %25, align 4, !tbaa !37
  %548 = sext i32 %547 to i64
  %549 = getelementptr inbounds i8, ptr %546, i64 %548
  %550 = load i8, ptr %549, align 1, !tbaa !40
  %551 = sext i8 %550 to i32
  %552 = icmp ne i32 %551, 32
  br i1 %552, label %553, label %569

553:                                              ; preds = %545
  %554 = load ptr, ptr %5, align 8, !tbaa !5
  %555 = load i32, ptr %25, align 4, !tbaa !37
  %556 = sext i32 %555 to i64
  %557 = getelementptr inbounds i8, ptr %554, i64 %556
  %558 = load i8, ptr %557, align 1, !tbaa !40
  %559 = sext i8 %558 to i32
  %560 = icmp ne i32 %559, 9
  br i1 %560, label %561, label %569

561:                                              ; preds = %553
  %562 = load ptr, ptr %5, align 8, !tbaa !5
  %563 = load i32, ptr %25, align 4, !tbaa !37
  %564 = sext i32 %563 to i64
  %565 = getelementptr inbounds i8, ptr %562, i64 %564
  %566 = load i8, ptr %565, align 1, !tbaa !40
  %567 = sext i8 %566 to i32
  %568 = icmp ne i32 %567, 10
  br label %569

569:                                              ; preds = %561, %553, %545
  %570 = phi i1 [ false, %553 ], [ false, %545 ], [ %568, %561 ]
  br i1 %570, label %571, label %574

571:                                              ; preds = %569
  %572 = load i32, ptr %25, align 4, !tbaa !37
  %573 = add nsw i32 %572, 1
  store i32 %573, ptr %25, align 4, !tbaa !37
  br label %545, !llvm.loop !43

574:                                              ; preds = %569
  br label %575

575:                                              ; preds = %601, %574
  %576 = load ptr, ptr %5, align 8, !tbaa !5
  %577 = load i32, ptr %25, align 4, !tbaa !37
  %578 = sext i32 %577 to i64
  %579 = getelementptr inbounds i8, ptr %576, i64 %578
  %580 = load i8, ptr %579, align 1, !tbaa !40
  %581 = sext i8 %580 to i32
  %582 = icmp eq i32 %581, 32
  br i1 %582, label %599, label %583

583:                                              ; preds = %575
  %584 = load ptr, ptr %5, align 8, !tbaa !5
  %585 = load i32, ptr %25, align 4, !tbaa !37
  %586 = sext i32 %585 to i64
  %587 = getelementptr inbounds i8, ptr %584, i64 %586
  %588 = load i8, ptr %587, align 1, !tbaa !40
  %589 = sext i8 %588 to i32
  %590 = icmp eq i32 %589, 9
  br i1 %590, label %599, label %591

591:                                              ; preds = %583
  %592 = load ptr, ptr %5, align 8, !tbaa !5
  %593 = load i32, ptr %25, align 4, !tbaa !37
  %594 = sext i32 %593 to i64
  %595 = getelementptr inbounds i8, ptr %592, i64 %594
  %596 = load i8, ptr %595, align 1, !tbaa !40
  %597 = sext i8 %596 to i32
  %598 = icmp eq i32 %597, 10
  br label %599

599:                                              ; preds = %591, %583, %575
  %600 = phi i1 [ true, %583 ], [ true, %575 ], [ %598, %591 ]
  br i1 %600, label %601, label %604

601:                                              ; preds = %599
  %602 = load i32, ptr %25, align 4, !tbaa !37
  %603 = add nsw i32 %602, 1
  store i32 %603, ptr %25, align 4, !tbaa !37
  br label %575, !llvm.loop !44

604:                                              ; preds = %599
  br label %605

605:                                              ; preds = %604
  %606 = load i32, ptr %27, align 4, !tbaa !37
  %607 = add nsw i32 %606, 1
  store i32 %607, ptr %27, align 4, !tbaa !37
  br label %509, !llvm.loop !45

608:                                              ; preds = %512
  %609 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 8
  invoke void @_ZNSt6vectorI8Vector3fSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %609, ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %610 unwind label %495

610:                                              ; preds = %608
  br label %500, !llvm.loop !46

611:                                              ; preds = %500
  %612 = load ptr, ptr %11, align 8, !tbaa !5
  %613 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %612, ptr noundef @.str.25)
          to label %614 unwind label %495

614:                                              ; preds = %611
  store ptr %613, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %615 = load ptr, ptr %10, align 8, !tbaa !5
  %616 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %615, ptr noundef @.str.26)
          to label %617 unwind label %655

617:                                              ; preds = %614
  store ptr %616, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  br label %618

618:                                              ; preds = %654, %617
  %619 = load ptr, ptr %28, align 8, !tbaa !5
  %620 = icmp ne ptr %619, null
  br i1 %620, label %621, label %673

621:                                              ; preds = %618
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %622 = load ptr, ptr %28, align 8, !tbaa !5
  %623 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %622, ptr noundef @.str.7, ptr noundef %30)
          to label %624 unwind label %659

624:                                              ; preds = %621
  store i32 %623, ptr %9, align 4, !tbaa !35
  %625 = load ptr, ptr %28, align 8, !tbaa !5
  %626 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %625, ptr noundef @.str.18)
          to label %627 unwind label %659

627:                                              ; preds = %624
  store ptr %626, ptr %29, align 8, !tbaa !5
  %628 = load ptr, ptr %29, align 8, !tbaa !5
  %629 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %628, ptr noundef %31)
          to label %630 unwind label %659

630:                                              ; preds = %627
  store i32 %629, ptr %9, align 4, !tbaa !35
  %631 = load ptr, ptr %28, align 8, !tbaa !5
  %632 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %631, ptr noundef @.str.27)
          to label %633 unwind label %659

633:                                              ; preds = %630
  store ptr %632, ptr %29, align 8, !tbaa !5
  %634 = load ptr, ptr %29, align 8, !tbaa !5
  %635 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %634, ptr noundef %32)
          to label %636 unwind label %659

636:                                              ; preds = %633
  store i32 %635, ptr %9, align 4, !tbaa !35
  %637 = load ptr, ptr %28, align 8, !tbaa !5
  %638 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %637, ptr noundef @.str.28)
          to label %639 unwind label %659

639:                                              ; preds = %636
  store ptr %638, ptr %29, align 8, !tbaa !5
  %640 = load ptr, ptr %29, align 8, !tbaa !5
  %641 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %640, ptr noundef %33)
          to label %642 unwind label %659

642:                                              ; preds = %639
  store i32 %641, ptr %9, align 4, !tbaa !35
  %643 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %644 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
          to label %645 unwind label %663

645:                                              ; preds = %642
  %646 = load i32, ptr %30, align 4, !tbaa !37
  %647 = load i32, ptr %31, align 4, !tbaa !37
  %648 = load i32, ptr %32, align 4, !tbaa !37
  %649 = load float, ptr %33, align 4, !tbaa !47
  invoke void @_ZN6SphereC1Eiiif(ptr noundef nonnull align 8 dereferenceable(24) %644, i32 noundef %646, i32 noundef %647, i32 noundef %648, float noundef %649)
          to label %650 unwind label %667

650:                                              ; preds = %645
  store ptr %644, ptr %34, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5ShapeSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %643, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %651 unwind label %663

651:                                              ; preds = %650
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  %652 = load ptr, ptr %28, align 8, !tbaa !5
  %653 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %652, ptr noundef @.str.26)
          to label %654 unwind label %659

654:                                              ; preds = %651
  store ptr %653, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %618, !llvm.loop !48

655:                                              ; preds = %614
  %656 = landingpad { ptr, i32 }
          cleanup
  %657 = extractvalue { ptr, i32 } %656, 0
  store ptr %657, ptr %7, align 8
  %658 = extractvalue { ptr, i32 } %656, 1
  store i32 %658, ptr %8, align 4
  br label %1015

659:                                              ; preds = %651, %639, %636, %633, %630, %627, %624, %621
  %660 = landingpad { ptr, i32 }
          cleanup
  %661 = extractvalue { ptr, i32 } %660, 0
  store ptr %661, ptr %7, align 8
  %662 = extractvalue { ptr, i32 } %660, 1
  store i32 %662, ptr %8, align 4
  br label %672

663:                                              ; preds = %650, %642
  %664 = landingpad { ptr, i32 }
          cleanup
  %665 = extractvalue { ptr, i32 } %664, 0
  store ptr %665, ptr %7, align 8
  %666 = extractvalue { ptr, i32 } %664, 1
  store i32 %666, ptr %8, align 4
  br label %671

667:                                              ; preds = %645
  %668 = landingpad { ptr, i32 }
          cleanup
  %669 = extractvalue { ptr, i32 } %668, 0
  store ptr %669, ptr %7, align 8
  %670 = extractvalue { ptr, i32 } %668, 1
  store i32 %670, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %644, i64 noundef 24) #10
  br label %671

671:                                              ; preds = %667, %663
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %672

672:                                              ; preds = %671, %659
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %1014

673:                                              ; preds = %618
  %674 = load ptr, ptr %10, align 8, !tbaa !5
  %675 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %674, ptr noundef @.str.29)
          to label %676 unwind label %711

676:                                              ; preds = %673
  store ptr %675, ptr %28, align 8, !tbaa !5
  br label %677

677:                                              ; preds = %710, %676
  %678 = load ptr, ptr %28, align 8, !tbaa !5
  %679 = icmp ne ptr %678, null
  br i1 %679, label %680, label %729

680:                                              ; preds = %677
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %681 = load ptr, ptr %28, align 8, !tbaa !5
  %682 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %681, ptr noundef @.str.7, ptr noundef %35)
          to label %683 unwind label %715

683:                                              ; preds = %680
  store i32 %682, ptr %9, align 4, !tbaa !35
  %684 = load ptr, ptr %28, align 8, !tbaa !5
  %685 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %684, ptr noundef @.str.18)
          to label %686 unwind label %715

686:                                              ; preds = %683
  store ptr %685, ptr %29, align 8, !tbaa !5
  %687 = load ptr, ptr %29, align 8, !tbaa !5
  %688 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %687, ptr noundef %36)
          to label %689 unwind label %715

689:                                              ; preds = %686
  store i32 %688, ptr %9, align 4, !tbaa !35
  %690 = load ptr, ptr %28, align 8, !tbaa !5
  %691 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %690, ptr noundef @.str.30)
          to label %692 unwind label %715

692:                                              ; preds = %689
  store ptr %691, ptr %29, align 8, !tbaa !5
  %693 = load ptr, ptr %29, align 8, !tbaa !5
  %694 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %693)
          to label %695 unwind label %715

695:                                              ; preds = %692
  store ptr %694, ptr %5, align 8, !tbaa !5
  %696 = load ptr, ptr %5, align 8, !tbaa !5
  %697 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %696, ptr noundef @.str.31, ptr noundef %37, ptr noundef %38, ptr noundef %39) #8
  %698 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %699 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %700 unwind label %719

700:                                              ; preds = %695
  %701 = load i32, ptr %35, align 4, !tbaa !37
  %702 = load i32, ptr %36, align 4, !tbaa !37
  %703 = load i32, ptr %37, align 4, !tbaa !37
  %704 = load i32, ptr %38, align 4, !tbaa !37
  %705 = load i32, ptr %39, align 4, !tbaa !37
  invoke void @_ZN8TriangleC1Eiiiii(ptr noundef nonnull align 8 dereferenceable(28) %699, i32 noundef %701, i32 noundef %702, i32 noundef %703, i32 noundef %704, i32 noundef %705)
          to label %706 unwind label %723

706:                                              ; preds = %700
  store ptr %699, ptr %40, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5ShapeSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %698, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %707 unwind label %719

707:                                              ; preds = %706
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  %708 = load ptr, ptr %28, align 8, !tbaa !5
  %709 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %708, ptr noundef @.str.29)
          to label %710 unwind label %715

710:                                              ; preds = %707
  store ptr %709, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %677, !llvm.loop !49

711:                                              ; preds = %729, %673
  %712 = landingpad { ptr, i32 }
          cleanup
  %713 = extractvalue { ptr, i32 } %712, 0
  store ptr %713, ptr %7, align 8
  %714 = extractvalue { ptr, i32 } %712, 1
  store i32 %714, ptr %8, align 4
  br label %1014

715:                                              ; preds = %707, %692, %689, %686, %683, %680
  %716 = landingpad { ptr, i32 }
          cleanup
  %717 = extractvalue { ptr, i32 } %716, 0
  store ptr %717, ptr %7, align 8
  %718 = extractvalue { ptr, i32 } %716, 1
  store i32 %718, ptr %8, align 4
  br label %728

719:                                              ; preds = %706, %695
  %720 = landingpad { ptr, i32 }
          cleanup
  %721 = extractvalue { ptr, i32 } %720, 0
  store ptr %721, ptr %7, align 8
  %722 = extractvalue { ptr, i32 } %720, 1
  store i32 %722, ptr %8, align 4
  br label %727

723:                                              ; preds = %700
  %724 = landingpad { ptr, i32 }
          cleanup
  %725 = extractvalue { ptr, i32 } %724, 0
  store ptr %725, ptr %7, align 8
  %726 = extractvalue { ptr, i32 } %724, 1
  store i32 %726, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %699, i64 noundef 32) #10
  br label %727

727:                                              ; preds = %723, %719
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %728

728:                                              ; preds = %727, %715
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %1014

729:                                              ; preds = %677
  %730 = load ptr, ptr %10, align 8, !tbaa !5
  %731 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %730, ptr noundef @.str.32)
          to label %732 unwind label %711

732:                                              ; preds = %729
  store ptr %731, ptr %28, align 8, !tbaa !5
  br label %733

733:                                              ; preds = %920, %732
  %734 = load ptr, ptr %28, align 8, !tbaa !5
  %735 = icmp ne ptr %734, null
  br i1 %735, label %736, label %931

736:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store i32 0, ptr %46, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  store i32 0, ptr %47, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #8
  call void @_ZNSt6vectorI8TriangleSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  %737 = load ptr, ptr %28, align 8, !tbaa !5
  %738 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %737, ptr noundef @.str.7, ptr noundef %41)
          to label %739 unwind label %784

739:                                              ; preds = %736
  store i32 %738, ptr %9, align 4, !tbaa !35
  %740 = load ptr, ptr %28, align 8, !tbaa !5
  %741 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %740, ptr noundef @.str.18)
          to label %742 unwind label %784

742:                                              ; preds = %739
  store ptr %741, ptr %29, align 8, !tbaa !5
  %743 = load ptr, ptr %29, align 8, !tbaa !5
  %744 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %743, ptr noundef %42)
          to label %745 unwind label %784

745:                                              ; preds = %742
  store i32 %744, ptr %9, align 4, !tbaa !35
  %746 = load ptr, ptr %28, align 8, !tbaa !5
  %747 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %746, ptr noundef @.str.33)
          to label %748 unwind label %784

748:                                              ; preds = %745
  store ptr %747, ptr %29, align 8, !tbaa !5
  %749 = load ptr, ptr %29, align 8, !tbaa !5
  %750 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %749, ptr noundef @.str.34, ptr noundef %47)
          to label %751 unwind label %784

751:                                              ; preds = %748
  %752 = load ptr, ptr %29, align 8, !tbaa !5
  %753 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %752)
          to label %754 unwind label %784

754:                                              ; preds = %751
  store ptr %753, ptr %5, align 8, !tbaa !5
  br label %755

755:                                              ; preds = %781, %754
  %756 = load ptr, ptr %5, align 8, !tbaa !5
  %757 = load i32, ptr %46, align 4, !tbaa !37
  %758 = sext i32 %757 to i64
  %759 = getelementptr inbounds i8, ptr %756, i64 %758
  %760 = load i8, ptr %759, align 1, !tbaa !40
  %761 = sext i8 %760 to i32
  %762 = icmp eq i32 %761, 32
  br i1 %762, label %779, label %763

763:                                              ; preds = %755
  %764 = load ptr, ptr %5, align 8, !tbaa !5
  %765 = load i32, ptr %46, align 4, !tbaa !37
  %766 = sext i32 %765 to i64
  %767 = getelementptr inbounds i8, ptr %764, i64 %766
  %768 = load i8, ptr %767, align 1, !tbaa !40
  %769 = sext i8 %768 to i32
  %770 = icmp eq i32 %769, 9
  br i1 %770, label %779, label %771

771:                                              ; preds = %763
  %772 = load ptr, ptr %5, align 8, !tbaa !5
  %773 = load i32, ptr %46, align 4, !tbaa !37
  %774 = sext i32 %773 to i64
  %775 = getelementptr inbounds i8, ptr %772, i64 %774
  %776 = load i8, ptr %775, align 1, !tbaa !40
  %777 = sext i8 %776 to i32
  %778 = icmp eq i32 %777, 10
  br label %779

779:                                              ; preds = %771, %763, %755
  %780 = phi i1 [ true, %763 ], [ true, %755 ], [ %778, %771 ]
  br i1 %780, label %781, label %788

781:                                              ; preds = %779
  %782 = load i32, ptr %46, align 4, !tbaa !37
  %783 = add nsw i32 %782, 1
  store i32 %783, ptr %46, align 4, !tbaa !37
  br label %755, !llvm.loop !50

784:                                              ; preds = %917, %904, %897, %751, %748, %745, %742, %739, %736
  %785 = landingpad { ptr, i32 }
          cleanup
  %786 = extractvalue { ptr, i32 } %785, 0
  store ptr %786, ptr %7, align 8
  %787 = extractvalue { ptr, i32 } %785, 1
  store i32 %787, ptr %8, align 4
  br label %930

788:                                              ; preds = %779
  br label %789

789:                                              ; preds = %905, %788
  %790 = load ptr, ptr %5, align 8, !tbaa !5
  %791 = load i32, ptr %46, align 4, !tbaa !37
  %792 = sext i32 %791 to i64
  %793 = getelementptr inbounds i8, ptr %790, i64 %792
  %794 = load i8, ptr %793, align 1, !tbaa !40
  %795 = sext i8 %794 to i32
  %796 = icmp ne i32 %795, 0
  br i1 %796, label %797, label %910

797:                                              ; preds = %789
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !37
  br label %798

798:                                              ; preds = %894, %797
  %799 = load i32, ptr %49, align 4, !tbaa !37
  %800 = icmp slt i32 %799, 3
  br i1 %800, label %802, label %801

801:                                              ; preds = %798
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %897

802:                                              ; preds = %798
  %803 = load i32, ptr %49, align 4, !tbaa !37
  %804 = icmp eq i32 %803, 0
  br i1 %804, label %805, label %813

805:                                              ; preds = %802
  %806 = load ptr, ptr %5, align 8, !tbaa !5
  %807 = load i32, ptr %46, align 4, !tbaa !37
  %808 = sext i32 %807 to i64
  %809 = getelementptr inbounds i8, ptr %806, i64 %808
  %810 = call i32 @atoi(ptr noundef %809) #11
  %811 = load i32, ptr %47, align 4, !tbaa !37
  %812 = add nsw i32 %810, %811
  store i32 %812, ptr %43, align 4, !tbaa !37
  br label %833

813:                                              ; preds = %802
  %814 = load i32, ptr %49, align 4, !tbaa !37
  %815 = icmp eq i32 %814, 1
  br i1 %815, label %816, label %824

816:                                              ; preds = %813
  %817 = load ptr, ptr %5, align 8, !tbaa !5
  %818 = load i32, ptr %46, align 4, !tbaa !37
  %819 = sext i32 %818 to i64
  %820 = getelementptr inbounds i8, ptr %817, i64 %819
  %821 = call i32 @atoi(ptr noundef %820) #11
  %822 = load i32, ptr %47, align 4, !tbaa !37
  %823 = add nsw i32 %821, %822
  store i32 %823, ptr %44, align 4, !tbaa !37
  br label %832

824:                                              ; preds = %813
  %825 = load ptr, ptr %5, align 8, !tbaa !5
  %826 = load i32, ptr %46, align 4, !tbaa !37
  %827 = sext i32 %826 to i64
  %828 = getelementptr inbounds i8, ptr %825, i64 %827
  %829 = call i32 @atoi(ptr noundef %828) #11
  %830 = load i32, ptr %47, align 4, !tbaa !37
  %831 = add nsw i32 %829, %830
  store i32 %831, ptr %45, align 4, !tbaa !37
  br label %832

832:                                              ; preds = %824, %816
  br label %833

833:                                              ; preds = %832, %805
  br label %834

834:                                              ; preds = %860, %833
  %835 = load ptr, ptr %5, align 8, !tbaa !5
  %836 = load i32, ptr %46, align 4, !tbaa !37
  %837 = sext i32 %836 to i64
  %838 = getelementptr inbounds i8, ptr %835, i64 %837
  %839 = load i8, ptr %838, align 1, !tbaa !40
  %840 = sext i8 %839 to i32
  %841 = icmp ne i32 %840, 32
  br i1 %841, label %842, label %858

842:                                              ; preds = %834
  %843 = load ptr, ptr %5, align 8, !tbaa !5
  %844 = load i32, ptr %46, align 4, !tbaa !37
  %845 = sext i32 %844 to i64
  %846 = getelementptr inbounds i8, ptr %843, i64 %845
  %847 = load i8, ptr %846, align 1, !tbaa !40
  %848 = sext i8 %847 to i32
  %849 = icmp ne i32 %848, 9
  br i1 %849, label %850, label %858

850:                                              ; preds = %842
  %851 = load ptr, ptr %5, align 8, !tbaa !5
  %852 = load i32, ptr %46, align 4, !tbaa !37
  %853 = sext i32 %852 to i64
  %854 = getelementptr inbounds i8, ptr %851, i64 %853
  %855 = load i8, ptr %854, align 1, !tbaa !40
  %856 = sext i8 %855 to i32
  %857 = icmp ne i32 %856, 10
  br label %858

858:                                              ; preds = %850, %842, %834
  %859 = phi i1 [ false, %842 ], [ false, %834 ], [ %857, %850 ]
  br i1 %859, label %860, label %863

860:                                              ; preds = %858
  %861 = load i32, ptr %46, align 4, !tbaa !37
  %862 = add nsw i32 %861, 1
  store i32 %862, ptr %46, align 4, !tbaa !37
  br label %834, !llvm.loop !51

863:                                              ; preds = %858
  br label %864

864:                                              ; preds = %890, %863
  %865 = load ptr, ptr %5, align 8, !tbaa !5
  %866 = load i32, ptr %46, align 4, !tbaa !37
  %867 = sext i32 %866 to i64
  %868 = getelementptr inbounds i8, ptr %865, i64 %867
  %869 = load i8, ptr %868, align 1, !tbaa !40
  %870 = sext i8 %869 to i32
  %871 = icmp eq i32 %870, 32
  br i1 %871, label %888, label %872

872:                                              ; preds = %864
  %873 = load ptr, ptr %5, align 8, !tbaa !5
  %874 = load i32, ptr %46, align 4, !tbaa !37
  %875 = sext i32 %874 to i64
  %876 = getelementptr inbounds i8, ptr %873, i64 %875
  %877 = load i8, ptr %876, align 1, !tbaa !40
  %878 = sext i8 %877 to i32
  %879 = icmp eq i32 %878, 9
  br i1 %879, label %888, label %880

880:                                              ; preds = %872
  %881 = load ptr, ptr %5, align 8, !tbaa !5
  %882 = load i32, ptr %46, align 4, !tbaa !37
  %883 = sext i32 %882 to i64
  %884 = getelementptr inbounds i8, ptr %881, i64 %883
  %885 = load i8, ptr %884, align 1, !tbaa !40
  %886 = sext i8 %885 to i32
  %887 = icmp eq i32 %886, 10
  br label %888

888:                                              ; preds = %880, %872, %864
  %889 = phi i1 [ true, %872 ], [ true, %864 ], [ %887, %880 ]
  br i1 %889, label %890, label %893

890:                                              ; preds = %888
  %891 = load i32, ptr %46, align 4, !tbaa !37
  %892 = add nsw i32 %891, 1
  store i32 %892, ptr %46, align 4, !tbaa !37
  br label %864, !llvm.loop !52

893:                                              ; preds = %888
  br label %894

894:                                              ; preds = %893
  %895 = load i32, ptr %49, align 4, !tbaa !37
  %896 = add nsw i32 %895, 1
  store i32 %896, ptr %49, align 4, !tbaa !37
  br label %798, !llvm.loop !53

897:                                              ; preds = %801
  %898 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %899 unwind label %784

899:                                              ; preds = %897
  %900 = load i32, ptr %42, align 4, !tbaa !37
  %901 = load i32, ptr %43, align 4, !tbaa !37
  %902 = load i32, ptr %44, align 4, !tbaa !37
  %903 = load i32, ptr %45, align 4, !tbaa !37
  invoke void @_ZN8TriangleC1Eiiiii(ptr noundef nonnull align 8 dereferenceable(28) %898, i32 noundef -1, i32 noundef %900, i32 noundef %901, i32 noundef %902, i32 noundef %903)
          to label %904 unwind label %906

904:                                              ; preds = %899
  invoke void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(28) %898)
          to label %905 unwind label %784

905:                                              ; preds = %904
  br label %789, !llvm.loop !54

906:                                              ; preds = %899
  %907 = landingpad { ptr, i32 }
          cleanup
  %908 = extractvalue { ptr, i32 } %907, 0
  store ptr %908, ptr %7, align 8
  %909 = extractvalue { ptr, i32 } %907, 1
  store i32 %909, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %898, i64 noundef 32) #10
  br label %930

910:                                              ; preds = %789
  %911 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %912 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
          to label %913 unwind label %921

913:                                              ; preds = %910
  %914 = load i32, ptr %41, align 4, !tbaa !37
  %915 = load i32, ptr %42, align 4, !tbaa !37
  invoke void @_ZN4MeshC1EiiRKSt6vectorI8TriangleSaIS1_EE(ptr noundef nonnull align 8 dereferenceable(40) %912, i32 noundef %914, i32 noundef %915, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %916 unwind label %925

916:                                              ; preds = %913
  store ptr %912, ptr %50, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP5ShapeSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %911, ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %917 unwind label %921

917:                                              ; preds = %916
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  %918 = load ptr, ptr %28, align 8, !tbaa !5
  %919 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %918, ptr noundef @.str.32)
          to label %920 unwind label %784

920:                                              ; preds = %917
  store ptr %919, ptr %28, align 8, !tbaa !5
  call void @_ZNSt6vectorI8TriangleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %733, !llvm.loop !55

921:                                              ; preds = %916, %910
  %922 = landingpad { ptr, i32 }
          cleanup
  %923 = extractvalue { ptr, i32 } %922, 0
  store ptr %923, ptr %7, align 8
  %924 = extractvalue { ptr, i32 } %922, 1
  store i32 %924, ptr %8, align 4
  br label %929

925:                                              ; preds = %913
  %926 = landingpad { ptr, i32 }
          cleanup
  %927 = extractvalue { ptr, i32 } %926, 0
  store ptr %927, ptr %7, align 8
  %928 = extractvalue { ptr, i32 } %926, 1
  store i32 %928, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %912, i64 noundef 40) #10
  br label %929

929:                                              ; preds = %925, %921
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %930

930:                                              ; preds = %929, %906, %784
  call void @_ZNSt6vectorI8TriangleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %1014

931:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %53) #8
  %932 = load ptr, ptr %11, align 8, !tbaa !5
  %933 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %932, ptr noundef @.str.35)
          to label %934 unwind label %989

934:                                              ; preds = %931
  store ptr %933, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  %935 = load ptr, ptr %10, align 8, !tbaa !5
  %936 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %935, ptr noundef @.str.36)
          to label %937 unwind label %993

937:                                              ; preds = %934
  store ptr %936, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %938 = load ptr, ptr %54, align 8, !tbaa !5
  %939 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %938)
          to label %940 unwind label %997

940:                                              ; preds = %937
  store ptr %939, ptr %5, align 8, !tbaa !5
  %941 = load ptr, ptr %5, align 8, !tbaa !5
  %942 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 4
  %943 = getelementptr inbounds %struct.Vector3f, ptr %942, i32 0, i32 0
  %944 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 4
  %945 = getelementptr inbounds %struct.Vector3f, ptr %944, i32 0, i32 1
  %946 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 4
  %947 = getelementptr inbounds %struct.Vector3f, ptr %946, i32 0, i32 2
  %948 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %941, ptr noundef @.str.2, ptr noundef %943, ptr noundef %945, ptr noundef %947) #8
  %949 = load ptr, ptr %10, align 8, !tbaa !5
  %950 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %949, ptr noundef @.str.37)
          to label %951 unwind label %997

951:                                              ; preds = %940
  store ptr %950, ptr %54, align 8, !tbaa !5
  br label %952

952:                                              ; preds = %988, %951
  %953 = load ptr, ptr %54, align 8, !tbaa !5
  %954 = icmp ne ptr %953, null
  br i1 %954, label %955, label %1010

955:                                              ; preds = %952
  %956 = load ptr, ptr %54, align 8, !tbaa !5
  %957 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %956, ptr noundef @.str.7, ptr noundef %51)
          to label %958 unwind label %997

958:                                              ; preds = %955
  store i32 %957, ptr %9, align 4, !tbaa !35
  %959 = load ptr, ptr %54, align 8, !tbaa !5
  %960 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %959, ptr noundef @.str.8)
          to label %961 unwind label %997

961:                                              ; preds = %958
  store ptr %960, ptr %55, align 8, !tbaa !5
  %962 = load ptr, ptr %55, align 8, !tbaa !5
  %963 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %962)
          to label %964 unwind label %997

964:                                              ; preds = %961
  store ptr %963, ptr %5, align 8, !tbaa !5
  %965 = load ptr, ptr %5, align 8, !tbaa !5
  %966 = getelementptr inbounds %struct.Vector3f, ptr %52, i32 0, i32 0
  %967 = getelementptr inbounds %struct.Vector3f, ptr %52, i32 0, i32 1
  %968 = getelementptr inbounds %struct.Vector3f, ptr %52, i32 0, i32 2
  %969 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %965, ptr noundef @.str.2, ptr noundef %966, ptr noundef %967, ptr noundef %968) #8
  %970 = load ptr, ptr %54, align 8, !tbaa !5
  %971 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %970, ptr noundef @.str.38)
          to label %972 unwind label %997

972:                                              ; preds = %964
  store ptr %971, ptr %55, align 8, !tbaa !5
  %973 = load ptr, ptr %55, align 8, !tbaa !5
  %974 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %973)
          to label %975 unwind label %997

975:                                              ; preds = %972
  store ptr %974, ptr %5, align 8, !tbaa !5
  %976 = load ptr, ptr %5, align 8, !tbaa !5
  %977 = getelementptr inbounds %struct.Vector3f, ptr %53, i32 0, i32 0
  %978 = getelementptr inbounds %struct.Vector3f, ptr %53, i32 0, i32 1
  %979 = getelementptr inbounds %struct.Vector3f, ptr %53, i32 0, i32 2
  %980 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %976, ptr noundef @.str.2, ptr noundef %977, ptr noundef %978, ptr noundef %979) #8
  %981 = getelementptr inbounds %class.Scene, ptr %57, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #8
  %982 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
          to label %983 unwind label %1001

983:                                              ; preds = %975
  invoke void @_ZN10PointLightC1ERK8Vector3fS2_(ptr noundef nonnull align 4 dereferenceable(24) %982, ptr noundef nonnull align 4 dereferenceable(12) %52, ptr noundef nonnull align 4 dereferenceable(12) %53)
          to label %984 unwind label %1005

984:                                              ; preds = %983
  store ptr %982, ptr %56, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIP10PointLightSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %981, ptr noundef nonnull align 8 dereferenceable(8) %56)
          to label %985 unwind label %1001

985:                                              ; preds = %984
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  %986 = load ptr, ptr %54, align 8, !tbaa !5
  %987 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %986, ptr noundef @.str.37)
          to label %988 unwind label %997

988:                                              ; preds = %985
  store ptr %987, ptr %54, align 8, !tbaa !5
  br label %952, !llvm.loop !56

989:                                              ; preds = %931
  %990 = landingpad { ptr, i32 }
          cleanup
  %991 = extractvalue { ptr, i32 } %990, 0
  store ptr %991, ptr %7, align 8
  %992 = extractvalue { ptr, i32 } %990, 1
  store i32 %992, ptr %8, align 4
  br label %1013

993:                                              ; preds = %934
  %994 = landingpad { ptr, i32 }
          cleanup
  %995 = extractvalue { ptr, i32 } %994, 0
  store ptr %995, ptr %7, align 8
  %996 = extractvalue { ptr, i32 } %994, 1
  store i32 %996, ptr %8, align 4
  br label %1012

997:                                              ; preds = %985, %972, %964, %961, %958, %955, %940, %937
  %998 = landingpad { ptr, i32 }
          cleanup
  %999 = extractvalue { ptr, i32 } %998, 0
  store ptr %999, ptr %7, align 8
  %1000 = extractvalue { ptr, i32 } %998, 1
  store i32 %1000, ptr %8, align 4
  br label %1011

1001:                                             ; preds = %984, %975
  %1002 = landingpad { ptr, i32 }
          cleanup
  %1003 = extractvalue { ptr, i32 } %1002, 0
  store ptr %1003, ptr %7, align 8
  %1004 = extractvalue { ptr, i32 } %1002, 1
  store i32 %1004, ptr %8, align 4
  br label %1009

1005:                                             ; preds = %983
  %1006 = landingpad { ptr, i32 }
          cleanup
  %1007 = extractvalue { ptr, i32 } %1006, 0
  store ptr %1007, ptr %7, align 8
  %1008 = extractvalue { ptr, i32 } %1006, 1
  store i32 %1008, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %982, i64 noundef 24) #10
  br label %1009

1009:                                             ; preds = %1005, %1001
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  br label %1011

1010:                                             ; preds = %952
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %6) #8
  call void @llvm.lifetime.end.p0(i64 704, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  ret void

1011:                                             ; preds = %1009, %997
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  br label %1012

1012:                                             ; preds = %1011, %993
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  br label %1013

1013:                                             ; preds = %1012, %989
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %1014

1014:                                             ; preds = %1013, %930, %728, %711, %672
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %1015

1015:                                             ; preds = %1014, %655
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %1016

1016:                                             ; preds = %1015, %495
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %1017

1017:                                             ; preds = %1016, %491, %409, %408
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %1018

1018:                                             ; preds = %1017, %396
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %1019

1019:                                             ; preds = %1018, %392, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %1020

1020:                                             ; preds = %1019, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %1021

1021:                                             ; preds = %1020, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %1022

1022:                                             ; preds = %1021, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %6) #8
  br label %1023

1023:                                             ; preds = %1022, %83
  call void @llvm.lifetime.end.p0(i64 704, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @_ZNSt6vectorIP5ShapeSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  call void @_ZNSt6vectorI8Vector3fSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #8
  call void @_ZNSt6vectorIP8MaterialSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @_ZNSt6vectorIP10PointLightSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #8
  call void @_ZNSt6vectorIP6CameraSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  br label %1024

1024:                                             ; preds = %1023
  %1025 = load ptr, ptr %7, align 8
  %1026 = load i32, ptr %8, align 4
  %1027 = insertvalue { ptr, i32 } poison, ptr %1025, 0
  %1028 = insertvalue { ptr, i32 } %1027, i32 %1026, 1
  resume { ptr, i32 } %1028
}

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

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

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

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

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

declare void @_ZN8tinyxml211XMLDocumentC1EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(704), i1 noundef zeroext, i32 noundef) unnamed_addr #5

declare noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEPKc(ptr noundef nonnull align 8 dereferenceable(704), ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8tinyxml27XMLNode10FirstChildEv(ptr noundef nonnull align 8 dereferenceable(104)) #1 align 2

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

declare noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) #5

declare noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120)) #5

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #6

declare noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, ptr noundef) #4 align 2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #6

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

declare void @_ZN6CameraC1EiPKcRK8Vector3fS4_S4_RK10ImagePlane(ptr noundef nonnull align 4 dereferenceable(112), i32 noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #5

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

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

declare void @_ZN8MaterialC1Ev(ptr noundef nonnull align 4 dereferenceable(56)) unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #7

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

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

declare void @_ZN6SphereC1Eiiif(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, i32 noundef, float noundef) unnamed_addr #5

declare void @_ZN8TriangleC1Eiiiii(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #7

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

declare void @_ZN4MeshC1EiiRKSt6vectorI8TriangleSaIS1_EE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

declare void @_ZN10PointLightC1ERK8Vector3fS2_(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704)) unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP6CameraSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS5Scene", !11, i64 0, !12, i64 4, !12, i64 8, !13, i64 12, !13, i64 24, !14, i64 40, !18, i64 64, !22, i64 88, !26, i64 112, !30, i64 136}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_ZTS8Vector3f", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!"_ZTSSt6vectorIP6CameraSaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIP6CameraSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIP10PointLightSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIP10PointLightSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP10PointLightSaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP10PointLightSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIP8MaterialSaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIP8MaterialSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP8MaterialSaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP8MaterialSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorI8Vector3fSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI8Vector3fSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI8Vector3fSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI8Vector3fSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIP5ShapeSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP5ShapeSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP5ShapeSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP5ShapeSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!10, !12, i64 8}
!35 = !{!36, !36, i64 0}
!36 = !{!"_ZTSN8tinyxml28XMLErrorE", !7, i64 0}
!37 = !{!11, !11, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!7, !7, i64 0}
!41 = distinct !{!41, !39}
!42 = distinct !{!42, !39}
!43 = distinct !{!43, !39}
!44 = distinct !{!44, !39}
!45 = distinct !{!45, !39}
!46 = distinct !{!46, !39}
!47 = !{!12, !12, i64 0}
!48 = distinct !{!48, !39}
!49 = distinct !{!49, !39}
!50 = distinct !{!50, !39}
!51 = distinct !{!51, !39}
!52 = distinct !{!52, !39}
!53 = distinct !{!53, !39}
!54 = distinct !{!54, !39}
!55 = distinct !{!55, !39}
!56 = distinct !{!56, !39}


; 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.tinyxml2::XMLDocument" = type { %"class.tinyxml2::XMLNode", i8, i8, i32, i32, %"class.tinyxml2::StrPair", %"class.tinyxml2::StrPair", i32, ptr, i32, %"class.tinyxml2::MemPoolT", %"class.tinyxml2::MemPoolT.22", %"class.tinyxml2::MemPoolT.24", %"class.tinyxml2::MemPoolT.26" }
%"class.tinyxml2::XMLNode" = type { ptr, ptr, ptr, %"class.tinyxml2::StrPair", i32, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.tinyxml2::StrPair" = type { i32, ptr, ptr }
%"class.tinyxml2::MemPoolT" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::MemPool" = type { ptr }
%"class.tinyxml2::DynArray" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.22" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.23", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.23" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.24" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.25", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.25" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.26" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.27", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.27" = type { ptr, [10 x ptr], i32, i32 }
%struct.Vector3f = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%struct.ImagePlane = type { float, float, float, float, float, i32, i32 }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SceneC2EPKc(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.tinyxml2::XMLDocument", align 8
  %4 = alloca i32, align 4
  %5 = alloca [64 x i8], align 16
  %6 = alloca %struct.Vector3f, align 4
  %7 = alloca %struct.Vector3f, align 4
  %8 = alloca %struct.Vector3f, align 4
  %9 = alloca %struct.ImagePlane, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.Vector3f, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.std::vector.28", align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca %struct.Vector3f, align 4
  %31 = alloca %struct.Vector3f, align 4
  %32 = alloca ptr, align 8
  %33 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt6vectorIP6CameraSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #10
  %34 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorIP10PointLightSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  %35 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorIP8MaterialSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  %36 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt6vectorI8Vector3fSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  %37 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNSt6vectorIP5ShapeSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  call void @llvm.lifetime.start.p0(i64 704, ptr nonnull %3) #10
  invoke void @_ZN8tinyxml211XMLDocumentC1EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(704) %3, i1 noundef zeroext true, i32 noundef 0)
          to label %38 unwind label %47

38:                                               ; preds = %2
  store i32 1, ptr %0, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %0, i64 8
  store float 0x3F50624DE0000000, ptr %39, align 8, !tbaa !33
  %40 = invoke noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEPKc(ptr noundef nonnull align 8 dereferenceable(704) %3, ptr noundef %1)
          to label %41 unwind label %49

41:                                               ; preds = %38
  %42 = call noundef ptr @_ZN8tinyxml27XMLNode10FirstChildEv(ptr noundef nonnull align 8 dereferenceable(104) %3)
  %43 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str)
          to label %44 unwind label %51

44:                                               ; preds = %41
  %.not = icmp eq ptr %43, null
  br i1 %.not, label %53, label %45

45:                                               ; preds = %44
  %46 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %43, ptr noundef nonnull %0)
          to label %53 unwind label %51

47:                                               ; preds = %2
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %473

49:                                               ; preds = %38
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %472

51:                                               ; preds = %72, %69, %66, %64, %57, %55, %53, %45, %41
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %472

53:                                               ; preds = %45, %44
  %54 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.1)
          to label %55 unwind label %51

55:                                               ; preds = %53
  %56 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %54)
          to label %57 unwind label %51

57:                                               ; preds = %55
  %58 = getelementptr inbounds i8, ptr %0, i64 12
  %59 = getelementptr inbounds i8, ptr %0, i64 16
  %60 = getelementptr inbounds i8, ptr %0, i64 20
  %61 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %56, ptr noundef nonnull @.str.2, ptr noundef nonnull %58, ptr noundef nonnull %59, ptr noundef nonnull %60) #10
  %62 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.3)
          to label %63 unwind label %51

63:                                               ; preds = %57
  %.not266 = icmp eq ptr %62, null
  br i1 %.not266, label %66, label %64

64:                                               ; preds = %63
  %65 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %62, ptr noundef nonnull %39)
          to label %66 unwind label %51

66:                                               ; preds = %64, %63
  %67 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.4)
          to label %68 unwind label %51

68:                                               ; preds = %66
  %.not267 = icmp eq ptr %67, null
  br i1 %.not267, label %72, label %69

69:                                               ; preds = %68
  %70 = getelementptr inbounds i8, ptr %0, i64 4
  %71 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %67, ptr noundef nonnull %70)
          to label %72 unwind label %51

72:                                               ; preds = %69, %68
  %73 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.5)
          to label %74 unwind label %51

74:                                               ; preds = %72
  %75 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %73, ptr noundef nonnull @.str.6)
          to label %.preheader339 unwind label %132

.preheader339:                                    ; preds = %74
  %.not268353 = icmp eq ptr %75, null
  br i1 %.not268353, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader339
  %76 = getelementptr inbounds i8, ptr %6, i64 4
  %77 = getelementptr inbounds i8, ptr %6, i64 8
  %78 = getelementptr inbounds i8, ptr %7, i64 4
  %79 = getelementptr inbounds i8, ptr %7, i64 8
  %80 = getelementptr inbounds i8, ptr %8, i64 4
  %81 = getelementptr inbounds i8, ptr %8, i64 8
  %82 = getelementptr inbounds i8, ptr %9, i64 4
  %83 = getelementptr inbounds i8, ptr %9, i64 8
  %84 = getelementptr inbounds i8, ptr %9, i64 12
  %85 = getelementptr inbounds i8, ptr %9, i64 16
  %86 = getelementptr inbounds i8, ptr %9, i64 20
  %87 = getelementptr inbounds i8, ptr %9, i64 24
  br label %88

88:                                               ; preds = %.lr.ph, %131
  %.0226354 = phi ptr [ %75, %.lr.ph ], [ %130, %131 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %9) #10
  %89 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0226354, ptr noundef nonnull @.str.7, ptr noundef nonnull %4)
          to label %90 unwind label %134

90:                                               ; preds = %88
  %91 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.8)
          to label %92 unwind label %134

92:                                               ; preds = %90
  %93 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %91)
          to label %94 unwind label %134

94:                                               ; preds = %92
  %95 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %93, ptr noundef nonnull @.str.2, ptr noundef nonnull %6, ptr noundef nonnull %76, ptr noundef nonnull %77) #10
  %96 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.9)
          to label %97 unwind label %134

97:                                               ; preds = %94
  %98 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %96)
          to label %99 unwind label %134

99:                                               ; preds = %97
  %100 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %98, ptr noundef nonnull @.str.2, ptr noundef nonnull %7, ptr noundef nonnull %78, ptr noundef nonnull %79) #10
  %101 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.10)
          to label %102 unwind label %134

102:                                              ; preds = %99
  %103 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %101)
          to label %104 unwind label %134

104:                                              ; preds = %102
  %105 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %103, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, ptr noundef nonnull %80, ptr noundef nonnull %81) #10
  %106 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.11)
          to label %107 unwind label %134

107:                                              ; preds = %104
  %108 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %106)
          to label %109 unwind label %134

109:                                              ; preds = %107
  %110 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %108, ptr noundef nonnull @.str.12, ptr noundef nonnull %9, ptr noundef nonnull %82, ptr noundef nonnull %83, ptr noundef nonnull %84) #10
  %111 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.13)
          to label %112 unwind label %134

112:                                              ; preds = %109
  %113 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %111, ptr noundef nonnull %85)
          to label %114 unwind label %134

114:                                              ; preds = %112
  %115 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.14)
          to label %116 unwind label %134

116:                                              ; preds = %114
  %117 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %115)
          to label %118 unwind label %134

118:                                              ; preds = %116
  %119 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %117, ptr noundef nonnull @.str.15, ptr noundef nonnull %86, ptr noundef nonnull %87) #10
  %120 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.16)
          to label %121 unwind label %134

121:                                              ; preds = %118
  %122 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %120)
          to label %123 unwind label %134

123:                                              ; preds = %121
  %124 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %122) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %125 = invoke noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #11
          to label %126 unwind label %136

126:                                              ; preds = %123
  %127 = load i32, ptr %4, align 4, !tbaa !34
  invoke void @_ZN6CameraC1EiPKcRK8Vector3fS4_S4_RK10ImagePlane(ptr noundef nonnull align 4 dereferenceable(112) %125, i32 noundef %127, ptr noundef nonnull %5, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(28) %9)
          to label %128 unwind label %138

128:                                              ; preds = %126
  store ptr %125, ptr %10, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIP6CameraSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %129 unwind label %136

129:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  %130 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0226354, ptr noundef nonnull @.str.6)
          to label %131 unwind label %134

131:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  %.not268 = icmp eq ptr %130, null
  br i1 %.not268, label %._crit_edge, label %88, !llvm.loop !36

132:                                              ; preds = %74
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %472

134:                                              ; preds = %129, %121, %118, %116, %114, %112, %109, %107, %104, %102, %99, %97, %94, %92, %90, %88
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %141

136:                                              ; preds = %128, %123
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %140

138:                                              ; preds = %126
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %125, i64 noundef 112) #12
  br label %140

140:                                              ; preds = %138, %136
  %.pn310 = phi { ptr, i32 } [ %137, %136 ], [ %139, %138 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %141

141:                                              ; preds = %140, %134
  %.pn312 = phi { ptr, i32 } [ %135, %134 ], [ %.pn310, %140 ]
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  br label %472

._crit_edge:                                      ; preds = %131, %.preheader339
  %142 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.17)
          to label %143 unwind label %214

143:                                              ; preds = %._crit_edge
  %144 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %142, ptr noundef nonnull @.str.18)
          to label %.preheader338 unwind label %216

.preheader338:                                    ; preds = %143, %243
  %.0225 = phi ptr [ %244, %243 ], [ %144, %143 ]
  %.not269 = icmp eq ptr %.0225, null
  br i1 %.not269, label %245, label %145

145:                                              ; preds = %.preheader338
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %146 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
          to label %147 unwind label %218

147:                                              ; preds = %145
  invoke void @_ZN8MaterialC1Ev(ptr noundef nonnull align 4 dereferenceable(56) %146)
          to label %148 unwind label %220

148:                                              ; preds = %147
  store ptr %146, ptr %11, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIP8MaterialSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %149 unwind label %218

149:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  %150 = call noundef i64 @_ZNKSt6vectorIP8MaterialSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  %151 = shl i64 %150, 32
  %sext = add i64 %151, -4294967296
  %152 = ashr exact i64 %sext, 32
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %154 = load ptr, ptr %153, align 8, !tbaa !35
  %155 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0225, ptr noundef nonnull @.str.7, ptr noundef %154)
          to label %156 unwind label %223

156:                                              ; preds = %149
  %157 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0225, ptr noundef nonnull @.str.19)
          to label %158 unwind label %223

158:                                              ; preds = %156
  %159 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %157)
          to label %160 unwind label %223

160:                                              ; preds = %158
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %162 = load ptr, ptr %161, align 8, !tbaa !35
  %163 = getelementptr inbounds i8, ptr %162, i64 8
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %165 = load ptr, ptr %164, align 8, !tbaa !35
  %166 = getelementptr inbounds i8, ptr %165, i64 12
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %168 = load ptr, ptr %167, align 8, !tbaa !35
  %169 = getelementptr inbounds i8, ptr %168, i64 16
  %170 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %159, ptr noundef nonnull @.str.2, ptr noundef nonnull %163, ptr noundef nonnull %166, ptr noundef nonnull %169) #10
  %171 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0225, ptr noundef nonnull @.str.20)
          to label %172 unwind label %223

172:                                              ; preds = %160
  %173 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %171)
          to label %174 unwind label %223

174:                                              ; preds = %172
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %176 = load ptr, ptr %175, align 8, !tbaa !35
  %177 = getelementptr inbounds i8, ptr %176, i64 20
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %179 = load ptr, ptr %178, align 8, !tbaa !35
  %180 = getelementptr inbounds i8, ptr %179, i64 24
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %182 = load ptr, ptr %181, align 8, !tbaa !35
  %183 = getelementptr inbounds i8, ptr %182, i64 28
  %184 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %173, ptr noundef nonnull @.str.2, ptr noundef nonnull %177, ptr noundef nonnull %180, ptr noundef nonnull %183) #10
  %185 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0225, ptr noundef nonnull @.str.21)
          to label %186 unwind label %223

186:                                              ; preds = %174
  %187 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %185)
          to label %188 unwind label %223

188:                                              ; preds = %186
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %190 = load ptr, ptr %189, align 8, !tbaa !35
  %191 = getelementptr inbounds i8, ptr %190, i64 32
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %193 = load ptr, ptr %192, align 8, !tbaa !35
  %194 = getelementptr inbounds i8, ptr %193, i64 36
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %196 = load ptr, ptr %195, align 8, !tbaa !35
  %197 = getelementptr inbounds i8, ptr %196, i64 40
  %198 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %187, ptr noundef nonnull @.str.2, ptr noundef nonnull %191, ptr noundef nonnull %194, ptr noundef nonnull %197) #10
  %199 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0225, ptr noundef nonnull @.str.22)
          to label %200 unwind label %223

200:                                              ; preds = %188
  %.not305 = icmp eq ptr %199, null
  br i1 %.not305, label %225, label %201

201:                                              ; preds = %200
  %202 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %199)
          to label %203 unwind label %223

203:                                              ; preds = %201
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %205 = load ptr, ptr %204, align 8, !tbaa !35
  %206 = getelementptr inbounds i8, ptr %205, i64 44
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %208 = load ptr, ptr %207, align 8, !tbaa !35
  %209 = getelementptr inbounds i8, ptr %208, i64 48
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %211 = load ptr, ptr %210, align 8, !tbaa !35
  %212 = getelementptr inbounds i8, ptr %211, i64 52
  %213 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %202, ptr noundef nonnull @.str.2, ptr noundef nonnull %206, ptr noundef nonnull %209, ptr noundef nonnull %212) #10
  br label %235

214:                                              ; preds = %._crit_edge
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %472

216:                                              ; preds = %143
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %472

218:                                              ; preds = %148, %145
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %222

220:                                              ; preds = %147
  %221 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %146, i64 noundef 56) #12
  br label %222

222:                                              ; preds = %220, %218
  %.pn303 = phi { ptr, i32 } [ %219, %218 ], [ %221, %220 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %472

223:                                              ; preds = %243, %238, %235, %201, %188, %186, %174, %172, %160, %158, %156, %149
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %472

225:                                              ; preds = %200
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %227 = load ptr, ptr %226, align 8, !tbaa !35
  %228 = getelementptr inbounds i8, ptr %227, i64 44
  store float 0.000000e+00, ptr %228, align 4, !tbaa !38
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %230 = load ptr, ptr %229, align 8, !tbaa !35
  %231 = getelementptr inbounds i8, ptr %230, i64 48
  store float 0.000000e+00, ptr %231, align 4, !tbaa !38
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %233 = load ptr, ptr %232, align 8, !tbaa !35
  %234 = getelementptr inbounds i8, ptr %233, i64 52
  store float 0.000000e+00, ptr %234, align 4, !tbaa !38
  br label %235

235:                                              ; preds = %225, %203
  %236 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0225, ptr noundef nonnull @.str.23)
          to label %237 unwind label %223

237:                                              ; preds = %235
  %.not306 = icmp eq ptr %236, null
  br i1 %.not306, label %243, label %238

238:                                              ; preds = %237
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8MaterialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %152) #10
  %240 = load ptr, ptr %239, align 8, !tbaa !35
  %241 = getelementptr inbounds i8, ptr %240, i64 4
  %242 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %236, ptr noundef nonnull %241)
          to label %243 unwind label %223

243:                                              ; preds = %238, %237
  %244 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0225, ptr noundef nonnull @.str.18)
          to label %.preheader338 unwind label %223, !llvm.loop !39

245:                                              ; preds = %.preheader338
  %246 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.24)
          to label %247 unwind label %253

247:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #10
  %248 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %246)
          to label %.preheader337 unwind label %.loopexit.split-lp333

.preheader337:                                    ; preds = %247, %.critedge
  %indvars.iv = phi i64 [ %indvars.iv.next, %.critedge ], [ 0, %247 ]
  %249 = getelementptr inbounds i8, ptr %248, i64 %indvars.iv
  %250 = load i8, ptr %249, align 1, !tbaa !38
  switch i8 %250, label %.preheader331 [
    i8 32, label %.critedge
    i8 9, label %.critedge
    i8 10, label %.critedge
  ]

.preheader331:                                    ; preds = %.preheader337
  %251 = getelementptr inbounds i8, ptr %12, i64 4
  %252 = getelementptr inbounds i8, ptr %12, i64 8
  br label %255

.critedge:                                        ; preds = %.preheader337, %.preheader337, %.preheader337
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br label %.preheader337, !llvm.loop !40

253:                                              ; preds = %245
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %472

.loopexit332:                                     ; preds = %286
  %lpad.loopexit334 = landingpad { ptr, i32 }
          cleanup
  br label %471

.loopexit.split-lp333:                            ; preds = %247, %288
  %lpad.loopexit.split-lp335 = landingpad { ptr, i32 }
          cleanup
  br label %471

255:                                              ; preds = %.preheader331, %286
  %.1221.in = phi i64 [ %indvars.iv398.2, %286 ], [ %indvars.iv, %.preheader331 ]
  %sext425 = shl i64 %.1221.in, 32
  %256 = ashr exact i64 %sext425, 32
  %257 = getelementptr inbounds i8, ptr %248, i64 %256
  %258 = load i8, ptr %257, align 1, !tbaa !38
  %.not270 = icmp eq i8 %258, 0
  br i1 %.not270, label %288, label %259

259:                                              ; preds = %255
  %260 = call double @atof(ptr noundef %257) #13
  %261 = fptrunc double %260 to float
  store float %261, ptr %12, align 4, !tbaa !38
  br label %262

262:                                              ; preds = %265, %259
  %indvars.iv395 = phi i64 [ %indvars.iv.next396, %265 ], [ %256, %259 ]
  %263 = getelementptr inbounds i8, ptr %248, i64 %indvars.iv395
  %264 = load i8, ptr %263, align 1, !tbaa !38
  switch i8 %264, label %265 [
    i8 32, label %.critedge2.preheader
    i8 9, label %.critedge2.preheader
    i8 10, label %.critedge2.preheader
  ]

.critedge2.preheader:                             ; preds = %262, %262, %262
  br label %.critedge2

265:                                              ; preds = %262
  %indvars.iv.next396 = add nsw i64 %indvars.iv395, 1
  br label %262, !llvm.loop !41

.critedge2:                                       ; preds = %.critedge2.preheader, %.critedge4
  %266 = phi i8 [ %.pre, %.critedge4 ], [ %264, %.critedge2.preheader ]
  %indvars.iv398 = phi i64 [ %indvars.iv.next399, %.critedge4 ], [ %indvars.iv395, %.critedge2.preheader ]
  switch i8 %266, label %267 [
    i8 32, label %.critedge4
    i8 9, label %.critedge4
    i8 10, label %.critedge4
  ]

.critedge4:                                       ; preds = %.critedge2, %.critedge2, %.critedge2
  %indvars.iv.next399 = add nsw i64 %indvars.iv398, 1
  %.phi.trans.insert = getelementptr inbounds i8, ptr %248, i64 %indvars.iv.next399
  %.pre = load i8, ptr %.phi.trans.insert, align 1, !tbaa !38
  br label %.critedge2, !llvm.loop !42

267:                                              ; preds = %.critedge2
  %sext426 = shl i64 %indvars.iv398, 32
  %268 = ashr exact i64 %sext426, 32
  %269 = getelementptr inbounds i8, ptr %248, i64 %268
  %270 = call double @atof(ptr noundef %269) #13
  %271 = fptrunc double %270 to float
  store float %271, ptr %251, align 4, !tbaa !38
  br label %272

272:                                              ; preds = %276, %267
  %indvars.iv395.1 = phi i64 [ %indvars.iv.next396.1, %276 ], [ %268, %267 ]
  %273 = getelementptr inbounds i8, ptr %248, i64 %indvars.iv395.1
  %274 = load i8, ptr %273, align 1, !tbaa !38
  switch i8 %274, label %276 [
    i8 32, label %.critedge2.1.preheader
    i8 9, label %.critedge2.1.preheader
    i8 10, label %.critedge2.1.preheader
  ]

.critedge2.1.preheader:                           ; preds = %272, %272, %272
  br label %.critedge2.1

.critedge2.1:                                     ; preds = %.critedge2.1.preheader, %.critedge4.1
  %275 = phi i8 [ %.pre411, %.critedge4.1 ], [ %274, %.critedge2.1.preheader ]
  %indvars.iv398.1 = phi i64 [ %indvars.iv.next399.1, %.critedge4.1 ], [ %indvars.iv395.1, %.critedge2.1.preheader ]
  switch i8 %275, label %277 [
    i8 32, label %.critedge4.1
    i8 9, label %.critedge4.1
    i8 10, label %.critedge4.1
  ]

.critedge4.1:                                     ; preds = %.critedge2.1, %.critedge2.1, %.critedge2.1
  %indvars.iv.next399.1 = add nsw i64 %indvars.iv398.1, 1
  %.phi.trans.insert410 = getelementptr inbounds i8, ptr %248, i64 %indvars.iv.next399.1
  %.pre411 = load i8, ptr %.phi.trans.insert410, align 1, !tbaa !38
  br label %.critedge2.1, !llvm.loop !42

276:                                              ; preds = %272
  %indvars.iv.next396.1 = add nsw i64 %indvars.iv395.1, 1
  br label %272, !llvm.loop !41

277:                                              ; preds = %.critedge2.1
  %sext427 = shl i64 %indvars.iv398.1, 32
  %278 = ashr exact i64 %sext427, 32
  %279 = getelementptr inbounds i8, ptr %248, i64 %278
  %280 = call double @atof(ptr noundef %279) #13
  %281 = fptrunc double %280 to float
  store float %281, ptr %252, align 4, !tbaa !38
  br label %282

282:                                              ; preds = %287, %277
  %indvars.iv395.2 = phi i64 [ %indvars.iv.next396.2, %287 ], [ %278, %277 ]
  %283 = getelementptr inbounds i8, ptr %248, i64 %indvars.iv395.2
  %284 = load i8, ptr %283, align 1, !tbaa !38
  switch i8 %284, label %287 [
    i8 32, label %.critedge2.2.preheader
    i8 9, label %.critedge2.2.preheader
    i8 10, label %.critedge2.2.preheader
  ]

.critedge2.2.preheader:                           ; preds = %282, %282, %282
  br label %.critedge2.2

.critedge2.2:                                     ; preds = %.critedge2.2.preheader, %.critedge4.2
  %285 = phi i8 [ %.pre413, %.critedge4.2 ], [ %284, %.critedge2.2.preheader ]
  %indvars.iv398.2 = phi i64 [ %indvars.iv.next399.2, %.critedge4.2 ], [ %indvars.iv395.2, %.critedge2.2.preheader ]
  switch i8 %285, label %286 [
    i8 32, label %.critedge4.2
    i8 9, label %.critedge4.2
    i8 10, label %.critedge4.2
  ]

.critedge4.2:                                     ; preds = %.critedge2.2, %.critedge2.2, %.critedge2.2
  %indvars.iv.next399.2 = add nsw i64 %indvars.iv398.2, 1
  %.phi.trans.insert412 = getelementptr inbounds i8, ptr %248, i64 %indvars.iv.next399.2
  %.pre413 = load i8, ptr %.phi.trans.insert412, align 1, !tbaa !38
  br label %.critedge2.2, !llvm.loop !42

286:                                              ; preds = %.critedge2.2
  invoke void @_ZNSt6vectorI8Vector3fSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 4 dereferenceable(12) %12)
          to label %255 unwind label %.loopexit332, !llvm.loop !43

287:                                              ; preds = %282
  %indvars.iv.next396.2 = add nsw i64 %indvars.iv395.2, 1
  br label %282, !llvm.loop !41

288:                                              ; preds = %255
  %289 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.25)
          to label %290 unwind label %.loopexit.split-lp333

290:                                              ; preds = %288
  %291 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %289, ptr noundef nonnull @.str.26)
          to label %.preheader329 unwind label %316

.preheader329:                                    ; preds = %290
  %.not271357 = icmp eq ptr %291, null
  br i1 %.not271357, label %._crit_edge360, label %.lr.ph359

.lr.ph359:                                        ; preds = %.preheader329, %315
  %.0216358 = phi ptr [ %314, %315 ], [ %291, %.preheader329 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #10
  %292 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0216358, ptr noundef nonnull @.str.7, ptr noundef nonnull %13)
          to label %293 unwind label %318

293:                                              ; preds = %.lr.ph359
  %294 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0216358, ptr noundef nonnull @.str.18)
          to label %295 unwind label %318

295:                                              ; preds = %293
  %296 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %294, ptr noundef nonnull %14)
          to label %297 unwind label %318

297:                                              ; preds = %295
  %298 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0216358, ptr noundef nonnull @.str.27)
          to label %299 unwind label %318

299:                                              ; preds = %297
  %300 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %298, ptr noundef nonnull %15)
          to label %301 unwind label %318

301:                                              ; preds = %299
  %302 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0216358, ptr noundef nonnull @.str.28)
          to label %303 unwind label %318

303:                                              ; preds = %301
  %304 = invoke noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120) %302, ptr noundef nonnull %16)
          to label %305 unwind label %318

305:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %306 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #11
          to label %307 unwind label %320

307:                                              ; preds = %305
  %308 = load i32, ptr %13, align 4, !tbaa !34
  %309 = load i32, ptr %14, align 4, !tbaa !34
  %310 = load i32, ptr %15, align 4, !tbaa !34
  %311 = load float, ptr %16, align 4, !tbaa !44
  invoke void @_ZN6SphereC1Eiiif(ptr noundef nonnull align 8 dereferenceable(24) %306, i32 noundef %308, i32 noundef %309, i32 noundef %310, float noundef %311)
          to label %312 unwind label %322

312:                                              ; preds = %307
  store ptr %306, ptr %17, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIP5ShapeSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %313 unwind label %320

313:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  %314 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0216358, ptr noundef nonnull @.str.26)
          to label %315 unwind label %318

315:                                              ; preds = %313
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #10
  %.not271 = icmp eq ptr %314, null
  br i1 %.not271, label %._crit_edge360, label %.lr.ph359, !llvm.loop !45

316:                                              ; preds = %290
  %317 = landingpad { ptr, i32 }
          cleanup
  br label %471

318:                                              ; preds = %313, %303, %301, %299, %297, %295, %293, %.lr.ph359
  %319 = landingpad { ptr, i32 }
          cleanup
  br label %325

320:                                              ; preds = %312, %305
  %321 = landingpad { ptr, i32 }
          cleanup
  br label %324

322:                                              ; preds = %307
  %323 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %306, i64 noundef 24) #12
  br label %324

324:                                              ; preds = %322, %320
  %.pn292 = phi { ptr, i32 } [ %321, %320 ], [ %323, %322 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  br label %325

325:                                              ; preds = %324, %318
  %.pn294 = phi { ptr, i32 } [ %319, %318 ], [ %.pn292, %324 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #10
  br label %471

._crit_edge360:                                   ; preds = %315, %.preheader329
  %326 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %289, ptr noundef nonnull @.str.29)
          to label %.preheader328 unwind label %349

.preheader328:                                    ; preds = %._crit_edge360
  %.not272361 = icmp eq ptr %326, null
  br i1 %.not272361, label %._crit_edge364, label %.lr.ph363

.lr.ph363:                                        ; preds = %.preheader328, %348
  %.1217362 = phi ptr [ %347, %348 ], [ %326, %.preheader328 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #10
  %327 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.1217362, ptr noundef nonnull @.str.7, ptr noundef nonnull %18)
          to label %328 unwind label %351

328:                                              ; preds = %.lr.ph363
  %329 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.1217362, ptr noundef nonnull @.str.18)
          to label %330 unwind label %351

330:                                              ; preds = %328
  %331 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %329, ptr noundef nonnull %19)
          to label %332 unwind label %351

332:                                              ; preds = %330
  %333 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.1217362, ptr noundef nonnull @.str.30)
          to label %334 unwind label %351

334:                                              ; preds = %332
  %335 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %333)
          to label %336 unwind label %351

336:                                              ; preds = %334
  %337 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %335, ptr noundef nonnull @.str.31, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #10
  %338 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %339 unwind label %353

339:                                              ; preds = %336
  %340 = load i32, ptr %18, align 4, !tbaa !34
  %341 = load i32, ptr %19, align 4, !tbaa !34
  %342 = load i32, ptr %20, align 4, !tbaa !34
  %343 = load i32, ptr %21, align 4, !tbaa !34
  %344 = load i32, ptr %22, align 4, !tbaa !34
  invoke void @_ZN8TriangleC1Eiiiii(ptr noundef nonnull align 8 dereferenceable(28) %338, i32 noundef %340, i32 noundef %341, i32 noundef %342, i32 noundef %343, i32 noundef %344)
          to label %345 unwind label %355

345:                                              ; preds = %339
  store ptr %338, ptr %23, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIP5ShapeSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %346 unwind label %353

346:                                              ; preds = %345
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #10
  %347 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.1217362, ptr noundef nonnull @.str.29)
          to label %348 unwind label %351

348:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #10
  %.not272 = icmp eq ptr %347, null
  br i1 %.not272, label %._crit_edge364, label %.lr.ph363, !llvm.loop !46

349:                                              ; preds = %._crit_edge364, %._crit_edge360
  %350 = landingpad { ptr, i32 }
          cleanup
  br label %471

351:                                              ; preds = %346, %334, %332, %330, %328, %.lr.ph363
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %358

353:                                              ; preds = %345, %336
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %357

355:                                              ; preds = %339
  %356 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %338, i64 noundef 32) #12
  br label %357

357:                                              ; preds = %355, %353
  %.pn288 = phi { ptr, i32 } [ %354, %353 ], [ %356, %355 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #10
  br label %358

358:                                              ; preds = %357, %351
  %.pn290 = phi { ptr, i32 } [ %352, %351 ], [ %.pn288, %357 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #10
  br label %471

._crit_edge364:                                   ; preds = %348, %.preheader328
  %359 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %289, ptr noundef nonnull @.str.32)
          to label %.preheader327 unwind label %349

.preheader327:                                    ; preds = %._crit_edge364
  %.not273370 = icmp eq ptr %359, null
  br i1 %.not273370, label %._crit_edge376, label %.lr.ph375

.lr.ph375:                                        ; preds = %.preheader327, %419
  %.2218371 = phi ptr [ %418, %419 ], [ %359, %.preheader327 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #10
  store i32 0, ptr %26, align 4, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #10
  call void @_ZNSt6vectorI8TriangleSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  %360 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.2218371, ptr noundef nonnull @.str.7, ptr noundef nonnull %24)
          to label %361 unwind label %.loopexit.split-lp322

361:                                              ; preds = %.lr.ph375
  %362 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.2218371, ptr noundef nonnull @.str.18)
          to label %363 unwind label %.loopexit.split-lp322

363:                                              ; preds = %361
  %364 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %362, ptr noundef nonnull %25)
          to label %365 unwind label %.loopexit.split-lp322

365:                                              ; preds = %363
  %366 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.2218371, ptr noundef nonnull @.str.33)
          to label %367 unwind label %.loopexit.split-lp322

367:                                              ; preds = %365
  %368 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %366, ptr noundef nonnull @.str.34, ptr noundef nonnull %26)
          to label %369 unwind label %.loopexit.split-lp322

369:                                              ; preds = %367
  %370 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %366)
          to label %.preheader326 unwind label %.loopexit.split-lp322

.preheader326:                                    ; preds = %369, %.critedge6
  %indvars.iv401 = phi i64 [ %indvars.iv.next402, %.critedge6 ], [ 0, %369 ]
  %371 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv401
  %372 = load i8, ptr %371, align 1, !tbaa !38
  switch i8 %372, label %.preheader320 [
    i8 32, label %.critedge6
    i8 9, label %.critedge6
    i8 10, label %.critedge6
  ]

.critedge6:                                       ; preds = %.preheader326, %.preheader326, %.preheader326
  %indvars.iv.next402 = add nuw nsw i64 %indvars.iv401, 1
  br label %.preheader326, !llvm.loop !47

.loopexit321:                                     ; preds = %403, %408
  %lpad.loopexit323 = landingpad { ptr, i32 }
          cleanup
  br label %425

.loopexit.split-lp322:                            ; preds = %.lr.ph375, %361, %363, %365, %367, %369, %417
  %lpad.loopexit.split-lp324 = landingpad { ptr, i32 }
          cleanup
  br label %425

.preheader320:                                    ; preds = %.preheader326, %408
  %.1.in = phi i64 [ %indvars.iv407.2, %408 ], [ %indvars.iv401, %.preheader326 ]
  %sext428 = shl i64 %.1.in, 32
  %373 = ashr exact i64 %sext428, 32
  %374 = getelementptr inbounds i8, ptr %370, i64 %373
  %375 = load i8, ptr %374, align 1, !tbaa !38
  %.not280 = icmp eq i8 %375, 0
  br i1 %.not280, label %411, label %376

376:                                              ; preds = %.preheader320
  %377 = load i32, ptr %26, align 4
  %378 = call i32 @atoi(ptr nocapture noundef %374) #13
  %379 = add nsw i32 %377, %378
  br label %380

380:                                              ; preds = %382, %376
  %381 = phi i8 [ %.pre415, %382 ], [ %375, %376 ]
  %indvars.iv404 = phi i64 [ %indvars.iv.next405, %382 ], [ %373, %376 ]
  switch i8 %381, label %382 [
    i8 32, label %.critedge8.preheader
    i8 9, label %.critedge8.preheader
    i8 10, label %.critedge8.preheader
  ]

.critedge8.preheader:                             ; preds = %380, %380, %380
  br label %.critedge8

382:                                              ; preds = %380
  %indvars.iv.next405 = add nsw i64 %indvars.iv404, 1
  %.phi.trans.insert414 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv.next405
  %.pre415 = load i8, ptr %.phi.trans.insert414, align 1, !tbaa !38
  br label %380, !llvm.loop !48

.critedge8:                                       ; preds = %.critedge8.preheader, %.critedge10
  %383 = phi i8 [ %.pre417, %.critedge10 ], [ %381, %.critedge8.preheader ]
  %indvars.iv407 = phi i64 [ %indvars.iv.next408, %.critedge10 ], [ %indvars.iv404, %.critedge8.preheader ]
  switch i8 %383, label %384 [
    i8 32, label %.critedge10
    i8 9, label %.critedge10
    i8 10, label %.critedge10
  ]

.critedge10:                                      ; preds = %.critedge8, %.critedge8, %.critedge8
  %indvars.iv.next408 = add nsw i64 %indvars.iv407, 1
  %.phi.trans.insert416 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv.next408
  %.pre417 = load i8, ptr %.phi.trans.insert416, align 1, !tbaa !38
  br label %.critedge8, !llvm.loop !49

384:                                              ; preds = %.critedge8
  %sext429 = shl i64 %indvars.iv407, 32
  %385 = ashr exact i64 %sext429, 32
  %386 = getelementptr inbounds i8, ptr %370, i64 %385
  %387 = call i32 @atoi(ptr nocapture noundef %386) #13
  %388 = add nsw i32 %377, %387
  br label %389

389:                                              ; preds = %393, %384
  %indvars.iv404.1 = phi i64 [ %indvars.iv.next405.1, %393 ], [ %385, %384 ]
  %390 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv404.1
  %391 = load i8, ptr %390, align 1, !tbaa !38
  switch i8 %391, label %393 [
    i8 32, label %.critedge8.1.preheader
    i8 9, label %.critedge8.1.preheader
    i8 10, label %.critedge8.1.preheader
  ]

.critedge8.1.preheader:                           ; preds = %389, %389, %389
  br label %.critedge8.1

.critedge8.1:                                     ; preds = %.critedge8.1.preheader, %.critedge10.1
  %392 = phi i8 [ %.pre419, %.critedge10.1 ], [ %391, %.critedge8.1.preheader ]
  %indvars.iv407.1 = phi i64 [ %indvars.iv.next408.1, %.critedge10.1 ], [ %indvars.iv404.1, %.critedge8.1.preheader ]
  switch i8 %392, label %394 [
    i8 32, label %.critedge10.1
    i8 9, label %.critedge10.1
    i8 10, label %.critedge10.1
  ]

.critedge10.1:                                    ; preds = %.critedge8.1, %.critedge8.1, %.critedge8.1
  %indvars.iv.next408.1 = add nsw i64 %indvars.iv407.1, 1
  %.phi.trans.insert418 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv.next408.1
  %.pre419 = load i8, ptr %.phi.trans.insert418, align 1, !tbaa !38
  br label %.critedge8.1, !llvm.loop !49

393:                                              ; preds = %389
  %indvars.iv.next405.1 = add nsw i64 %indvars.iv404.1, 1
  br label %389, !llvm.loop !48

394:                                              ; preds = %.critedge8.1
  %sext430 = shl i64 %indvars.iv407.1, 32
  %395 = ashr exact i64 %sext430, 32
  %396 = getelementptr inbounds i8, ptr %370, i64 %395
  %397 = call i32 @atoi(ptr nocapture noundef %396) #13
  %398 = add nsw i32 %377, %397
  br label %399

399:                                              ; preds = %405, %394
  %indvars.iv404.2 = phi i64 [ %indvars.iv.next405.2, %405 ], [ %395, %394 ]
  %400 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv404.2
  %401 = load i8, ptr %400, align 1, !tbaa !38
  switch i8 %401, label %405 [
    i8 32, label %.critedge8.2.preheader
    i8 9, label %.critedge8.2.preheader
    i8 10, label %.critedge8.2.preheader
  ]

.critedge8.2.preheader:                           ; preds = %399, %399, %399
  br label %.critedge8.2

.critedge8.2:                                     ; preds = %.critedge8.2.preheader, %.critedge10.2
  %402 = phi i8 [ %.pre421, %.critedge10.2 ], [ %401, %.critedge8.2.preheader ]
  %indvars.iv407.2 = phi i64 [ %indvars.iv.next408.2, %.critedge10.2 ], [ %indvars.iv404.2, %.critedge8.2.preheader ]
  switch i8 %402, label %403 [
    i8 32, label %.critedge10.2
    i8 9, label %.critedge10.2
    i8 10, label %.critedge10.2
  ]

.critedge10.2:                                    ; preds = %.critedge8.2, %.critedge8.2, %.critedge8.2
  %indvars.iv.next408.2 = add nsw i64 %indvars.iv407.2, 1
  %.phi.trans.insert420 = getelementptr inbounds i8, ptr %370, i64 %indvars.iv.next408.2
  %.pre421 = load i8, ptr %.phi.trans.insert420, align 1, !tbaa !38
  br label %.critedge8.2, !llvm.loop !49

403:                                              ; preds = %.critedge8.2
  %404 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %406 unwind label %.loopexit321

405:                                              ; preds = %399
  %indvars.iv.next405.2 = add nsw i64 %indvars.iv404.2, 1
  br label %399, !llvm.loop !48

406:                                              ; preds = %403
  %407 = load i32, ptr %25, align 4, !tbaa !34
  invoke void @_ZN8TriangleC1Eiiiii(ptr noundef nonnull align 8 dereferenceable(28) %404, i32 noundef -1, i32 noundef %407, i32 noundef %379, i32 noundef %388, i32 noundef %398)
          to label %408 unwind label %409

408:                                              ; preds = %406
  invoke void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(28) %404)
          to label %.preheader320 unwind label %.loopexit321, !llvm.loop !50

409:                                              ; preds = %406
  %410 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %404, i64 noundef 32) #12
  br label %425

411:                                              ; preds = %.preheader320
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #10
  %412 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #11
          to label %413 unwind label %420

413:                                              ; preds = %411
  %414 = load i32, ptr %24, align 4, !tbaa !34
  %415 = load i32, ptr %25, align 4, !tbaa !34
  invoke void @_ZN4MeshC1EiiRKSt6vectorI8TriangleSaIS1_EE(ptr noundef nonnull align 8 dereferenceable(40) %412, i32 noundef %414, i32 noundef %415, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %416 unwind label %422

416:                                              ; preds = %413
  store ptr %412, ptr %28, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIP5ShapeSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %417 unwind label %420

417:                                              ; preds = %416
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #10
  %418 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.2218371, ptr noundef nonnull @.str.32)
          to label %419 unwind label %.loopexit.split-lp322

419:                                              ; preds = %417
  call void @_ZNSt6vectorI8TriangleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #10
  %.not273 = icmp eq ptr %418, null
  br i1 %.not273, label %._crit_edge376, label %.lr.ph375, !llvm.loop !51

420:                                              ; preds = %416, %411
  %421 = landingpad { ptr, i32 }
          cleanup
  br label %424

422:                                              ; preds = %413
  %423 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %412, i64 noundef 40) #12
  br label %424

424:                                              ; preds = %422, %420
  %.pn281 = phi { ptr, i32 } [ %421, %420 ], [ %423, %422 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #10
  br label %425

425:                                              ; preds = %.loopexit321, %.loopexit.split-lp322, %424, %409
  %.pn283 = phi { ptr, i32 } [ %410, %409 ], [ %.pn281, %424 ], [ %lpad.loopexit323, %.loopexit321 ], [ %lpad.loopexit.split-lp324, %.loopexit.split-lp322 ]
  call void @_ZNSt6vectorI8TriangleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #10
  br label %471

._crit_edge376:                                   ; preds = %419, %.preheader327
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #10
  %426 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %42, ptr noundef nonnull @.str.35)
          to label %427 unwind label %460

427:                                              ; preds = %._crit_edge376
  %428 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %426, ptr noundef nonnull @.str.36)
          to label %429 unwind label %462

429:                                              ; preds = %427
  %430 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %428)
          to label %431 unwind label %.loopexit.split-lp

431:                                              ; preds = %429
  %432 = getelementptr inbounds i8, ptr %0, i64 24
  %433 = getelementptr inbounds i8, ptr %0, i64 28
  %434 = getelementptr inbounds i8, ptr %0, i64 32
  %435 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %430, ptr noundef nonnull @.str.2, ptr noundef nonnull %432, ptr noundef nonnull %433, ptr noundef nonnull %434) #10
  %436 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %426, ptr noundef nonnull @.str.37)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %431
  %437 = getelementptr inbounds i8, ptr %30, i64 4
  %438 = getelementptr inbounds i8, ptr %30, i64 8
  %439 = getelementptr inbounds i8, ptr %31, i64 4
  %440 = getelementptr inbounds i8, ptr %31, i64 8
  br label %441

441:                                              ; preds = %.preheader, %458
  %.0 = phi ptr [ %459, %458 ], [ %436, %.preheader ]
  %.not274 = icmp eq ptr %.0, null
  br i1 %.not274, label %469, label %442

442:                                              ; preds = %441
  %443 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0, ptr noundef nonnull @.str.7, ptr noundef nonnull %29)
          to label %444 unwind label %.loopexit

444:                                              ; preds = %442
  %445 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0, ptr noundef nonnull @.str.8)
          to label %446 unwind label %.loopexit

446:                                              ; preds = %444
  %447 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %445)
          to label %448 unwind label %.loopexit

448:                                              ; preds = %446
  %449 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %447, ptr noundef nonnull @.str.2, ptr noundef nonnull %30, ptr noundef nonnull %437, ptr noundef nonnull %438) #10
  %450 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0, ptr noundef nonnull @.str.38)
          to label %451 unwind label %.loopexit

451:                                              ; preds = %448
  %452 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %450)
          to label %453 unwind label %.loopexit

453:                                              ; preds = %451
  %454 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %452, ptr noundef nonnull @.str.2, ptr noundef nonnull %31, ptr noundef nonnull %439, ptr noundef nonnull %440) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #10
  %455 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #11
          to label %456 unwind label %464

456:                                              ; preds = %453
  invoke void @_ZN10PointLightC1ERK8Vector3fS2_(ptr noundef nonnull align 4 dereferenceable(24) %455, ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %31)
          to label %457 unwind label %466

457:                                              ; preds = %456
  store ptr %455, ptr %32, align 8, !tbaa !35
  invoke void @_ZNSt6vectorIP10PointLightSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %458 unwind label %464

458:                                              ; preds = %457
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #10
  %459 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0, ptr noundef nonnull @.str.37)
          to label %441 unwind label %.loopexit, !llvm.loop !52

460:                                              ; preds = %._crit_edge376
  %461 = landingpad { ptr, i32 }
          cleanup
  br label %470

462:                                              ; preds = %427
  %463 = landingpad { ptr, i32 }
          cleanup
  br label %470

.loopexit:                                        ; preds = %442, %444, %446, %448, %451, %458
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %470

.loopexit.split-lp:                               ; preds = %429, %431
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %470

464:                                              ; preds = %457, %453
  %465 = landingpad { ptr, i32 }
          cleanup
  br label %468

466:                                              ; preds = %456
  %467 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %455, i64 noundef 24) #12
  br label %468

468:                                              ; preds = %466, %464
  %.pn = phi { ptr, i32 } [ %465, %464 ], [ %467, %466 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #10
  br label %470

469:                                              ; preds = %441
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #10
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %3) #10
  call void @llvm.lifetime.end.p0(i64 704, ptr nonnull %3) #10
  ret void

470:                                              ; preds = %.loopexit, %.loopexit.split-lp, %462, %468, %460
  %.pn276.pn.pn = phi { ptr, i32 } [ %461, %460 ], [ %463, %462 ], [ %.pn, %468 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #10
  br label %471

471:                                              ; preds = %.loopexit332, %.loopexit.split-lp333, %316, %470, %425, %358, %349, %325
  %.pn298 = phi { ptr, i32 } [ %317, %316 ], [ %.pn294, %325 ], [ %.pn290, %358 ], [ %.pn283, %425 ], [ %.pn276.pn.pn, %470 ], [ %350, %349 ], [ %lpad.loopexit334, %.loopexit332 ], [ %lpad.loopexit.split-lp335, %.loopexit.split-lp333 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #10
  br label %472

472:                                              ; preds = %51, %141, %214, %222, %223, %253, %471, %216, %132, %49
  %.pn312.pn.pn.pn.pn = phi { ptr, i32 } [ %50, %49 ], [ %52, %51 ], [ %133, %132 ], [ %.pn312, %141 ], [ %215, %214 ], [ %217, %216 ], [ %224, %223 ], [ %.pn303, %222 ], [ %.pn298, %471 ], [ %254, %253 ]
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %3) #10
  br label %473

473:                                              ; preds = %472, %47
  %.pn312.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn312.pn.pn.pn.pn, %472 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 704, ptr nonnull %3) #10
  call void @_ZNSt6vectorIP5ShapeSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  call void @_ZNSt6vectorI8Vector3fSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  call void @_ZNSt6vectorIP8MaterialSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  call void @_ZNSt6vectorIP10PointLightSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  call void @_ZNSt6vectorIP6CameraSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #10
  resume { ptr, i32 } %.pn312.pn.pn.pn.pn.pn
}

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

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

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

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

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

declare void @_ZN8tinyxml211XMLDocumentC1EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(704), i1 noundef zeroext, i32 noundef) unnamed_addr #5

declare noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEPKc(ptr noundef nonnull align 8 dereferenceable(704), ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8tinyxml27XMLNode10FirstChildEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 align 2

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

declare noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) local_unnamed_addr #5

declare noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

declare noundef i32 @_ZNK8tinyxml210XMLElement14QueryFloatTextEPf(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #7

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

declare void @_ZN6CameraC1EiPKcRK8Vector3fS4_S4_RK10ImagePlane(ptr noundef nonnull align 4 dereferenceable(112), i32 noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #5

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

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

declare void @_ZN8MaterialC1Ev(ptr noundef nonnull align 4 dereferenceable(56)) unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #8

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

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

declare void @_ZN6SphereC1Eiiif(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, i32 noundef, float noundef) unnamed_addr #5

declare void @_ZN8TriangleC1Eiiiii(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #8

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

declare void @_ZN4MeshC1EiiRKSt6vectorI8TriangleSaIS1_EE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

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

declare void @_ZN10PointLightC1ERK8Vector3fS2_(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704)) unnamed_addr #9

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP6CameraSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #9 = { nounwind "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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }
attributes #13 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS5Scene", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 12, !11, i64 24, !12, i64 40, !17, i64 64, !21, i64 88, !25, i64 112, !29, i64 136}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"_ZTS8Vector3f", !8, i64 0, !8, i64 4, !8, i64 8}
!12 = !{!"_ZTSSt6vectorIP6CameraSaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIP6CameraSaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"_ZTSSt6vectorIP10PointLightSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIP10PointLightSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP10PointLightSaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP10PointLightSaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!21 = !{!"_ZTSSt6vectorIP8MaterialSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIP8MaterialSaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP8MaterialSaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP8MaterialSaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!25 = !{!"_ZTSSt6vectorI8Vector3fSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseI8Vector3fSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI8Vector3fSaIS0_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI8Vector3fSaIS0_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!29 = !{!"_ZTSSt6vectorIP5ShapeSaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIP5ShapeSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP5ShapeSaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP5ShapeSaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!33 = !{!6, !10, i64 8}
!34 = !{!7, !7, i64 0}
!35 = !{!16, !16, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!8, !8, i64 0}
!39 = distinct !{!39, !37}
!40 = distinct !{!40, !37}
!41 = distinct !{!41, !37}
!42 = distinct !{!42, !37}
!43 = distinct !{!43, !37}
!44 = !{!10, !10, i64 0}
!45 = distinct !{!45, !37}
!46 = distinct !{!46, !37}
!47 = distinct !{!47, !37}
!48 = distinct !{!48, !37}
!49 = distinct !{!49, !37}
!50 = distinct !{!50, !37}
!51 = distinct !{!51, !37}
!52 = distinct !{!52, !37}


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