; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Renderer/Renderer.ll (ZN8Renderer10BeginFrameERK11CameraStatef)

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

%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%class.Frustum = type { [5 x %"class.JPH::Plane"] }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%class.Renderer = type { ptr, ptr, float, i8, [11 x i8], %struct.CameraState, %"class.JPH::Vec3", %class.Frustum, %class.Frustum, i32, %"struct.Renderer::VertexShaderConstantBuffer", %"struct.Renderer::VertexShaderConstantBuffer", %"struct.Renderer::PixelShaderConstantBuffer" }
%struct.CameraState = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8] }>
%"struct.Renderer::VertexShaderConstantBuffer" = type { %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44" }
%"struct.Renderer::PixelShaderConstantBuffer" = type { %"class.JPH::Vec4", %"class.JPH::Vec4" }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer10BeginFrameERK11CameraStatef(ptr noundef nonnull align 16 dereferenceable(832) %0, ptr noundef nonnull align 16 dereferenceable(52) %1, float noundef %2) unnamed_addr #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca %"struct.JPH::AssertLastParam", align 1
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %class.Frustum, align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %class.Frustum, align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Mat44", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Mat44", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Mat44", align 16
  %39 = alloca %"class.JPH::Mat44", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Mat44", align 16
  %44 = alloca %"class.JPH::Vec4", align 16
  %45 = alloca %"class.JPH::Vec4", align 16
  %46 = alloca %"class.JPH::Vec4", align 16
  %47 = alloca %"class.JPH::Vec4", align 16
  %48 = alloca %"class.JPH::Mat44", align 16
  %49 = alloca %"class.JPH::Mat44", align 16
  %50 = alloca %"class.JPH::Mat44", align 16
  %51 = alloca %"class.JPH::Vec4", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Vec4", align 16
  %54 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store float %2, ptr %6, align 4, !tbaa !9
  %55 = load ptr, ptr %4, align 8
  br label %56

56:                                               ; preds = %3
  %57 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 3
  %58 = load i8, ptr %57, align 4, !tbaa !11, !range !22, !noundef !23
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %63

60:                                               ; preds = %56
  %61 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 33)
  br i1 %61, label %62, label %63

62:                                               ; preds = %60
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !24
  br label %63

63:                                               ; preds = %62, %60, %56
  br label %64

