; LLVM IR from ysyesilyurt/ComputerGraphics :: ForwardRenderingPipeline/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.Vec3 = type <{ double, double, double, i32, [4 x i8] }>
%"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.56", %"class.tinyxml2::MemPoolT.58", %"class.tinyxml2::MemPoolT.60" }
%"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.56" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.57", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.57" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.58" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.59", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.59" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.60" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.61", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.61" = type { ptr, [10 x ptr], i32, i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.2" = type { i8 }
%class.Triangle = type { [3 x i32] }
%class.Scene = type { %class.Color, i8, i32, %"class.std::vector.25", %"class.std::vector.35", %"class.std::vector.40", %"class.std::vector.45", %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.10", %"class.std::vector.50" }
%class.Color = type { double, double, double }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = 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.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl" }
%"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl" }
%"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl" }
%"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl" }
%"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl" }
%"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl" }
%"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Camera = type { i32, [4 x i8], %class.Vec3, %class.Vec3, %class.Vec3, %class.Vec3, %class.Vec3, double, double, double, double, double, double, i32, i32, %"class.std::__cxx11::basic_string" }
%class.Translation = type { i32, double, double, double }
%class.Scaling = type { i32, double, double, double }
%class.Rotation = type { i32, double, double, double, double }
%class.Model = type { i32, i32, i32, %"class.std::vector", %"class.std::vector.0", i32, %"class.std::vector.5" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [9 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare void @_ZN4Vec3C1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

declare void @_Z16crossProductVec34Vec3S_(ptr dead_on_unwind writable sret(%class.Vec3) align 8, ptr noundef, ptr noundef) #2

declare void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

declare void @_Z13normalizeVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8, ptr noundef) #2

declare void @_ZN5ColorC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SceneC2EPKc(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef %1) unnamed_addr #3 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 ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %class.Vec3, align 8
  %15 = alloca %class.Vec3, align 8
  %16 = alloca %class.Vec3, align 8
  %17 = alloca %class.Vec3, align 8
  %18 = alloca %class.Vec3, align 8
  %19 = alloca %class.Vec3, align 8
  %20 = alloca %class.Vec3, align 8
  %21 = alloca %class.Vec3, align 8
  %22 = alloca %class.Vec3, align 8
  %23 = alloca %class.Vec3, align 8
  %24 = alloca %class.Vec3, align 8
  %25 = alloca %class.Vec3, align 8
  %26 = alloca %class.Vec3, align 8
  %27 = alloca %class.Vec3, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.2", align 1
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i8, align 1
  %46 = alloca i32, align 4
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca %class.Triangle, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %53 = load ptr, ptr %3, align 8
  %54 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 0
  call void @_ZN5ColorC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %54)
  %55 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 3
  call void @_ZNSt6vectorIS_I5ColorSaIS0_EESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  %56 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 4
  call void @_ZNSt6vectorIP6CameraSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  %57 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 5
  call void @_ZNSt6vectorIP4Vec3SaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  %58 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 6
  call void @_ZNSt6vectorIP5ColorSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %59 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 7
  call void @_ZNSt6vectorIP7ScalingSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #8
  %60 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 8
  call void @_ZNSt6vectorIP8RotationSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  %61 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 9
  call void @_ZNSt6vectorIP11TranslationSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #8
  %62 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 10
  call void @_ZNSt6vectorIP5ModelSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #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 %63 unwind label %93

63:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = invoke noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEPKc(ptr noundef nonnull align 8 dereferenceable(704) %6, ptr noundef %64)
          to label %66 unwind label %97

66:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %67 = invoke noundef ptr @_ZN8tinyxml27XMLNode10FirstChildEv(ptr noundef nonnull align 8 dereferenceable(104) %6)
          to label %68 unwind label %101

68:                                               ; preds = %66
  store ptr %67, ptr %10, align 8, !tbaa !5
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %69, ptr noundef @.str.12)
          to label %71 unwind label %101

71:                                               ; preds = %68
  store ptr %70, ptr %9, align 8, !tbaa !5
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %72)
          to label %74 unwind label %101

74:                                               ; preds = %71
  store ptr %73, ptr %5, align 8, !tbaa !5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 0
  %77 = getelementptr inbounds %class.Color, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 0
  %79 = getelementptr inbounds %class.Color, ptr %78, i32 0, i32 1
  %80 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 0
  %81 = getelementptr inbounds %class.Color, ptr %80, i32 0, i32 2
  %82 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %75, ptr noundef @.str.13, ptr noundef %77, ptr noundef %79, ptr noundef %81) #8
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %83, ptr noundef @.str.14)
          to label %85 unwind label %101

85:                                               ; preds = %74
  store ptr %84, ptr %9, align 8, !tbaa !5
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = icmp ne ptr %86, null
  br i1 %87, label %88, label %105

88:                                               ; preds = %85
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 1
  %91 = invoke noundef i32 @_ZNK8tinyxml210XMLElement13QueryBoolTextEPb(ptr noundef nonnull align 8 dereferenceable(120) %89, ptr noundef %90)
          to label %92 unwind label %101

92:                                               ; preds = %88
  br label %105

93:                                               ; preds = %2
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  br label %683

97:                                               ; preds = %63
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  br label %682

101:                                              ; preds = %116, %111, %105, %88, %74, %71, %68, %66
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  br label %681

105:                                              ; preds = %92, %85
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %106, ptr noundef @.str.15)
          to label %108 unwind label %101

108:                                              ; preds = %105
  store ptr %107, ptr %9, align 8, !tbaa !5
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %116

111:                                              ; preds = %108
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 2
  %114 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %112, ptr noundef %113)
          to label %115 unwind label %101

115:                                              ; preds = %111
  br label %116

116:                                              ; preds = %115, %108
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %117, ptr noundef @.str.16)
          to label %119 unwind label %101

119:                                              ; preds = %116
  store ptr %118, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %120, ptr noundef @.str.17)
          to label %122 unwind label %268

122:                                              ; preds = %119
  store ptr %121, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  br label %123

123:                                              ; preds = %267, %122
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = icmp ne ptr %124, null
  br i1 %125, label %126, label %309

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %127 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 256) #9
          to label %128 unwind label %272

128:                                              ; preds = %126
  invoke void @_ZN6CameraC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %127)
          to label %129 unwind label %276

129:                                              ; preds = %128
  store ptr %127, ptr %13, align 8, !tbaa !5
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %class.Camera, ptr %131, i32 0, i32 0
  %133 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %130, ptr noundef @.str.18, ptr noundef %132)
          to label %134 unwind label %272

134:                                              ; preds = %129
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %135, ptr noundef @.str.19)
          to label %137 unwind label %272

137:                                              ; preds = %134
  store ptr %136, ptr %12, align 8, !tbaa !5
  %138 = load ptr, ptr %12, align 8, !tbaa !5
  %139 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %138)
          to label %140 unwind label %272

140:                                              ; preds = %137
  store ptr %139, ptr %5, align 8, !tbaa !5
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = getelementptr inbounds %class.Camera, ptr %142, i32 0, i32 2
  %144 = getelementptr inbounds %class.Vec3, ptr %143, i32 0, i32 0
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.Camera, ptr %145, i32 0, i32 2
  %147 = getelementptr inbounds %class.Vec3, ptr %146, i32 0, i32 1
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = getelementptr inbounds %class.Camera, ptr %148, i32 0, i32 2
  %150 = getelementptr inbounds %class.Vec3, ptr %149, i32 0, i32 2
  %151 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %141, ptr noundef @.str.13, ptr noundef %144, ptr noundef %147, ptr noundef %150) #8
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %152, ptr noundef @.str.20)
          to label %154 unwind label %272

154:                                              ; preds = %140
  store ptr %153, ptr %12, align 8, !tbaa !5
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %155)
          to label %157 unwind label %272

157:                                              ; preds = %154
  store ptr %156, ptr %5, align 8, !tbaa !5
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = load ptr, ptr %13, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.Camera, ptr %159, i32 0, i32 3
  %161 = getelementptr inbounds %class.Vec3, ptr %160, i32 0, i32 0
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = getelementptr inbounds %class.Camera, ptr %162, i32 0, i32 3
  %164 = getelementptr inbounds %class.Vec3, ptr %163, i32 0, i32 1
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = getelementptr inbounds %class.Camera, ptr %165, i32 0, i32 3
  %167 = getelementptr inbounds %class.Vec3, ptr %166, i32 0, i32 2
  %168 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %158, ptr noundef @.str.13, ptr noundef %161, ptr noundef %164, ptr noundef %167) #8
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  %170 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %169, ptr noundef @.str.21)
          to label %171 unwind label %272

171:                                              ; preds = %157
  store ptr %170, ptr %12, align 8, !tbaa !5
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %172)
          to label %174 unwind label %272

174:                                              ; preds = %171
  store ptr %173, ptr %5, align 8, !tbaa !5
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = getelementptr inbounds %class.Camera, ptr %176, i32 0, i32 5
  %178 = getelementptr inbounds %class.Vec3, ptr %177, i32 0, i32 0
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  %180 = getelementptr inbounds %class.Camera, ptr %179, i32 0, i32 5
  %181 = getelementptr inbounds %class.Vec3, ptr %180, i32 0, i32 1
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = getelementptr inbounds %class.Camera, ptr %182, i32 0, i32 5
  %184 = getelementptr inbounds %class.Vec3, ptr %183, i32 0, i32 2
  %185 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %175, ptr noundef @.str.13, ptr noundef %178, ptr noundef %181, ptr noundef %184) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds %class.Camera, ptr %186, i32 0, i32 3
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %15, ptr noundef nonnull align 8 dereferenceable(28) %187)
          to label %188 unwind label %280

