; LLVM IR from jrouwe/JoltPhysics :: Samples/SamplesApp.ll (ZN10SamplesApp11UpdateFrameEf)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.JPH::STLAllocator" = type { i8 }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.Test::ProcessInputParams" = type { float, ptr, %struct.CameraState }
%struct.CameraState = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8] }>
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"struct.SamplesApp::PlayBackFrame" = type { %"class.JPH::StateRecorderImpl", %"class.JPH::StateRecorderImpl" }
%"class.JPH::StateRecorderImpl" = type { %"class.JPH::StateRecorder.base", %"class.std::__cxx11::basic_stringstream" }
%"class.JPH::StateRecorder.base" = type <{ %"class.JPH::StreamIn", %"class.JPH::StreamOut", i8, i8 }>
%"class.JPH::StreamIn" = type { ptr }
%"class.JPH::StreamOut" = type { ptr }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string.219" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string.219" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.223 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.223 = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.SamplesApp = type <{ %class.Application, i32, float, i32, [4 x i8], ptr, ptr, ptr, %class.BPLayerInterfaceImpl, %class.ObjectVsBroadPhaseLayerFilterImpl, %class.ObjectLayerPairFilterImpl, ptr, ptr, %"struct.JPH::PhysicsSettings", [4 x i8], %"class.JPH::UnorderedMap", ptr, ptr, ptr, i32, i8, [3 x i8], float, i8, i8, i8, i8, %"class.JPH::Array", i32, i32, i32, i32, i8, [15 x i8], %"class.JPH::Vec3", i8, i8, i8, i8, float, i8, i8, i8, i8, i32, i8, [3 x i8], i32, float, i8, [3 x i8], float, float, i8, [7 x i8], %"class.JPH::Vec3", i8, [7 x i8], ptr, %"class.JPH::BodyID", [4 x i8], %"class.JPH::Ref", i32, float, float, i32, %"class.std::chrono::duration.3", [8 x i8] }>
%class.Application = type { ptr, [8 x i8], %struct.CameraState, %struct.CameraState, ptr, ptr, ptr, %"class.JPH::RefConst", ptr, ptr, ptr, ptr, %"class.std::__cxx11::basic_string", %"class.std::chrono::time_point", i8, i8, i8, i8, float, float, float, float, i32 }
%"class.JPH::RefConst" = type { ptr }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%class.BPLayerInterfaceImpl = type <{ %"class.JPH::BroadPhaseLayerInterface", [2 x %"class.JPH::BroadPhaseLayer"], [6 x i8] }>
%"class.JPH::BroadPhaseLayerInterface" = type { ptr }
%"class.JPH::BroadPhaseLayer" = type { i8 }
%class.ObjectVsBroadPhaseLayerFilterImpl = type { %"class.JPH::ObjectVsBroadPhaseLayerFilter" }
%"class.JPH::ObjectVsBroadPhaseLayerFilter" = type { ptr }
%class.ObjectLayerPairFilterImpl = type { %"class.JPH::ObjectLayerPairFilter" }
%"class.JPH::ObjectLayerPairFilter" = type { ptr }
%"struct.JPH::PhysicsSettings" = type <{ i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, i32, i32, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::Ref" = type { ptr }
%"class.std::chrono::duration.3" = type { i64 }

@.str.143 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [27 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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp9StartTestEPKN3JPH4RTTIE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef) #2 align 2

declare void @_ZN11Application18ClearDebugRendererEv(ptr noundef nonnull align 16 dereferenceable(272)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11Application5PauseEb(ptr noundef nonnull align 16 dereferenceable(272), i1 noundef zeroext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SamplesApp8NextTestEv(ptr noundef nonnull align 16 dereferenceable(712)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SamplesApp13CheckNextTestEv(ptr noundef nonnull align 16 dereferenceable(712)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp11UpdateDebugEf(ptr noundef nonnull align 16 dereferenceable(712), float noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10SamplesApp11UpdateFrameEf(ptr noundef nonnull align 16 dereferenceable(712) %0, float noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.JPH::STLAllocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca %"struct.JPH::AssertLastParam", align 1
  %19 = alloca %"struct.JPH::AssertLastParam", align 1
  %20 = alloca i8, align 1
  %21 = alloca %"struct.JPH::AssertLastParam", align 1
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.JPH::AssertLastParam", align 1
  %25 = alloca %"class.Test::ProcessInputParams", align 16
  %26 = alloca %"struct.SamplesApp::PlayBackFrame", align 8
  %27 = alloca %"class.JPH::StateRecorderImpl", align 8
  %28 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store float %1, ptr %5, align 4, !tbaa !9
  %29 = load ptr, ptr %4, align 8
  %30 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 16, !tbaa !11
  %32 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 6
  %33 = load ptr, ptr %32, align 8, !tbaa !45
  %34 = load ptr, ptr %33, align 8, !tbaa !46
  %35 = getelementptr inbounds ptr, ptr %34, i64 2
  %36 = load ptr, ptr %35, align 8
  %37 = call noundef i32 %36(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %38 = icmp ne i32 %31, %37
  br i1 %38, label %39, label %45

39:                                               ; preds = %2
  %40 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 6
  %41 = load ptr, ptr %40, align 8, !tbaa !45
  %42 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 1
  %43 = load i32, ptr %42, align 16, !tbaa !11
  %44 = sub nsw i32 %43, 1
  call void @_ZN3JPH19JobSystemThreadPool13SetNumThreadsEi(ptr noundef nonnull align 64 dereferenceable(8768) %41, i32 noundef %44)
  br label %45

45:                                               ; preds = %39, %2
  %46 = load float, ptr %5, align 4, !tbaa !9
  %47 = fcmp ogt float %46, 0.000000e+00
  br i1 %47, label %48, label %56

48:                                               ; preds = %45
  %49 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 19
  %50 = load i32, ptr %49, align 8, !tbaa !48
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %52, label %56

52:                                               ; preds = %48
  %53 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 19
  %54 = load i32, ptr %53, align 8, !tbaa !48
  %55 = add nsw i32 %54, -1
  store i32 %55, ptr %53, align 8, !tbaa !48
  br label %56

56:                                               ; preds = %52, %48, %45
  %57 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %58 = load ptr, ptr %57, align 8, !tbaa !49
  %59 = call noundef zeroext i1 @_ZNK4Test12NeedsRestartEv(ptr noundef nonnull align 8 dereferenceable(112) %58)
  br i1 %59, label %60, label %63

60:                                               ; preds = %56
  %61 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 16
  %62 = load ptr, ptr %61, align 16, !tbaa !50
  call void @_ZN10SamplesApp9StartTestEPKN3JPH4RTTIE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef %62)
  store i1 true, ptr %3, align 1
  br label %436

63:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %64 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 19
  %65 = load i32, ptr %64, align 8, !tbaa !48
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %67, label %74

67:                                               ; preds = %63
  %68 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %69 = load ptr, ptr %68, align 8, !tbaa !49
  %70 = load ptr, ptr %69, align 8, !tbaa !46
  %71 = getelementptr inbounds ptr, ptr %70, i64 5
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef ptr %72(ptr noundef nonnull align 8 dereferenceable(112) %69)
  br label %75

74:                                               ; preds = %63
  br label %75

75:                                               ; preds = %74, %67
  %76 = phi ptr [ %73, %67 ], [ null, %74 ]
  store ptr %76, ptr %6, align 8, !tbaa !5
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %105

79:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #8
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef %80, ptr noundef nonnull align 1 dereferenceable(1) %10)
  invoke void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_PKS7_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.143)
          to label %81 unwind label %91

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #8
  %82 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %83 = load ptr, ptr %82, align 8, !tbaa !49
  %84 = load ptr, ptr %83, align 8, !tbaa !46
  %85 = getelementptr inbounds ptr, ptr %84, i64 22
  %86 = load ptr, ptr %85, align 8
  invoke void %86(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(112) %83)
          to label %87 unwind label %95

87:                                               ; preds = %81
  invoke void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_SB_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %88 unwind label %99

88:                                               ; preds = %87
  %89 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 12
  %90 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  br label %113

91:                                               ; preds = %79
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %11, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %12, align 4
  br label %104

95:                                               ; preds = %81
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %11, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %12, align 4
  br label %103

99:                                               ; preds = %87
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %11, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %103

103:                                              ; preds = %99, %95
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %104

104:                                              ; preds = %103, %91
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  br label %435

105:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %106 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %107 = load ptr, ptr %106, align 8, !tbaa !49
  %108 = load ptr, ptr %107, align 8, !tbaa !46
  %109 = getelementptr inbounds ptr, ptr %108, i64 22
  %110 = load ptr, ptr %109, align 8
  call void %110(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(112) %107)
  %111 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 12
  %112 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %111, ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %113

113:                                              ; preds = %105, %88
  %114 = call noundef zeroext i1 @_ZN10SamplesApp13CheckNextTestEv(ptr noundef nonnull align 16 dereferenceable(712) %29)
  br i1 %114, label %116, label %115

115:                                              ; preds = %113
  store i1 false, ptr %3, align 1
  store i32 1, ptr %15, align 4
  br label %434

116:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  %117 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 8
  %118 = load ptr, ptr %117, align 16, !tbaa !51
  %119 = load ptr, ptr %118, align 8, !tbaa !46
  %120 = getelementptr inbounds ptr, ptr %119, i64 5
  %121 = load ptr, ptr %120, align 8
  %122 = call noundef zeroext i1 %121(ptr noundef nonnull align 8 dereferenceable(8) %118, i32 noundef 42)
  br i1 %122, label %130, label %123

123:                                              ; preds = %116
  %124 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 8
  %125 = load ptr, ptr %124, align 16, !tbaa !51
  %126 = load ptr, ptr %125, align 8, !tbaa !46
  %127 = getelementptr inbounds ptr, ptr %126, i64 5
  %128 = load ptr, ptr %127, align 8
  %129 = call noundef zeroext i1 %128(ptr noundef nonnull align 8 dereferenceable(8) %125, i32 noundef 43)
  br label %130

130:                                              ; preds = %123, %116
  %131 = phi i1 [ true, %116 ], [ %129, %123 ]
  %132 = zext i1 %131 to i8
  store i8 %132, ptr %16, align 1, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %133 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 8
  %134 = load ptr, ptr %133, align 16, !tbaa !51
  %135 = load ptr, ptr %134, align 8, !tbaa !46
  %136 = getelementptr inbounds ptr, ptr %135, i64 6
  %137 = load ptr, ptr %136, align 8
  %138 = call noundef i32 %137(ptr noundef nonnull align 8 dereferenceable(8) %134)
  store i32 %138, ptr %17, align 4, !tbaa !53
  br label %139

139:                                              ; preds = %203, %130
  %140 = load i32, ptr %17, align 4, !tbaa !53
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %143, label %142

142:                                              ; preds = %139
  store i32 2, ptr %15, align 4
  br label %210

143:                                              ; preds = %139
  %144 = load i32, ptr %17, align 4, !tbaa !53
  switch i32 %144, label %202 [
    i32 19, label %145
    i32 15, label %148
    i32 39, label %150
    i32 40, label %181
  ]

145:                                              ; preds = %143
  %146 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 16
  %147 = load ptr, ptr %146, align 16, !tbaa !50
  call void @_ZN10SamplesApp9StartTestEPKN3JPH4RTTIE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef %147)
  store i1 true, ptr %3, align 1
  store i32 1, ptr %15, align 4
  br label %210

148:                                              ; preds = %143
  %149 = call noundef zeroext i1 @_ZN10SamplesApp8NextTestEv(ptr noundef nonnull align 16 dereferenceable(712) %29)
  store i1 true, ptr %3, align 1
  store i32 1, ptr %15, align 4
  br label %210

150:                                              ; preds = %143
  %151 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %152 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %151)
  %153 = icmp ugt i64 %152, 1
  br i1 %153, label %154, label %180

154:                                              ; preds = %150
  %155 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  %156 = load i32, ptr %155, align 16, !tbaa !55
  %157 = icmp eq i32 %156, 5
  br i1 %157, label %158, label %174

158:                                              ; preds = %154
  br label %159

159:                                              ; preds = %158
  %160 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %161 = load i32, ptr %160, align 4, !tbaa !56
  %162 = icmp eq i32 %161, -1
  br i1 %162, label %166, label %163

163:                                              ; preds = %159
  %164 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.153, ptr noundef @.str.147, i32 noundef 2143)
  br i1 %164, label %165, label %166

165:                                              ; preds = %163
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !57
  br label %166

166:                                              ; preds = %165, %163, %159
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167
  %169 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %170 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %169)
  %171 = trunc i64 %170 to i32
  %172 = sub nsw i32 %171, 1
  %173 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  store i32 %172, ptr %173, align 4, !tbaa !56
  br label %174

174:                                              ; preds = %168, %154
  %175 = load i8, ptr %16, align 1, !tbaa !52, !range !58, !noundef !59
  %176 = trunc i8 %175 to i1
  %177 = zext i1 %176 to i64
  %178 = select i1 %176, i32 0, i32 1
  %179 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 %178, ptr %179, align 16, !tbaa !55
  br label %180

180:                                              ; preds = %174, %150
  br label %202

181:                                              ; preds = %143
  %182 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  %183 = load i32, ptr %182, align 16, !tbaa !55
  %184 = icmp ne i32 %183, 5
  br i1 %184, label %185, label %201

185:                                              ; preds = %181
  br label %186

186:                                              ; preds = %185
  %187 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %188 = load i32, ptr %187, align 4, !tbaa !56
  %189 = icmp sge i32 %188, 0
  br i1 %189, label %193, label %190

190:                                              ; preds = %186
  %191 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.154, ptr noundef @.str.147, i32 noundef 2154)
  br i1 %191, label %192, label %193