64:                                               ; preds = %63
  %65 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 3
  store i8 1, ptr %65, align 4, !tbaa !11
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %67, ptr align 16 %66, i64 52, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  %68 = load float, ptr %6, align 4, !tbaa !9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %9, float noundef 2.500000e+02, float noundef 2.500000e+02, float noundef 2.500000e+02)
  %69 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  %70 = load double, ptr %69, align 16
  %71 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  %72 = load double, ptr %71, align 8
  %73 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %68, double %70, double %72)
  %74 = getelementptr inbounds %"class.JPH::Vec3", ptr %8, i32 0, i32 0
  %75 = getelementptr inbounds %union.anon, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 0
  %77 = extractvalue { double, double } %73, 0
  store double %77, ptr %76, align 16
  %78 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 1
  %79 = extractvalue { double, double } %73, 1
  store double %79, ptr %78, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %80 = call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %81 = getelementptr inbounds %"class.JPH::Vec3", ptr %10, i32 0, i32 0
  %82 = getelementptr inbounds %union.anon, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 0
  %84 = extractvalue { double, double } %80, 0
  store double %84, ptr %83, align 16
  %85 = getelementptr inbounds { double, double }, ptr %82, i32 0, i32 1
  %86 = extractvalue { double, double } %80, 1
  store double %86, ptr %85, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !27
  %87 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %88 = load double, ptr %87, align 16
  %89 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %90 = load double, ptr %89, align 8
  %91 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %10, double %88, double %90)
  %92 = getelementptr inbounds %"class.JPH::Vec3", ptr %13, i32 0, i32 0
  %93 = getelementptr inbounds %union.anon, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds { double, double }, ptr %93, i32 0, i32 0
  %95 = extractvalue { double, double } %91, 0
  store double %95, ptr %94, align 16
  %96 = getelementptr inbounds { double, double }, ptr %93, i32 0, i32 1
  %97 = extractvalue { double, double } %91, 1
  store double %97, ptr %96, align 8
  %98 = call { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %13)
  %99 = getelementptr inbounds %"class.JPH::Vec3", ptr %12, i32 0, i32 0
  %100 = getelementptr inbounds %union.anon, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds { double, double }, ptr %100, i32 0, i32 0
  %102 = extractvalue { double, double } %98, 0
  store double %102, ptr %101, align 16
  %103 = getelementptr inbounds { double, double }, ptr %100, i32 0, i32 1
  %104 = extractvalue { double, double } %98, 1
  store double %104, ptr %103, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %105 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 2.000000e+01)
  store float %105, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store float 1.000000e+00, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.CameraState, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %108, i64 16, i1 false), !tbaa.struct !27
  %109 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %110 = load double, ptr %109, align 16
  %111 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %112 = load double, ptr %111, align 8
  %113 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %107, double %110, double %112)
  %114 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %115 = getelementptr inbounds %union.anon, ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 0
  %117 = extractvalue { double, double } %113, 0
  store double %117, ptr %116, align 16
  %118 = getelementptr inbounds { double, double }, ptr %115, i32 0, i32 1
  %119 = extractvalue { double, double } %113, 1
  store double %119, ptr %118, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.CameraState, ptr %120, i32 0, i32 3
  %122 = load float, ptr %121, align 16, !tbaa !28
  store float %122, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %123 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8, !tbaa !29
  %125 = call noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48) %124)
  %126 = sitofp i32 %125 to float
  %127 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 1
  %128 = load ptr, ptr %127, align 8, !tbaa !29
  %129 = call noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48) %128)
  %130 = sitofp i32 %129 to float
  %131 = fdiv float %126, %130
  store float %131, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %132 = load float, ptr %20, align 4, !tbaa !9
  %133 = load float, ptr %19, align 4, !tbaa !9
  %134 = fmul float 5.000000e-01, %133
  %135 = call noundef float @_ZN3JPH3TanEf(float noundef %134)
  %136 = fmul float %132, %135
  %137 = call noundef float @_ZN3JPH4ATanEf(float noundef %136)
  %138 = fmul float 2.000000e+00, %137
  store float %138, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %139 = load float, ptr %6, align 4, !tbaa !9
  %140 = fmul float 0x3F847AE140000000, %139
  store float %140, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 80, ptr %23) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !27
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.CameraState, ptr %141, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %142, i64 16, i1 false), !tbaa.struct !27
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.CameraState, ptr %143, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %144, i64 16, i1 false), !tbaa.struct !27
  %145 = load float, ptr %21, align 4, !tbaa !9
  %146 = load float, ptr %19, align 4, !tbaa !9
  %147 = load float, ptr %22, align 4, !tbaa !9
  %148 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %149 = load double, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %151 = load double, ptr %150, align 8
  %152 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %153 = load double, ptr %152, align 16
  %154 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %155 = load double, ptr %154, align 8
  %156 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %157 = load double, ptr %156, align 16
  %158 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %159 = load double, ptr %158, align 8
  call void @_ZN7FrustumC2EN3JPH4Vec3ES1_S1_fff(ptr noundef nonnull align 16 dereferenceable(80) %23, double %149, double %151, double %153, double %155, double %157, double %159, float noundef %145, float noundef %146, float noundef %147)
  %160 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %160, ptr align 16 %23, i64 80, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 80, ptr %27) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %30, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !27
  %161 = load float, ptr %15, align 4, !tbaa !9
  %162 = load float, ptr %15, align 4, !tbaa !9
  %163 = load float, ptr %16, align 4, !tbaa !9
  %164 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %165 = load double, ptr %164, align 16
  %166 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %167 = load double, ptr %166, align 8
  %168 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %169 = load double, ptr %168, align 16
  %170 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %171 = load double, ptr %170, align 8
  %172 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %173 = load double, ptr %172, align 16
  %174 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %175 = load double, ptr %174, align 8
  call void @_ZN7FrustumC2EN3JPH4Vec3ES1_S1_fff(ptr noundef nonnull align 16 dereferenceable(80) %27, double %165, double %167, double %169, double %171, double %173, double %175, float noundef %161, float noundef %162, float noundef %163)
  %176 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %176, ptr align 16 %27, i64 80, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 80, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #9
  %177 = load float, ptr %19, align 4, !tbaa !9
  %178 = load float, ptr %20, align 4, !tbaa !9
  %179 = load float, ptr %22, align 4, !tbaa !9
  %180 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 2
  %181 = load float, ptr %180, align 16, !tbaa !31
  call void @_ZL28sPerspectiveInfiniteReverseZffff(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %31, float noundef %177, float noundef %178, float noundef %179, float noundef %181)
  %182 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 10
  %183 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %182, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %183, ptr align 16 %31, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #9
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.CameraState, ptr %184, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 16 %185, i64 16, i1 false), !tbaa.struct !27
  %186 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %187 = load double, ptr %186, align 16
  %188 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %189 = load double, ptr %188, align 8
  %190 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %17, double %187, double %189)
  %191 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %192 = getelementptr inbounds %union.anon, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds { double, double }, ptr %192, i32 0, i32 0
  %194 = extractvalue { double, double } %190, 0
  store double %194, ptr %193, align 16
  %195 = getelementptr inbounds { double, double }, ptr %192, i32 0, i32 1
  %196 = extractvalue { double, double } %190, 1
  store double %196, ptr %195, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 16 %32, i64 16, i1 false), !tbaa.struct !27
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.CameraState, ptr %197, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %198, i64 16, i1 false), !tbaa.struct !27
  %199 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %200 = load double, ptr %199, align 16
  %201 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %202 = load double, ptr %201, align 8
  %203 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %204 = load double, ptr %203, align 16
  %205 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %206 = load double, ptr %205, align 8
  %207 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %208 = load double, ptr %207, align 16
  %209 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %210 = load double, ptr %209, align 8
  call void @_ZN3JPH5Mat447sLookAtENS_4Vec3ES1_S1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %34, double %200, double %202, double %204, double %206, double %208, double %210)
  %211 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 10
  %212 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %211, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %212, ptr align 16 %34, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #9
  %213 = load float, ptr %15, align 4, !tbaa !9
  %214 = load float, ptr %16, align 4, !tbaa !9
  %215 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 2
  %216 = load float, ptr %215, align 16, !tbaa !31
  call void @_ZL28sPerspectiveInfiniteReverseZffff(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %38, float noundef %213, float noundef 1.000000e+00, float noundef %214, float noundef %216)
  %217 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 10
  %218 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %217, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %218, ptr align 16 %38, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !27
  %219 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %220 = load double, ptr %219, align 16
  %221 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %222 = load double, ptr %221, align 8
  %223 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %224 = load double, ptr %223, align 16
  %225 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %226 = load double, ptr %225, align 8
  %227 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %228 = load double, ptr %227, align 16
  %229 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %230 = load double, ptr %229, align 8
  call void @_ZN3JPH5Mat447sLookAtENS_4Vec3ES1_S1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %39, double %220, double %222, double %224, double %226, double %228, double %230)
  %231 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 10
  %232 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %231, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %232, ptr align 16 %39, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %43) #9
  %233 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 1
  %234 = load ptr, ptr %233, align 8, !tbaa !29
  %235 = call noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48) %234)
  %236 = sitofp i32 %235 to float
  %237 = fdiv float 2.000000e+00, %236
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %44, float noundef %237, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %238 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 2
  %239 = load float, ptr %238, align 16, !tbaa !31
  %240 = fneg float %239
  %241 = fmul float %240, 2.000000e+00
  %242 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 1
  %243 = load ptr, ptr %242, align 8, !tbaa !29
  %244 = call noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48) %243)
  %245 = sitofp i32 %244 to float
  %246 = fdiv float %241, %245
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %45, float noundef 0.000000e+00, float noundef %246, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %46, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %247 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 2
  %248 = load float, ptr %247, align 16, !tbaa !31
  %249 = fmul float %248, 1.000000e+00
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %47, float noundef -1.000000e+00, float noundef %249, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %250 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %251 = load double, ptr %250, align 16
  %252 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %253 = load double, ptr %252, align 8
  %254 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %255 = load double, ptr %254, align 16
  %256 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %257 = load double, ptr %256, align 8
  %258 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %259 = load double, ptr %258, align 16
  %260 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %261 = load double, ptr %260, align 8
  %262 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %263 = load double, ptr %262, align 16
  %264 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %265 = load double, ptr %264, align 8
  call void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64) %43, double %251, double %253, double %255, double %257, double %259, double %261, double %263, double %265)
  %266 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 11
  %267 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %266, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %267, ptr align 16 %43, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %43) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %48) #9
  call void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %48)
  %268 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 11
  %269 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %268, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %269, ptr align 16 %48, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %49) #9
  call void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %49)
  %270 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 11
  %271 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %270, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %271, ptr align 16 %49, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr %50) #9
  call void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %50)
  %272 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 11
  %273 = getelementptr inbounds %"struct.Renderer::VertexShaderConstantBuffer", ptr %272, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %273, ptr align 16 %50, i64 64, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 64, ptr %50) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %52, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !27
  %274 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %275 = load double, ptr %274, align 16
  %276 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %277 = load double, ptr %276, align 8
  call void @_ZN3JPH4Vec4C2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %51, double %275, double %277, float noundef 0.000000e+00)
  %278 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 12
  %279 = getelementptr inbounds %"struct.Renderer::PixelShaderConstantBuffer", ptr %278, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %279, ptr align 16 %51, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !27
  %280 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %281 = load double, ptr %280, align 16
  %282 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %283 = load double, ptr %282, align 8
  call void @_ZN3JPH4Vec4C2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %53, double %281, double %283, float noundef 0.000000e+00)
  %284 = getelementptr inbounds %class.Renderer, ptr %55, i32 0, i32 12
  %285 = getelementptr inbounds %"struct.Renderer::PixelShaderConstantBuffer", ptr %284, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %285, ptr align 16 %53, i64 16, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  ret void
}

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #4

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec35sZeroEv() #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48)) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48)) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH4ATanEf(float noundef) #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH3TanEf(float noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7FrustumC2EN3JPH4Vec3ES1_S1_fff(ptr noundef nonnull align 16 dereferenceable(80), double, double, double, double, double, double, float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL28sPerspectiveInfiniteReverseZffff(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, float noundef, float noundef, float noundef, float noundef) #1

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat447sLookAtENS_4Vec3ES1_S1_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double, double, double, double, double) #5 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64), double, double, double, double, double, double, double, double) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec4C2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16), double, double, float noundef) unnamed_addr #6 align 2

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

