; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Renderer (Font)

; 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.JPH::Color" = type { %union.anon.6 }
%union.anon.6 = type { i32 }
%"class.JPH::Float2" = type { float, float }
%"class.JPH::Vec3" = type { %union.anon.8 }
%union.anon.8 = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%class.Font = type { %"class.JPH::RefTarget", %"class.std::__cxx11::basic_string", i32, i32, i32, [224 x i16], [224 x i16], [224 x i8], [224 x [224 x i8]], ptr, %"class.JPH::Ref", %"class.std::unique_ptr" }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.JPH::Ref" = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"struct.Font::FontVertex" = type { %"class.JPH::Float3", %"class.JPH::Float2", %"class.JPH::Color" }
%"class.JPH::Float3" = type { float, float, float }

@.str.10 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [28 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4Font12CreateStringERKN3JPH5Mat44ERKSt17basic_string_viewIcSt11char_traitsIcEENS0_5ColorER15RenderPrimitive(ptr noundef nonnull align 8 dereferenceable(51376) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 %3, ptr noundef nonnull align 8 dereferenceable(32) %4) #4 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca %"class.JPH::Color", align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"class.JPH::Float2", align 4
  %30 = alloca %"class.JPH::Float2", align 4
  %31 = alloca %"class.JPH::Float2", align 4
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Float2", align 4
  %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::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Float2", align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"struct.JPH::AssertLastParam", align 1
  %45 = alloca %"struct.JPH::AssertLastParam", align 1
  %46 = getelementptr inbounds %"class.JPH::Color", ptr %7, i32 0, i32 0
  %47 = getelementptr inbounds %union.anon.6, ptr %46, i32 0, i32 0
  store i32 %3, ptr %47, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %48 = load ptr, ptr %8, align 8
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN15RenderPrimitive5ClearEv(ptr noundef nonnull align 8 dereferenceable(32) %49)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %73, %5
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %53) #7
  %55 = icmp ult i64 %52, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %76

57:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %58, i64 noundef %60) #7
  %62 = load i8, ptr %61, align 1, !tbaa !11
  %63 = sext i8 %62 to i32
  store i32 %63, ptr %14, align 4, !tbaa !9
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = icmp sgt i32 %64, 32
  br i1 %65, label %66, label %72

66:                                               ; preds = %57
  %67 = load i32, ptr %14, align 4, !tbaa !9
  %68 = icmp slt i32 %67, 256
  br i1 %68, label %69, label %72

69:                                               ; preds = %66
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %12, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %69, %66, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = add i32 %74, 1
  store i32 %75, ptr %13, align 4, !tbaa !9
  br label %50, !llvm.loop !12

76:                                               ; preds = %56
  %77 = load i32, ptr %12, align 4, !tbaa !9
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %76
  store i1 false, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %415

80:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %81 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 3
  %82 = load i32, ptr %81, align 4, !tbaa !14
  %83 = sitofp i32 %82 to float
  %84 = fdiv float 1.000000e+00, %83
  store float %84, ptr %16, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %85 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 4
  %86 = load i32, ptr %85, align 8, !tbaa !31
  %87 = sitofp i32 %86 to float
  %88 = fdiv float 1.000000e+00, %87
  store float %88, ptr %17, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = mul nsw i32 %89, 4
  store i32 %90, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = mul nsw i32 %91, 6
  store i32 %92, ptr %19, align 4, !tbaa !9
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = load ptr, ptr %93, align 8, !tbaa !32
  %96 = getelementptr inbounds ptr, ptr %95, i64 4
  %97 = load ptr, ptr %96, align 8
  call void %97(ptr noundef nonnull align 8 dereferenceable(32) %93, i32 noundef %94, i32 noundef 24, ptr noundef null)
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load i32, ptr %19, align 4, !tbaa !9
  %100 = load ptr, ptr %98, align 8, !tbaa !32
  %101 = getelementptr inbounds ptr, ptr %100, i64 8
  %102 = load ptr, ptr %101, align 8
  call void %102(ptr noundef nonnull align 8 dereferenceable(32) %98, i32 noundef %99, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = load ptr, ptr %103, align 8, !tbaa !32
  %105 = getelementptr inbounds ptr, ptr %104, i64 6
  %106 = load ptr, ptr %105, align 8
  %107 = call noundef ptr %106(ptr noundef nonnull align 8 dereferenceable(32) %103)
  store ptr %107, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !32
  %110 = getelementptr inbounds ptr, ptr %109, i64 10
  %111 = load ptr, ptr %110, align 8
  %112 = call noundef ptr %111(ptr noundef nonnull align 8 dereferenceable(32) %108)
  store ptr %112, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %113 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %113, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store float 0.000000e+00, ptr %24, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store float -1.000000e+00, ptr %25, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %380, %80
  %115 = load i32, ptr %26, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %117) #7
  %119 = icmp ult i64 %116, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %114
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %383

121:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = load i32, ptr %26, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %122, i64 noundef %124) #7
  %126 = load i8, ptr %125, align 1, !tbaa !11
  %127 = sext i8 %126 to i32
  store i32 %127, ptr %27, align 4, !tbaa !9
  %128 = load i32, ptr %27, align 4, !tbaa !9
  %129 = icmp sgt i32 %128, 32
  br i1 %129, label %130, label %326