188:                                              ; preds = %174
  invoke void @_Z13normalizeVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8 %14, ptr noundef %15)
          to label %189 unwind label %280

189:                                              ; preds = %188
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = getelementptr inbounds %class.Camera, ptr %190, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %191, ptr align 8 %14, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = getelementptr inbounds %class.Camera, ptr %192, i32 0, i32 3
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %17, ptr noundef nonnull align 8 dereferenceable(28) %193)
          to label %194 unwind label %284

194:                                              ; preds = %189
  %195 = load ptr, ptr %13, align 8, !tbaa !5
  %196 = getelementptr inbounds %class.Camera, ptr %195, i32 0, i32 5
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %18, ptr noundef nonnull align 8 dereferenceable(28) %196)
          to label %197 unwind label %284

197:                                              ; preds = %194
  invoke void @_Z16crossProductVec34Vec3S_(ptr dead_on_unwind writable sret(%class.Vec3) align 8 %16, ptr noundef %17, ptr noundef %18)
          to label %198 unwind label %284

198:                                              ; preds = %197
  %199 = load ptr, ptr %13, align 8, !tbaa !5
  %200 = getelementptr inbounds %class.Camera, ptr %199, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %200, ptr align 8 %16, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  %201 = load ptr, ptr %13, align 8, !tbaa !5
  %202 = getelementptr inbounds %class.Camera, ptr %201, i32 0, i32 4
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %20, ptr noundef nonnull align 8 dereferenceable(28) %202)
          to label %203 unwind label %288

203:                                              ; preds = %198
  invoke void @_Z13normalizeVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8 %19, ptr noundef %20)
          to label %204 unwind label %288

204:                                              ; preds = %203
  %205 = load ptr, ptr %13, align 8, !tbaa !5
  %206 = getelementptr inbounds %class.Camera, ptr %205, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %206, ptr align 8 %19, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = getelementptr inbounds %class.Camera, ptr %207, i32 0, i32 3
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %22, ptr noundef nonnull align 8 dereferenceable(28) %208)
          to label %209 unwind label %292

209:                                              ; preds = %204
  invoke void @_Z11inverseVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8 %21, ptr noundef %22)
          to label %210 unwind label %292

210:                                              ; preds = %209
  %211 = load ptr, ptr %13, align 8, !tbaa !5
  %212 = getelementptr inbounds %class.Camera, ptr %211, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %212, ptr align 8 %21, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #8
  %213 = load ptr, ptr %13, align 8, !tbaa !5
  %214 = getelementptr inbounds %class.Camera, ptr %213, i32 0, i32 4
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %24, ptr noundef nonnull align 8 dereferenceable(28) %214)
          to label %215 unwind label %296

215:                                              ; preds = %210
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = getelementptr inbounds %class.Camera, ptr %216, i32 0, i32 3
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %25, ptr noundef nonnull align 8 dereferenceable(28) %217)
          to label %218 unwind label %296

218:                                              ; preds = %215
  invoke void @_Z16crossProductVec34Vec3S_(ptr dead_on_unwind writable sret(%class.Vec3) align 8 %23, ptr noundef %24, ptr noundef %25)
          to label %219 unwind label %296

219:                                              ; preds = %218
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds %class.Camera, ptr %220, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %221, ptr align 8 %23, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  %222 = load ptr, ptr %13, align 8, !tbaa !5
  %223 = getelementptr inbounds %class.Camera, ptr %222, i32 0, i32 5
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %27, ptr noundef nonnull align 8 dereferenceable(28) %223)
          to label %224 unwind label %300

224:                                              ; preds = %219
  invoke void @_Z13normalizeVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8 %26, ptr noundef %27)
          to label %225 unwind label %300

225:                                              ; preds = %224
  %226 = load ptr, ptr %13, align 8, !tbaa !5
  %227 = getelementptr inbounds %class.Camera, ptr %226, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %227, ptr align 8 %26, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  %228 = load ptr, ptr %11, align 8, !tbaa !5
  %229 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %228, ptr noundef @.str.22)
          to label %230 unwind label %272

230:                                              ; preds = %225
  store ptr %229, ptr %12, align 8, !tbaa !5
  %231 = load ptr, ptr %12, align 8, !tbaa !5
  %232 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %231)
          to label %233 unwind label %272

233:                                              ; preds = %230
  store ptr %232, ptr %5, align 8, !tbaa !5
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = load ptr, ptr %13, align 8, !tbaa !5
  %236 = getelementptr inbounds %class.Camera, ptr %235, i32 0, i32 7
  %237 = load ptr, ptr %13, align 8, !tbaa !5
  %238 = getelementptr inbounds %class.Camera, ptr %237, i32 0, i32 8
  %239 = load ptr, ptr %13, align 8, !tbaa !5
  %240 = getelementptr inbounds %class.Camera, ptr %239, i32 0, i32 9
  %241 = load ptr, ptr %13, align 8, !tbaa !5
  %242 = getelementptr inbounds %class.Camera, ptr %241, i32 0, i32 10
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  %244 = getelementptr inbounds %class.Camera, ptr %243, i32 0, i32 11
  %245 = load ptr, ptr %13, align 8, !tbaa !5
  %246 = getelementptr inbounds %class.Camera, ptr %245, i32 0, i32 12
  %247 = load ptr, ptr %13, align 8, !tbaa !5
  %248 = getelementptr inbounds %class.Camera, ptr %247, i32 0, i32 13
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = getelementptr inbounds %class.Camera, ptr %249, i32 0, i32 14
  %251 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %234, ptr noundef @.str.23, ptr noundef %236, ptr noundef %238, ptr noundef %240, ptr noundef %242, ptr noundef %244, ptr noundef %246, ptr noundef %248, ptr noundef %250) #8
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  %253 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %252, ptr noundef @.str.24)
          to label %254 unwind label %272

254:                                              ; preds = %233
  store ptr %253, ptr %12, align 8, !tbaa !5
  %255 = load ptr, ptr %12, align 8, !tbaa !5
  %256 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %255)
          to label %257 unwind label %272

257:                                              ; preds = %254
  store ptr %256, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #8
  %258 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %258, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %259 unwind label %304

259:                                              ; preds = %257
  %260 = load ptr, ptr %13, align 8, !tbaa !5
  %261 = getelementptr inbounds %class.Camera, ptr %260, i32 0, i32 15
  %262 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %261, ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  %263 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 4
  invoke void @_ZNSt6vectorIP6CameraSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %264 unwind label %272

264:                                              ; preds = %259
  %265 = load ptr, ptr %11, align 8, !tbaa !5
  %266 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %265, ptr noundef @.str.17)
          to label %267 unwind label %272

267:                                              ; preds = %264
  store ptr %266, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %123, !llvm.loop !14

268:                                              ; preds = %119
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %7, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %8, align 4
  br label %680

272:                                              ; preds = %264, %259, %254, %233, %230, %225, %171, %157, %154, %140, %137, %134, %129, %126
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %7, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %8, align 4
  br label %308

276:                                              ; preds = %128
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %7, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %127, i64 noundef 256) #10
  br label %308

280:                                              ; preds = %188, %174
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %7, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %308

284:                                              ; preds = %197, %194, %189
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %7, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  br label %308

288:                                              ; preds = %203, %198
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %7, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %308

292:                                              ; preds = %209, %204
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %7, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %308

296:                                              ; preds = %218, %215, %210
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %7, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  br label %308

300:                                              ; preds = %224, %219
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %7, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %308

304:                                              ; preds = %257
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %7, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  br label %308

308:                                              ; preds = %304, %300, %296, %292, %288, %284, %280, %276, %272
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %679

309:                                              ; preds = %123
  %310 = load ptr, ptr %10, align 8, !tbaa !5
  %311 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %310, ptr noundef @.str.25)
          to label %312 unwind label %360

312:                                              ; preds = %309
  store ptr %311, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %313 = load ptr, ptr %9, align 8, !tbaa !5
  %314 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %313, ptr noundef @.str.26)
          to label %315 unwind label %364

315:                                              ; preds = %312
  store ptr %314, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 1, ptr %31, align 4, !tbaa !12
  br label %316

316:                                              ; preds = %357, %315
  %317 = load ptr, ptr %30, align 8, !tbaa !5
  %318 = icmp ne ptr %317, null
  br i1 %318, label %319, label %386

319:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %320 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %321 unwind label %368

321:                                              ; preds = %319
  invoke void @_ZN4Vec3C1Ev(ptr noundef nonnull align 8 dereferenceable(28) %320)
          to label %322 unwind label %372

322:                                              ; preds = %321
  store ptr %320, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %323 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
          to label %324 unwind label %376

324:                                              ; preds = %322
  invoke void @_ZN5ColorC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %323)
          to label %325 unwind label %380

325:                                              ; preds = %324
  store ptr %323, ptr %33, align 8, !tbaa !5
  %326 = load i32, ptr %31, align 4, !tbaa !12
  %327 = load ptr, ptr %32, align 8, !tbaa !5
  %328 = getelementptr inbounds %class.Vec3, ptr %327, i32 0, i32 3
  store i32 %326, ptr %328, align 8, !tbaa !16
  %329 = load ptr, ptr %30, align 8, !tbaa !5
  %330 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %329, ptr noundef @.str.27, ptr noundef null)
          to label %331 unwind label %376

331:                                              ; preds = %325
  store ptr %330, ptr %5, align 8, !tbaa !5
  %332 = load ptr, ptr %5, align 8, !tbaa !5
  %333 = load ptr, ptr %32, align 8, !tbaa !5
  %334 = getelementptr inbounds %class.Vec3, ptr %333, i32 0, i32 0
  %335 = load ptr, ptr %32, align 8, !tbaa !5
  %336 = getelementptr inbounds %class.Vec3, ptr %335, i32 0, i32 1
  %337 = load ptr, ptr %32, align 8, !tbaa !5
  %338 = getelementptr inbounds %class.Vec3, ptr %337, i32 0, i32 2
  %339 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %332, ptr noundef @.str.13, ptr noundef %334, ptr noundef %336, ptr noundef %338) #8
  %340 = load ptr, ptr %30, align 8, !tbaa !5
  %341 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %340, ptr noundef @.str.28, ptr noundef null)
          to label %342 unwind label %376