192:                                              ; preds = %190
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !60
  br label %193

193:                                              ; preds = %192, %190, %186
  br label %194

194:                                              ; preds = %193
  br label %195

195:                                              ; preds = %194
  %196 = load i8, ptr %16, align 1, !tbaa !52, !range !58, !noundef !59
  %197 = trunc i8 %196 to i1
  %198 = zext i1 %197 to i64
  %199 = select i1 %197, i32 4, i32 3
  %200 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 %199, ptr %200, align 16, !tbaa !55
  br label %201

201:                                              ; preds = %195, %181
  br label %202

202:                                              ; preds = %201, %180, %143
  br label %203

203:                                              ; preds = %202
  %204 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 8
  %205 = load ptr, ptr %204, align 16, !tbaa !51
  %206 = load ptr, ptr %205, align 8, !tbaa !46
  %207 = getelementptr inbounds ptr, ptr %206, i64 7
  %208 = load ptr, ptr %207, align 8
  %209 = call noundef i32 %208(ptr noundef nonnull align 8 dereferenceable(8) %205)
  store i32 %209, ptr %17, align 4, !tbaa !53
  br label %139, !llvm.loop !61

210:                                              ; preds = %148, %145, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  %211 = load i32, ptr %15, align 4
  switch i32 %211, label %433 [
    i32 2, label %212
  ]

212:                                              ; preds = %210
  %213 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 25
  %214 = load i8, ptr %213, align 2, !tbaa !63, !range !58, !noundef !59
  %215 = trunc i8 %214 to i1
  br i1 %215, label %220, label %216

216:                                              ; preds = %212
  %217 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  call void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %217)
  %218 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 5, ptr %218, align 16, !tbaa !55
  %219 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  store i32 -1, ptr %219, align 4, !tbaa !56
  br label %220

220:                                              ; preds = %216, %212
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  %221 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 26
  %222 = load i8, ptr %221, align 1, !tbaa !64, !range !58, !noundef !59
  %223 = trunc i8 %222 to i1
  br i1 %223, label %224, label %231

224:                                              ; preds = %220
  %225 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %226 = load ptr, ptr %225, align 8, !tbaa !49
  %227 = load ptr, ptr %226, align 8, !tbaa !46
  %228 = getelementptr inbounds ptr, ptr %227, i64 17
  %229 = load ptr, ptr %228, align 8
  %230 = call noundef zeroext i1 %229(ptr noundef nonnull align 8 dereferenceable(112) %226)
  br label %231

231:                                              ; preds = %224, %220
  %232 = phi i1 [ false, %220 ], [ %230, %224 ]
  %233 = zext i1 %232 to i8
  store i8 %233, ptr %20, align 1, !tbaa !52
  %234 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  %235 = load i32, ptr %234, align 16, !tbaa !55
  %236 = icmp ne i32 %235, 5
  br i1 %236, label %237, label %339

237:                                              ; preds = %231
  br label %238

238:                                              ; preds = %237
  %239 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %240 = load i32, ptr %239, align 4, !tbaa !56
  %241 = icmp sge i32 %240, 0
  br i1 %241, label %245, label %242

242:                                              ; preds = %238
  %243 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.154, ptr noundef @.str.147, i32 noundef 2177)
  br i1 %243, label %244, label %245

244:                                              ; preds = %242
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !65
  br label %245