130:                                              ; preds = %121
  %131 = load i32, ptr %27, align 4, !tbaa !9
  %132 = icmp slt i32 %131, 256
  br i1 %132, label %133, label %326

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %134 = load i32, ptr %27, align 4, !tbaa !9
  %135 = sub nsw i32 %134, 32
  store i32 %135, ptr %28, align 4, !tbaa !9
  %136 = load i32, ptr %20, align 4, !tbaa !9
  %137 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %136, ptr %137, align 4, !tbaa !9
  %138 = load ptr, ptr %23, align 8, !tbaa !5
  %139 = getelementptr inbounds i32, ptr %138, i32 1
  store ptr %139, ptr %23, align 8, !tbaa !5
  %140 = load i32, ptr %20, align 4, !tbaa !9
  %141 = add i32 %140, 3
  %142 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %141, ptr %142, align 4, !tbaa !9
  %143 = load ptr, ptr %23, align 8, !tbaa !5
  %144 = getelementptr inbounds i32, ptr %143, i32 1
  store ptr %144, ptr %23, align 8, !tbaa !5
  %145 = load i32, ptr %20, align 4, !tbaa !9
  %146 = add i32 %145, 1
  %147 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %146, ptr %147, align 4, !tbaa !9
  %148 = load ptr, ptr %23, align 8, !tbaa !5
  %149 = getelementptr inbounds i32, ptr %148, i32 1
  store ptr %149, ptr %23, align 8, !tbaa !5
  %150 = load i32, ptr %20, align 4, !tbaa !9
  %151 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %150, ptr %151, align 4, !tbaa !9
  %152 = load ptr, ptr %23, align 8, !tbaa !5
  %153 = getelementptr inbounds i32, ptr %152, i32 1
  store ptr %153, ptr %23, align 8, !tbaa !5
  %154 = load i32, ptr %20, align 4, !tbaa !9
  %155 = add i32 %154, 2
  %156 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %155, ptr %156, align 4, !tbaa !9
  %157 = load ptr, ptr %23, align 8, !tbaa !5
  %158 = getelementptr inbounds i32, ptr %157, i32 1
  store ptr %158, ptr %23, align 8, !tbaa !5
  %159 = load i32, ptr %20, align 4, !tbaa !9
  %160 = add i32 %159, 3
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %160, ptr %161, align 4, !tbaa !9
  %162 = load ptr, ptr %23, align 8, !tbaa !5
  %163 = getelementptr inbounds i32, ptr %162, i32 1
  store ptr %163, ptr %23, align 8, !tbaa !5
  %164 = load i32, ptr %20, align 4, !tbaa !9
  %165 = add i32 %164, 4
  store i32 %165, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %166 = load float, ptr %16, align 4, !tbaa !29
  %167 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 5
  %168 = load i32, ptr %28, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [224 x i16], ptr %167, i64 0, i64 %169
  %171 = load i16, ptr %170, align 2, !tbaa !34
  %172 = zext i16 %171 to i32
  %173 = sitofp i32 %172 to float
  %174 = fmul float %166, %173
  %175 = load float, ptr %17, align 4, !tbaa !29
  %176 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 6
  %177 = load i32, ptr %28, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [224 x i16], ptr %176, i64 0, i64 %178
  %180 = load i16, ptr %179, align 2, !tbaa !34
  %181 = zext i16 %180 to i32
  %182 = sitofp i32 %181 to float
  %183 = fmul float %175, %182
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %174, float noundef %183)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %184 = load float, ptr %16, align 4, !tbaa !29
  %185 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 5
  %186 = load i32, ptr %28, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [224 x i16], ptr %185, i64 0, i64 %187
  %189 = load i16, ptr %188, align 2, !tbaa !34
  %190 = zext i16 %189 to i32
  %191 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 7
  %192 = load i32, ptr %28, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [224 x i8], ptr %191, i64 0, i64 %193
  %195 = load i8, ptr %194, align 1, !tbaa !11
  %196 = zext i8 %195 to i32
  %197 = add nsw i32 %190, %196
  %198 = sitofp i32 %197 to float
  %199 = fmul float %184, %198
  %200 = load float, ptr %17, align 4, !tbaa !29
  %201 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 6
  %202 = load i32, ptr %28, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [224 x i16], ptr %201, i64 0, i64 %203
  %205 = load i16, ptr %204, align 2, !tbaa !34
  %206 = zext i16 %205 to i32
  %207 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 2
  %208 = load i32, ptr %207, align 8, !tbaa !36
  %209 = add nsw i32 %206, %208
  %210 = sitofp i32 %209 to float
  %211 = fmul float %200, %210
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %199, float noundef %211)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %212 = load float, ptr %24, align 4, !tbaa !29
  %213 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 7
  %214 = load i32, ptr %28, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [224 x i8], ptr %213, i64 0, i64 %215
  %217 = load i8, ptr %216, align 1, !tbaa !11
  %218 = uitofp i8 %217 to float
  %219 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 2
  %220 = load i32, ptr %219, align 8, !tbaa !36
  %221 = sitofp i32 %220 to float
  %222 = fdiv float %218, %221
  %223 = fadd float %212, %222
  %224 = load float, ptr %25, align 4, !tbaa !29
  %225 = fadd float %224, 1.000000e+00
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %223, float noundef %225)
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = load float, ptr %24, align 4, !tbaa !29
  %228 = load float, ptr %25, align 4, !tbaa !29
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef %227, float noundef %228, float noundef 0.000000e+00)
  %229 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %230 = load double, ptr %229, align 16
  %231 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %232 = load double, ptr %231, align 8
  %233 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %226, double %230, double %232)
  %234 = getelementptr inbounds %"class.JPH::Vec3", ptr %32, i32 0, i32 0
  %235 = getelementptr inbounds %union.anon.8, ptr %234, i32 0, i32 0
  %236 = getelementptr inbounds { double, double }, ptr %235, i32 0, i32 0
  %237 = extractvalue { double, double } %233, 0
  store double %237, ptr %236, align 16
  %238 = getelementptr inbounds { double, double }, ptr %235, i32 0, i32 1
  %239 = extractvalue { double, double } %233, 1
  store double %239, ptr %238, align 8
  %240 = load ptr, ptr %21, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.Font::FontVertex", ptr %240, i32 0, i32 0
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %32, ptr noundef %241)
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  %242 = load ptr, ptr %21, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.Font::FontVertex", ptr %242, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %243, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %244 = getelementptr inbounds %"class.JPH::Float2", ptr %29, i32 0, i32 0
  %245 = load float, ptr %244, align 4, !tbaa !38
  %246 = getelementptr inbounds %"class.JPH::Float2", ptr %30, i32 0, i32 1
  %247 = load float, ptr %246, align 4, !tbaa !40
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %245, float noundef %247)
  %248 = load ptr, ptr %21, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.Font::FontVertex", ptr %248, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %249, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  %250 = load ptr, ptr %21, align 8, !tbaa !5
  %251 = getelementptr inbounds %"struct.Font::FontVertex", ptr %250, i32 1
  store ptr %251, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  %252 = load ptr, ptr %9, align 8, !tbaa !5
  %253 = load float, ptr %24, align 4, !tbaa !29
  %254 = getelementptr inbounds %"class.JPH::Float2", ptr %31, i32 0, i32 1
  %255 = load float, ptr %254, align 4, !tbaa !40
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %36, float noundef %253, float noundef %255, float noundef 0.000000e+00)
  %256 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %257 = load double, ptr %256, align 16
  %258 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %259 = load double, ptr %258, align 8
  %260 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %252, double %257, double %259)
  %261 = getelementptr inbounds %"class.JPH::Vec3", ptr %35, i32 0, i32 0
  %262 = getelementptr inbounds %union.anon.8, ptr %261, i32 0, i32 0
  %263 = getelementptr inbounds { double, double }, ptr %262, i32 0, i32 0
  %264 = extractvalue { double, double } %260, 0
  store double %264, ptr %263, align 16
  %265 = getelementptr inbounds { double, double }, ptr %262, i32 0, i32 1
  %266 = extractvalue { double, double } %260, 1
  store double %266, ptr %265, align 8
  %267 = load ptr, ptr %21, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.Font::FontVertex", ptr %267, i32 0, i32 0
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %35, ptr noundef %268)
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  %269 = load ptr, ptr %21, align 8, !tbaa !5
  %270 = getelementptr inbounds %"struct.Font::FontVertex", ptr %269, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %270, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !37
  %271 = load ptr, ptr %21, align 8, !tbaa !5
  %272 = getelementptr inbounds %"struct.Font::FontVertex", ptr %271, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %272, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !41
  %273 = load ptr, ptr %21, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.Font::FontVertex", ptr %273, i32 1
  store ptr %274, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #7
  %275 = load ptr, ptr %9, align 8, !tbaa !5
  %276 = getelementptr inbounds %"class.JPH::Float2", ptr %31, i32 0, i32 0
  %277 = load float, ptr %276, align 4, !tbaa !38
  %278 = load float, ptr %25, align 4, !tbaa !29
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %38, float noundef %277, float noundef %278, float noundef 0.000000e+00)
  %279 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %280 = load double, ptr %279, align 16
  %281 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %282 = load double, ptr %281, align 8
  %283 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %275, double %280, double %282)
  %284 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i32 0, i32 0
  %285 = getelementptr inbounds %union.anon.8, ptr %284, i32 0, i32 0
  %286 = getelementptr inbounds { double, double }, ptr %285, i32 0, i32 0
  %287 = extractvalue { double, double } %283, 0
  store double %287, ptr %286, align 16
  %288 = getelementptr inbounds { double, double }, ptr %285, i32 0, i32 1
  %289 = extractvalue { double, double } %283, 1
  store double %289, ptr %288, align 8
  %290 = load ptr, ptr %21, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.Font::FontVertex", ptr %290, i32 0, i32 0
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %37, ptr noundef %291)
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #7
  %292 = load ptr, ptr %21, align 8, !tbaa !5
  %293 = getelementptr inbounds %"struct.Font::FontVertex", ptr %292, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %293, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !37
  %294 = load ptr, ptr %21, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.Font::FontVertex", ptr %294, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %295, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !41
  %296 = load ptr, ptr %21, align 8, !tbaa !5
  %297 = getelementptr inbounds %"struct.Font::FontVertex", ptr %296, i32 1
  store ptr %297, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = getelementptr inbounds %"class.JPH::Float2", ptr %31, i32 0, i32 0
  %300 = load float, ptr %299, align 4, !tbaa !38
  %301 = getelementptr inbounds %"class.JPH::Float2", ptr %31, i32 0, i32 1
  %302 = load float, ptr %301, align 4, !tbaa !40
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %40, float noundef %300, float noundef %302, float noundef 0.000000e+00)
  %303 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %304 = load double, ptr %303, align 16
  %305 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %306 = load double, ptr %305, align 8
  %307 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %298, double %304, double %306)
  %308 = getelementptr inbounds %"class.JPH::Vec3", ptr %39, i32 0, i32 0
  %309 = getelementptr inbounds %union.anon.8, ptr %308, i32 0, i32 0
  %310 = getelementptr inbounds { double, double }, ptr %309, i32 0, i32 0
  %311 = extractvalue { double, double } %307, 0
  store double %311, ptr %310, align 16
  %312 = getelementptr inbounds { double, double }, ptr %309, i32 0, i32 1
  %313 = extractvalue { double, double } %307, 1
  store double %313, ptr %312, align 8
  %314 = load ptr, ptr %21, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.Font::FontVertex", ptr %314, i32 0, i32 0
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %39, ptr noundef %315)
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  %316 = load ptr, ptr %21, align 8, !tbaa !5
  %317 = getelementptr inbounds %"struct.Font::FontVertex", ptr %316, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %317, ptr align 4 %7, i64 4, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %318 = getelementptr inbounds %"class.JPH::Float2", ptr %30, i32 0, i32 0
  %319 = load float, ptr %318, align 4, !tbaa !38
  %320 = getelementptr inbounds %"class.JPH::Float2", ptr %29, i32 0, i32 1
  %321 = load float, ptr %320, align 4, !tbaa !40
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef %319, float noundef %321)
  %322 = load ptr, ptr %21, align 8, !tbaa !5
  %323 = getelementptr inbounds %"struct.Font::FontVertex", ptr %322, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %323, ptr align 4 %41, i64 8, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  %324 = load ptr, ptr %21, align 8, !tbaa !5
  %325 = getelementptr inbounds %"struct.Font::FontVertex", ptr %324, i32 1
  store ptr %325, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %326