342:                                              ; preds = %331
  store ptr %341, ptr %5, align 8, !tbaa !5
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = load ptr, ptr %33, align 8, !tbaa !5
  %345 = getelementptr inbounds %class.Color, ptr %344, i32 0, i32 0
  %346 = load ptr, ptr %33, align 8, !tbaa !5
  %347 = getelementptr inbounds %class.Color, ptr %346, i32 0, i32 1
  %348 = load ptr, ptr %33, align 8, !tbaa !5
  %349 = getelementptr inbounds %class.Color, ptr %348, i32 0, i32 2
  %350 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %343, ptr noundef @.str.13, ptr noundef %345, ptr noundef %347, ptr noundef %349) #8
  %351 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 5
  invoke void @_ZNSt6vectorIP4Vec3SaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %351, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %352 unwind label %376

352:                                              ; preds = %342
  %353 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 6
  invoke void @_ZNSt6vectorIP5ColorSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %353, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %354 unwind label %376

354:                                              ; preds = %352
  %355 = load ptr, ptr %30, align 8, !tbaa !5
  %356 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %355, ptr noundef @.str.26)
          to label %357 unwind label %376

357:                                              ; preds = %354
  store ptr %356, ptr %30, align 8, !tbaa !5
  %358 = load i32, ptr %31, align 4, !tbaa !12
  %359 = add nsw i32 %358, 1
  store i32 %359, ptr %31, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %316, !llvm.loop !18

360:                                              ; preds = %309
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %7, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %8, align 4
  br label %679

364:                                              ; preds = %312
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %7, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %8, align 4
  br label %678

368:                                              ; preds = %319
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %7, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %8, align 4
  br label %385

372:                                              ; preds = %321
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %7, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %320, i64 noundef 32) #10
  br label %385

376:                                              ; preds = %354, %352, %342, %331, %325, %322
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %7, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %8, align 4
  br label %384

380:                                              ; preds = %324
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %7, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %323, i64 noundef 24) #10
  br label %384

384:                                              ; preds = %380, %376
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %385

385:                                              ; preds = %384, %372, %368
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %677

386:                                              ; preds = %316
  %387 = load ptr, ptr %10, align 8, !tbaa !5
  %388 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %387, ptr noundef @.str.29)
          to label %389 unwind label %421

389:                                              ; preds = %386
  store ptr %388, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %390 = load ptr, ptr %9, align 8, !tbaa !5
  %391 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %390, ptr noundef @.str.30)
          to label %392 unwind label %425

392:                                              ; preds = %389
  store ptr %391, ptr %34, align 8, !tbaa !5
  br label %393

393:                                              ; preds = %420, %392
  %394 = load ptr, ptr %34, align 8, !tbaa !5
  %395 = icmp ne ptr %394, null
  br i1 %395, label %396, label %438

396:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %397 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %398 unwind label %429

398:                                              ; preds = %396
  invoke void @_ZN11TranslationC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %397)
          to label %399 unwind label %433

399:                                              ; preds = %398
  store ptr %397, ptr %35, align 8, !tbaa !5
  %400 = load ptr, ptr %34, align 8, !tbaa !5
  %401 = load ptr, ptr %35, align 8, !tbaa !5
  %402 = getelementptr inbounds %class.Translation, ptr %401, i32 0, i32 0
  %403 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %400, ptr noundef @.str.18, ptr noundef %402)
          to label %404 unwind label %429

404:                                              ; preds = %399
  %405 = load ptr, ptr %34, align 8, !tbaa !5
  %406 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %405, ptr noundef @.str.31, ptr noundef null)
          to label %407 unwind label %429

407:                                              ; preds = %404
  store ptr %406, ptr %5, align 8, !tbaa !5
  %408 = load ptr, ptr %5, align 8, !tbaa !5
  %409 = load ptr, ptr %35, align 8, !tbaa !5
  %410 = getelementptr inbounds %class.Translation, ptr %409, i32 0, i32 1
  %411 = load ptr, ptr %35, align 8, !tbaa !5
  %412 = getelementptr inbounds %class.Translation, ptr %411, i32 0, i32 2
  %413 = load ptr, ptr %35, align 8, !tbaa !5
  %414 = getelementptr inbounds %class.Translation, ptr %413, i32 0, i32 3
  %415 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %408, ptr noundef @.str.13, ptr noundef %410, ptr noundef %412, ptr noundef %414) #8
  %416 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 9
  invoke void @_ZNSt6vectorIP11TranslationSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %416, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %417 unwind label %429

417:                                              ; preds = %407
  %418 = load ptr, ptr %34, align 8, !tbaa !5
  %419 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %418, ptr noundef @.str.30)
          to label %420 unwind label %429

420:                                              ; preds = %417
  store ptr %419, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %393, !llvm.loop !19

421:                                              ; preds = %386
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %7, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %8, align 4
  br label %677

425:                                              ; preds = %438, %389
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %7, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %8, align 4
  br label %676

429:                                              ; preds = %417, %407, %404, %399, %396
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %7, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %8, align 4
  br label %437

433:                                              ; preds = %398
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %7, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %397, i64 noundef 32) #10
  br label %437

437:                                              ; preds = %433, %429
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %676

438:                                              ; preds = %393
  %439 = load ptr, ptr %10, align 8, !tbaa !5
  %440 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %439, ptr noundef @.str.32)
          to label %441 unwind label %425

441:                                              ; preds = %438
  store ptr %440, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %442 = load ptr, ptr %9, align 8, !tbaa !5
  %443 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %442, ptr noundef @.str.33)
          to label %444 unwind label %473

444:                                              ; preds = %441
  store ptr %443, ptr %36, align 8, !tbaa !5
  br label %445

445:                                              ; preds = %472, %444
  %446 = load ptr, ptr %36, align 8, !tbaa !5
  %447 = icmp ne ptr %446, null
  br i1 %447, label %448, label %486

448:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %449 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %450 unwind label %477

450:                                              ; preds = %448
  invoke void @_ZN7ScalingC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %449)
          to label %451 unwind label %481

451:                                              ; preds = %450
  store ptr %449, ptr %37, align 8, !tbaa !5
  %452 = load ptr, ptr %36, align 8, !tbaa !5
  %453 = load ptr, ptr %37, align 8, !tbaa !5
  %454 = getelementptr inbounds %class.Scaling, ptr %453, i32 0, i32 0
  %455 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %452, ptr noundef @.str.18, ptr noundef %454)
          to label %456 unwind label %477

456:                                              ; preds = %451
  %457 = load ptr, ptr %36, align 8, !tbaa !5
  %458 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %457, ptr noundef @.str.31, ptr noundef null)
          to label %459 unwind label %477

459:                                              ; preds = %456
  store ptr %458, ptr %5, align 8, !tbaa !5
  %460 = load ptr, ptr %5, align 8, !tbaa !5
  %461 = load ptr, ptr %37, align 8, !tbaa !5
  %462 = getelementptr inbounds %class.Scaling, ptr %461, i32 0, i32 1
  %463 = load ptr, ptr %37, align 8, !tbaa !5
  %464 = getelementptr inbounds %class.Scaling, ptr %463, i32 0, i32 2
  %465 = load ptr, ptr %37, align 8, !tbaa !5
  %466 = getelementptr inbounds %class.Scaling, ptr %465, i32 0, i32 3
  %467 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %460, ptr noundef @.str.13, ptr noundef %462, ptr noundef %464, ptr noundef %466) #8
  %468 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 7
  invoke void @_ZNSt6vectorIP7ScalingSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %468, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %469 unwind label %477

469:                                              ; preds = %459
  %470 = load ptr, ptr %36, align 8, !tbaa !5
  %471 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %470, ptr noundef @.str.33)
          to label %472 unwind label %477

472:                                              ; preds = %469
  store ptr %471, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %445, !llvm.loop !20

473:                                              ; preds = %486, %441
  %474 = landingpad { ptr, i32 }
          cleanup
  %475 = extractvalue { ptr, i32 } %474, 0
  store ptr %475, ptr %7, align 8
  %476 = extractvalue { ptr, i32 } %474, 1
  store i32 %476, ptr %8, align 4
  br label %675

477:                                              ; preds = %469, %459, %456, %451, %448
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %7, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %8, align 4
  br label %485

481:                                              ; preds = %450
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %7, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %449, i64 noundef 32) #10
  br label %485

485:                                              ; preds = %481, %477
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %675

486:                                              ; preds = %445
  %487 = load ptr, ptr %10, align 8, !tbaa !5
  %488 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %487, ptr noundef @.str.34)
          to label %489 unwind label %473

489:                                              ; preds = %486
  store ptr %488, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %490 = load ptr, ptr %9, align 8, !tbaa !5
  %491 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %490, ptr noundef @.str.35)
          to label %492 unwind label %523

492:                                              ; preds = %489
  store ptr %491, ptr %38, align 8, !tbaa !5
  br label %493

493:                                              ; preds = %522, %492
  %494 = load ptr, ptr %38, align 8, !tbaa !5
  %495 = icmp ne ptr %494, null
  br i1 %495, label %496, label %536

496:                                              ; preds = %493
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %497 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
          to label %498 unwind label %527

498:                                              ; preds = %496
  invoke void @_ZN8RotationC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %497)
          to label %499 unwind label %531