245:                                              ; preds = %244, %242, %238
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  call void @_ZN11Application5PauseEb(ptr noundef nonnull align 16 dereferenceable(272) %29, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  %248 = load float, ptr %5, align 4, !tbaa !9
  %249 = fcmp ogt float %248, 0.000000e+00
  %250 = zext i1 %249 to i8
  store i8 %250, ptr %22, align 1, !tbaa !52
  %251 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  %252 = load i32, ptr %251, align 16, !tbaa !55
  switch i32 %252, label %280 [
    i32 1, label %253
    i32 0, label %255
    i32 3, label %264
    i32 4, label %266
    i32 2, label %279
    i32 5, label %279
  ]

253:                                              ; preds = %247
  %254 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 2, ptr %254, align 16, !tbaa !55
  br label %255

255:                                              ; preds = %253, %247
  %256 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %257 = load i32, ptr %256, align 4, !tbaa !56
  %258 = icmp sgt i32 %257, 0
  br i1 %258, label %259, label %263

259:                                              ; preds = %255
  %260 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %261 = load i32, ptr %260, align 4, !tbaa !56
  %262 = add nsw i32 %261, -1
  store i32 %262, ptr %260, align 4, !tbaa !56
  store i8 1, ptr %22, align 1, !tbaa !52
  br label %263

263:                                              ; preds = %259, %255
  br label %280

264:                                              ; preds = %247
  %265 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 2, ptr %265, align 16, !tbaa !55
  br label %266

266:                                              ; preds = %264, %247
  %267 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %268 = load i32, ptr %267, align 4, !tbaa !56
  %269 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %270 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %269)
  %271 = trunc i64 %270 to i32
  %272 = sub nsw i32 %271, 1
  %273 = icmp slt i32 %268, %272
  br i1 %273, label %274, label %278

274:                                              ; preds = %266
  %275 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %276 = load i32, ptr %275, align 4, !tbaa !56
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %275, align 4, !tbaa !56
  store i8 1, ptr %22, align 1, !tbaa !52
  br label %278

278:                                              ; preds = %274, %266
  br label %280

279:                                              ; preds = %247, %247
  br label %280

280:                                              ; preds = %279, %278, %263, %247
  %281 = load i8, ptr %22, align 1, !tbaa !52, !range !58, !noundef !59
  %282 = trunc i8 %281 to i1
  br i1 %282, label %283, label %321

283:                                              ; preds = %280
  call void @_ZN11Application18ClearDebugRendererEv(ptr noundef nonnull align 16 dereferenceable(272) %29)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %284 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %285 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %286 = load i32, ptr %285, align 4, !tbaa !56
  %287 = sext i32 %286 to i64
  %288 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %284, i64 noundef %287)
  store ptr %288, ptr %23, align 8, !tbaa !5
  %289 = load ptr, ptr %23, align 8, !tbaa !5
  %290 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %289, i32 0, i32 1
  call void @_ZN10SamplesApp12RestoreStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef nonnull align 8 dereferenceable(416) %290)
  %291 = load ptr, ptr %23, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %291, i32 0, i32 0
  call void @_ZN3JPH17StateRecorderImpl6RewindEv(ptr noundef nonnull align 8 dereferenceable(416) %292)
  %293 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %294 = load ptr, ptr %293, align 8, !tbaa !49
  %295 = load ptr, ptr %23, align 8, !tbaa !5
  %296 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %295, i32 0, i32 0
  %297 = load ptr, ptr %294, align 8, !tbaa !46
  %298 = getelementptr inbounds ptr, ptr %297, i64 21
  %299 = load ptr, ptr %298, align 8
  call void %299(ptr noundef nonnull align 8 dereferenceable(112) %294, ptr noundef nonnull align 8 dereferenceable(18) %296)
  call void @_ZN10SamplesApp11DrawPhysicsEv(ptr noundef nonnull align 16 dereferenceable(712) %29)
  %300 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 6
  %301 = load ptr, ptr %300, align 8, !tbaa !45
  call void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef %301)
  %302 = load i8, ptr %20, align 1, !tbaa !52, !range !58, !noundef !59
  %303 = trunc i8 %302 to i1
  br i1 %303, label %304, label %320

304:                                              ; preds = %283
  %305 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %306 = load i32, ptr %305, align 4, !tbaa !56
  %307 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %308 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %307)
  %309 = trunc i64 %308 to i32
  %310 = sub nsw i32 %309, 1
  %311 = icmp slt i32 %306, %310
  br i1 %311, label %312, label %320

312:                                              ; preds = %304
  %313 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %314 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %315 = load i32, ptr %314, align 4, !tbaa !56
  %316 = add nsw i32 %315, 1
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %313, i64 noundef %317)
  %319 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %318, i32 0, i32 1
  call void @_ZN10SamplesApp13ValidateStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef nonnull align 8 dereferenceable(416) %319)
  br label %320

320:                                              ; preds = %312, %304, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %321

321:                                              ; preds = %320, %280
  %322 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %323 = load i32, ptr %322, align 4, !tbaa !56
  %324 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %325 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %324)
  %326 = trunc i64 %325 to i32
  %327 = sub nsw i32 %326, 1
  %328 = icmp sge i32 %323, %327
  br i1 %328, label %329, label %332

329:                                              ; preds = %321
  %330 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 5, ptr %330, align 16, !tbaa !55
  %331 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  store i32 -1, ptr %331, align 4, !tbaa !56
  br label %332

332:                                              ; preds = %329, %321
  %333 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %334 = load i32, ptr %333, align 4, !tbaa !56
  %335 = icmp eq i32 %334, 0
  br i1 %335, label %336, label %338

336:                                              ; preds = %332
  %337 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 28
  store i32 2, ptr %337, align 16, !tbaa !55
  br label %338

338:                                              ; preds = %336, %332
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  br label %431

339:                                              ; preds = %231
  br label %340

340:                                              ; preds = %339
  %341 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 29
  %342 = load i32, ptr %341, align 4, !tbaa !56
  %343 = icmp eq i32 %342, -1
  br i1 %343, label %347, label %344

344:                                              ; preds = %340
  %345 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.153, ptr noundef @.str.147, i32 noundef 2266)
  br i1 %345, label %346, label %347

346:                                              ; preds = %344
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !66
  br label %347

347:                                              ; preds = %346, %344, %340
  br label %348

348:                                              ; preds = %347
  br label %349

349:                                              ; preds = %348
  %350 = load float, ptr %5, align 4, !tbaa !9
  %351 = fcmp ogt float %350, 0.000000e+00
  br i1 %351, label %352, label %430

352:                                              ; preds = %349
  %353 = load float, ptr %5, align 4, !tbaa !9
  call void @_ZN10SamplesApp11UpdateDebugEf(ptr noundef nonnull align 16 dereferenceable(712) %29, float noundef %353)
  call void @llvm.lifetime.start.p0(i64 80, ptr %25) #8
  call void @_ZN4Test18ProcessInputParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(80) %25)
  %354 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 2
  %355 = load float, ptr %354, align 4, !tbaa !67
  %356 = fdiv float 1.000000e+00, %355
  %357 = getelementptr inbounds %"class.Test::ProcessInputParams", ptr %25, i32 0, i32 0
  store float %356, ptr %357, align 16, !tbaa !68
  %358 = getelementptr inbounds %class.Application, ptr %29, i32 0, i32 8
  %359 = load ptr, ptr %358, align 16, !tbaa !51
  %360 = getelementptr inbounds %"class.Test::ProcessInputParams", ptr %25, i32 0, i32 1
  store ptr %359, ptr %360, align 8, !tbaa !70
  %361 = call noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %29)
  %362 = getelementptr inbounds %"class.Test::ProcessInputParams", ptr %25, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %362, ptr align 16 %361, i64 52, i1 false), !tbaa.struct !71
  %363 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %364 = load ptr, ptr %363, align 8, !tbaa !49
  %365 = load ptr, ptr %364, align 8, !tbaa !46
  %366 = getelementptr inbounds ptr, ptr %365, i64 9
  %367 = load ptr, ptr %366, align 8
  call void %367(ptr noundef nonnull align 8 dereferenceable(112) %364, ptr noundef nonnull align 16 dereferenceable(80) %25)
  call void @llvm.lifetime.end.p0(i64 80, ptr %25) #8
  %368 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 25
  %369 = load i8, ptr %368, align 2, !tbaa !63, !range !58, !noundef !59
  %370 = trunc i8 %369 to i1
  br i1 %370, label %374, label %371

371:                                              ; preds = %352
  %372 = load i8, ptr %20, align 1, !tbaa !52, !range !58, !noundef !59
  %373 = trunc i8 %372 to i1
  br i1 %373, label %374, label %392