326:                                              ; preds = %133, %130, %121
  %327 = load i32, ptr %27, align 4, !tbaa !9
  %328 = icmp eq i32 %327, 10
  br i1 %328, label %329, label %332

329:                                              ; preds = %326
  store float 0.000000e+00, ptr %24, align 4, !tbaa !29
  %330 = load float, ptr %25, align 4, !tbaa !29
  %331 = fsub float %330, 1.000000e+00
  store float %331, ptr %25, align 4, !tbaa !29
  br label %379

332:                                              ; preds = %326
  %333 = load i32, ptr %26, align 4, !tbaa !9
  %334 = add i32 %333, 1
  %335 = zext i32 %334 to i64
  %336 = load ptr, ptr %10, align 8, !tbaa !5
  %337 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %336) #7
  %338 = icmp ult i64 %335, %337
  br i1 %338, label %339, label %378

339:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %340 = load i32, ptr %27, align 4, !tbaa !9
  %341 = sub nsw i32 %340, 32
  store i32 %341, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  %342 = load ptr, ptr %10, align 8, !tbaa !5
  %343 = load i32, ptr %26, align 4, !tbaa !9
  %344 = add i32 %343, 1
  %345 = zext i32 %344 to i64
  %346 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %342, i64 noundef %345) #7
  %347 = load i8, ptr %346, align 1, !tbaa !11
  %348 = sext i8 %347 to i32
  %349 = sub nsw i32 %348, 32
  store i32 %349, ptr %43, align 4, !tbaa !9
  %350 = load i32, ptr %42, align 4, !tbaa !9
  %351 = icmp sge i32 %350, 0
  br i1 %351, label %352, label %377

