; LLVM IR from Sonryle/JoePhys :: testbed/src/SceneManager.ll (ZN12SceneManager11SwitchSceneEi)

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

%struct.Settings = type <{ i32, i32, i32, i32, i8, [3 x i8], float, float, i8, [3 x i8], %struct.vec2, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, i32, i32, i32, float, i8, [3 x i8] }>
%struct.vec2 = type { float, float }
%struct.Palette = type { [16 x %struct.colour] }
%struct.colour = type { float, float, float, float }
%struct.ImVec4 = type { float, float, float, float }
%struct.SceneManager = type <{ ptr, i32, [4 x i8] }>
%struct.Scene = type <{ ptr, %struct.SceneColours, ptr, ptr, i32, [4 x i8] }>
%struct.SceneColours = type { i32, i32, i32, i32, i32, i32 }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [56 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImVec2 = type { float, float }

@settings = external global %struct.Settings, align 4
@palette = external global %struct.Palette, align 4
@glad_glClearColor = external global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12SceneManager11SwitchSceneEi(ptr noundef nonnull align 8 dereferenceable(12) %0, i32 noundef %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %struct.colour, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %struct.ImVec4, align 4
  %13 = alloca %struct.ImVec4, align 4
  %14 = alloca %struct.ImVec4, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %15 = load ptr, ptr %3, align 8
  %16 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = icmp eq ptr %17, null
  br i1 %18, label %23, label %19

19:                                               ; preds = %2
  %20 = load ptr, ptr %17, align 8, !tbaa !13
  %21 = getelementptr inbounds ptr, ptr %20, i64 1
  %22 = load ptr, ptr %21, align 8
  call void %22(ptr noundef nonnull align 8 dereferenceable(52) %17) #9
  br label %23

23:                                               ; preds = %19, %2
  %24 = load i32, ptr %4, align 4, !tbaa !9
  switch i32 %24, label %97 [
    i32 0, label %25
    i32 1, label %33
    i32 2, label %41
    i32 3, label %49
    i32 4, label %57
    i32 5, label %65
    i32 6, label %73
    i32 7, label %81
    i32 8, label %89
  ]

25:                                               ; preds = %23
  %26 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %26, i8 0, i64 56, i1 false)
  invoke void @_ZN18NewtonsCradleSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %26)
          to label %27 unwind label %29

27:                                               ; preds = %25
  %28 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %26, ptr %28, align 8, !tbaa !11
  br label %105

29:                                               ; preds = %25
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %5, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %26, i64 noundef 56) #11
  br label %192

33:                                               ; preds = %23
  %34 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %34, i8 0, i64 56, i1 false)
  invoke void @_ZN10ClothSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %34)
          to label %35 unwind label %37

35:                                               ; preds = %33
  %36 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %34, ptr %36, align 8, !tbaa !11
  br label %105

37:                                               ; preds = %33
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %5, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %34, i64 noundef 56) #11
  br label %192

41:                                               ; preds = %23
  %42 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %42, i8 0, i64 56, i1 false)
  invoke void @_ZN9RopeSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %42)
          to label %43 unwind label %45

43:                                               ; preds = %41
  %44 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %42, ptr %44, align 8, !tbaa !11
  br label %105

45:                                               ; preds = %41
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %5, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %42, i64 noundef 56) #11
  br label %192

49:                                               ; preds = %23
  %50 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %50, i8 0, i64 56, i1 false)
  invoke void @_ZN12PinballSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %50)
          to label %51 unwind label %53

51:                                               ; preds = %49
  %52 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %50, ptr %52, align 8, !tbaa !11
  br label %105

53:                                               ; preds = %49
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %50, i64 noundef 56) #11
  br label %192

57:                                               ; preds = %23
  %58 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %58, i8 0, i64 56, i1 false)
  invoke void @_ZN14HourGlassSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %58)
          to label %59 unwind label %61