374:                                              ; preds = %371, %352
  %375 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  call void @llvm.lifetime.start.p0(i64 832, ptr %26) #8
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 832, i1 false)
  call void @_ZN10SamplesApp13PlayBackFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(832) %26)
  invoke void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %375, ptr noundef nonnull align 8 dereferenceable(832) %26)
          to label %376 unwind label %388

376:                                              ; preds = %374
  call void @_ZN10SamplesApp13PlayBackFrameD2Ev(ptr noundef nonnull align 8 dereferenceable(832) %26) #8
  call void @llvm.lifetime.end.p0(i64 832, ptr %26) #8
  %377 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %378 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %377)
  %379 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %378, i32 0, i32 1
  call void @_ZN10SamplesApp9SaveStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef nonnull align 8 dereferenceable(416) %379)
  %380 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %381 = load ptr, ptr %380, align 8, !tbaa !49
  %382 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %383 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %382)
  %384 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %383, i32 0, i32 0
  %385 = load ptr, ptr %381, align 8, !tbaa !46
  %386 = getelementptr inbounds ptr, ptr %385, i64 20
  %387 = load ptr, ptr %386, align 8
  call void %387(ptr noundef nonnull align 8 dereferenceable(112) %381, ptr noundef nonnull align 8 dereferenceable(18) %384)
  br label %392

388:                                              ; preds = %374
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %11, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %12, align 4
  call void @_ZN10SamplesApp13PlayBackFrameD2Ev(ptr noundef nonnull align 8 dereferenceable(832) %26) #8
  call void @llvm.lifetime.end.p0(i64 832, ptr %26) #8
  br label %432

392:                                              ; preds = %376, %371
  call void @_ZN10SamplesApp11DrawPhysicsEv(ptr noundef nonnull align 16 dereferenceable(712) %29)
  %393 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 6
  %394 = load ptr, ptr %393, align 8, !tbaa !45
  call void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef %394)
  %395 = load i8, ptr %20, align 1, !tbaa !52, !range !58, !noundef !59
  %396 = trunc i8 %395 to i1
  br i1 %396, label %397, label %429

397:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 416, ptr %27) #8
  call void @_ZN3JPH17StateRecorderImplC2Ev(ptr noundef nonnull align 8 dereferenceable(416) %27)
  invoke void @_ZN10SamplesApp9SaveStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef nonnull align 8 dereferenceable(416) %27)
          to label %398 unwind label %420

398:                                              ; preds = %397
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %399 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 27
  %400 = invoke noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %399)
          to label %401 unwind label %424

401:                                              ; preds = %398
  store ptr %400, ptr %28, align 8, !tbaa !5
  %402 = load ptr, ptr %28, align 8, !tbaa !5
  %403 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %402, i32 0, i32 1
  invoke void @_ZN10SamplesApp12RestoreStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef nonnull align 8 dereferenceable(416) %403)
          to label %404 unwind label %424

404:                                              ; preds = %401
  %405 = load ptr, ptr %28, align 8, !tbaa !5
  %406 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %405, i32 0, i32 0
  invoke void @_ZN3JPH17StateRecorderImpl6RewindEv(ptr noundef nonnull align 8 dereferenceable(416) %406)
          to label %407 unwind label %424

407:                                              ; preds = %404
  %408 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 17
  %409 = load ptr, ptr %408, align 8, !tbaa !49
  %410 = load ptr, ptr %28, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.SamplesApp::PlayBackFrame", ptr %410, i32 0, i32 0
  %412 = load ptr, ptr %409, align 8, !tbaa !46
  %413 = getelementptr inbounds ptr, ptr %412, i64 21
  %414 = load ptr, ptr %413, align 8
  invoke void %414(ptr noundef nonnull align 8 dereferenceable(112) %409, ptr noundef nonnull align 8 dereferenceable(18) %411)
          to label %415 unwind label %424

415:                                              ; preds = %407
  %416 = getelementptr inbounds %class.SamplesApp, ptr %29, i32 0, i32 7
  %417 = load ptr, ptr %416, align 16, !tbaa !73
  invoke void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef %417)
          to label %418 unwind label %424

418:                                              ; preds = %415
  invoke void @_ZN10SamplesApp13ValidateStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %29, ptr noundef nonnull align 8 dereferenceable(416) %27)
          to label %419 unwind label %424

419:                                              ; preds = %418
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @_ZN3JPH17StateRecorderImplD2Ev(ptr noundef nonnull align 8 dereferenceable(416) %27) #8
  call void @llvm.lifetime.end.p0(i64 416, ptr %27) #8
  br label %429

420:                                              ; preds = %397
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %11, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %12, align 4
  br label %428

424:                                              ; preds = %418, %415, %407, %404, %401, %398
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %11, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %428

428:                                              ; preds = %424, %420
  call void @_ZN3JPH17StateRecorderImplD2Ev(ptr noundef nonnull align 8 dereferenceable(416) %27) #8
  call void @llvm.lifetime.end.p0(i64 416, ptr %27) #8
  br label %432

429:                                              ; preds = %419, %392
  br label %430

430:                                              ; preds = %429, %349
  br label %431

431:                                              ; preds = %430, %338
  store i1 true, ptr %3, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  br label %433

432:                                              ; preds = %428, %388
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  br label %435

433:                                              ; preds = %431, %210
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  br label %434

434:                                              ; preds = %433, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %436

435:                                              ; preds = %432, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %438

436:                                              ; preds = %434, %60
  %437 = load i1, ptr %3, align 1
  ret i1 %437