352:                                              ; preds = %339
  %353 = load i32, ptr %42, align 4, !tbaa !9
  %354 = icmp slt i32 %353, 224
  br i1 %354, label %355, label %377

355:                                              ; preds = %352
  %356 = load i32, ptr %43, align 4, !tbaa !9
  %357 = icmp sge i32 %356, 0
  br i1 %357, label %358, label %377

358:                                              ; preds = %355
  %359 = load i32, ptr %43, align 4, !tbaa !9
  %360 = icmp slt i32 %359, 224
  br i1 %360, label %361, label %377

361:                                              ; preds = %358
  %362 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 8
  %363 = load i32, ptr %42, align 4, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds [224 x [224 x i8]], ptr %362, i64 0, i64 %364
  %366 = load i32, ptr %43, align 4, !tbaa !9
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds [224 x i8], ptr %365, i64 0, i64 %367
  %369 = load i8, ptr %368, align 1, !tbaa !11
  %370 = uitofp i8 %369 to float
  %371 = getelementptr inbounds %class.Font, ptr %48, i32 0, i32 2
  %372 = load i32, ptr %371, align 8, !tbaa !36
  %373 = sitofp i32 %372 to float
  %374 = fdiv float %370, %373
  %375 = load float, ptr %24, align 4, !tbaa !29
  %376 = fadd float %375, %374
  store float %376, ptr %24, align 4, !tbaa !29
  br label %377

377:                                              ; preds = %361, %358, %355, %352, %339
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %378

378:                                              ; preds = %377, %332
  br label %379

379:                                              ; preds = %378, %329
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %380

380:                                              ; preds = %379
  %381 = load i32, ptr %26, align 4, !tbaa !9
  %382 = add i32 %381, 1
  store i32 %382, ptr %26, align 4, !tbaa !9
  br label %114, !llvm.loop !42

383:                                              ; preds = %120
  br label %384

384:                                              ; preds = %383
  %385 = load i32, ptr %20, align 4, !tbaa !9
  %386 = load i32, ptr %18, align 4, !tbaa !9
  %387 = icmp eq i32 %385, %386
  br i1 %387, label %391, label %388

388:                                              ; preds = %384
  %389 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.16, ptr noundef @.str.10, i32 noundef 322)
  br i1 %389, label %390, label %391

390:                                              ; preds = %388
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !43
  br label %391

391:                                              ; preds = %390, %388, %384
  br label %392

392:                                              ; preds = %391
  br label %393

393:                                              ; preds = %392
  br label %394

394:                                              ; preds = %393
  %395 = load ptr, ptr %23, align 8, !tbaa !5
  %396 = load ptr, ptr %22, align 8, !tbaa !5
  %397 = load i32, ptr %19, align 4, !tbaa !9
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds i32, ptr %396, i64 %398
  %400 = icmp eq ptr %395, %399
  br i1 %400, label %404, label %401