59:                                               ; preds = %57
  %60 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %58, ptr %60, align 8, !tbaa !11
  br label %105

61:                                               ; preds = %57
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %5, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %58, i64 noundef 56) #11
  br label %192

65:                                               ; preds = %23
  %66 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %66, i8 0, i64 56, i1 false)
  invoke void @_ZN17WreckingBallSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %66)
          to label %67 unwind label %69

67:                                               ; preds = %65
  %68 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %66, ptr %68, align 8, !tbaa !11
  br label %105

69:                                               ; preds = %65
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %5, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %66, i64 noundef 56) #11
  br label %192

73:                                               ; preds = %23
  %74 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %74, i8 0, i64 56, i1 false)
  invoke void @_ZN12WeightsSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %74)
          to label %75 unwind label %77

75:                                               ; preds = %73
  %76 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %74, ptr %76, align 8, !tbaa !11
  br label %105

77:                                               ; preds = %73
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %5, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %74, i64 noundef 56) #11
  br label %192

81:                                               ; preds = %23
  %82 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  call void @llvm.memset.p0.i64(ptr align 16 %82, i8 0, i64 56, i1 false)
  invoke void @_ZN18AirResistanceSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %82)
          to label %83 unwind label %85

83:                                               ; preds = %81
  %84 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %82, ptr %84, align 8, !tbaa !11
  br label %105

85:                                               ; preds = %81
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %5, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %82, i64 noundef 56) #11
  br label %192

89:                                               ; preds = %23
  %90 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  invoke void @_ZN16ColourDebugSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %90)
          to label %91 unwind label %93

91:                                               ; preds = %89
  %92 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %90, ptr %92, align 8, !tbaa !11
  br label %105

93:                                               ; preds = %89
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %5, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %90, i64 noundef 56) #11
  br label %192

97:                                               ; preds = %23
  %98 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
  invoke void @_ZN16ColourDebugSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %98)
          to label %99 unwind label %101

99:                                               ; preds = %97
  %100 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  store ptr %98, ptr %100, align 8, !tbaa !11
  br label %105

101:                                              ; preds = %97
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %5, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %98, i64 noundef 56) #11
  br label %192

105:                                              ; preds = %99, %91, %83, %75, %67, %59, %51, %43, %35, %27
  %106 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !15
  %108 = load i32, ptr %4, align 4, !tbaa !9
  %109 = icmp ne i32 %107, %108
  br i1 %109, label %110, label %116

110:                                              ; preds = %105
  call void @_ZN8Settings5ResetEv(ptr noundef nonnull align 4 dereferenceable(81) @settings)
  %111 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %113 = load ptr, ptr %112, align 8, !tbaa !13
  %114 = getelementptr inbounds ptr, ptr %113, i64 5
  %115 = load ptr, ptr %114, align 8
  call void %115(ptr noundef nonnull align 8 dereferenceable(52) %112)
  br label %116