499:                                              ; preds = %498
  store ptr %497, ptr %39, align 8, !tbaa !5
  %500 = load ptr, ptr %38, align 8, !tbaa !5
  %501 = load ptr, ptr %39, align 8, !tbaa !5
  %502 = getelementptr inbounds %class.Rotation, ptr %501, i32 0, i32 0
  %503 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %500, ptr noundef @.str.18, ptr noundef %502)
          to label %504 unwind label %527

504:                                              ; preds = %499
  %505 = load ptr, ptr %38, align 8, !tbaa !5
  %506 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %505, ptr noundef @.str.31, ptr noundef null)
          to label %507 unwind label %527

507:                                              ; preds = %504
  store ptr %506, ptr %5, align 8, !tbaa !5
  %508 = load ptr, ptr %5, align 8, !tbaa !5
  %509 = load ptr, ptr %39, align 8, !tbaa !5
  %510 = getelementptr inbounds %class.Rotation, ptr %509, i32 0, i32 1
  %511 = load ptr, ptr %39, align 8, !tbaa !5
  %512 = getelementptr inbounds %class.Rotation, ptr %511, i32 0, i32 2
  %513 = load ptr, ptr %39, align 8, !tbaa !5
  %514 = getelementptr inbounds %class.Rotation, ptr %513, i32 0, i32 3
  %515 = load ptr, ptr %39, align 8, !tbaa !5
  %516 = getelementptr inbounds %class.Rotation, ptr %515, i32 0, i32 4
  %517 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %508, ptr noundef @.str.36, ptr noundef %510, ptr noundef %512, ptr noundef %514, ptr noundef %516) #8
  %518 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 8
  invoke void @_ZNSt6vectorIP8RotationSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %518, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %519 unwind label %527

519:                                              ; preds = %507
  %520 = load ptr, ptr %38, align 8, !tbaa !5
  %521 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %520, ptr noundef @.str.35)
          to label %522 unwind label %527

522:                                              ; preds = %519
  store ptr %521, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %493, !llvm.loop !21

523:                                              ; preds = %536, %489
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %7, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %8, align 4
  br label %674

527:                                              ; preds = %519, %507, %504, %499, %496
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %7, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %8, align 4
  br label %535

531:                                              ; preds = %498
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %7, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %497, i64 noundef 40) #10
  br label %535

535:                                              ; preds = %531, %527
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %674

536:                                              ; preds = %493
  %537 = load ptr, ptr %10, align 8, !tbaa !5
  %538 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %537, ptr noundef @.str.37)
          to label %539 unwind label %523

539:                                              ; preds = %536
  store ptr %538, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %540 = load ptr, ptr %9, align 8, !tbaa !5
  %541 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %540, ptr noundef @.str.38)
          to label %542 unwind label %589

542:                                              ; preds = %539
  store ptr %541, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  br label %543

543:                                              ; preds = %666, %542
  %544 = load ptr, ptr %40, align 8, !tbaa !5
  %545 = icmp ne ptr %544, null
  br i1 %545, label %546, label %672

546:                                              ; preds = %543
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %547 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 96) #9
          to label %548 unwind label %593

548:                                              ; preds = %546
  invoke void @_ZN5ModelC1Ev(ptr noundef nonnull align 8 dereferenceable(96) %547)
          to label %549 unwind label %597

549:                                              ; preds = %548
  store ptr %547, ptr %42, align 8, !tbaa !5
  %550 = load ptr, ptr %40, align 8, !tbaa !5
  %551 = load ptr, ptr %42, align 8, !tbaa !5
  %552 = getelementptr inbounds %class.Model, ptr %551, i32 0, i32 0
  %553 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %550, ptr noundef @.str.18, ptr noundef %552)
          to label %554 unwind label %593

554:                                              ; preds = %549
  %555 = load ptr, ptr %40, align 8, !tbaa !5
  %556 = load ptr, ptr %42, align 8, !tbaa !5
  %557 = getelementptr inbounds %class.Model, ptr %556, i32 0, i32 1
  %558 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %555, ptr noundef @.str.39, ptr noundef %557)
          to label %559 unwind label %593

559:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %560 = load ptr, ptr %40, align 8, !tbaa !5
  %561 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %560, ptr noundef @.str.40)
          to label %562 unwind label %601

562:                                              ; preds = %559
  store ptr %561, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %563 = load ptr, ptr %43, align 8, !tbaa !5
  %564 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %563, ptr noundef @.str.41)
          to label %565 unwind label %605

565:                                              ; preds = %562
  store ptr %564, ptr %44, align 8, !tbaa !5
  %566 = load ptr, ptr %43, align 8, !tbaa !5
  %567 = load ptr, ptr %42, align 8, !tbaa !5
  %568 = getelementptr inbounds %class.Model, ptr %567, i32 0, i32 2
  %569 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %566, ptr noundef @.str.42, ptr noundef %568)
          to label %570 unwind label %605

570:                                              ; preds = %565
  br label %571

571:                                              ; preds = %588, %570
  %572 = load ptr, ptr %44, align 8, !tbaa !5
  %573 = icmp ne ptr %572, null
  br i1 %573, label %574, label %613

574:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %575 = load ptr, ptr %44, align 8, !tbaa !5
  %576 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %575)
          to label %577 unwind label %609

577:                                              ; preds = %574
  store ptr %576, ptr %5, align 8, !tbaa !5
  %578 = load ptr, ptr %5, align 8, !tbaa !5
  %579 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %578, ptr noundef @.str.43, ptr noundef %45, ptr noundef %46) #8
  %580 = load ptr, ptr %42, align 8, !tbaa !5
  %581 = getelementptr inbounds %class.Model, ptr %580, i32 0, i32 4
  invoke void @_ZNSt6vectorIcSaIcEE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(24) %581, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %582 unwind label %609

582:                                              ; preds = %577
  %583 = load ptr, ptr %42, align 8, !tbaa !5
  %584 = getelementptr inbounds %class.Model, ptr %583, i32 0, i32 3
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %584, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %585 unwind label %609

585:                                              ; preds = %582
  %586 = load ptr, ptr %44, align 8, !tbaa !5
  %587 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %586, ptr noundef @.str.41)
          to label %588 unwind label %609

588:                                              ; preds = %585
  store ptr %587, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  br label %571, !llvm.loop !22

589:                                              ; preds = %539
  %590 = landingpad { ptr, i32 }
          cleanup
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %7, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %8, align 4
  br label %673

593:                                              ; preds = %554, %549, %546
  %594 = landingpad { ptr, i32 }
          cleanup
  %595 = extractvalue { ptr, i32 } %594, 0
  store ptr %595, ptr %7, align 8
  %596 = extractvalue { ptr, i32 } %594, 1
  store i32 %596, ptr %8, align 4
  br label %671

597:                                              ; preds = %548
  %598 = landingpad { ptr, i32 }
          cleanup
  %599 = extractvalue { ptr, i32 } %598, 0
  store ptr %599, ptr %7, align 8
  %600 = extractvalue { ptr, i32 } %598, 1
  store i32 %600, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %547, i64 noundef 96) #10
  br label %671

601:                                              ; preds = %559
  %602 = landingpad { ptr, i32 }
          cleanup
  %603 = extractvalue { ptr, i32 } %602, 0
  store ptr %603, ptr %7, align 8
  %604 = extractvalue { ptr, i32 } %602, 1
  store i32 %604, ptr %8, align 4
  br label %670

605:                                              ; preds = %565, %562
  %606 = landingpad { ptr, i32 }
          cleanup
  %607 = extractvalue { ptr, i32 } %606, 0
  store ptr %607, ptr %7, align 8
  %608 = extractvalue { ptr, i32 } %606, 1
  store i32 %608, ptr %8, align 4
  br label %669

609:                                              ; preds = %585, %582, %577, %574
  %610 = landingpad { ptr, i32 }
          cleanup
  %611 = extractvalue { ptr, i32 } %610, 0
  store ptr %611, ptr %7, align 8
  %612 = extractvalue { ptr, i32 } %610, 1
  store i32 %612, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  br label %669

613:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %614 = load ptr, ptr %40, align 8, !tbaa !5
  %615 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %614, ptr noundef @.str.44)
          to label %616 unwind label %644

616:                                              ; preds = %613
  store ptr %615, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %617 = load ptr, ptr %47, align 8, !tbaa !5
  %618 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %617, ptr noundef @.str.45)
          to label %619 unwind label %648

619:                                              ; preds = %616
  store ptr %618, ptr %48, align 8, !tbaa !5
  %620 = load ptr, ptr %47, align 8, !tbaa !5
  %621 = load ptr, ptr %42, align 8, !tbaa !5
  %622 = getelementptr inbounds %class.Model, ptr %621, i32 0, i32 5
  %623 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %620, ptr noundef @.str.42, ptr noundef %622)
          to label %624 unwind label %648

624:                                              ; preds = %619
  br label %625

625:                                              ; preds = %643, %624
  %626 = load ptr, ptr %48, align 8, !tbaa !5
  %627 = icmp ne ptr %626, null
  br i1 %627, label %628, label %661

628:                                              ; preds = %625
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  %629 = load ptr, ptr %48, align 8, !tbaa !5
  %630 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %629)
          to label %631 unwind label %652

631:                                              ; preds = %628
  store ptr %630, ptr %5, align 8, !tbaa !5
  %632 = load ptr, ptr %5, align 8, !tbaa !5
  %633 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %632, ptr noundef @.str.46, ptr noundef %49, ptr noundef %50, ptr noundef %51) #8
  %634 = load ptr, ptr %42, align 8, !tbaa !5
  %635 = getelementptr inbounds %class.Model, ptr %634, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 12, ptr %52) #8
  %636 = load i32, ptr %49, align 4, !tbaa !12
  %637 = load i32, ptr %50, align 4, !tbaa !12
  %638 = load i32, ptr %51, align 4, !tbaa !12
  invoke void @_ZN8TriangleC1Eiii(ptr noundef nonnull align 4 dereferenceable(12) %52, i32 noundef %636, i32 noundef %637, i32 noundef %638)
          to label %639 unwind label %656