!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, !13, i64 20}
!12 = !{!"_ZTS8Renderer", !6, i64 8, !10, i64 16, !13, i64 20, !14, i64 32, !15, i64 96, !16, i64 112, !16, i64 192, !17, i64 272, !18, i64 288, !18, i64 544, !20, i64 800}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS11CameraState", !15, i64 0, !15, i64 16, !15, i64 32, !10, i64 48}
!15 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!16 = !{!"_ZTS7Frustum", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN8Renderer26VertexShaderConstantBufferE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192}
!19 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!20 = !{!"_ZTSN8Renderer25PixelShaderConstantBufferE", !21, i64 0, !21, i64 16}
!21 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{i64 2157766516}
!25 = !{i64 0, i64 16, !26, i64 16, i64 16, !26, i64 32, i64 16, !26, i64 48, i64 4, !9}
!26 = !{!7, !7, i64 0}
!27 = !{i64 0, i64 16, !26}
!28 = !{!14, !10, i64 48}
!29 = !{!12, !6, i64 8}
!30 = !{i64 0, i64 80, !26}
!31 = !{!12, !10, i64 16}
!32 = !{i64 0, i64 64, !26}


; 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.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%class.Frustum = type { [5 x %"class.JPH::Plane"] }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer10BeginFrameERK11CameraStatef(ptr nocapture noundef nonnull align 16 dereferenceable(832) %0, ptr noundef nonnull align 16 dereferenceable(52) %1, float noundef %2) unnamed_addr #1 align 2 {
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %class.Frustum, align 16
  %10 = alloca %class.Frustum, align 16
  %11 = alloca %"class.JPH::Mat44", align 16
  %12 = alloca %"class.JPH::Mat44", align 16
  %13 = alloca %"class.JPH::Mat44", align 16
  %14 = alloca %"class.JPH::Mat44", align 16
  %15 = alloca %"class.JPH::Mat44", align 16
  %16 = alloca %"class.JPH::Vec4", align 16
  %17 = alloca %"class.JPH::Vec4", align 16
  %18 = alloca %"class.JPH::Vec4", align 16
  %19 = alloca %"class.JPH::Vec4", align 16
  %20 = alloca %"class.JPH::Mat44", align 16
  %21 = alloca %"class.JPH::Mat44", align 16
  %22 = alloca %"class.JPH::Mat44", align 16
  %23 = alloca %"class.JPH::Vec4", align 16
  %24 = alloca %"class.JPH::Vec4", align 16
  %25 = getelementptr inbounds i8, ptr %0, i64 20
  %26 = load i8, ptr %25, align 4, !tbaa !5, !range !20, !noundef !21
  %27 = trunc nuw i8 %26 to i1
  br i1 %27, label %28, label %31