116:                                              ; preds = %110, %105
  %117 = load i32, ptr %4, align 4, !tbaa !9
  %118 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 1
  store i32 %117, ptr %118, align 8, !tbaa !15
  %119 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !11
  %121 = load ptr, ptr %120, align 8, !tbaa !13
  %122 = getelementptr inbounds ptr, ptr %121, i64 4
  %123 = load ptr, ptr %122, align 8
  call void %123(ptr noundef nonnull align 8 dereferenceable(52) %120)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %124 = call noundef nonnull align 4 dereferenceable(1168) ptr @_ZN5ImGui8GetStyleEv()
  store ptr %124, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  %125 = getelementptr inbounds %struct.SceneManager, ptr %15, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !11
  %127 = getelementptr inbounds %struct.Scene, ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds %struct.SceneColours, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 8, !tbaa !16
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %130
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %131, i64 16, i1 false), !tbaa.struct !19
  %132 = load ptr, ptr @glad_glClearColor, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !22
  %135 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 1
  %136 = load float, ptr %135, align 4, !tbaa !24
  %137 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 2
  %138 = load float, ptr %137, align 4, !tbaa !25
  %139 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 3
  %140 = load float, ptr %139, align 4, !tbaa !26
  call void %132(float noundef %134, float noundef %136, float noundef %138, float noundef %140)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store float 0x3FDCCCCCC0000000, ptr %9, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store float 0x3FE3333340000000, ptr %10, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store float 0x3FE3333340000000, ptr %11, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  %141 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 0
  %142 = load float, ptr %141, align 4, !tbaa !22
  %143 = load float, ptr %9, align 4, !tbaa !20
  %144 = fmul float %142, %143
  %145 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 1
  %146 = load float, ptr %145, align 4, !tbaa !24
  %147 = load float, ptr %9, align 4, !tbaa !20
  %148 = fmul float %146, %147
  %149 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 2
  %150 = load float, ptr %149, align 4, !tbaa !25
  %151 = load float, ptr %9, align 4, !tbaa !20
  %152 = fmul float %150, %151
  %153 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 3
  %154 = load float, ptr %153, align 4, !tbaa !26
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %144, float noundef %148, float noundef %152, float noundef %154)
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiStyle, ptr %155, i32 0, i32 50
  %157 = getelementptr inbounds [56 x %struct.ImVec4], ptr %156, i64 0, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %157, ptr align 4 %12, i64 16, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %158 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !22
  %160 = load float, ptr %10, align 4, !tbaa !20
  %161 = fmul float %159, %160
  %162 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 1
  %163 = load float, ptr %162, align 4, !tbaa !24
  %164 = load float, ptr %10, align 4, !tbaa !20
  %165 = fmul float %163, %164
  %166 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 2
  %167 = load float, ptr %166, align 4, !tbaa !25
  %168 = load float, ptr %10, align 4, !tbaa !20
  %169 = fmul float %167, %168
  %170 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 3
  %171 = load float, ptr %170, align 4, !tbaa !26
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %161, float noundef %165, float noundef %169, float noundef %171)
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiStyle, ptr %172, i32 0, i32 50
  %174 = getelementptr inbounds [56 x %struct.ImVec4], ptr %173, i64 0, i64 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %174, ptr align 4 %13, i64 16, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  %175 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 0
  %176 = load float, ptr %175, align 4, !tbaa !22
  %177 = load float, ptr %11, align 4, !tbaa !20
  %178 = fmul float %176, %177
  %179 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 1
  %180 = load float, ptr %179, align 4, !tbaa !24
  %181 = load float, ptr %11, align 4, !tbaa !20
  %182 = fmul float %180, %181
  %183 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 2
  %184 = load float, ptr %183, align 4, !tbaa !25
  %185 = load float, ptr %11, align 4, !tbaa !20
  %186 = fmul float %184, %185
  %187 = getelementptr inbounds %struct.colour, ptr %8, i32 0, i32 3
  %188 = load float, ptr %187, align 4, !tbaa !26
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef %178, float noundef %182, float noundef %186, float noundef %188)
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiStyle, ptr %189, i32 0, i32 50
  %191 = getelementptr inbounds [56 x %struct.ImVec4], ptr %190, i64 0, i64 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %191, ptr align 4 %14, i64 16, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  ret void

192:                                              ; preds = %101, %93, %85, %77, %69, %61, %53, %45, %37, %29
  %193 = load ptr, ptr %5, align 8
  %194 = load i32, ptr %6, align 4
  %195 = insertvalue { ptr, i32 } poison, ptr %193, 0
  %196 = insertvalue { ptr, i32 } %195, i32 %194, 1
  resume { ptr, i32 } %196
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN18NewtonsCradleSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ClothSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9RopeSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12PinballSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14HourGlassSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN17WreckingBallSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12WeightsSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN18AirResistanceSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ColourDebugSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #0 align 2