639:                                              ; preds = %631
  invoke void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %635, ptr noundef nonnull align 4 dereferenceable(12) %52)
          to label %640 unwind label %656

640:                                              ; preds = %639
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #8
  %641 = load ptr, ptr %48, align 8, !tbaa !5
  %642 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %641, ptr noundef @.str.45)
          to label %643 unwind label %652

643:                                              ; preds = %640
  store ptr %642, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %625, !llvm.loop !23

644:                                              ; preds = %613
  %645 = landingpad { ptr, i32 }
          cleanup
  %646 = extractvalue { ptr, i32 } %645, 0
  store ptr %646, ptr %7, align 8
  %647 = extractvalue { ptr, i32 } %645, 1
  store i32 %647, ptr %8, align 4
  br label %668

648:                                              ; preds = %663, %661, %619, %616
  %649 = landingpad { ptr, i32 }
          cleanup
  %650 = extractvalue { ptr, i32 } %649, 0
  store ptr %650, ptr %7, align 8
  %651 = extractvalue { ptr, i32 } %649, 1
  store i32 %651, ptr %8, align 4
  br label %667

652:                                              ; preds = %640, %628
  %653 = landingpad { ptr, i32 }
          cleanup
  %654 = extractvalue { ptr, i32 } %653, 0
  store ptr %654, ptr %7, align 8
  %655 = extractvalue { ptr, i32 } %653, 1
  store i32 %655, ptr %8, align 4
  br label %660

656:                                              ; preds = %639, %631
  %657 = landingpad { ptr, i32 }
          cleanup
  %658 = extractvalue { ptr, i32 } %657, 0
  store ptr %658, ptr %7, align 8
  %659 = extractvalue { ptr, i32 } %657, 1
  store i32 %659, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #8
  br label %660

660:                                              ; preds = %656, %652
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %667

661:                                              ; preds = %625
  %662 = getelementptr inbounds %class.Scene, ptr %53, i32 0, i32 10
  invoke void @_ZNSt6vectorIP5ModelSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %662, ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %663 unwind label %648

663:                                              ; preds = %661
  %664 = load ptr, ptr %40, align 8, !tbaa !5
  %665 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %664, ptr noundef @.str.38)
          to label %666 unwind label %648

666:                                              ; preds = %663
  store ptr %665, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %543, !llvm.loop !24

667:                                              ; preds = %660, %648
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %668

668:                                              ; preds = %667, %644
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %669

669:                                              ; preds = %668, %609, %605
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %670

670:                                              ; preds = %669, %601
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %671

671:                                              ; preds = %670, %597, %593
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %673

672:                                              ; preds = %543
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #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 8, 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

673:                                              ; preds = %671, %589
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %674

674:                                              ; preds = %673, %535, %523
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %675

675:                                              ; preds = %674, %485, %473
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %676

676:                                              ; preds = %675, %437, %425
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %677

677:                                              ; preds = %676, %421, %385
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %678

678:                                              ; preds = %677, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %679

679:                                              ; preds = %678, %360, %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %680

680:                                              ; preds = %679, %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %681

681:                                              ; preds = %680, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %682

682:                                              ; preds = %681, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %6) #8
  br label %683

683:                                              ; preds = %682, %93
  call void @llvm.lifetime.end.p0(i64 704, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @_ZNSt6vectorIP5ModelSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @_ZNSt6vectorIP11TranslationSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #8
  call void @_ZNSt6vectorIP8RotationSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  call void @_ZNSt6vectorIP7ScalingSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #8
  call void @_ZNSt6vectorIP5ColorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @_ZNSt6vectorIP4Vec3SaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  call void @_ZNSt6vectorIP6CameraSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  call void @_ZNSt6vectorIS_I5ColorSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  br label %684

684:                                              ; preds = %683
  %685 = load ptr, ptr %7, align 8
  %686 = load i32, ptr %8, align 4
  %687 = insertvalue { ptr, i32 } poison, ptr %685, 0
  %688 = insertvalue { ptr, i32 } %687, i32 %686, 1
  resume { ptr, i32 } %688
}

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

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare noundef i32 @_ZNK8tinyxml210XMLElement13QueryBoolTextEPb(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) #2

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

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

declare void @_ZN6CameraC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2

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

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

declare void @_Z11inverseVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

declare noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, ptr noundef) #2

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

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

declare void @_ZN11TranslationC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

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

declare void @_ZN7ScalingC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

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

declare void @_ZN8RotationC1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2

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

declare void @_ZN5ModelC1Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #2

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

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

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

declare void @_ZN8TriangleC1Eiii(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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.Vec3 = type <{ double, double, double, i32, [4 x i8] }>
%"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.56", %"class.tinyxml2::MemPoolT.58", %"class.tinyxml2::MemPoolT.60" }
%"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.56" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.57", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.57" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.58" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.59", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.59" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.60" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.61", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.61" = type { ptr, [10 x ptr], i32, i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.2" = type { i8 }
%class.Triangle = type { [3 x i32] }

@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [9 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare void @_ZN4Vec3C1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

declare void @_Z16crossProductVec34Vec3S_(ptr dead_on_unwind writable sret(%class.Vec3) align 8, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

declare void @_Z13normalizeVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8, ptr noundef) local_unnamed_addr #2

declare void @_ZN5ColorC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SceneC2EPKc(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.tinyxml2::XMLDocument", align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.Vec3, align 8
  %6 = alloca %class.Vec3, align 8
  %7 = alloca %class.Vec3, align 8
  %8 = alloca %class.Vec3, align 8
  %9 = alloca %class.Vec3, align 8
  %10 = alloca %class.Vec3, align 8
  %11 = alloca %class.Vec3, align 8
  %12 = alloca %class.Vec3, align 8
  %13 = alloca %class.Vec3, align 8
  %14 = alloca %class.Vec3, align 8
  %15 = alloca %class.Vec3, align 8
  %16 = alloca %class.Vec3, align 8
  %17 = alloca %class.Vec3, align 8
  %18 = alloca %class.Vec3, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.2", align 1
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %class.Triangle, align 4
  tail call void @_ZN5ColorC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt6vectorIS_I5ColorSaIS0_EESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  %34 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZNSt6vectorIP6CameraSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  %35 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt6vectorIP4Vec3SaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  %36 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNSt6vectorIP5ColorSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  %37 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNSt6vectorIP7ScalingSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #9
  %38 = getelementptr inbounds i8, ptr %0, i64 152
  tail call void @_ZNSt6vectorIP8RotationSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  %39 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZNSt6vectorIP11TranslationSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  %40 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @_ZNSt6vectorIP5ModelSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  call void @llvm.lifetime.start.p0(i64 704, ptr nonnull %3) #9
  invoke void @_ZN8tinyxml211XMLDocumentC1EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(704) %3, i1 noundef zeroext true, i32 noundef 0)
          to label %41 unwind label %57

41:                                               ; preds = %2
  %42 = invoke noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEPKc(ptr noundef nonnull align 8 dereferenceable(704) %3, ptr noundef %1)
          to label %43 unwind label %59

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

46:                                               ; preds = %43
  %47 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %45)
          to label %48 unwind label %61

48:                                               ; preds = %46
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = getelementptr inbounds i8, ptr %0, i64 16
  %51 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %47, ptr noundef nonnull @.str.13, ptr noundef nonnull %0, ptr noundef nonnull %49, ptr noundef nonnull %50) #9
  %52 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.14)
          to label %53 unwind label %61

53:                                               ; preds = %48
  %.not = icmp eq ptr %52, null
  br i1 %.not, label %63, label %54

54:                                               ; preds = %53
  %55 = getelementptr inbounds i8, ptr %0, i64 24
  %56 = invoke noundef i32 @_ZNK8tinyxml210XMLElement13QueryBoolTextEPb(ptr noundef nonnull align 8 dereferenceable(120) %52, ptr noundef nonnull %55)
          to label %63 unwind label %61

57:                                               ; preds = %2
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %380

59:                                               ; preds = %41
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %379

61:                                               ; preds = %69, %66, %63, %54, %48, %46, %43
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %379

63:                                               ; preds = %54, %53
  %64 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.15)
          to label %65 unwind label %61

65:                                               ; preds = %63
  %.not117 = icmp eq ptr %64, null
  br i1 %.not117, label %69, label %66

66:                                               ; preds = %65
  %67 = getelementptr inbounds i8, ptr %0, i64 28
  %68 = invoke noundef i32 @_ZNK8tinyxml210XMLElement12QueryIntTextEPi(ptr noundef nonnull align 8 dereferenceable(120) %64, ptr noundef nonnull %67)
          to label %69 unwind label %61

69:                                               ; preds = %66, %65
  %70 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.16)
          to label %71 unwind label %61

71:                                               ; preds = %69
  %72 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %70, ptr noundef nonnull @.str.17)
          to label %.preheader161 unwind label %164

.preheader161:                                    ; preds = %71
  %.not118184 = icmp eq ptr %72, null
  br i1 %.not118184, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader161, %163
  %.0114185 = phi ptr [ %162, %163 ], [ %72, %.preheader161 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %73 = invoke noalias noundef nonnull dereferenceable(256) ptr @_Znwm(i64 noundef 256) #10
          to label %74 unwind label %166

74:                                               ; preds = %.lr.ph
  invoke void @_ZN6CameraC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %73)
          to label %75 unwind label %168