401:                                              ; preds = %394
  %402 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.17, ptr noundef @.str.10, i32 noundef 323)
  br i1 %402, label %403, label %404

403:                                              ; preds = %401
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #7, !srcloc !44
  br label %404

404:                                              ; preds = %403, %401, %394
  br label %405

405:                                              ; preds = %404
  br label %406

406:                                              ; preds = %405
  %407 = load ptr, ptr %11, align 8, !tbaa !5
  %408 = load ptr, ptr %407, align 8, !tbaa !32
  %409 = getelementptr inbounds ptr, ptr %408, i64 7
  %410 = load ptr, ptr %409, align 8
  call void %410(ptr noundef nonnull align 8 dereferenceable(32) %407)
  %411 = load ptr, ptr %11, align 8, !tbaa !5
  %412 = load ptr, ptr %411, align 8, !tbaa !32
  %413 = getelementptr inbounds ptr, ptr %412, i64 11
  %414 = load ptr, ptr %413, align 8
  call void %414(ptr noundef nonnull align 8 dereferenceable(32) %411)
  store i1 true, ptr %6, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %415

415:                                              ; preds = %406, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  %416 = load i1, ptr %6, align 1
  ret i1 %416
}

declare void @_ZN15RenderPrimitive5ClearEv(ptr noundef nonnull align 8 dereferenceable(32)) #5

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

; 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 #6 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !10, i64 44}
!15 = !{!"_ZTS4Font", !16, i64 0, !19, i64 8, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !7, i64 500, !7, i64 948, !7, i64 1172, !6, i64 51352, !22, i64 51360, !23, i64 51368}
!16 = !{!"_ZTSN3JPH9RefTargetI4FontEE", !17, i64 0}
!17 = !{!"_ZTSSt6atomicIjE", !18, i64 0}
!18 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !20, i64 0, !21, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN3JPH3RefI7TextureEE", !6, i64 0}
!23 = !{!"_ZTSSt10unique_ptrI13PipelineStateSt14default_deleteIS0_EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_dataI13PipelineStateSt14default_deleteIS0_ELb1ELb1EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_implI13PipelineStateSt14default_deleteIS0_EE", !26, i64 0}
!26 = !{!"_ZTSSt5tupleIJP13PipelineStateSt14default_deleteIS0_EEE", !27, i64 0}
!27 = !{!"_ZTSSt11_Tuple_implILm0EJP13PipelineStateSt14default_deleteIS0_EEE", !28, i64 0}
!28 = !{!"_ZTSSt10_Head_baseILm0EP13PipelineStateLb0EE", !6, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"float", !7, i64 0}
!31 = !{!15, !10, i64 48}
!32 = !{!33, !33, i64 0}
!33 = !{!"vtable pointer", !8, i64 0}
!34 = !{!35, !35, i64 0}
!35 = !{!"short", !7, i64 0}
!36 = !{!15, !10, i64 40}
!37 = !{i64 0, i64 4, !11}
!38 = !{!39, !30, i64 0}
!39 = !{!"_ZTSN3JPH6Float2E", !30, i64 0, !30, i64 4}
!40 = !{!39, !30, i64 4}
!41 = !{i64 0, i64 4, !29, i64 4, i64 4, !29}
!42 = distinct !{!42, !13}
!43 = !{i64 2158436019}
!44 = !{i64 2158436365}


; 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::Float2" = type { float, float }
%"class.JPH::Vec3" = type { %union.anon.8 }
%union.anon.8 = type { <4 x float> }

@.str.10 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [28 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: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4Font12CreateStringERKN3JPH5Mat44ERKSt17basic_string_viewIcSt11char_traitsIcEENS0_5ColorER15RenderPrimitive(ptr nocapture noundef nonnull readonly align 8 dereferenceable(51376) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 %3, ptr noundef nonnull align 8 dereferenceable(32) %4) local_unnamed_addr #3 align 2 {
  %6 = alloca %"class.JPH::Float2", align 8
  %7 = alloca %"class.JPH::Float2", align 8
  %8 = alloca %"class.JPH::Float2", align 4
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Float2", align 8
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Float2", align 8
  tail call void @_ZN15RenderPrimitive5ClearEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %19 = tail call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  %.not = icmp eq i64 %19, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph
  %20 = icmp ne i32 %spec.select, 0
  br i1 %20, label %30, label %._crit_edge.thread

.lr.ph:                                           ; preds = %5, %.lr.ph
  %21 = phi i64 [ %27, %.lr.ph ], [ 0, %5 ]
  %.0116146 = phi i32 [ %spec.select, %.lr.ph ], [ 0, %5 ]
  %.0117145 = phi i32 [ %26, %.lr.ph ], [ 0, %5 ]
  %22 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %21) #6
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = icmp sgt i8 %23, 32
  %25 = zext i1 %24 to i32
  %spec.select = add nuw nsw i32 %.0116146, %25
  %26 = add i32 %.0117145, 1
  %27 = zext i32 %26 to i64
  %28 = tail call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  %29 = icmp ugt i64 %28, %27
  br i1 %29, label %.lr.ph, label %._crit_edge, !llvm.loop !8