438:                                              ; preds = %435
  %439 = load ptr, ptr %11, align 8
  %440 = load i32, ptr %12, align 4
  %441 = insertvalue { ptr, i32 } poison, ptr %439, 0
  %442 = insertvalue { ptr, i32 } %441, i32 %440, 1
  resume { ptr, i32 } %442
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH19JobSystemThreadPool13SetNumThreadsEi(ptr noundef nonnull align 64 dereferenceable(8768), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4Test12NeedsRestartEv(ptr noundef nonnull align 8 dereferenceable(112)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_SB_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_PKS7_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp12RestoreStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef nonnull align 8 dereferenceable(416)) #2 align 2

declare void @_ZN3JPH17StateRecorderImpl6RewindEv(ptr noundef nonnull align 8 dereferenceable(416)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp11DrawPhysicsEv(ptr noundef nonnull align 16 dereferenceable(712)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp13ValidateStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef nonnull align 8 dereferenceable(416)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Test18ProcessInputParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(80)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(832)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SamplesApp13PlayBackFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(832)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10SamplesApp13PlayBackFrameD2Ev(ptr noundef nonnull align 8 dereferenceable(832)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp9SaveStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef nonnull align 8 dereferenceable(416)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17StateRecorderImplD2Ev(ptr noundef nonnull align 8 dereferenceable(416)) unnamed_addr #7 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !23, i64 272}
!12 = !{!"_ZTS10SamplesApp", !13, i64 0, !23, i64 272, !10, i64 276, !23, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !24, i64 312, !26, i64 328, !28, i64 336, !6, i64 344, !6, i64 352, !30, i64 360, !31, i64 448, !6, i64 480, !6, i64 488, !6, i64 496, !23, i64 504, !22, i64 508, !10, i64 512, !22, i64 516, !22, i64 517, !22, i64 518, !22, i64 519, !33, i64 520, !34, i64 544, !23, i64 548, !35, i64 552, !36, i64 556, !22, i64 560, !15, i64 576, !37, i64 592, !37, i64 593, !38, i64 594, !39, i64 595, !10, i64 596, !22, i64 600, !22, i64 601, !22, i64 602, !22, i64 603, !23, i64 604, !22, i64 608, !40, i64 612, !10, i64 616, !41, i64 620, !10, i64 624, !10, i64 628, !22, i64 632, !15, i64 640, !22, i64 656, !6, i64 664, !42, i64 672, !43, i64 680, !23, i64 688, !10, i64 692, !10, i64 696, !23, i64 700, !44, i64 704}
!13 = !{!"_ZTS11Application", !14, i64 16, !14, i64 80, !6, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !17, i64 208, !20, i64 240, !22, i64 248, !22, i64 249, !22, i64 250, !22, i64 251, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !23, i64 268}
!14 = !{!"_ZTS11CameraState", !15, i64 0, !15, i64 16, !15, i64 32, !10, i64 48}
!15 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!16 = !{!"_ZTSN3JPH8RefConstI4FontEE", !6, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !21, i64 0}
!21 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !19, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTS20BPLayerInterfaceImpl", !25, i64 0, !7, i64 8}
!25 = !{!"_ZTSN3JPH24BroadPhaseLayerInterfaceE"}
!26 = !{!"_ZTS33ObjectVsBroadPhaseLayerFilterImpl", !27, i64 0}
!27 = !{!"_ZTSN3JPH29ObjectVsBroadPhaseLayerFilterE"}
!28 = !{!"_ZTS25ObjectLayerPairFilterImpl", !29, i64 0}
!29 = !{!"_ZTSN3JPH21ObjectLayerPairFilterE"}
!30 = !{!"_ZTSN3JPH15PhysicsSettingsE", !23, i64 0, !23, i64 4, !23, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !23, i64 56, !23, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !22, i64 76, !22, i64 77, !22, i64 78, !22, i64 79, !22, i64 80, !22, i64 81, !22, i64 82}
!31 = !{!"_ZTSN3JPH12UnorderedMapINS_8RefConstINS_5ShapeEEENS_3RefINS_13DebugRenderer8GeometryEEENS_4HashIS3_EESt8equal_toIS3_EEE", !32, i64 0}
!32 = !{!"_ZTSN3JPH9HashTableINS_8RefConstINS_5ShapeEEESt4pairIS3_NS_3RefINS_13DebugRenderer8GeometryEEEENS_18UnorderedMapDetailIS3_S8_EENS_4HashIS3_EESt8equal_toIS3_EEE", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24}
!33 = !{!"_ZTSN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEE", !19, i64 0, !19, i64 8, !6, i64 16}
!34 = !{!"_ZTSN10SamplesApp13EPlaybackModeE", !7, i64 0}
!35 = !{!"_ZTSN10SamplesApp10EProbeModeE", !7, i64 0}
!36 = !{!"_ZTSN10SamplesApp11EProbeShapeE", !7, i64 0}
!37 = !{!"_ZTSN3JPH13EBackFaceModeE", !7, i64 0}
!38 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !7, i64 0}
!39 = !{!"_ZTSN3JPH17ECollectFacesModeE", !7, i64 0}
!40 = !{!"_ZTSN10SamplesApp17EShootObjectShapeE", !7, i64 0}
!41 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!42 = !{!"_ZTSN3JPH6BodyIDE", !23, i64 0}
!43 = !{!"_ZTSN3JPH3RefINS_10ConstraintEEE", !6, i64 0}
!44 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000EEEE", !19, i64 0}
!45 = !{!12, !6, i64 296}
!46 = !{!47, !47, i64 0}
!47 = !{!"vtable pointer", !8, i64 0}
!48 = !{!12, !23, i64 504}
!49 = !{!12, !6, i64 488}
!50 = !{!12, !6, i64 480}
!51 = !{!13, !6, i64 176}
!52 = !{!22, !22, i64 0}
!53 = !{!54, !54, i64 0}
!54 = !{!"_ZTS4EKey", !7, i64 0}
!55 = !{!12, !34, i64 544}
!56 = !{!12, !23, i64 548}
!57 = !{i64 2161776288}
!58 = !{i8 0, i8 2}
!59 = !{}
!60 = !{i64 2161776624}
!61 = distinct !{!61, !62}
!62 = !{!"llvm.loop.mustprogress"}
!63 = !{!12, !22, i64 518}
!64 = !{!12, !22, i64 519}
!65 = !{i64 2161776960}
!66 = !{i64 2161777298}
!67 = !{!12, !10, i64 276}
!68 = !{!69, !10, i64 0}
!69 = !{!"_ZTSN4Test18ProcessInputParamsE", !10, i64 0, !6, i64 8, !14, i64 16}
!70 = !{!69, !6, i64 8}
!71 = !{i64 0, i64 16, !72, i64 16, i64 16, !72, i64 32, i64 16, !72, i64 48, i64 4, !9}
!72 = !{!7, !7, i64 0}
!73 = !{!12, !6, i64 304}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.JPH::STLAllocator" = type { i8 }
%"class.Test::ProcessInputParams" = type { float, ptr, %struct.CameraState }
%struct.CameraState = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8] }>
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"struct.SamplesApp::PlayBackFrame" = type { %"class.JPH::StateRecorderImpl", %"class.JPH::StateRecorderImpl" }
%"class.JPH::StateRecorderImpl" = type { %"class.JPH::StateRecorder.base", %"class.std::__cxx11::basic_stringstream" }
%"class.JPH::StateRecorder.base" = type <{ %"class.JPH::StreamIn", %"class.JPH::StreamOut", i8, i8 }>
%"class.JPH::StreamIn" = type { ptr }
%"class.JPH::StreamOut" = type { ptr }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string.219" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string.219" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.223 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.223 = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str.143 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [27 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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp9StartTestEPKN3JPH4RTTIE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef) local_unnamed_addr #2 align 2

declare void @_ZN11Application18ClearDebugRendererEv(ptr noundef nonnull align 16 dereferenceable(272)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11Application5PauseEb(ptr noundef nonnull align 16 dereferenceable(272), i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SamplesApp8NextTestEv(ptr noundef nonnull align 16 dereferenceable(712)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SamplesApp13CheckNextTestEv(ptr noundef nonnull align 16 dereferenceable(712)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp11UpdateDebugEf(ptr noundef nonnull align 16 dereferenceable(712), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10SamplesApp11UpdateFrameEf(ptr noundef nonnull align 16 dereferenceable(712) %0, float noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.JPH::STLAllocator", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.Test::ProcessInputParams", align 16
  %10 = alloca %"struct.SamplesApp::PlayBackFrame", align 8
  %11 = alloca %"class.JPH::StateRecorderImpl", align 8
  %12 = getelementptr inbounds i8, ptr %0, i64 272
  %13 = load i32, ptr %12, align 16, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 296
  %15 = load ptr, ptr %14, align 8, !tbaa !43
  %16 = load ptr, ptr %15, align 8, !tbaa !44
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  %18 = load ptr, ptr %17, align 8
  %19 = tail call noundef i32 %18(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %.not = icmp eq i32 %13, %19
  br i1 %.not, label %24, label %20

20:                                               ; preds = %2
  %21 = load ptr, ptr %14, align 8, !tbaa !43
  %22 = load i32, ptr %12, align 16, !tbaa !5
  %23 = add nsw i32 %22, -1
  tail call void @_ZN3JPH19JobSystemThreadPool13SetNumThreadsEi(ptr noundef nonnull align 64 dereferenceable(8768) %21, i32 noundef %23)
  br label %24

24:                                               ; preds = %20, %2
  %25 = fcmp ogt float %1, 0.000000e+00
  br i1 %25, label %26, label %32

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %0, i64 504
  %28 = load i32, ptr %27, align 8, !tbaa !46
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %30, label %32

30:                                               ; preds = %26
  %31 = add nsw i32 %28, -1
  store i32 %31, ptr %27, align 8, !tbaa !46
  br label %32

32:                                               ; preds = %30, %26, %24
  %33 = getelementptr inbounds i8, ptr %0, i64 488
  %34 = load ptr, ptr %33, align 8, !tbaa !47
  %35 = tail call noundef zeroext i1 @_ZNK4Test12NeedsRestartEv(ptr noundef nonnull align 8 dereferenceable(112) %34)
  br i1 %35, label %36, label %39

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %0, i64 480
  %38 = load ptr, ptr %37, align 16, !tbaa !48
  tail call void @_ZN10SamplesApp9StartTestEPKN3JPH4RTTIE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef %38)
  br label %261

39:                                               ; preds = %32
  %40 = getelementptr inbounds i8, ptr %0, i64 504
  %41 = load i32, ptr %40, align 8, !tbaa !46
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %43, label %.thread

43:                                               ; preds = %39
  %44 = load ptr, ptr %33, align 8, !tbaa !47
  %45 = load ptr, ptr %44, align 8, !tbaa !44
  %46 = getelementptr inbounds i8, ptr %45, i64 40
  %47 = load ptr, ptr %46, align 8
  %48 = tail call noundef ptr %47(ptr noundef nonnull align 8 dereferenceable(112) %44)
  %.not39 = icmp eq ptr %48, null
  br i1 %.not39, label %.thread, label %49

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %48, ptr noundef nonnull align 1 dereferenceable(1) %6)
  invoke void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_PKS7_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.143)
          to label %50 unwind label %59

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  %51 = load ptr, ptr %33, align 8, !tbaa !47
  %52 = load ptr, ptr %51, align 8, !tbaa !44
  %53 = getelementptr inbounds i8, ptr %52, i64 176
  %54 = load ptr, ptr %53, align 8
  invoke void %54(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(112) %51)
          to label %55 unwind label %61

55:                                               ; preds = %50
  invoke void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_SB_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %56 unwind label %63

56:                                               ; preds = %55
  %57 = getelementptr inbounds i8, ptr %0, i64 208
  %58 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  br label %73

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

61:                                               ; preds = %50
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

63:                                               ; preds = %55
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  br label %65

65:                                               ; preds = %63, %61
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  br label %66

66:                                               ; preds = %65, %59
  %.pn.pn = phi { ptr, i32 } [ %.pn, %65 ], [ %60, %59 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  br label %260

.thread:                                          ; preds = %39, %43
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  %67 = load ptr, ptr %33, align 8, !tbaa !47
  %68 = load ptr, ptr %67, align 8, !tbaa !44
  %69 = getelementptr inbounds i8, ptr %68, i64 176
  %70 = load ptr, ptr %69, align 8
  call void %70(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(112) %67)
  %71 = getelementptr inbounds i8, ptr %0, i64 208
  %72 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %73

73:                                               ; preds = %.thread, %56
  %74 = call noundef zeroext i1 @_ZN10SamplesApp13CheckNextTestEv(ptr noundef nonnull align 16 dereferenceable(712) %0)
  br i1 %74, label %75, label %261

75:                                               ; preds = %73
  %76 = getelementptr inbounds i8, ptr %0, i64 176
  %77 = load ptr, ptr %76, align 16, !tbaa !49
  %78 = load ptr, ptr %77, align 8, !tbaa !44
  %79 = getelementptr inbounds i8, ptr %78, i64 40
  %80 = load ptr, ptr %79, align 8
  %81 = call noundef zeroext i1 %80(ptr noundef nonnull align 8 dereferenceable(8) %77, i32 noundef 42)
  br i1 %81, label %88, label %82

82:                                               ; preds = %75
  %83 = load ptr, ptr %76, align 16, !tbaa !49
  %84 = load ptr, ptr %83, align 8, !tbaa !44
  %85 = getelementptr inbounds i8, ptr %84, i64 40
  %86 = load ptr, ptr %85, align 8
  %87 = call noundef zeroext i1 %86(ptr noundef nonnull align 8 dereferenceable(8) %83, i32 noundef 43)
  br label %88

88:                                               ; preds = %82, %75
  %89 = phi i1 [ true, %75 ], [ %87, %82 ]
  %90 = load ptr, ptr %76, align 16, !tbaa !49
  %91 = load ptr, ptr %90, align 8, !tbaa !44
  %92 = getelementptr inbounds i8, ptr %91, i64 48
  %93 = load ptr, ptr %92, align 8
  %94 = call noundef i32 %93(ptr noundef nonnull align 8 dereferenceable(8) %90)
  %95 = getelementptr inbounds i8, ptr %0, i64 544
  %96 = getelementptr inbounds i8, ptr %0, i64 548
  %spec.select = select i1 %89, i32 4, i32 3
  %97 = getelementptr inbounds i8, ptr %0, i64 520
  %not. = xor i1 %89, true
  %98 = zext i1 %not. to i32
  br label %99

99:                                               ; preds = %129, %88
  %.034 = phi i32 [ %94, %88 ], [ %134, %129 ]
  switch i32 %.034, label %129 [
    i32 0, label %.critedge
    i32 19, label %100
    i32 15, label %103
    i32 39, label %105
    i32 40, label %121
  ]

100:                                              ; preds = %99
  %101 = getelementptr inbounds i8, ptr %0, i64 480
  %102 = load ptr, ptr %101, align 16, !tbaa !48
  call void @_ZN10SamplesApp9StartTestEPKN3JPH4RTTIE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef %102)
  br label %261

103:                                              ; preds = %99
  %104 = call noundef zeroext i1 @_ZN10SamplesApp8NextTestEv(ptr noundef nonnull align 16 dereferenceable(712) %0)
  br label %261

105:                                              ; preds = %99
  %106 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %107 = icmp ugt i64 %106, 1
  br i1 %107, label %108, label %129

108:                                              ; preds = %105
  %109 = load i32, ptr %95, align 16, !tbaa !50
  %110 = icmp eq i32 %109, 5
  br i1 %110, label %111, label %.sink.split

111:                                              ; preds = %108
  %112 = load i32, ptr %96, align 4, !tbaa !51
  %113 = icmp eq i32 %112, -1
  br i1 %113, label %117, label %114

114:                                              ; preds = %111
  %115 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.153, ptr noundef nonnull @.str.147, i32 noundef 2143)
  br i1 %115, label %116, label %117

116:                                              ; preds = %114
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !52
  br label %117

117:                                              ; preds = %116, %114, %111
  %118 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %119 = trunc i64 %118 to i32
  %120 = add nsw i32 %119, -1
  store i32 %120, ptr %96, align 4, !tbaa !51
  br label %.sink.split

121:                                              ; preds = %99
  %122 = load i32, ptr %95, align 16, !tbaa !50
  %.not43 = icmp eq i32 %122, 5
  br i1 %.not43, label %129, label %123

123:                                              ; preds = %121
  %124 = load i32, ptr %96, align 4, !tbaa !51
  %125 = icmp sgt i32 %124, -1
  br i1 %125, label %.sink.split, label %126

126:                                              ; preds = %123
  %127 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.154, ptr noundef nonnull @.str.147, i32 noundef 2154)
  br i1 %127, label %128, label %.sink.split

128:                                              ; preds = %126
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !53
  br label %.sink.split

.sink.split:                                      ; preds = %123, %126, %128, %108, %117
  %.sink = phi i32 [ %98, %117 ], [ %98, %108 ], [ %spec.select, %128 ], [ %spec.select, %126 ], [ %spec.select, %123 ]
  store i32 %.sink, ptr %95, align 16, !tbaa !50
  br label %129

129:                                              ; preds = %.sink.split, %99, %105, %121
  %130 = load ptr, ptr %76, align 16, !tbaa !49
  %131 = load ptr, ptr %130, align 8, !tbaa !44
  %132 = getelementptr inbounds i8, ptr %131, i64 56
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef i32 %133(ptr noundef nonnull align 8 dereferenceable(8) %130)
  br label %99, !llvm.loop !54

.critedge:                                        ; preds = %99
  %135 = getelementptr inbounds i8, ptr %0, i64 518
  %136 = load i8, ptr %135, align 2, !tbaa !56, !range !57, !noundef !58
  %137 = trunc nuw i8 %136 to i1
  br i1 %137, label %139, label %138

138:                                              ; preds = %.critedge
  call void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  store i32 5, ptr %95, align 16, !tbaa !50
  store i32 -1, ptr %96, align 4, !tbaa !51
  br label %139

139:                                              ; preds = %138, %.critedge
  %140 = getelementptr inbounds i8, ptr %0, i64 519
  %141 = load i8, ptr %140, align 1, !tbaa !59, !range !57, !noundef !58
  %142 = trunc nuw i8 %141 to i1
  br i1 %142, label %143, label %149

143:                                              ; preds = %139
  %144 = load ptr, ptr %33, align 8, !tbaa !47
  %145 = load ptr, ptr %144, align 8, !tbaa !44
  %146 = getelementptr inbounds i8, ptr %145, i64 136
  %147 = load ptr, ptr %146, align 8
  %148 = call noundef zeroext i1 %147(ptr noundef nonnull align 8 dereferenceable(112) %144)
  br label %149

149:                                              ; preds = %143, %139
  %150 = phi i1 [ false, %139 ], [ %148, %143 ]
  %151 = load i32, ptr %95, align 16, !tbaa !50
  %.not44 = icmp eq i32 %151, 5
  %152 = load i32, ptr %96, align 4, !tbaa !51
  br i1 %.not44, label %206, label %153

153:                                              ; preds = %149
  %154 = icmp sgt i32 %152, -1
  br i1 %154, label %158, label %155

155:                                              ; preds = %153
  %156 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.154, ptr noundef nonnull @.str.147, i32 noundef 2177)
  br i1 %156, label %157, label %158

157:                                              ; preds = %155
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !60
  br label %158

158:                                              ; preds = %157, %155, %153
  call void @_ZN11Application5PauseEb(ptr noundef nonnull align 16 dereferenceable(272) %0, i1 noundef zeroext true)
  %159 = load i32, ptr %95, align 16, !tbaa !50
  switch i32 %159, label %176 [
    i32 1, label %160
    i32 0, label %161
    i32 3, label %166
    i32 4, label %167
  ]

160:                                              ; preds = %158
  store i32 2, ptr %95, align 16, !tbaa !50
  br label %161

161:                                              ; preds = %160, %158
  %162 = load i32, ptr %96, align 4, !tbaa !51
  %163 = icmp sgt i32 %162, 0
  br i1 %163, label %164, label %176

164:                                              ; preds = %161
  %165 = add nsw i32 %162, -1
  br label %.critedge51.sink.split

166:                                              ; preds = %158
  store i32 2, ptr %95, align 16, !tbaa !50
  br label %167

167:                                              ; preds = %166, %158
  %168 = load i32, ptr %96, align 4, !tbaa !51
  %169 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %170 = trunc i64 %169 to i32
  %171 = add nsw i32 %170, -1
  %172 = icmp slt i32 %168, %171
  br i1 %172, label %173, label %176

173:                                              ; preds = %167
  %174 = load i32, ptr %96, align 4, !tbaa !51
  %175 = add nsw i32 %174, 1
  br label %.critedge51.sink.split

176:                                              ; preds = %167, %161, %158
  br i1 %25, label %.critedge51, label %198

.critedge51.sink.split:                           ; preds = %164, %173
  %.sink54 = phi i32 [ %175, %173 ], [ %165, %164 ]
  store i32 %.sink54, ptr %96, align 4, !tbaa !51
  br label %.critedge51

.critedge51:                                      ; preds = %.critedge51.sink.split, %176
  call void @_ZN11Application18ClearDebugRendererEv(ptr noundef nonnull align 16 dereferenceable(272) %0)
  %177 = load i32, ptr %96, align 4, !tbaa !51
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %178)
  %180 = getelementptr inbounds i8, ptr %179, i64 416
  call void @_ZN10SamplesApp12RestoreStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(416) %180)
  call void @_ZN3JPH17StateRecorderImpl6RewindEv(ptr noundef nonnull align 8 dereferenceable(416) %179)
  %181 = load ptr, ptr %33, align 8, !tbaa !47
  %182 = load ptr, ptr %181, align 8, !tbaa !44
  %183 = getelementptr inbounds i8, ptr %182, i64 168
  %184 = load ptr, ptr %183, align 8
  call void %184(ptr noundef nonnull align 8 dereferenceable(112) %181, ptr noundef nonnull align 8 dereferenceable(18) %179)
  call void @_ZN10SamplesApp11DrawPhysicsEv(ptr noundef nonnull align 16 dereferenceable(712) %0)
  %185 = load ptr, ptr %14, align 8, !tbaa !43
  call void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef %185)
  br i1 %150, label %186, label %198