75:                                               ; preds = %74
  store ptr %73, ptr %4, align 8, !tbaa !5
  %76 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0114185, ptr noundef nonnull @.str.18, ptr noundef nonnull %73)
          to label %77 unwind label %166

77:                                               ; preds = %75
  %78 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0114185, ptr noundef nonnull @.str.19)
          to label %79 unwind label %166

79:                                               ; preds = %77
  %80 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %78)
          to label %81 unwind label %166

81:                                               ; preds = %79
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %82, i64 8
  %84 = getelementptr inbounds i8, ptr %82, i64 16
  %85 = getelementptr inbounds i8, ptr %82, i64 24
  %86 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %80, ptr noundef nonnull @.str.13, ptr noundef nonnull %83, ptr noundef nonnull %84, ptr noundef nonnull %85) #9
  %87 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0114185, ptr noundef nonnull @.str.20)
          to label %88 unwind label %166

88:                                               ; preds = %81
  %89 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %87)
          to label %90 unwind label %166

90:                                               ; preds = %88
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 40
  %93 = getelementptr inbounds i8, ptr %91, i64 48
  %94 = getelementptr inbounds i8, ptr %91, i64 56
  %95 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %89, ptr noundef nonnull @.str.13, ptr noundef nonnull %92, ptr noundef nonnull %93, ptr noundef nonnull %94) #9
  %96 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0114185, ptr noundef nonnull @.str.21)
          to label %97 unwind label %166

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

99:                                               ; preds = %97
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 104
  %102 = getelementptr inbounds i8, ptr %100, i64 112
  %103 = getelementptr inbounds i8, ptr %100, i64 120
  %104 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %98, ptr noundef nonnull @.str.13, ptr noundef nonnull %101, ptr noundef nonnull %102, ptr noundef nonnull %103) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #9
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 40
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %6, ptr noundef nonnull align 8 dereferenceable(28) %106)
          to label %107 unwind label %170

107:                                              ; preds = %99
  invoke void @_Z13normalizeVec34Vec3(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 8 %5, ptr noundef nonnull %6)
          to label %108 unwind label %170

108:                                              ; preds = %107
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 40
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %110, ptr noundef nonnull align 8 dereferenceable(28) %5, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %8, ptr noundef nonnull align 8 dereferenceable(28) %110)
          to label %111 unwind label %172

111:                                              ; preds = %108
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i64 104
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %9, ptr noundef nonnull align 8 dereferenceable(28) %113)
          to label %114 unwind label %172

114:                                              ; preds = %111
  invoke void @_Z16crossProductVec34Vec3S_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 8 %7, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %115 unwind label %172

115:                                              ; preds = %114
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %117, ptr noundef nonnull align 8 dereferenceable(28) %7, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %11, ptr noundef nonnull align 8 dereferenceable(28) %117)
          to label %118 unwind label %174

118:                                              ; preds = %115
  invoke void @_Z13normalizeVec34Vec3(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 8 %10, ptr noundef nonnull %11)
          to label %119 unwind label %174

119:                                              ; preds = %118
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %121, ptr noundef nonnull align 8 dereferenceable(28) %10, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  %122 = getelementptr inbounds i8, ptr %120, i64 40
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %13, ptr noundef nonnull align 8 dereferenceable(28) %122)
          to label %123 unwind label %176

123:                                              ; preds = %119
  invoke void @_Z11inverseVec34Vec3(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 8 %12, ptr noundef nonnull %13)
          to label %124 unwind label %176

124:                                              ; preds = %123
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 136
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %126, ptr noundef nonnull align 8 dereferenceable(28) %12, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  %127 = getelementptr inbounds i8, ptr %125, i64 72
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %15, ptr noundef nonnull align 8 dereferenceable(28) %127)
          to label %128 unwind label %178

128:                                              ; preds = %124
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 40
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %16, ptr noundef nonnull align 8 dereferenceable(28) %130)
          to label %131 unwind label %178

131:                                              ; preds = %128
  invoke void @_Z16crossProductVec34Vec3S_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 8 %14, ptr noundef nonnull %15, ptr noundef nonnull %16)
          to label %132 unwind label %178

132:                                              ; preds = %131
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %133, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %134, ptr noundef nonnull align 8 dereferenceable(28) %14, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  invoke void @_ZN4Vec3C1ERKS_(ptr noundef nonnull align 8 dereferenceable(28) %18, ptr noundef nonnull align 8 dereferenceable(28) %134)
          to label %135 unwind label %180

135:                                              ; preds = %132
  invoke void @_Z13normalizeVec34Vec3(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 8 %17, ptr noundef nonnull %18)
          to label %136 unwind label %180

136:                                              ; preds = %135
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %137, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %138, ptr noundef nonnull align 8 dereferenceable(28) %17, i64 28, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  %139 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0114185, ptr noundef nonnull @.str.22)
          to label %140 unwind label %166

140:                                              ; preds = %136
  %141 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %139)
          to label %142 unwind label %166

142:                                              ; preds = %140
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %143, i64 168
  %145 = getelementptr inbounds i8, ptr %143, i64 176
  %146 = getelementptr inbounds i8, ptr %143, i64 184
  %147 = getelementptr inbounds i8, ptr %143, i64 192
  %148 = getelementptr inbounds i8, ptr %143, i64 200
  %149 = getelementptr inbounds i8, ptr %143, i64 208
  %150 = getelementptr inbounds i8, ptr %143, i64 216
  %151 = getelementptr inbounds i8, ptr %143, i64 220
  %152 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %141, ptr noundef nonnull @.str.23, ptr noundef nonnull %144, ptr noundef nonnull %145, ptr noundef nonnull %146, ptr noundef nonnull %147, ptr noundef nonnull %148, ptr noundef nonnull %149, ptr noundef nonnull %150, ptr noundef nonnull %151) #9
  %153 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0114185, ptr noundef nonnull @.str.24)
          to label %154 unwind label %166

154:                                              ; preds = %142
  %155 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %153)
          to label %156 unwind label %166

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %155, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %157 unwind label %182

157:                                              ; preds = %156
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 224
  %160 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %159, ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  invoke void @_ZNSt6vectorIP6CameraSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %161 unwind label %166

161:                                              ; preds = %157
  %162 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0114185, ptr noundef nonnull @.str.17)
          to label %163 unwind label %166

163:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  %.not118 = icmp eq ptr %162, null
  br i1 %.not118, label %._crit_edge, label %.lr.ph, !llvm.loop !14

164:                                              ; preds = %71
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %379

166:                                              ; preds = %161, %157, %154, %142, %140, %136, %97, %90, %88, %81, %79, %77, %75, %.lr.ph
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %184

168:                                              ; preds = %74
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %73, i64 noundef 256) #11
  br label %184

170:                                              ; preds = %107, %99
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  br label %184

172:                                              ; preds = %114, %111, %108
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  br label %184

174:                                              ; preds = %118, %115
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  br label %184

176:                                              ; preds = %123, %119
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  br label %184

178:                                              ; preds = %131, %128, %124
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br label %184

180:                                              ; preds = %135, %132
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br label %184

182:                                              ; preds = %156
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br label %184

184:                                              ; preds = %182, %180, %178, %176, %174, %172, %170, %168, %166
  %.pn148 = phi { ptr, i32 } [ %167, %166 ], [ %183, %182 ], [ %181, %180 ], [ %179, %178 ], [ %177, %176 ], [ %175, %174 ], [ %173, %172 ], [ %171, %170 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %379

._crit_edge:                                      ; preds = %163, %.preheader161
  %185 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.25)
          to label %186 unwind label %213

186:                                              ; preds = %._crit_edge
  %187 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %185, ptr noundef nonnull @.str.26)
          to label %.preheader160 unwind label %215

.preheader160:                                    ; preds = %186
  %.not119186 = icmp eq ptr %187, null
  br i1 %.not119186, label %._crit_edge190, label %.lr.ph189

.lr.ph189:                                        ; preds = %.preheader160, %211
  %.0112188 = phi i32 [ %212, %211 ], [ 1, %.preheader160 ]
  %.0113187 = phi ptr [ %210, %211 ], [ %187, %.preheader160 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %188 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #10
          to label %189 unwind label %217

189:                                              ; preds = %.lr.ph189
  invoke void @_ZN4Vec3C1Ev(ptr noundef nonnull align 8 dereferenceable(28) %188)
          to label %190 unwind label %219

190:                                              ; preds = %189
  store ptr %188, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %191 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #10
          to label %192 unwind label %221

192:                                              ; preds = %190
  invoke void @_ZN5ColorC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %191)
          to label %193 unwind label %223

193:                                              ; preds = %192
  store ptr %191, ptr %22, align 8, !tbaa !5
  %194 = load ptr, ptr %21, align 8, !tbaa !5
  %195 = getelementptr inbounds i8, ptr %194, i64 24
  store i32 %.0112188, ptr %195, align 8, !tbaa !16
  %196 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %.0113187, ptr noundef nonnull @.str.27, ptr noundef null)
          to label %197 unwind label %221

197:                                              ; preds = %193
  %198 = load ptr, ptr %21, align 8, !tbaa !5
  %199 = getelementptr inbounds i8, ptr %198, i64 8
  %200 = getelementptr inbounds i8, ptr %198, i64 16
  %201 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %196, ptr noundef nonnull @.str.13, ptr noundef %198, ptr noundef nonnull %199, ptr noundef nonnull %200) #9
  %202 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %.0113187, ptr noundef nonnull @.str.28, ptr noundef null)
          to label %203 unwind label %221