28:                                               ; preds = %3
  %29 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 33)
  br i1 %29, label %30, label %31

30:                                               ; preds = %28
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #9, !srcloc !22
  br label %31

31:                                               ; preds = %3, %28, %30
  store i8 1, ptr %25, align 4, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(52) %32, ptr noundef nonnull align 16 dereferenceable(52) %1, i64 52, i1 false), !tbaa.struct !23
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 2.500000e+02, float noundef 2.500000e+02, float noundef 2.500000e+02)
  %33 = load double, ptr %4, align 16
  %34 = getelementptr inbounds i8, ptr %4, i64 8
  %35 = load double, ptr %34, align 8
  %36 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %2, double %33, double %35)
  %37 = extractvalue { double, double } %36, 0
  %38 = extractvalue { double, double } %36, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %39 = call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %40 = extractvalue { double, double } %39, 0
  store double %40, ptr %5, align 16
  %41 = getelementptr inbounds i8, ptr %5, i64 8
  %42 = extractvalue { double, double } %39, 1
  store double %42, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %6, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  %43 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %5, double %37, double %38)
  %44 = extractvalue { double, double } %43, 0
  store double %44, ptr %7, align 16
  %45 = getelementptr inbounds i8, ptr %7, i64 8
  %46 = extractvalue { double, double } %43, 1
  store double %46, ptr %45, align 8
  %47 = call { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %7)
  %48 = extractvalue { double, double } %47, 0
  %49 = extractvalue { double, double } %47, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  %50 = call noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef 2.000000e+01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  %51 = getelementptr inbounds i8, ptr %0, i64 96
  %.sroa.037.0.copyload = load double, ptr %51, align 16
  %.sroa.238.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.238.0.copyload = load double, ptr %.sroa.238.0..sroa_idx, align 8, !tbaa !24
  %52 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %1, double %.sroa.037.0.copyload, double %.sroa.238.0.copyload)
  %53 = extractvalue { double, double } %52, 0
  store double %53, ptr %8, align 16
  %54 = getelementptr inbounds i8, ptr %8, i64 8
  %55 = extractvalue { double, double } %52, 1
  store double %55, ptr %54, align 8
  %56 = getelementptr inbounds i8, ptr %1, i64 48
  %57 = load float, ptr %56, align 16, !tbaa !26
  %58 = getelementptr inbounds i8, ptr %0, i64 8
  %59 = load ptr, ptr %58, align 8, !tbaa !27
  %60 = call noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48) %59)
  %61 = sitofp i32 %60 to float
  %62 = load ptr, ptr %58, align 8, !tbaa !27
  %63 = call noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48) %62)
  %64 = sitofp i32 %63 to float
  %65 = fdiv float %61, %64
  %66 = fmul float %57, 5.000000e-01
  %67 = call noundef float @_ZN3JPH3TanEf(float noundef %66)
  %68 = fmul float %67, %65
  %69 = call noundef float @_ZN3JPH4ATanEf(float noundef %68)
  %70 = fmul float %69, 2.000000e+00
  %71 = fmul float %2, 0x3F847AE140000000
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #9
  %72 = getelementptr inbounds i8, ptr %1, i64 16
  %.sroa.026.0.copyload = load double, ptr %72, align 16
  %.sroa.227.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 24
  %.sroa.227.0.copyload = load double, ptr %.sroa.227.0..sroa_idx, align 8, !tbaa !24
  %73 = getelementptr inbounds i8, ptr %1, i64 32
  %.sroa.024.0.copyload = load double, ptr %73, align 16
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 40
  %.sroa.225.0.copyload = load double, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !24
  call void @_ZN7FrustumC2EN3JPH4Vec3ES1_S1_fff(ptr noundef nonnull align 16 dereferenceable(80) %9, double %53, double %55, double %.sroa.026.0.copyload, double %.sroa.227.0.copyload, double %.sroa.024.0.copyload, double %.sroa.225.0.copyload, float noundef %70, float noundef %57, float noundef %71)
  %74 = getelementptr inbounds i8, ptr %0, i64 112
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %74, ptr noundef nonnull align 16 dereferenceable(80) %9, i64 80, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #9
  %.sroa.018.0.copyload = load double, ptr %6, align 16
  %.sroa.219.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.219.0.copyload = load double, ptr %.sroa.219.0..sroa_idx, align 8, !tbaa !24
  call void @_ZN7FrustumC2EN3JPH4Vec3ES1_S1_fff(ptr noundef nonnull align 16 dereferenceable(80) %10, double %37, double %38, double %48, double %49, double %.sroa.018.0.copyload, double %.sroa.219.0.copyload, float noundef %50, float noundef %50, float noundef 1.000000e+00)
  %75 = getelementptr inbounds i8, ptr %0, i64 192
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %75, ptr noundef nonnull align 16 dereferenceable(80) %10, i64 80, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #9
  %76 = getelementptr inbounds i8, ptr %0, i64 16
  %77 = load float, ptr %76, align 16, !tbaa !29
  call void @_ZL28sPerspectiveInfiniteReverseZffff(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %11, float noundef %57, float noundef %65, float noundef %71, float noundef %77)
  %78 = getelementptr inbounds i8, ptr %0, i64 288
  %79 = getelementptr inbounds i8, ptr %0, i64 352
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %79, ptr noundef nonnull align 16 dereferenceable(64) %11, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #9
  %.sroa.015.0.copyload = load double, ptr %72, align 16
  %.sroa.216.0.copyload = load double, ptr %.sroa.227.0..sroa_idx, align 8, !tbaa !24
  %80 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %.sroa.015.0.copyload, double %.sroa.216.0.copyload)
  %81 = extractvalue { double, double } %80, 0
  %82 = extractvalue { double, double } %80, 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #9
  %.sroa.013.0.copyload = load double, ptr %8, align 16
  %.sroa.214.0.copyload = load double, ptr %54, align 8, !tbaa !24
  %.sroa.09.0.copyload = load double, ptr %73, align 16
  %.sroa.210.0.copyload = load double, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !24
  call void @_ZN3JPH5Mat447sLookAtENS_4Vec3ES1_S1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %12, double %.sroa.013.0.copyload, double %.sroa.214.0.copyload, double %81, double %82, double %.sroa.09.0.copyload, double %.sroa.210.0.copyload)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %78, ptr noundef nonnull align 16 dereferenceable(64) %12, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #9
  %83 = load float, ptr %76, align 16, !tbaa !29
  call void @_ZL28sPerspectiveInfiniteReverseZffff(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %13, float noundef %50, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %83)
  %84 = getelementptr inbounds i8, ptr %0, i64 480
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %84, ptr noundef nonnull align 16 dereferenceable(64) %13, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #9
  %.sroa.05.0.copyload = load double, ptr %5, align 16
  %.sroa.26.0.copyload = load double, ptr %41, align 8, !tbaa !24
  %.sroa.03.0.copyload = load double, ptr %6, align 16
  %.sroa.24.0.copyload = load double, ptr %.sroa.219.0..sroa_idx, align 8, !tbaa !24
  call void @_ZN3JPH5Mat447sLookAtENS_4Vec3ES1_S1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %14, double %37, double %38, double %.sroa.05.0.copyload, double %.sroa.26.0.copyload, double %.sroa.03.0.copyload, double %.sroa.24.0.copyload)
  %85 = getelementptr inbounds i8, ptr %0, i64 416
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %85, ptr noundef nonnull align 16 dereferenceable(64) %14, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #9
  %86 = load ptr, ptr %58, align 8, !tbaa !27
  %87 = call noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48) %86)
  %88 = sitofp i32 %87 to float
  %89 = fdiv float 2.000000e+00, %88
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef %89, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %90 = load float, ptr %76, align 16, !tbaa !29
  %91 = fmul float %90, -2.000000e+00
  %92 = load ptr, ptr %58, align 8, !tbaa !27
  %93 = call noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48) %92)
  %94 = sitofp i32 %93 to float
  %95 = fdiv float %91, %94
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef 0.000000e+00, float noundef %95, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %18, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %96 = load float, ptr %76, align 16, !tbaa !29
  call void @_ZN3JPH4Vec4C2Effff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef -1.000000e+00, float noundef %96, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %97 = load double, ptr %16, align 16
  %98 = getelementptr inbounds i8, ptr %16, i64 8
  %99 = load double, ptr %98, align 8
  %100 = load double, ptr %17, align 16
  %101 = getelementptr inbounds i8, ptr %17, i64 8
  %102 = load double, ptr %101, align 8
  %103 = load double, ptr %18, align 16
  %104 = getelementptr inbounds i8, ptr %18, i64 8
  %105 = load double, ptr %104, align 8
  %106 = load double, ptr %19, align 16
  %107 = getelementptr inbounds i8, ptr %19, i64 8
  %108 = load double, ptr %107, align 8
  call void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64) %15, double %97, double %99, double %100, double %102, double %103, double %105, double %106, double %108)
  %109 = getelementptr inbounds i8, ptr %0, i64 544
  %110 = getelementptr inbounds i8, ptr %0, i64 608
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %110, ptr noundef nonnull align 16 dereferenceable(64) %15, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #9
  call void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %20)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %109, ptr noundef nonnull align 16 dereferenceable(64) %20, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #9
  call void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %21)
  %111 = getelementptr inbounds i8, ptr %0, i64 672
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %111, ptr noundef nonnull align 16 dereferenceable(64) %21, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #9
  call void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %22)
  %112 = getelementptr inbounds i8, ptr %0, i64 736
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %112, ptr noundef nonnull align 16 dereferenceable(64) %22, i64 64, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #9
  %.sroa.01.0.copyload = load double, ptr %8, align 16
  %.sroa.22.0.copyload = load double, ptr %54, align 8, !tbaa !24
  call void @_ZN3JPH4Vec4C2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %23, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload, float noundef 0.000000e+00)
  %113 = getelementptr inbounds i8, ptr %0, i64 800
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %113, ptr noundef nonnull align 16 dereferenceable(16) %23, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #9
  call void @_ZN3JPH4Vec4C2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16) %24, double %37, double %38, float noundef 0.000000e+00)
  %114 = getelementptr inbounds i8, ptr %0, i64 816
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %114, ptr noundef nonnull align 16 dereferenceable(16) %24, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  ret void
}

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #4

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec35sZeroEv() local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH16DegreesToRadiansEf(float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH4ATanEf(float noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH3TanEf(float noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7FrustumC2EN3JPH4Vec3ES1_S1_fff(ptr noundef nonnull align 16 dereferenceable(80), double, double, double, double, double, double, float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL28sPerspectiveInfiniteReverseZffff(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat447sLookAtENS_4Vec3ES1_S1_(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double, double, double, double, double) local_unnamed_addr #5 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5Mat44C2ENS_4Vec4ES1_S1_S1_(ptr noundef nonnull align 16 dereferenceable(64), double, double, double, double, double, double, double, double) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat449sIdentityEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec4C2ENS_4Vec3Ef(ptr noundef nonnull align 16 dereferenceable(16), double, double, float noundef) unnamed_addr #6 align 2

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

!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, !11, i64 20}
!6 = !{!"_ZTS8Renderer", !7, i64 8, !10, i64 16, !11, i64 20, !12, i64 32, !13, i64 96, !14, i64 112, !14, i64 192, !15, i64 272, !16, i64 288, !16, i64 544, !18, i64 800}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTS11CameraState", !13, i64 0, !13, i64 16, !13, i64 32, !10, i64 48}
!13 = !{!"_ZTSN3JPH4Vec3E", !8, i64 0}
!14 = !{!"_ZTS7Frustum", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!"_ZTSN8Renderer26VertexShaderConstantBufferE", !17, i64 0, !17, i64 64, !17, i64 128, !17, i64 192}
!17 = !{!"_ZTSN3JPH5Mat44E", !8, i64 0}
!18 = !{!"_ZTSN8Renderer25PixelShaderConstantBufferE", !19, i64 0, !19, i64 16}
!19 = !{!"_ZTSN3JPH4Vec4E", !8, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{i64 2157766516}
!23 = !{i64 0, i64 16, !24, i64 16, i64 16, !24, i64 32, i64 16, !24, i64 48, i64 4, !25}
!24 = !{!8, !8, i64 0}
!25 = !{!10, !10, i64 0}
!26 = !{!12, !10, i64 48}
!27 = !{!6, !7, i64 8}
!28 = !{i64 0, i64 80, !24}
!29 = !{!6, !10, i64 16}
!30 = !{i64 0, i64 64, !24}
!31 = !{i64 0, i64 16, !24}


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