186:                                              ; preds = %.critedge51
  %187 = load i32, ptr %96, align 4, !tbaa !51
  %188 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %189 = trunc i64 %188 to i32
  %190 = add nsw i32 %189, -1
  %191 = icmp slt i32 %187, %190
  br i1 %191, label %192, label %198

192:                                              ; preds = %186
  %193 = load i32, ptr %96, align 4, !tbaa !51
  %194 = add nsw i32 %193, 1
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %195)
  %197 = getelementptr inbounds i8, ptr %196, i64 416
  call void @_ZN10SamplesApp13ValidateStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(416) %197)
  br label %198

198:                                              ; preds = %.critedge51, %186, %192, %176
  %199 = load i32, ptr %96, align 4, !tbaa !51
  %200 = call noundef i64 @_ZNK3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %201 = trunc i64 %200 to i32
  %202 = add nsw i32 %201, -1
  %.not49 = icmp slt i32 %199, %202
  br i1 %.not49, label %203, label %.thread53

.thread53:                                        ; preds = %198
  store i32 5, ptr %95, align 16, !tbaa !50
  store i32 -1, ptr %96, align 4, !tbaa !51
  br label %261

203:                                              ; preds = %198
  %.pr = load i32, ptr %96, align 4, !tbaa !51
  %204 = icmp eq i32 %.pr, 0
  br i1 %204, label %205, label %261