30:                                               ; preds = %._crit_edge
  %31 = getelementptr inbounds i8, ptr %0, i64 44
  %32 = load i32, ptr %31, align 4, !tbaa !10
  %33 = sitofp i32 %32 to float
  %34 = fdiv float 1.000000e+00, %33
  %35 = getelementptr inbounds i8, ptr %0, i64 48
  %36 = load i32, ptr %35, align 8, !tbaa !27
  %37 = sitofp i32 %36 to float
  %38 = fdiv float 1.000000e+00, %37
  %39 = shl nsw i32 %spec.select, 2
  %40 = mul nuw nsw i32 %spec.select, 6
  %41 = load ptr, ptr %4, align 8, !tbaa !28
  %42 = getelementptr inbounds i8, ptr %41, i64 32
  %43 = load ptr, ptr %42, align 8
  tail call void %43(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %39, i32 noundef 24, ptr noundef null)
  %44 = load ptr, ptr %4, align 8, !tbaa !28
  %45 = getelementptr inbounds i8, ptr %44, i64 64
  %46 = load ptr, ptr %45, align 8
  tail call void %46(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %40, ptr noundef null)
  %47 = load ptr, ptr %4, align 8, !tbaa !28
  %48 = getelementptr inbounds i8, ptr %47, i64 48
  %49 = load ptr, ptr %48, align 8
  %50 = tail call noundef ptr %49(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %51 = load ptr, ptr %4, align 8, !tbaa !28
  %52 = getelementptr inbounds i8, ptr %51, i64 80
  %53 = load ptr, ptr %52, align 8
  %54 = tail call noundef ptr %53(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %55 = tail call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  %.not158 = icmp eq i64 %55, 0
  br i1 %.not158, label %._crit_edge155, label %.lr.ph154

.lr.ph154:                                        ; preds = %30
  %56 = getelementptr inbounds i8, ptr %0, i64 52
  %57 = getelementptr inbounds i8, ptr %0, i64 500
  %58 = getelementptr inbounds i8, ptr %0, i64 948
  %59 = getelementptr inbounds i8, ptr %0, i64 40
  %60 = getelementptr inbounds i8, ptr %10, i64 8
  %61 = getelementptr inbounds i8, ptr %9, i64 8
  %62 = getelementptr inbounds i8, ptr %7, i64 4
  %63 = getelementptr inbounds i8, ptr %8, i64 4
  %64 = getelementptr inbounds i8, ptr %13, i64 8
  %65 = getelementptr inbounds i8, ptr %12, i64 8
  %66 = getelementptr inbounds i8, ptr %15, i64 8
  %67 = getelementptr inbounds i8, ptr %14, i64 8
  %68 = getelementptr inbounds i8, ptr %17, i64 8
  %69 = getelementptr inbounds i8, ptr %16, i64 8
  %70 = getelementptr inbounds i8, ptr %6, i64 4
  %71 = getelementptr inbounds i8, ptr %0, i64 1172
  br label %73

._crit_edge155:                                   ; preds = %191, %30
  %.0125.lcssa = phi i32 [ 0, %30 ], [ %.1126141, %191 ]
  %.0123.lcssa = phi ptr [ %54, %30 ], [ %.1124143, %191 ]
  %72 = icmp eq i32 %.0125.lcssa, %39
  br i1 %72, label %197, label %194

73:                                               ; preds = %.lr.ph154, %191
  %74 = phi i64 [ 0, %.lr.ph154 ], [ %.pre-phi160, %191 ]
  %.0118152 = phi i32 [ 0, %.lr.ph154 ], [ %.pre-phi, %191 ]
  %.0119151 = phi float [ -1.000000e+00, %.lr.ph154 ], [ %.1120, %191 ]
  %.0121150 = phi float [ 0.000000e+00, %.lr.ph154 ], [ %.2, %191 ]
  %.0123149 = phi ptr [ %54, %.lr.ph154 ], [ %.1124143, %191 ]
  %.0125148 = phi i32 [ 0, %.lr.ph154 ], [ %.1126141, %191 ]
  %.0127147 = phi ptr [ %50, %.lr.ph154 ], [ %.1128139, %191 ]
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %74) #6
  %76 = load i8, ptr %75, align 1, !tbaa !5
  %77 = sext i8 %76 to i32
  %78 = icmp sgt i8 %76, 32
  br i1 %78, label %.thread, label %164

.thread:                                          ; preds = %73
  %79 = add nsw i32 %77, -32
  store i32 %.0125148, ptr %.0123149, align 4, !tbaa !30
  %80 = getelementptr inbounds i8, ptr %.0123149, i64 4
  %81 = add i32 %.0125148, 3
  store i32 %81, ptr %80, align 4, !tbaa !30
  %82 = getelementptr inbounds i8, ptr %.0123149, i64 8
  %83 = add i32 %.0125148, 1
  store i32 %83, ptr %82, align 4, !tbaa !30
  %84 = getelementptr inbounds i8, ptr %.0123149, i64 12
  store i32 %.0125148, ptr %84, align 4, !tbaa !30
  %85 = getelementptr inbounds i8, ptr %.0123149, i64 16
  %86 = add i32 %.0125148, 2
  store i32 %86, ptr %85, align 4, !tbaa !30
  %87 = getelementptr inbounds i8, ptr %.0123149, i64 20
  store i32 %81, ptr %87, align 4, !tbaa !30
  %88 = getelementptr inbounds i8, ptr %.0123149, i64 24
  %89 = add i32 %.0125148, 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %90 = zext nneg i32 %79 to i64
  %91 = getelementptr inbounds [224 x i16], ptr %56, i64 0, i64 %90
  %92 = load i16, ptr %91, align 2, !tbaa !31
  %93 = uitofp i16 %92 to float
  %94 = fmul float %34, %93
  %95 = getelementptr inbounds [224 x i16], ptr %57, i64 0, i64 %90
  %96 = load i16, ptr %95, align 2, !tbaa !31
  %97 = uitofp i16 %96 to float
  %98 = fmul float %38, %97
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %94, float noundef %98)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %99 = load i16, ptr %91, align 2, !tbaa !31
  %100 = zext i16 %99 to i32
  %101 = getelementptr inbounds [224 x i8], ptr %58, i64 0, i64 %90
  %102 = load i8, ptr %101, align 1, !tbaa !5
  %103 = zext i8 %102 to i32
  %104 = add nuw nsw i32 %103, %100
  %105 = uitofp nneg i32 %104 to float
  %106 = fmul float %34, %105
  %107 = load i16, ptr %95, align 2, !tbaa !31
  %108 = zext i16 %107 to i32
  %109 = load i32, ptr %59, align 8, !tbaa !33
  %110 = add nsw i32 %109, %108
  %111 = sitofp i32 %110 to float
  %112 = fmul float %38, %111
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %106, float noundef %112)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %113 = load i8, ptr %101, align 1, !tbaa !5
  %114 = uitofp i8 %113 to float
  %115 = load i32, ptr %59, align 8, !tbaa !33
  %116 = sitofp i32 %115 to float
  %117 = fdiv float %114, %116
  %118 = fadd float %.0121150, %117
  %119 = fadd float %.0119151, 1.000000e+00
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %118, float noundef %119)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %10, float noundef %.0121150, float noundef %.0119151, float noundef 0.000000e+00)
  %120 = load double, ptr %10, align 16
  %121 = load double, ptr %60, align 8
  %122 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %120, double %121)
  %123 = extractvalue { double, double } %122, 0
  store double %123, ptr %9, align 16
  %124 = extractvalue { double, double } %122, 1
  store double %124, ptr %61, align 8
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef %.0127147)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  %125 = getelementptr inbounds i8, ptr %.0127147, i64 20
  store i32 %3, ptr %125, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %126 = load float, ptr %6, align 8, !tbaa !34
  %127 = load float, ptr %62, align 4, !tbaa !37
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %126, float noundef %127)
  %128 = getelementptr inbounds i8, ptr %.0127147, i64 12
  %129 = load i64, ptr %11, align 8
  store i64 %129, ptr %128, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %130 = getelementptr inbounds i8, ptr %.0127147, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %131 = load float, ptr %63, align 4, !tbaa !37
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %13, float noundef %.0121150, float noundef %131, float noundef 0.000000e+00)
  %132 = load double, ptr %13, align 16
  %133 = load double, ptr %64, align 8
  %134 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %132, double %133)
  %135 = extractvalue { double, double } %134, 0
  store double %135, ptr %12, align 16
  %136 = extractvalue { double, double } %134, 1
  store double %136, ptr %65, align 8
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull %130)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %137 = getelementptr inbounds i8, ptr %.0127147, i64 44
  store i32 %3, ptr %137, align 4, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %.0127147, i64 36
  %139 = load i64, ptr %6, align 8
  store i64 %139, ptr %138, align 4
  %140 = getelementptr inbounds i8, ptr %.0127147, i64 48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %141 = load float, ptr %8, align 4, !tbaa !34
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef %141, float noundef %.0119151, float noundef 0.000000e+00)
  %142 = load double, ptr %15, align 16
  %143 = load double, ptr %66, align 8
  %144 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %142, double %143)
  %145 = extractvalue { double, double } %144, 0
  store double %145, ptr %14, align 16
  %146 = extractvalue { double, double } %144, 1
  store double %146, ptr %67, align 8
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull %140)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  %147 = getelementptr inbounds i8, ptr %.0127147, i64 68
  store i32 %3, ptr %147, align 4, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %.0127147, i64 60
  %149 = load i64, ptr %7, align 8
  store i64 %149, ptr %148, align 4
  %150 = getelementptr inbounds i8, ptr %.0127147, i64 72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %151 = load float, ptr %8, align 4, !tbaa !34
  %152 = load float, ptr %63, align 4, !tbaa !37
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef %151, float noundef %152, float noundef 0.000000e+00)
  %153 = load double, ptr %17, align 16
  %154 = load double, ptr %68, align 8
  %155 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %1, double %153, double %154)
  %156 = extractvalue { double, double } %155, 0
  store double %156, ptr %16, align 16
  %157 = extractvalue { double, double } %155, 1
  store double %157, ptr %69, align 8
  call void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull %150)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  %158 = getelementptr inbounds i8, ptr %.0127147, i64 92
  store i32 %3, ptr %158, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %159 = load float, ptr %7, align 8, !tbaa !34
  %160 = load float, ptr %70, align 4, !tbaa !37
  call void @_ZN3JPH6Float2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %159, float noundef %160)
  %161 = getelementptr inbounds i8, ptr %.0127147, i64 84
  %162 = load i64, ptr %18, align 8
  store i64 %162, ptr %161, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  %163 = getelementptr inbounds i8, ptr %.0127147, i64 96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %168