203:                                              ; preds = %197
  %204 = load ptr, ptr %22, align 8, !tbaa !5
  %205 = getelementptr inbounds i8, ptr %204, i64 8
  %206 = getelementptr inbounds i8, ptr %204, i64 16
  %207 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %202, ptr noundef nonnull @.str.13, ptr noundef %204, ptr noundef nonnull %205, ptr noundef nonnull %206) #9
  invoke void @_ZNSt6vectorIP4Vec3SaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %208 unwind label %221

208:                                              ; preds = %203
  invoke void @_ZNSt6vectorIP5ColorSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %209 unwind label %221

209:                                              ; preds = %208
  %210 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0113187, ptr noundef nonnull @.str.26)
          to label %211 unwind label %221

211:                                              ; preds = %209
  %212 = add nuw nsw i32 %.0112188, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  %.not119 = icmp eq ptr %210, null
  br i1 %.not119, label %._crit_edge190, label %.lr.ph189, !llvm.loop !18

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

215:                                              ; preds = %186
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %379

217:                                              ; preds = %.lr.ph189
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %226

219:                                              ; preds = %189
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %188, i64 noundef 32) #11
  br label %226

221:                                              ; preds = %209, %208, %203, %197, %193, %190
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %225

223:                                              ; preds = %192
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %191, i64 noundef 24) #11
  br label %225

225:                                              ; preds = %223, %221
  %.pn143 = phi { ptr, i32 } [ %222, %221 ], [ %224, %223 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %226

226:                                              ; preds = %225, %219, %217
  %.pn143.pn = phi { ptr, i32 } [ %.pn143, %225 ], [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %379

._crit_edge190:                                   ; preds = %211, %.preheader160
  %227 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.29)
          to label %228 unwind label %245

228:                                              ; preds = %._crit_edge190
  %229 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %227, ptr noundef nonnull @.str.30)
          to label %.preheader159 unwind label %247

.preheader159:                                    ; preds = %228
  %.not120191 = icmp eq ptr %229, null
  br i1 %.not120191, label %._crit_edge194, label %.lr.ph193

.lr.ph193:                                        ; preds = %.preheader159, %244
  %.0111192 = phi ptr [ %243, %244 ], [ %229, %.preheader159 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %230 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #10
          to label %231 unwind label %249

231:                                              ; preds = %.lr.ph193
  invoke void @_ZN11TranslationC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %230)
          to label %232 unwind label %251

232:                                              ; preds = %231
  store ptr %230, ptr %23, align 8, !tbaa !5
  %233 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0111192, ptr noundef nonnull @.str.18, ptr noundef nonnull %230)
          to label %234 unwind label %249

234:                                              ; preds = %232
  %235 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %.0111192, ptr noundef nonnull @.str.31, ptr noundef null)
          to label %236 unwind label %249

236:                                              ; preds = %234
  %237 = load ptr, ptr %23, align 8, !tbaa !5
  %238 = getelementptr inbounds i8, ptr %237, i64 8
  %239 = getelementptr inbounds i8, ptr %237, i64 16
  %240 = getelementptr inbounds i8, ptr %237, i64 24
  %241 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %235, ptr noundef nonnull @.str.13, ptr noundef nonnull %238, ptr noundef nonnull %239, ptr noundef nonnull %240) #9
  invoke void @_ZNSt6vectorIP11TranslationSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %242 unwind label %249

242:                                              ; preds = %236
  %243 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0111192, ptr noundef nonnull @.str.30)
          to label %244 unwind label %249

244:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  %.not120 = icmp eq ptr %243, null
  br i1 %.not120, label %._crit_edge194, label %.lr.ph193, !llvm.loop !19

245:                                              ; preds = %._crit_edge190
  %246 = landingpad { ptr, i32 }
          cleanup
  br label %379

247:                                              ; preds = %._crit_edge194, %228
  %248 = landingpad { ptr, i32 }
          cleanup
  br label %379

249:                                              ; preds = %242, %236, %234, %232, %.lr.ph193
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %253

251:                                              ; preds = %231
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %230, i64 noundef 32) #11
  br label %253

253:                                              ; preds = %251, %249
  %.pn140 = phi { ptr, i32 } [ %250, %249 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %379

._crit_edge194:                                   ; preds = %244, %.preheader159
  %254 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.32)
          to label %255 unwind label %247

255:                                              ; preds = %._crit_edge194
  %256 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %254, ptr noundef nonnull @.str.33)
          to label %.preheader158 unwind label %272

.preheader158:                                    ; preds = %255
  %.not121195 = icmp eq ptr %256, null
  br i1 %.not121195, label %._crit_edge198, label %.lr.ph197

.lr.ph197:                                        ; preds = %.preheader158, %271
  %.0110196 = phi ptr [ %270, %271 ], [ %256, %.preheader158 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  %257 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #10
          to label %258 unwind label %274

258:                                              ; preds = %.lr.ph197
  invoke void @_ZN7ScalingC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %257)
          to label %259 unwind label %276

259:                                              ; preds = %258
  store ptr %257, ptr %24, align 8, !tbaa !5
  %260 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0110196, ptr noundef nonnull @.str.18, ptr noundef nonnull %257)
          to label %261 unwind label %274

261:                                              ; preds = %259
  %262 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %.0110196, ptr noundef nonnull @.str.31, ptr noundef null)
          to label %263 unwind label %274

263:                                              ; preds = %261
  %264 = load ptr, ptr %24, align 8, !tbaa !5
  %265 = getelementptr inbounds i8, ptr %264, i64 8
  %266 = getelementptr inbounds i8, ptr %264, i64 16
  %267 = getelementptr inbounds i8, ptr %264, i64 24
  %268 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %262, ptr noundef nonnull @.str.13, ptr noundef nonnull %265, ptr noundef nonnull %266, ptr noundef nonnull %267) #9
  invoke void @_ZNSt6vectorIP7ScalingSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %269 unwind label %274

269:                                              ; preds = %263
  %270 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0110196, ptr noundef nonnull @.str.33)
          to label %271 unwind label %274

271:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  %.not121 = icmp eq ptr %270, null
  br i1 %.not121, label %._crit_edge198, label %.lr.ph197, !llvm.loop !20

272:                                              ; preds = %._crit_edge198, %255
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %379

274:                                              ; preds = %269, %263, %261, %259, %.lr.ph197
  %275 = landingpad { ptr, i32 }
          cleanup
  br label %278

276:                                              ; preds = %258
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %257, i64 noundef 32) #11
  br label %278

278:                                              ; preds = %276, %274
  %.pn137 = phi { ptr, i32 } [ %275, %274 ], [ %277, %276 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  br label %379

._crit_edge198:                                   ; preds = %271, %.preheader158
  %279 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.34)
          to label %280 unwind label %272

280:                                              ; preds = %._crit_edge198
  %281 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %279, ptr noundef nonnull @.str.35)
          to label %.preheader157 unwind label %298

.preheader157:                                    ; preds = %280
  %.not122199 = icmp eq ptr %281, null
  br i1 %.not122199, label %._crit_edge202, label %.lr.ph201

.lr.ph201:                                        ; preds = %.preheader157, %297
  %.0109200 = phi ptr [ %296, %297 ], [ %281, %.preheader157 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %282 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #10
          to label %283 unwind label %300

283:                                              ; preds = %.lr.ph201
  invoke void @_ZN8RotationC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %282)
          to label %284 unwind label %302

284:                                              ; preds = %283
  store ptr %282, ptr %25, align 8, !tbaa !5
  %285 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0109200, ptr noundef nonnull @.str.18, ptr noundef nonnull %282)
          to label %286 unwind label %300

286:                                              ; preds = %284
  %287 = invoke noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120) %.0109200, ptr noundef nonnull @.str.31, ptr noundef null)
          to label %288 unwind label %300

288:                                              ; preds = %286
  %289 = load ptr, ptr %25, align 8, !tbaa !5
  %290 = getelementptr inbounds i8, ptr %289, i64 8
  %291 = getelementptr inbounds i8, ptr %289, i64 16
  %292 = getelementptr inbounds i8, ptr %289, i64 24
  %293 = getelementptr inbounds i8, ptr %289, i64 32
  %294 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %287, ptr noundef nonnull @.str.36, ptr noundef nonnull %290, ptr noundef nonnull %291, ptr noundef nonnull %292, ptr noundef nonnull %293) #9
  invoke void @_ZNSt6vectorIP8RotationSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %295 unwind label %300

295:                                              ; preds = %288
  %296 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0109200, ptr noundef nonnull @.str.35)
          to label %297 unwind label %300

297:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  %.not122 = icmp eq ptr %296, null
  br i1 %.not122, label %._crit_edge202, label %.lr.ph201, !llvm.loop !21

298:                                              ; preds = %._crit_edge202, %280
  %299 = landingpad { ptr, i32 }
          cleanup
  br label %379

300:                                              ; preds = %295, %288, %286, %284, %.lr.ph201
  %301 = landingpad { ptr, i32 }
          cleanup
  br label %304

302:                                              ; preds = %283
  %303 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %282, i64 noundef 40) #11
  br label %304

304:                                              ; preds = %302, %300
  %.pn134 = phi { ptr, i32 } [ %301, %300 ], [ %303, %302 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %379

._crit_edge202:                                   ; preds = %297, %.preheader157
  %305 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull @.str.37)
          to label %306 unwind label %298

306:                                              ; preds = %._crit_edge202
  %307 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %305, ptr noundef nonnull @.str.38)
          to label %.preheader156 unwind label %335

.preheader156:                                    ; preds = %306
  %.not123211 = icmp eq ptr %307, null
  br i1 %.not123211, label %._crit_edge214, label %.lr.ph213