205:                                              ; preds = %203
  store i32 2, ptr %95, align 16, !tbaa !50
  br label %261

206:                                              ; preds = %149
  %207 = icmp eq i32 %152, -1
  br i1 %207, label %211, label %208

208:                                              ; preds = %206
  %209 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.153, ptr noundef nonnull @.str.147, i32 noundef 2266)
  br i1 %209, label %210, label %211

210:                                              ; preds = %208
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !61
  br label %211

211:                                              ; preds = %210, %208, %206
  br i1 %25, label %212, label %261

212:                                              ; preds = %211
  call void @_ZN10SamplesApp11UpdateDebugEf(ptr noundef nonnull align 16 dereferenceable(712) %0, float noundef %1)
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #8
  call void @_ZN4Test18ProcessInputParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(80) %9)
  %213 = getelementptr inbounds i8, ptr %0, i64 276
  %214 = load float, ptr %213, align 4, !tbaa !62
  %215 = fdiv float 1.000000e+00, %214
  store float %215, ptr %9, align 16, !tbaa !63
  %216 = load ptr, ptr %76, align 16, !tbaa !49
  %217 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %216, ptr %217, align 8, !tbaa !65
  %218 = call noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %0)
  %219 = getelementptr inbounds i8, ptr %9, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(52) %219, ptr noundef nonnull align 16 dereferenceable(52) %218, i64 52, i1 false), !tbaa.struct !66
  %220 = load ptr, ptr %33, align 8, !tbaa !47
  %221 = load ptr, ptr %220, align 8, !tbaa !44
  %222 = getelementptr inbounds i8, ptr %221, i64 72
  %223 = load ptr, ptr %222, align 8
  call void %223(ptr noundef nonnull align 8 dereferenceable(112) %220, ptr noundef nonnull align 16 dereferenceable(80) %9)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #8
  %224 = load i8, ptr %135, align 2, !tbaa !56, !range !57, !noundef !58
  %225 = trunc nuw i8 %224 to i1
  %brmerge = or i1 %150, %225
  br i1 %brmerge, label %226, label %237

226:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 832, ptr nonnull %10) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(832) %10, i8 0, i64 832, i1 false)
  call void @_ZN10SamplesApp13PlayBackFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(832) %10)
  invoke void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 8 dereferenceable(832) %10)
          to label %227 unwind label %235

227:                                              ; preds = %226
  call void @_ZN10SamplesApp13PlayBackFrameD2Ev(ptr noundef nonnull align 8 dereferenceable(832) %10) #8
  call void @llvm.lifetime.end.p0(i64 832, ptr nonnull %10) #8
  %228 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %229 = getelementptr inbounds i8, ptr %228, i64 416
  call void @_ZN10SamplesApp9SaveStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(416) %229)
  %230 = load ptr, ptr %33, align 8, !tbaa !47
  %231 = call noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  %232 = load ptr, ptr %230, align 8, !tbaa !44
  %233 = getelementptr inbounds i8, ptr %232, i64 160
  %234 = load ptr, ptr %233, align 8
  call void %234(ptr noundef nonnull align 8 dereferenceable(112) %230, ptr noundef nonnull align 8 dereferenceable(18) %231)
  br label %237

235:                                              ; preds = %226
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10SamplesApp13PlayBackFrameD2Ev(ptr noundef nonnull align 8 dereferenceable(832) %10) #8
  call void @llvm.lifetime.end.p0(i64 832, ptr nonnull %10) #8
  br label %260

237:                                              ; preds = %212, %227
  call void @_ZN10SamplesApp11DrawPhysicsEv(ptr noundef nonnull align 16 dereferenceable(712) %0)
  %238 = load ptr, ptr %14, align 8, !tbaa !43
  call void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef %238)
  br i1 %150, label %239, label %261

239:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 416, ptr nonnull %11) #8
  call void @_ZN3JPH17StateRecorderImplC2Ev(ptr noundef nonnull align 8 dereferenceable(416) %11)
  invoke void @_ZN10SamplesApp9SaveStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(416) %11)
          to label %240 unwind label %255

240:                                              ; preds = %239
  %241 = invoke noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
          to label %242 unwind label %257

242:                                              ; preds = %240
  %243 = getelementptr inbounds i8, ptr %241, i64 416
  invoke void @_ZN10SamplesApp12RestoreStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(416) %243)
          to label %244 unwind label %257

244:                                              ; preds = %242
  invoke void @_ZN3JPH17StateRecorderImpl6RewindEv(ptr noundef nonnull align 8 dereferenceable(416) %241)
          to label %245 unwind label %257

245:                                              ; preds = %244
  %246 = load ptr, ptr %33, align 8, !tbaa !47
  %247 = load ptr, ptr %246, align 8, !tbaa !44
  %248 = getelementptr inbounds i8, ptr %247, i64 168
  %249 = load ptr, ptr %248, align 8
  invoke void %249(ptr noundef nonnull align 8 dereferenceable(112) %246, ptr noundef nonnull align 8 dereferenceable(18) %241)
          to label %250 unwind label %257

250:                                              ; preds = %245
  %251 = getelementptr inbounds i8, ptr %0, i64 304
  %252 = load ptr, ptr %251, align 16, !tbaa !69
  invoke void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef %252)
          to label %253 unwind label %257