164:                                              ; preds = %73
  %165 = icmp eq i8 %76, 10
  br i1 %165, label %166, label %168

166:                                              ; preds = %164
  %167 = fadd float %.0119151, -1.000000e+00
  %.pre = add i32 %.0118152, 1
  %.pre159 = zext i32 %.pre to i64
  br label %191

168:                                              ; preds = %.thread, %164
  %.1124144 = phi ptr [ %88, %.thread ], [ %.0123149, %164 ]
  %.1126142 = phi i32 [ %89, %.thread ], [ %.0125148, %164 ]
  %.1128140 = phi ptr [ %163, %.thread ], [ %.0127147, %164 ]
  %169 = add i32 %.0118152, 1
  %170 = zext i32 %169 to i64
  %171 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  %172 = icmp ugt i64 %171, %170
  br i1 %172, label %173, label %191

173:                                              ; preds = %168
  %174 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %170) #6
  %175 = load i8, ptr %174, align 1, !tbaa !5
  %176 = icmp sgt i8 %76, 31
  %177 = icmp sgt i8 %175, 31
  %or.cond7 = select i1 %176, i1 %177, i1 false
  br i1 %or.cond7, label %178, label %191

178:                                              ; preds = %173
  %179 = zext nneg i8 %175 to i64
  %180 = add nuw nsw i64 %179, 4294967264
  %181 = add nsw i32 %77, -32
  %182 = zext nneg i32 %181 to i64
  %183 = and i64 %180, 4294967295
  %184 = getelementptr inbounds [224 x [224 x i8]], ptr %71, i64 0, i64 %182, i64 %183
  %185 = load i8, ptr %184, align 1, !tbaa !5
  %186 = uitofp i8 %185 to float
  %187 = load i32, ptr %59, align 8, !tbaa !33
  %188 = sitofp i32 %187 to float
  %189 = fdiv float %186, %188
  %190 = fadd float %.0121150, %189
  br label %191

