; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/PostProcessing (ValidateDataStructure)

; 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.aiAnimation = type { %struct.aiString, double, double, i32, ptr, i32, ptr, i32, ptr }
%struct.aiString = type { i32, [1024 x i8] }

@.str.58 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [83 x i8], align 1

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ...) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimation(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.aiAnimation, ptr %8, i32 0, i32 0
  call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK8aiString(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef %9)
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.aiAnimation, ptr %10, i32 0, i32 3
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %19, label %14

14:                                               ; preds = %2
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.aiAnimation, ptr %15, i32 0, i32 7
  %17 = load i32, ptr %16, align 8, !tbaa !14
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %116

19:                                               ; preds = %14, %2
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.aiAnimation, ptr %20, i32 0, i32 4
  %22 = load ptr, ptr %21, align 8, !tbaa !15
  %23 = icmp ne ptr %22, null
  br i1 %23, label %33, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.aiAnimation, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %33

29:                                               ; preds = %24
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.aiAnimation, ptr %30, i32 0, i32 3
  %32 = load i32, ptr %31, align 8, !tbaa !9
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.58, i32 noundef %32) #3
  unreachable

33:                                               ; preds = %24, %19
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.aiAnimation, ptr %34, i32 0, i32 8
  %36 = load ptr, ptr %35, align 8, !tbaa !16
  %37 = icmp ne ptr %36, null
  br i1 %37, label %47, label %38

38:                                               ; preds = %33
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.aiAnimation, ptr %39, i32 0, i32 7
  %41 = load i32, ptr %40, align 8, !tbaa !14
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %47

43:                                               ; preds = %38
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.aiAnimation, ptr %44, i32 0, i32 7
  %46 = load i32, ptr %45, align 8, !tbaa !14
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.59, i32 noundef %46) #3
  unreachable

47:                                               ; preds = %38, %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !17
  br label %48

48:                                               ; preds = %78, %47
  %49 = load i32, ptr %5, align 4, !tbaa !17
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.aiAnimation, ptr %50, i32 0, i32 3
  %52 = load i32, ptr %51, align 8, !tbaa !9
  %53 = icmp ult i32 %49, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %81

55:                                               ; preds = %48
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.aiAnimation, ptr %56, i32 0, i32 4
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = load i32, ptr %5, align 4, !tbaa !17
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds ptr, ptr %58, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %69, label %64

64:                                               ; preds = %55
  %65 = load i32, ptr %5, align 4, !tbaa !17
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.aiAnimation, ptr %66, i32 0, i32 3
  %68 = load i32, ptr %67, align 8, !tbaa !9
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.60, i32 noundef %65, i32 noundef %68) #3
  unreachable

69:                                               ; preds = %55
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.aiAnimation, ptr %71, i32 0, i32 4
  %73 = load ptr, ptr %72, align 8, !tbaa !15
  %74 = load i32, ptr %5, align 4, !tbaa !17
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds ptr, ptr %73, i64 %75
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimationPK10aiNodeAnim(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef %70, ptr noundef %77)
  br label %78

78:                                               ; preds = %69
  %79 = load i32, ptr %5, align 4, !tbaa !17
  %80 = add i32 %79, 1
  store i32 %80, ptr %5, align 4, !tbaa !17
  br label %48, !llvm.loop !18

81:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !17
  br label %82

82:                                               ; preds = %112, %81
  %83 = load i32, ptr %6, align 4, !tbaa !17
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.aiAnimation, ptr %84, i32 0, i32 7
  %86 = load i32, ptr %85, align 8, !tbaa !14
  %87 = icmp ult i32 %83, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %115

89:                                               ; preds = %82
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.aiAnimation, ptr %90, i32 0, i32 8
  %92 = load ptr, ptr %91, align 8, !tbaa !16
  %93 = load i32, ptr %6, align 4, !tbaa !17
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds ptr, ptr %92, i64 %94
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = icmp ne ptr %96, null
  br i1 %97, label %103, label %98