253:                                              ; preds = %250
  invoke void @_ZN10SamplesApp13ValidateStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(416) %11)
          to label %254 unwind label %257

254:                                              ; preds = %253
  call void @_ZN3JPH17StateRecorderImplD2Ev(ptr noundef nonnull align 8 dereferenceable(416) %11) #8
  call void @llvm.lifetime.end.p0(i64 416, ptr nonnull %11) #8
  br label %261

255:                                              ; preds = %239
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %259

257:                                              ; preds = %253, %250, %245, %244, %242, %240
  %258 = landingpad { ptr, i32 }
          cleanup
  br label %259

259:                                              ; preds = %257, %255
  %.pn45 = phi { ptr, i32 } [ %258, %257 ], [ %256, %255 ]
  call void @_ZN3JPH17StateRecorderImplD2Ev(ptr noundef nonnull align 8 dereferenceable(416) %11) #8
  call void @llvm.lifetime.end.p0(i64 416, ptr nonnull %11) #8
  br label %260

260:                                              ; preds = %235, %259, %66
  %.pn45.pn.pn = phi { ptr, i32 } [ %.pn.pn, %66 ], [ %.pn45, %259 ], [ %236, %235 ]
  resume { ptr, i32 } %.pn45.pn.pn

261:                                              ; preds = %.thread53, %100, %103, %73, %237, %254, %211, %205, %203, %36
  %.3 = phi i1 [ true, %36 ], [ true, %203 ], [ true, %205 ], [ true, %211 ], [ true, %254 ], [ true, %237 ], [ false, %73 ], [ true, %103 ], [ true, %100 ], [ true, %.thread53 ]
  ret i1 %.3
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH19JobSystemThreadPool13SetNumThreadsEi(ptr noundef nonnull align 64 dereferenceable(8768), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4Test12NeedsRestartEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_SB_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEENSt7__cxx1112basic_stringIT_T0_T1_EEOSA_PKS7_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp12RestoreStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #2 align 2

declare void @_ZN3JPH17StateRecorderImpl6RewindEv(ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp11DrawPhysicsEv(ptr noundef nonnull align 16 dereferenceable(712)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp11StepPhysicsEPN3JPH9JobSystemE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp13ValidateStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Test18ProcessInputParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(80)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(832)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SamplesApp13PlayBackFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(832)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10SamplesApp13PlayBackFrameD2Ev(ptr noundef nonnull align 8 dereferenceable(832)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp9SaveStateERN3JPH17StateRecorderImplE(ptr noundef nonnull align 16 dereferenceable(712), ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(832) ptr @_ZN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17StateRecorderImplD2Ev(ptr noundef nonnull align 8 dereferenceable(416)) unnamed_addr #7 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !21, i64 272}
!6 = !{!"_ZTS10SamplesApp", !7, i64 0, !21, i64 272, !12, i64 276, !21, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !22, i64 312, !24, i64 328, !26, i64 336, !13, i64 344, !13, i64 352, !28, i64 360, !29, i64 448, !13, i64 480, !13, i64 488, !13, i64 496, !21, i64 504, !20, i64 508, !12, i64 512, !20, i64 516, !20, i64 517, !20, i64 518, !20, i64 519, !31, i64 520, !32, i64 544, !21, i64 548, !33, i64 552, !34, i64 556, !20, i64 560, !9, i64 576, !35, i64 592, !35, i64 593, !36, i64 594, !37, i64 595, !12, i64 596, !20, i64 600, !20, i64 601, !20, i64 602, !20, i64 603, !21, i64 604, !20, i64 608, !38, i64 612, !12, i64 616, !39, i64 620, !12, i64 624, !12, i64 628, !20, i64 632, !9, i64 640, !20, i64 656, !13, i64 664, !40, i64 672, !41, i64 680, !21, i64 688, !12, i64 692, !12, i64 696, !21, i64 700, !42, i64 704}
!7 = !{!"_ZTS11Application", !8, i64 16, !8, i64 80, !13, i64 144, !13, i64 152, !13, i64 160, !14, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !15, i64 208, !18, i64 240, !20, i64 248, !20, i64 249, !20, i64 250, !20, i64 251, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !21, i64 268}
!8 = !{!"_ZTS11CameraState", !9, i64 0, !9, i64 16, !9, i64 32, !12, i64 48}
!9 = !{!"_ZTSN3JPH4Vec3E", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"float", !10, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"_ZTSN3JPH8RefConstI4FontEE", !13, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !16, i64 0, !17, i64 8, !10, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !13, i64 0}
!17 = !{!"long", !10, i64 0}
!18 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !19, i64 0}
!19 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !17, i64 0}
!20 = !{!"bool", !10, i64 0}
!21 = !{!"int", !10, i64 0}
!22 = !{!"_ZTS20BPLayerInterfaceImpl", !23, i64 0, !10, i64 8}
!23 = !{!"_ZTSN3JPH24BroadPhaseLayerInterfaceE"}
!24 = !{!"_ZTS33ObjectVsBroadPhaseLayerFilterImpl", !25, i64 0}
!25 = !{!"_ZTSN3JPH29ObjectVsBroadPhaseLayerFilterE"}
!26 = !{!"_ZTS25ObjectLayerPairFilterImpl", !27, i64 0}
!27 = !{!"_ZTSN3JPH21ObjectLayerPairFilterE"}
!28 = !{!"_ZTSN3JPH15PhysicsSettingsE", !21, i64 0, !21, i64 4, !21, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !21, i64 56, !21, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !20, i64 76, !20, i64 77, !20, i64 78, !20, i64 79, !20, i64 80, !20, i64 81, !20, i64 82}
!29 = !{!"_ZTSN3JPH12UnorderedMapINS_8RefConstINS_5ShapeEEENS_3RefINS_13DebugRenderer8GeometryEEENS_4HashIS3_EESt8equal_toIS3_EEE", !30, i64 0}
!30 = !{!"_ZTSN3JPH9HashTableINS_8RefConstINS_5ShapeEEESt4pairIS3_NS_3RefINS_13DebugRenderer8GeometryEEEENS_18UnorderedMapDetailIS3_S8_EENS_4HashIS3_EESt8equal_toIS3_EEE", !13, i64 0, !13, i64 8, !21, i64 16, !21, i64 20, !21, i64 24}
!31 = !{!"_ZTSN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEE", !17, i64 0, !17, i64 8, !13, i64 16}
!32 = !{!"_ZTSN10SamplesApp13EPlaybackModeE", !10, i64 0}
!33 = !{!"_ZTSN10SamplesApp10EProbeModeE", !10, i64 0}
!34 = !{!"_ZTSN10SamplesApp11EProbeShapeE", !10, i64 0}
!35 = !{!"_ZTSN3JPH13EBackFaceModeE", !10, i64 0}
!36 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !10, i64 0}
!37 = !{!"_ZTSN3JPH17ECollectFacesModeE", !10, i64 0}
!38 = !{!"_ZTSN10SamplesApp17EShootObjectShapeE", !10, i64 0}
!39 = !{!"_ZTSN3JPH14EMotionQualityE", !10, i64 0}
!40 = !{!"_ZTSN3JPH6BodyIDE", !21, i64 0}
!41 = !{!"_ZTSN3JPH3RefINS_10ConstraintEEE", !13, i64 0}
!42 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000EEEE", !17, i64 0}
!43 = !{!6, !13, i64 296}
!44 = !{!45, !45, i64 0}
!45 = !{!"vtable pointer", !11, i64 0}
!46 = !{!6, !21, i64 504}
!47 = !{!6, !13, i64 488}
!48 = !{!6, !13, i64 480}
!49 = !{!7, !13, i64 176}
!50 = !{!6, !32, i64 544}
!51 = !{!6, !21, i64 548}
!52 = !{i64 2161776288}
!53 = !{i64 2161776624}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = !{!6, !20, i64 518}
!57 = !{i8 0, i8 2}
!58 = !{}
!59 = !{!6, !20, i64 519}
!60 = !{i64 2161776960}
!61 = !{i64 2161777298}
!62 = !{!6, !12, i64 276}
!63 = !{!64, !12, i64 0}
!64 = !{!"_ZTSN4Test18ProcessInputParamsE", !12, i64 0, !13, i64 8, !8, i64 16}
!65 = !{!64, !13, i64 8}
!66 = !{i64 0, i64 16, !67, i64 16, i64 16, !67, i64 32, i64 16, !67, i64 48, i64 4, !68}
!67 = !{!10, !10, i64 0}
!68 = !{!12, !12, i64 0}
!69 = !{!6, !13, i64 304}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,SROAPass,SimplifyCFGPass,TailCallElimPass