191:                                              ; preds = %173, %178, %168, %166
  %.pre-phi160 = phi i64 [ %170, %173 ], [ %170, %178 ], [ %170, %168 ], [ %.pre159, %166 ]
  %.pre-phi = phi i32 [ %169, %173 ], [ %169, %178 ], [ %169, %168 ], [ %.pre, %166 ]
  %.1124143 = phi ptr [ %.1124144, %173 ], [ %.1124144, %178 ], [ %.1124144, %168 ], [ %.0123149, %166 ]
  %.1126141 = phi i32 [ %.1126142, %173 ], [ %.1126142, %178 ], [ %.1126142, %168 ], [ %.0125148, %166 ]
  %.1128139 = phi ptr [ %.1128140, %173 ], [ %.1128140, %178 ], [ %.1128140, %168 ], [ %.0127147, %166 ]
  %.2 = phi float [ %.0121150, %173 ], [ %190, %178 ], [ %.0121150, %168 ], [ 0.000000e+00, %166 ]
  %.1120 = phi float [ %.0119151, %173 ], [ %.0119151, %178 ], [ %.0119151, %168 ], [ %167, %166 ]
  %192 = call noundef i64 @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  %193 = icmp ugt i64 %192, %.pre-phi160
  br i1 %193, label %73, label %._crit_edge155, !llvm.loop !38

194:                                              ; preds = %._crit_edge155
  %195 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.10, i32 noundef 322)
  br i1 %195, label %196, label %197

196:                                              ; preds = %194
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !39
  br label %197

197:                                              ; preds = %._crit_edge155, %194, %196
  %198 = zext nneg i32 %40 to i64
  %199 = getelementptr inbounds i32, ptr %54, i64 %198
  %200 = icmp eq ptr %.0123.lcssa, %199
  br i1 %200, label %204, label %201

201:                                              ; preds = %197
  %202 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.10, i32 noundef 323)
  br i1 %202, label %203, label %204

203:                                              ; preds = %201
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !40
  br label %204

204:                                              ; preds = %203, %201, %197
  %205 = load ptr, ptr %4, align 8, !tbaa !28
  %206 = getelementptr inbounds i8, ptr %205, i64 56
  %207 = load ptr, ptr %206, align 8
  call void %207(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %208 = load ptr, ptr %4, align 8, !tbaa !28
  %209 = getelementptr inbounds i8, ptr %208, i64 88
  %210 = load ptr, ptr %209, align 8
  call void %210(ptr noundef nonnull align 8 dereferenceable(32) %4)
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %5, %._crit_edge, %204
  %211 = phi i1 [ false, %._crit_edge ], [ %20, %204 ], [ false, %5 ]
  ret i1 %211
}

declare void @_ZN15RenderPrimitive5ClearEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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

; 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 #5 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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"="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 #6 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !15, i64 44}
!11 = !{!"_ZTS4Font", !12, i64 0, !16, i64 8, !15, i64 40, !15, i64 44, !15, i64 48, !6, i64 52, !6, i64 500, !6, i64 948, !6, i64 1172, !18, i64 51352, !20, i64 51360, !21, i64 51368}
!12 = !{!"_ZTSN3JPH9RefTargetI4FontEE", !13, i64 0}
!13 = !{!"_ZTSSt6atomicIjE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIjE", !15, i64 0}
!15 = !{!"int", !6, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !17, i64 0, !19, i64 8, !6, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !18, i64 0}
!18 = !{!"any pointer", !6, i64 0}
!19 = !{!"long", !6, i64 0}
!20 = !{!"_ZTSN3JPH3RefI7TextureEE", !18, i64 0}
!21 = !{!"_ZTSSt10unique_ptrI13PipelineStateSt14default_deleteIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataI13PipelineStateSt14default_deleteIS0_ELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implI13PipelineStateSt14default_deleteIS0_EE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJP13PipelineStateSt14default_deleteIS0_EEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJP13PipelineStateSt14default_deleteIS0_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EP13PipelineStateLb0EE", !18, i64 0}
!27 = !{!11, !15, i64 48}
!28 = !{!29, !29, i64 0}
!29 = !{!"vtable pointer", !7, i64 0}
!30 = !{!15, !15, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"short", !6, i64 0}
!33 = !{!11, !15, i64 40}
!34 = !{!35, !36, i64 0}
!35 = !{!"_ZTSN3JPH6Float2E", !36, i64 0, !36, i64 4}
!36 = !{!"float", !6, i64 0}
!37 = !{!35, !36, i64 4}
!38 = distinct !{!38, !9}
!39 = !{i64 2158436019}
!40 = !{i64 2158436365}


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