; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/Obj (ObjFileParser)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.Assimp::ObjFileParser" = type { %"class.__gnu_cxx::__normal_iterator", %"class.__gnu_cxx::__normal_iterator", %"class.std::unique_ptr", i32, [4096 x i8], ptr, ptr, ptr, %"class.std::__cxx11::basic_string" }
%"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 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.7 = external hidden unnamed_addr constant [34 x i8], align 1
@_ZTI17DeadlyImportError = external dso_local constant { ptr, ptr, ptr }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN6Assimp13ObjFileParser32getNumComponentsInDataDefinitionEv(ptr noundef nonnull align 8 dereferenceable(4184)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN6Assimp13ObjFileParser17getTexCoordVectorERSt6vectorI10aiVector3tIfESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %15 = call noundef i64 @_ZN6Assimp13ObjFileParser32getNumComponentsInDataDefinitionEv(ptr noundef nonnull align 8 dereferenceable(4184) %14)
  store i64 %15, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %16 = load i64, ptr %5, align 8, !tbaa !9
  %17 = icmp eq i64 2, %16
  br i1 %17, label %18, label %29

18:                                               ; preds = %2
  %19 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %20 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %14, ptr noundef %20, i64 noundef 4096)
  %21 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %22 = getelementptr inbounds [4096 x i8], ptr %21, i64 0, i64 0
  %23 = call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef %22)
  store float %23, ptr %6, align 4, !tbaa !11
  %24 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %25 = getelementptr inbounds [4096 x i8], ptr %24, i64 0, i64 0
  call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %14, ptr noundef %25, i64 noundef 4096)
  %26 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %27 = getelementptr inbounds [4096 x i8], ptr %26, i64 0, i64 0
  %28 = call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef %27)
  store float %28, ptr %7, align 4, !tbaa !11
  store float 0.000000e+00, ptr %8, align 4, !tbaa !11
  br label %56

29:                                               ; preds = %2
  %30 = load i64, ptr %5, align 8, !tbaa !9
  %31 = icmp eq i64 3, %30
  br i1 %31, label %32, label %48

32:                                               ; preds = %29
  %33 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %34 = getelementptr inbounds [4096 x i8], ptr %33, i64 0, i64 0
  call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %14, ptr noundef %34, i64 noundef 4096)
  %35 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %36 = getelementptr inbounds [4096 x i8], ptr %35, i64 0, i64 0
  %37 = call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef %36)
  store float %37, ptr %6, align 4, !tbaa !11
  %38 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %39 = getelementptr inbounds [4096 x i8], ptr %38, i64 0, i64 0
  call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %14, ptr noundef %39, i64 noundef 4096)
  %40 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %41 = getelementptr inbounds [4096 x i8], ptr %40, i64 0, i64 0
  %42 = call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef %41)
  store float %42, ptr %7, align 4, !tbaa !11
  %43 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %44 = getelementptr inbounds [4096 x i8], ptr %43, i64 0, i64 0
  call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %14, ptr noundef %44, i64 noundef 4096)
  %45 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 4
  %46 = getelementptr inbounds [4096 x i8], ptr %45, i64 0, i64 0
  %47 = call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef %46)
  store float %47, ptr %8, align 4, !tbaa !11
  br label %55

48:                                               ; preds = %29
  %49 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef @.str.7)
          to label %50 unwind label %51

50:                                               ; preds = %48
  call void @__cxa_throw(ptr %49, ptr @_ZTI17DeadlyImportError, ptr @_ZNSt13runtime_errorD2Ev) #7
  unreachable

51:                                               ; preds = %48
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %9, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %10, align 4
  call void @__cxa_free_exception(ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %82

55:                                               ; preds = %32
  br label %56

56:                                               ; preds = %55, %18
  %57 = load float, ptr %6, align 4, !tbaa !11
  %58 = call noundef zeroext i1 @_ZSt8isfinitef(float noundef %57)
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  store float 0.000000e+00, ptr %6, align 4, !tbaa !11
  br label %60

60:                                               ; preds = %59, %56
  %61 = load float, ptr %7, align 4, !tbaa !11
  %62 = call noundef zeroext i1 @_ZSt8isfinitef(float noundef %61)
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  store float 0.000000e+00, ptr %7, align 4, !tbaa !11
  br label %64

64:                                               ; preds = %63, %60
  %65 = load float, ptr %8, align 4, !tbaa !11
  %66 = call noundef zeroext i1 @_ZSt8isfinitef(float noundef %65)
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store float 0.000000e+00, ptr %8, align 4, !tbaa !11
  br label %68

68:                                               ; preds = %67, %64
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI10aiVector3tIfESaIS1_EE12emplace_backIJRfS5_S5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %71 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %71, i64 8, i1 false), !tbaa.struct !13
  %72 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %72, i64 8, i1 false), !tbaa.struct !13
  %73 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 3
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8
  %76 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8
  %78 = call ptr @_ZN6Assimp8skipLineIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEET_S8_S8_Rj(ptr %75, ptr %77, ptr noundef nonnull align 4 dereferenceable(4) %73)
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  %80 = getelementptr inbounds %"class.Assimp::ObjFileParser", ptr %14, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %80, ptr align 8 %11, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %81 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret i64 %81