98:                                               ; preds = %89
  %99 = load i32, ptr %6, align 4, !tbaa !17
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.aiAnimation, ptr %100, i32 0, i32 7
  %102 = load i32, ptr %101, align 8, !tbaa !14
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.61, i32 noundef %99, i32 noundef %102) #3
  unreachable

103:                                              ; preds = %89
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.aiAnimation, ptr %105, i32 0, i32 8
  %107 = load ptr, ptr %106, align 8, !tbaa !16
  %108 = load i32, ptr %6, align 4, !tbaa !17
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds ptr, ptr %107, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimationPK15aiMeshMorphAnim(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef %104, ptr noundef %111)
  br label %112

112:                                              ; preds = %103
  %113 = load i32, ptr %6, align 4, !tbaa !17
  %114 = add i32 %113, 1
  store i32 %114, ptr %6, align 4, !tbaa !17
  br label %82, !llvm.loop !20

115:                                              ; preds = %88
  br label %117

116:                                              ; preds = %14
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.62) #3
  unreachable

117:                                              ; preds = %115
  ret void
}

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

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

attributes #0 = { mustprogress noreturn uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync 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 = { noreturn }
attributes #4 = { 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, !12, i64 1048}
!10 = !{!"_ZTS11aiAnimation", !11, i64 0, !13, i64 1032, !13, i64 1040, !12, i64 1048, !6, i64 1056, !12, i64 1064, !6, i64 1072, !12, i64 1080, !6, i64 1088}
!11 = !{!"_ZTS8aiString", !12, i64 0, !7, i64 4}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!10, !12, i64 1080}
!15 = !{!10, !6, i64 1056}
!16 = !{!10, !6, i64 1088}
!17 = !{!12, !12, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; 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.58 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [83 x i8], align 1

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ...) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimation(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1) local_unnamed_addr #1 align 2 {
  tail call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK8aiString(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1)
  %3 = getelementptr inbounds i8, ptr %1, i64 1048
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %.thread

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 1080
  %7 = load i32, ptr %6, align 8, !tbaa !13
  %.not36 = icmp eq i32 %7, 0
  br i1 %.not36, label %46, label %8

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %1, i64 1056
  br label %13

.thread:                                          ; preds = %2
  %10 = getelementptr inbounds i8, ptr %1, i64 1056
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %.not3743 = icmp eq ptr %11, null
  br i1 %.not3743, label %12, label %13

12:                                               ; preds = %.thread
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.58, i32 noundef %4) #2
  unreachable

13:                                               ; preds = %8, %.thread
  %14 = phi ptr [ %10, %.thread ], [ %9, %8 ]
  %15 = getelementptr inbounds i8, ptr %1, i64 1088
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %.not39 = icmp eq ptr %16, null
  br i1 %.not39, label %17, label %21

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %1, i64 1080
  %19 = load i32, ptr %18, align 8, !tbaa !13
  %.not40 = icmp eq i32 %19, 0
  br i1 %.not40, label %21, label %20

20:                                               ; preds = %17
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.59, i32 noundef %19) #2
  unreachable

21:                                               ; preds = %17, %13
  br i1 %.not, label %.preheader, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %21
  %22 = load ptr, ptr %14, align 8, !tbaa !14
  %23 = load ptr, ptr %22, align 8, !tbaa !16
  %.not4273 = icmp eq ptr %23, null
  br i1 %.not4273, label %32, label %.lr.ph75

.preheader:                                       ; preds = %.lr.ph75, %21
  %24 = getelementptr inbounds i8, ptr %1, i64 1080
  %25 = load i32, ptr %24, align 8, !tbaa !13
  %.not53 = icmp eq i32 %25, 0
  br i1 %.not53, label %._crit_edge, label %.lr.ph51.preheader

.lr.ph51.preheader:                               ; preds = %.preheader
  %26 = load ptr, ptr %15, align 8, !tbaa !15
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %.not4177 = icmp eq ptr %27, null
  br i1 %.not4177, label %41, label %.lr.ph79