.lr.ph213:                                        ; preds = %.preheader156, %377
  %.0108212 = phi ptr [ %376, %377 ], [ %307, %.preheader156 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %308 = invoke noalias noundef nonnull dereferenceable(96) ptr @_Znwm(i64 noundef 96) #10
          to label %309 unwind label %337

309:                                              ; preds = %.lr.ph213
  invoke void @_ZN5ModelC1Ev(ptr noundef nonnull align 8 dereferenceable(96) %308)
          to label %310 unwind label %339

310:                                              ; preds = %309
  store ptr %308, ptr %26, align 8, !tbaa !5
  %311 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0108212, ptr noundef nonnull @.str.18, ptr noundef nonnull %308)
          to label %312 unwind label %337

312:                                              ; preds = %310
  %313 = load ptr, ptr %26, align 8, !tbaa !5
  %314 = getelementptr inbounds i8, ptr %313, i64 4
  %315 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %.0108212, ptr noundef nonnull @.str.39, ptr noundef nonnull %314)
          to label %316 unwind label %337

316:                                              ; preds = %312
  %317 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0108212, ptr noundef nonnull @.str.40)
          to label %318 unwind label %341

318:                                              ; preds = %316
  %319 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %317, ptr noundef nonnull @.str.41)
          to label %320 unwind label %343

320:                                              ; preds = %318
  %321 = load ptr, ptr %26, align 8, !tbaa !5
  %322 = getelementptr inbounds i8, ptr %321, i64 8
  %323 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %317, ptr noundef nonnull @.str.42, ptr noundef nonnull %322)
          to label %.preheader155 unwind label %343

.preheader155:                                    ; preds = %320
  %.not124203 = icmp eq ptr %319, null
  br i1 %.not124203, label %._crit_edge206, label %.lr.ph205

.lr.ph205:                                        ; preds = %.preheader155, %334
  %.083204 = phi ptr [ %333, %334 ], [ %319, %.preheader155 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #9
  %324 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %.083204)
          to label %325 unwind label %345

325:                                              ; preds = %.lr.ph205
  %326 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %324, ptr noundef nonnull @.str.43, ptr noundef nonnull %27, ptr noundef nonnull %28) #9
  %327 = load ptr, ptr %26, align 8, !tbaa !5
  %328 = getelementptr inbounds i8, ptr %327, i64 40
  invoke void @_ZNSt6vectorIcSaIcEE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(24) %328, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %329 unwind label %345

329:                                              ; preds = %325
  %330 = load ptr, ptr %26, align 8, !tbaa !5
  %331 = getelementptr inbounds i8, ptr %330, i64 16
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %331, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %332 unwind label %345

332:                                              ; preds = %329
  %333 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.083204, ptr noundef nonnull @.str.41)
          to label %334 unwind label %345

334:                                              ; preds = %332
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #9
  %.not124 = icmp eq ptr %333, null
  br i1 %.not124, label %._crit_edge206, label %.lr.ph205, !llvm.loop !22

335:                                              ; preds = %306
  %336 = landingpad { ptr, i32 }
          cleanup
  br label %379

337:                                              ; preds = %312, %310, %.lr.ph213
  %338 = landingpad { ptr, i32 }
          cleanup
  br label %378

339:                                              ; preds = %309
  %340 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %308, i64 noundef 96) #11
  br label %378

341:                                              ; preds = %316
  %342 = landingpad { ptr, i32 }
          cleanup
  br label %378

343:                                              ; preds = %320, %318
  %344 = landingpad { ptr, i32 }
          cleanup
  br label %378

345:                                              ; preds = %332, %329, %325, %.lr.ph205
  %346 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #9
  br label %378

._crit_edge206:                                   ; preds = %334, %.preheader155
  %347 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0108212, ptr noundef nonnull @.str.44)
          to label %348 unwind label %366

348:                                              ; preds = %._crit_edge206
  %349 = invoke noundef ptr @_ZN8tinyxml27XMLNode17FirstChildElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %347, ptr noundef nonnull @.str.45)
          to label %350 unwind label %368

350:                                              ; preds = %348
  %351 = load ptr, ptr %26, align 8, !tbaa !5
  %352 = getelementptr inbounds i8, ptr %351, i64 64
  %353 = invoke noundef i32 @_ZNK8tinyxml210XMLElement17QueryIntAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(120) %347, ptr noundef nonnull @.str.42, ptr noundef nonnull %352)
          to label %.preheader unwind label %368

.preheader:                                       ; preds = %350
  %.not125207 = icmp eq ptr %349, null
  br i1 %.not125207, label %._crit_edge210, label %.lr.ph209

.lr.ph209:                                        ; preds = %.preheader, %365
  %.0208 = phi ptr [ %364, %365 ], [ %349, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #9
  %354 = invoke noundef ptr @_ZNK8tinyxml210XMLElement7GetTextEv(ptr noundef nonnull align 8 dereferenceable(120) %.0208)
          to label %355 unwind label %370

355:                                              ; preds = %.lr.ph209
  %356 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %354, ptr noundef nonnull @.str.46, ptr noundef nonnull %29, ptr noundef nonnull %30, ptr noundef nonnull %31) #9
  %357 = load ptr, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #9
  %358 = load i32, ptr %29, align 4, !tbaa !12
  %359 = load i32, ptr %30, align 4, !tbaa !12
  %360 = load i32, ptr %31, align 4, !tbaa !12
  invoke void @_ZN8TriangleC1Eiii(ptr noundef nonnull align 4 dereferenceable(12) %32, i32 noundef %358, i32 noundef %359, i32 noundef %360)
          to label %361 unwind label %372

361:                                              ; preds = %355
  %362 = getelementptr inbounds i8, ptr %357, i64 72
  invoke void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %362, ptr noundef nonnull align 4 dereferenceable(12) %32)
          to label %363 unwind label %372

363:                                              ; preds = %361
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #9
  %364 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0208, ptr noundef nonnull @.str.45)
          to label %365 unwind label %370

365:                                              ; preds = %363
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #9
  %.not125 = icmp eq ptr %364, null
  br i1 %.not125, label %._crit_edge210, label %.lr.ph209, !llvm.loop !23

366:                                              ; preds = %._crit_edge206
  %367 = landingpad { ptr, i32 }
          cleanup
  br label %378

368:                                              ; preds = %375, %._crit_edge210, %350, %348
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %378

370:                                              ; preds = %363, %.lr.ph209
  %371 = landingpad { ptr, i32 }
          cleanup
  br label %374

372:                                              ; preds = %361, %355
  %373 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #9
  br label %374

374:                                              ; preds = %372, %370
  %.pn = phi { ptr, i32 } [ %371, %370 ], [ %373, %372 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #9
  br label %378

._crit_edge210:                                   ; preds = %365, %.preheader
  invoke void @_ZNSt6vectorIP5ModelSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %375 unwind label %368

375:                                              ; preds = %._crit_edge210
  %376 = invoke noundef ptr @_ZN8tinyxml27XMLNode18NextSiblingElementEPKc(ptr noundef nonnull align 8 dereferenceable(104) %.0108212, ptr noundef nonnull @.str.38)
          to label %377 unwind label %368

377:                                              ; preds = %375
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  %.not123 = icmp eq ptr %376, null
  br i1 %.not123, label %._crit_edge214, label %.lr.ph213, !llvm.loop !24

378:                                              ; preds = %341, %366, %374, %368, %345, %343, %339, %337
  %.pn129.pn.pn = phi { ptr, i32 } [ %338, %337 ], [ %340, %339 ], [ %342, %341 ], [ %346, %345 ], [ %344, %343 ], [ %367, %366 ], [ %.pn, %374 ], [ %369, %368 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br label %379

._crit_edge214:                                   ; preds = %377, %.preheader156
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %3) #9
  call void @llvm.lifetime.end.p0(i64 704, ptr nonnull %3) #9
  ret void

379:                                              ; preds = %61, %184, %213, %226, %245, %272, %278, %335, %378, %304, %298, %253, %247, %215, %164, %59
  %.pn148.pn.pn.pn.pn = phi { ptr, i32 } [ %60, %59 ], [ %62, %61 ], [ %165, %164 ], [ %.pn148, %184 ], [ %214, %213 ], [ %216, %215 ], [ %.pn143.pn, %226 ], [ %246, %245 ], [ %.pn140, %253 ], [ %248, %247 ], [ %.pn137, %278 ], [ %273, %272 ], [ %.pn134, %304 ], [ %299, %298 ], [ %.pn129.pn.pn, %378 ], [ %336, %335 ]
  call void @_ZN8tinyxml211XMLDocumentD1Ev(ptr noundef nonnull align 8 dereferenceable(704) %3) #9
  br label %380

380:                                              ; preds = %379, %57
  %.pn148.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn148.pn.pn.pn.pn, %379 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 704, ptr nonnull %3) #9
  call void @_ZNSt6vectorIP5ModelSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #9
  call void @_ZNSt6vectorIP11TranslationSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  call void @_ZNSt6vectorIP8RotationSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  call void @_ZNSt6vectorIP7ScalingSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #9
  call void @_ZNSt6vectorIP5ColorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  call void @_ZNSt6vectorIP4Vec3SaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  call void @_ZNSt6vectorIP6CameraSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  call void @_ZNSt6vectorIS_I5ColorSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  resume { ptr, i32 } %.pn148.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare noundef i32 @_ZNK8tinyxml210XMLElement13QueryBoolTextEPb(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) local_unnamed_addr #2

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

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

declare void @_ZN6CameraC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2

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

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

declare void @_Z11inverseVec34Vec3(ptr dead_on_unwind writable sret(%class.Vec3) align 8, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

declare noundef ptr @_ZNK8tinyxml210XMLElement9AttributeEPKcS2_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare void @_ZN11TranslationC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

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

declare void @_ZN7ScalingC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

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

declare void @_ZN8RotationC1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2

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

declare void @_ZN5ModelC1Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #2

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

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

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

declare void @_ZN8TriangleC1Eiii(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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