declare void @_ZN8Settings5ResetEv(ptr noundef nonnull align 4 dereferenceable(81)) #5

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

declare noundef nonnull align 4 dereferenceable(1168) ptr @_ZN5ImGui8GetStyleEv() #5

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

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

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

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS12SceneManager", !6, i64 0, !10, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!12, !10, i64 8}
!16 = !{!17, !10, i64 8}
!17 = !{!"_ZTS5Scene", !18, i64 8, !6, i64 32, !6, i64 40, !10, i64 48}
!18 = !{!"_ZTS12SceneColours", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!19 = !{i64 0, i64 4, !20, i64 4, i64 4, !20, i64 8, i64 4, !20, i64 12, i64 4, !20}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!23, !21, i64 0}
!23 = !{!"_ZTS6colour", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!24 = !{!23, !21, i64 4}
!25 = !{!23, !21, i64 8}
!26 = !{!23, !21, i64 12}


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

%struct.Settings = type <{ i32, i32, i32, i32, i8, [3 x i8], float, float, i8, [3 x i8], %struct.vec2, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, i32, i32, i32, float, i8, [3 x i8] }>
%struct.vec2 = type { float, float }
%struct.Palette = type { [16 x %struct.colour] }
%struct.colour = type { float, float, float, float }
%struct.ImVec4 = type { float, float, float, float }

@settings = external global %struct.Settings, align 4
@palette = external local_unnamed_addr global %struct.Palette, align 4
@glad_glClearColor = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12SceneManager11SwitchSceneEi(ptr nocapture noundef nonnull align 8 dereferenceable(12) %0, i32 noundef %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.ImVec4, align 4
  %4 = alloca %struct.ImVec4, align 4
  %5 = alloca %struct.ImVec4, align 4
  %6 = load ptr, ptr %0, align 8, !tbaa !5
  %7 = icmp eq ptr %6, null
  br i1 %7, label %12, label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %6, align 8, !tbaa !11
  %10 = getelementptr inbounds i8, ptr %9, i64 8
  %11 = load ptr, ptr %10, align 8
  tail call void %11(ptr noundef nonnull align 8 dereferenceable(52) %6) #9
  br label %12

12:                                               ; preds = %8, %2
  %13 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #10
  switch i32 %1, label %41 [
    i32 0, label %14
    i32 1, label %17
    i32 2, label %20
    i32 3, label %23
    i32 4, label %26
    i32 5, label %29
    i32 6, label %32
    i32 7, label %35
    i32 8, label %38
  ]

14:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN18NewtonsCradleSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %15

15:                                               ; preds = %14
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %73

17:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN10ClothSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %18

18:                                               ; preds = %17
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %73

20:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN9RopeSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %21

21:                                               ; preds = %20
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %73

23:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN12PinballSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %24

24:                                               ; preds = %23
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %73

26:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN14HourGlassSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %27

27:                                               ; preds = %26
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %73

29:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN17WreckingBallSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %30

30:                                               ; preds = %29
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %73

32:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN12WeightsSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %33

33:                                               ; preds = %32
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %73

35:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %13, i8 0, i64 56, i1 false)
  invoke void @_ZN18AirResistanceSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %36

36:                                               ; preds = %35
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %73

38:                                               ; preds = %12
  invoke void @_ZN16ColourDebugSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %39

39:                                               ; preds = %38
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %73

41:                                               ; preds = %12
  invoke void @_ZN16ColourDebugSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %44 unwind label %42

42:                                               ; preds = %41
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %73

44:                                               ; preds = %41, %38, %35, %32, %29, %26, %23, %20, %17, %14
  store ptr %13, ptr %0, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %0, i64 8
  %46 = load i32, ptr %45, align 8, !tbaa !13
  %.not = icmp eq i32 %46, %1
  br i1 %.not, label %52, label %47

47:                                               ; preds = %44
  tail call void @_ZN8Settings5ResetEv(ptr noundef nonnull align 4 dereferenceable(81) @settings)
  %48 = load ptr, ptr %0, align 8, !tbaa !5
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %49, i64 40
  %51 = load ptr, ptr %50, align 8
  tail call void %51(ptr noundef nonnull align 8 dereferenceable(52) %48)
  %.pre = load ptr, ptr %0, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %47, %44
  %53 = phi ptr [ %.pre, %47 ], [ %13, %44 ]
  store i32 %1, ptr %45, align 8, !tbaa !13
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  %55 = getelementptr inbounds i8, ptr %54, i64 32
  %56 = load ptr, ptr %55, align 8
  tail call void %56(ptr noundef nonnull align 8 dereferenceable(52) %53)
  %57 = tail call noundef nonnull align 4 dereferenceable(1168) ptr @_ZN5ImGui8GetStyleEv()
  %58 = load ptr, ptr %0, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load i32, ptr %59, align 8, !tbaa !14
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [16 x %struct.colour], ptr @palette, i64 0, i64 %61
  %.sroa.0.0.copyload = load float, ptr %62, align 4, !tbaa !17
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 4
  %.sroa.7.0.copyload = load float, ptr %.sroa.7.0..sroa_idx, align 4, !tbaa !17
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 8
  %.sroa.11.0.copyload = load float, ptr %.sroa.11.0..sroa_idx, align 4, !tbaa !17
  %.sroa.15.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 12
  %.sroa.15.0.copyload = load float, ptr %.sroa.15.0..sroa_idx, align 4, !tbaa !17
  %63 = load ptr, ptr @glad_glClearColor, align 8, !tbaa !19
  tail call void %63(float noundef %.sroa.0.0.copyload, float noundef %.sroa.7.0.copyload, float noundef %.sroa.11.0.copyload, float noundef %.sroa.15.0.copyload)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #9
  %64 = fmul float %.sroa.0.0.copyload, 0x3FDCCCCCC0000000
  %65 = fmul float %.sroa.7.0.copyload, 0x3FDCCCCCC0000000
  %66 = fmul float %.sroa.11.0.copyload, 0x3FDCCCCCC0000000
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef %64, float noundef %65, float noundef %66, float noundef %.sroa.15.0.copyload)
  %67 = getelementptr inbounds i8, ptr %57, i64 284
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %67, ptr noundef nonnull align 4 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %68 = fmul float %.sroa.0.0.copyload, 0x3FE3333340000000
  %69 = fmul float %.sroa.7.0.copyload, 0x3FE3333340000000
  %70 = fmul float %.sroa.11.0.copyload, 0x3FE3333340000000
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef %68, float noundef %69, float noundef %70, float noundef %.sroa.15.0.copyload)
  %71 = getelementptr inbounds i8, ptr %57, i64 460
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %71, ptr noundef nonnull align 4 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %68, float noundef %69, float noundef %70, float noundef %.sroa.15.0.copyload)
  %72 = getelementptr inbounds i8, ptr %57, i64 428
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %72, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  ret void

73:                                               ; preds = %42, %39, %36, %33, %30, %27, %24, %21, %18, %15
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %40, %39 ], [ %37, %36 ], [ %34, %33 ], [ %31, %30 ], [ %28, %27 ], [ %25, %24 ], [ %22, %21 ], [ %19, %18 ], [ %16, %15 ]
  tail call void @_ZdlPvm(ptr noundef nonnull %13, i64 noundef 56) #11
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN18NewtonsCradleSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ClothSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9RopeSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12PinballSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14HourGlassSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN17WreckingBallSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12WeightsSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN18AirResistanceSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ColourDebugSceneC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #0 align 2

declare void @_ZN8Settings5ResetEv(ptr noundef nonnull align 4 dereferenceable(81)) local_unnamed_addr #5

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

declare noundef nonnull align 4 dereferenceable(1168) ptr @_ZN5ImGui8GetStyleEv() local_unnamed_addr #5

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

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

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

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


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