.lr.ph:                                           ; preds = %.lr.ph75
  %28 = load ptr, ptr %14, align 8, !tbaa !14
  %29 = getelementptr inbounds ptr, ptr %28, i64 %indvars.iv.next
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %.not42 = icmp eq ptr %30, null
  br i1 %.not42, label %.lr.ph._crit_edge, label %.lr.ph75, !llvm.loop !17

.lr.ph._crit_edge:                                ; preds = %.lr.ph
  %31 = trunc nuw i64 %indvars.iv.next to i32
  br label %32

32:                                               ; preds = %.lr.ph._crit_edge, %.lr.ph.preheader
  %indvars.iv.lcssa = phi i32 [ %31, %.lr.ph._crit_edge ], [ 0, %.lr.ph.preheader ]
  %.lcssa70 = phi i32 [ %34, %.lr.ph._crit_edge ], [ %4, %.lr.ph.preheader ]
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.60, i32 noundef %indvars.iv.lcssa, i32 noundef %.lcssa70) #2
  unreachable

.lr.ph75:                                         ; preds = %.lr.ph.preheader, %.lr.ph
  %33 = phi ptr [ %30, %.lr.ph ], [ %23, %.lr.ph.preheader ]
  %indvars.iv74 = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  tail call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimationPK10aiNodeAnim(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %1, ptr noundef nonnull %33)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv74, 1
  %34 = load i32, ptr %3, align 8, !tbaa !5
  %35 = zext i32 %34 to i64
  %36 = icmp ult i64 %indvars.iv.next, %35
  br i1 %36, label %.lr.ph, label %.preheader, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph79, %.preheader
  ret void

.lr.ph51:                                         ; preds = %.lr.ph79
  %37 = load ptr, ptr %15, align 8, !tbaa !15
  %38 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv.next61
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %.not41 = icmp eq ptr %39, null
  br i1 %.not41, label %.lr.ph51._crit_edge, label %.lr.ph79, !llvm.loop !19

.lr.ph51._crit_edge:                              ; preds = %.lr.ph51
  %40 = trunc nuw i64 %indvars.iv.next61 to i32
  br label %41

41:                                               ; preds = %.lr.ph51._crit_edge, %.lr.ph51.preheader
  %indvars.iv60.lcssa = phi i32 [ %40, %.lr.ph51._crit_edge ], [ 0, %.lr.ph51.preheader ]
  %.lcssa = phi i32 [ %43, %.lr.ph51._crit_edge ], [ %25, %.lr.ph51.preheader ]
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.61, i32 noundef %indvars.iv60.lcssa, i32 noundef %.lcssa) #2
  unreachable

.lr.ph79:                                         ; preds = %.lr.ph51.preheader, %.lr.ph51
  %42 = phi ptr [ %39, %.lr.ph51 ], [ %27, %.lr.ph51.preheader ]
  %indvars.iv6078 = phi i64 [ %indvars.iv.next61, %.lr.ph51 ], [ 0, %.lr.ph51.preheader ]
  tail call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimationPK15aiMeshMorphAnim(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %1, ptr noundef nonnull %42)
  %indvars.iv.next61 = add nuw nsw i64 %indvars.iv6078, 1
  %43 = load i32, ptr %24, align 8, !tbaa !13
  %44 = zext i32 %43 to i64
  %45 = icmp ult i64 %indvars.iv.next61, %44
  br i1 %45, label %.lr.ph51, label %._crit_edge, !llvm.loop !19

46:                                               ; preds = %5
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.62) #2
  unreachable
}

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

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

attributes #0 = { mustprogress noreturn uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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, !8, i64 1048}
!6 = !{!"_ZTS11aiAnimation", !7, i64 0, !11, i64 1032, !11, i64 1040, !8, i64 1048, !12, i64 1056, !8, i64 1064, !12, i64 1072, !8, i64 1080, !12, i64 1088}
!7 = !{!"_ZTS8aiString", !8, i64 0, !9, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!6, !8, i64 1080}
!14 = !{!6, !12, i64 1056}
!15 = !{!6, !12, i64 1088}
!16 = !{!12, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


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