82:                                               ; preds = %51
  %83 = load ptr, ptr %9, align 8
  %84 = load i32, ptr %10, align 4
  %85 = insertvalue { ptr, i32 } poison, ptr %83, 0
  %86 = insertvalue { ptr, i32 } %85, i32 %84, 1
  resume { ptr, i32 } %86
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN6Assimp8skipLineIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEET_S8_S8_Rj(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184), ptr noundef, i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef) #3

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinitef(float noundef) #5

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

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{i64 0, i64 8, !5}


; 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"

@.str.7 = external hidden unnamed_addr constant [34 x i8], align 1
@_ZTI17DeadlyImportError = external dso_local constant { ptr, ptr, ptr }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN6Assimp13ObjFileParser32getNumComponentsInDataDefinitionEv(ptr noundef nonnull align 8 dereferenceable(4184)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN6Assimp13ObjFileParser17getTexCoordVectorERSt6vectorI10aiVector3tIfESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = tail call noundef i64 @_ZN6Assimp13ObjFileParser32getNumComponentsInDataDefinitionEv(ptr noundef nonnull align 8 dereferenceable(4184) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  switch i64 %6, label %16 [
    i64 2, label %7
    i64 3, label %11
  ]

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 28
  tail call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull %8, i64 noundef 4096)
  %9 = tail call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef nonnull %8)
  store float %9, ptr %3, align 4, !tbaa !5
  tail call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull %8, i64 noundef 4096)
  %10 = tail call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef nonnull %8)
  store float %10, ptr %4, align 4, !tbaa !5
  br label %21

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 28
  tail call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull %12, i64 noundef 4096)
  %13 = tail call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef nonnull %12)
  store float %13, ptr %3, align 4, !tbaa !5
  tail call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull %12, i64 noundef 4096)
  %14 = tail call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef nonnull %12)
  store float %14, ptr %4, align 4, !tbaa !5
  tail call void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184) %0, ptr noundef nonnull %12, i64 noundef 4096)
  %15 = tail call noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef nonnull %12)
  br label %21

16:                                               ; preds = %2
  %17 = tail call ptr @__cxa_allocate_exception(i64 16) #5
  invoke void @_ZN17DeadlyImportErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull @.str.7)
          to label %18 unwind label %19

18:                                               ; preds = %16
  tail call void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTI17DeadlyImportError, ptr nonnull @_ZNSt13runtime_errorD2Ev) #6
  unreachable

19:                                               ; preds = %16
  %20 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  resume { ptr, i32 } %20

21:                                               ; preds = %11, %7
  %22 = phi float [ %14, %11 ], [ %10, %7 ]
  %23 = phi float [ %13, %11 ], [ %9, %7 ]
  %24 = phi float [ %15, %11 ], [ 0.000000e+00, %7 ]
  store float %24, ptr %5, align 4, !tbaa !5
  %25 = tail call noundef zeroext i1 @_ZSt8isfinitef(float noundef %23)
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  store float 0.000000e+00, ptr %3, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %26, %21
  %28 = tail call noundef zeroext i1 @_ZSt8isfinitef(float noundef %22)
  br i1 %28, label %30, label %29

29:                                               ; preds = %27
  store float 0.000000e+00, ptr %4, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %29, %27
  %31 = tail call noundef zeroext i1 @_ZSt8isfinitef(float noundef %24)
  br i1 %31, label %33, label %32

32:                                               ; preds = %30
  store float 0.000000e+00, ptr %5, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %32, %30
  %34 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI10aiVector3tIfESaIS1_EE12emplace_backIJRfS5_S5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %.sroa.01.0.copyload = load ptr, ptr %0, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %0, i64 8
  %.sroa.0.0.copyload = load ptr, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %0, i64 24
  %37 = call ptr @_ZN6Assimp8skipLineIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEET_S8_S8_Rj(ptr %.sroa.01.0.copyload, ptr %.sroa.0.0.copyload, ptr noundef nonnull align 4 dereferenceable(4) %36)
  store ptr %37, ptr %0, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  ret i64 %6
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN6Assimp8skipLineIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEET_S8_S8_Rj(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp13ObjFileParser12copyNextWordEPcm(ptr noundef nonnull align 8 dereferenceable(4184), ptr noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6Assimp9fast_atofI17DeadlyImportErrorEEfPKc(ptr noundef) local_unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinitef(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI10aiVector3tIfESaIS1_EE12emplace_backIJRfS5_S5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


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