; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/FBX (FBXConverter)

; 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.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%class.aiVector3t = type { float, float, float }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [37 x i8], align 1
@__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.is_id = external hidden unnamed_addr constant [3 x i8], align 1
@__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.order = external hidden unnamed_addr constant [3 x i32], align 4
@.str.36 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [14 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

declare void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE(ptr noundef nonnull align 8 dereferenceable(489) %0, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(64) %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.aiMatrix4x4t, align 4
  %10 = alloca float, align 4
  %11 = alloca %class.aiMatrix4x4t, align 4
  %12 = alloca [3 x i8], align 1
  %13 = alloca [3 x %class.aiMatrix4x4t], align 16
  %14 = alloca %class.aiVector3t, align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca [3 x i32], align 4
  %17 = alloca %class.aiMatrix4x4t, align 4
  %18 = alloca %class.aiMatrix4x4t, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = icmp eq i32 %20, 6
  br i1 %21, label %22, label %24

22:                                               ; preds = %4
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA37_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(37) @.str.35)
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #8
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %9) #8
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %9, i64 64, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #8
  br label %176

24:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %25 = call noundef float @_ZN6Assimp4Math10getEpsilonIfEET_v()
  store float %25, ptr %10, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #8
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %11) #8
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %11, i64 64, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 3, ptr %12) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.is_id, i64 3, i1 false)
  call void @llvm.lifetime.start.p0(i64 192, ptr %13) #8
  %27 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i32 0, i32 0
  %28 = getelementptr inbounds %class.aiMatrix4x4t, ptr %27, i64 3
  br label %29

29:                                               ; preds = %29, %24
  %30 = phi ptr [ %27, %24 ], [ %31, %29 ]
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %30) #8
  %31 = getelementptr inbounds %class.aiMatrix4x4t, ptr %30, i64 1
  %32 = icmp eq ptr %31, %28
  br i1 %32, label %33, label %29

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #8
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERKS2_S1_(ptr noundef nonnull align 4 dereferenceable(12) %34, float noundef 0x3F91DF46A0000000)
  store { <2 x float>, float } %35, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  %36 = getelementptr inbounds %class.aiVector3t, ptr %14, i32 0, i32 2
  %37 = load float, ptr %36, align 4, !tbaa !14
  %38 = call noundef float @_ZSt4fabsf(float noundef %37)
  %39 = load float, ptr %10, align 4, !tbaa !12
  %40 = fcmp ogt float %38, %39
  br i1 %40, label %41, label %47

41:                                               ; preds = %33
  %42 = getelementptr inbounds %class.aiVector3t, ptr %14, i32 0, i32 2
  %43 = load float, ptr %42, align 4, !tbaa !14
  %44 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i64 0, i64 2
  %45 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationZEfRS0_(float noundef %43, ptr noundef nonnull align 4 dereferenceable(64) %44)
  %46 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 2
  store i8 0, ptr %46, align 1, !tbaa !16
  br label %47

47:                                               ; preds = %41, %33
  %48 = getelementptr inbounds %class.aiVector3t, ptr %14, i32 0, i32 1
  %49 = load float, ptr %48, align 4, !tbaa !18
  %50 = call noundef float @_ZSt4fabsf(float noundef %49)
  %51 = load float, ptr %10, align 4, !tbaa !12
  %52 = fcmp ogt float %50, %51
  br i1 %52, label %53, label %59

53:                                               ; preds = %47
  %54 = getelementptr inbounds %class.aiVector3t, ptr %14, i32 0, i32 1
  %55 = load float, ptr %54, align 4, !tbaa !18
  %56 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i64 0, i64 1
  %57 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationYEfRS0_(float noundef %55, ptr noundef nonnull align 4 dereferenceable(64) %56)
  %58 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 1
  store i8 0, ptr %58, align 1, !tbaa !16
  br label %59

59:                                               ; preds = %53, %47
  %60 = getelementptr inbounds %class.aiVector3t, ptr %14, i32 0, i32 0
  %61 = load float, ptr %60, align 4, !tbaa !19
  %62 = call noundef float @_ZSt4fabsf(float noundef %61)
  %63 = load float, ptr %10, align 4, !tbaa !12
  %64 = fcmp ogt float %62, %63
  br i1 %64, label %65, label %71

65:                                               ; preds = %59
  %66 = getelementptr inbounds %class.aiVector3t, ptr %14, i32 0, i32 0
  %67 = load float, ptr %66, align 4, !tbaa !19
  %68 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i64 0, i64 0
  %69 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationXEfRS0_(float noundef %67, ptr noundef nonnull align 4 dereferenceable(64) %68)
  %70 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 0
  store i8 0, ptr %70, align 1, !tbaa !16
  br label %71

71:                                               ; preds = %65, %59
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 @__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.order, i64 12, i1 false)
  %72 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %72, label %97 [
    i32 0, label %73
    i32 1, label %77
    i32 2, label %81
    i32 3, label %85
    i32 4, label %89
    i32 5, label %93
  ]

73:                                               ; preds = %71
  %74 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  store i32 2, ptr %74, align 4, !tbaa !20
  %75 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  store i32 1, ptr %75, align 4, !tbaa !20
  %76 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  store i32 0, ptr %76, align 4, !tbaa !20
  br label %98

77:                                               ; preds = %71
  %78 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  store i32 1, ptr %78, align 4, !tbaa !20
  %79 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  store i32 2, ptr %79, align 4, !tbaa !20
  %80 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  store i32 0, ptr %80, align 4, !tbaa !20
  br label %98

81:                                               ; preds = %71
  %82 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  store i32 0, ptr %82, align 4, !tbaa !20
  %83 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  store i32 2, ptr %83, align 4, !tbaa !20
  %84 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  store i32 1, ptr %84, align 4, !tbaa !20
  br label %98

85:                                               ; preds = %71
  %86 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  store i32 2, ptr %86, align 4, !tbaa !20
  %87 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  store i32 0, ptr %87, align 4, !tbaa !20
  %88 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  store i32 1, ptr %88, align 4, !tbaa !20
  br label %98

89:                                               ; preds = %71
  %90 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  store i32 1, ptr %90, align 4, !tbaa !20
  %91 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  store i32 0, ptr %91, align 4, !tbaa !20
  %92 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  store i32 2, ptr %92, align 4, !tbaa !20
  br label %98

93:                                               ; preds = %71
  %94 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  store i32 0, ptr %94, align 4, !tbaa !20
  %95 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  store i32 1, ptr %95, align 4, !tbaa !20
  %96 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  store i32 2, ptr %96, align 4, !tbaa !20
  br label %98

97:                                               ; preds = %71
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.10, ptr noundef @.str.5, i32 noundef 682)
  br label %98

98:                                               ; preds = %97, %93, %89, %85, %81, %77, %73
  %99 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  %100 = load i32, ptr %99, align 4, !tbaa !20
  %101 = icmp sge i32 %100, 0
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.36, ptr noundef @.str.5, i32 noundef 686)
  br label %103

103:                                              ; preds = %102, %98
  %104 = phi i1 [ true, %98 ], [ false, %102 ]
  %105 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  %106 = load i32, ptr %105, align 4, !tbaa !20
  %107 = icmp sle i32 %106, 2
  br i1 %107, label %109, label %108

108:                                              ; preds = %103
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.37, ptr noundef @.str.5, i32 noundef 687)
  br label %109

109:                                              ; preds = %108, %103
  %110 = phi i1 [ true, %103 ], [ false, %108 ]
  %111 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  %112 = load i32, ptr %111, align 4, !tbaa !20
  %113 = icmp sge i32 %112, 0
  br i1 %113, label %115, label %114

114:                                              ; preds = %109
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.38, ptr noundef @.str.5, i32 noundef 688)
  br label %115

115:                                              ; preds = %114, %109
  %116 = phi i1 [ true, %109 ], [ false, %114 ]
  %117 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  %118 = load i32, ptr %117, align 4, !tbaa !20
  %119 = icmp sle i32 %118, 2
  br i1 %119, label %121, label %120

120:                                              ; preds = %115
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.39, ptr noundef @.str.5, i32 noundef 689)
  br label %121

121:                                              ; preds = %120, %115
  %122 = phi i1 [ true, %115 ], [ false, %120 ]
  %123 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  %124 = load i32, ptr %123, align 4, !tbaa !20
  %125 = icmp sge i32 %124, 0
  br i1 %125, label %127, label %126

126:                                              ; preds = %121
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.40, ptr noundef @.str.5, i32 noundef 690)
  br label %127

127:                                              ; preds = %126, %121
  %128 = phi i1 [ true, %121 ], [ false, %126 ]
  %129 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  %130 = load i32, ptr %129, align 4, !tbaa !20
  %131 = icmp sle i32 %130, 2
  br i1 %131, label %133, label %132

132:                                              ; preds = %127
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.41, ptr noundef @.str.5, i32 noundef 691)
  br label %133

133:                                              ; preds = %132, %127
  %134 = phi i1 [ true, %127 ], [ false, %132 ]
  %135 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  %136 = load i32, ptr %135, align 4, !tbaa !20
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 %137
  %139 = load i8, ptr %138, align 1, !tbaa !16, !range !22, !noundef !23
  %140 = trunc i8 %139 to i1
  br i1 %140, label %147, label %141

141:                                              ; preds = %133
  %142 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0
  %143 = load i32, ptr %142, align 4, !tbaa !20
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i64 0, i64 %144
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %146, ptr align 16 %145, i64 64, i1 false), !tbaa.struct !11
  br label %147

147:                                              ; preds = %141, %133
  %148 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  %149 = load i32, ptr %148, align 4, !tbaa !20
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !16, !range !22, !noundef !23
  %153 = trunc i8 %152 to i1
  br i1 %153, label %161, label %154

154:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #8
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 1
  %157 = load i32, ptr %156, align 4, !tbaa !20
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i64 0, i64 %158
  call void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind writable sret(%class.aiMatrix4x4t) align 4 %17, ptr noundef nonnull align 4 dereferenceable(64) %155, ptr noundef nonnull align 4 dereferenceable(64) %159)
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %160, ptr align 4 %17, i64 64, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #8
  br label %161

161:                                              ; preds = %154, %147
  %162 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  %163 = load i32, ptr %162, align 4, !tbaa !20
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 %164
  %166 = load i8, ptr %165, align 1, !tbaa !16, !range !22, !noundef !23
  %167 = trunc i8 %166 to i1
  br i1 %167, label %175, label %168

168:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #8
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 2
  %171 = load i32, ptr %170, align 4, !tbaa !20
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %13, i64 0, i64 %172
  call void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind writable sret(%class.aiMatrix4x4t) align 4 %18, ptr noundef nonnull align 4 dereferenceable(64) %169, ptr noundef nonnull align 4 dereferenceable(64) %173)
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %174, ptr align 4 %18, i64 64, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #8
  br label %175

175:                                              ; preds = %168, %161
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %176

176:                                              ; preds = %175, %22
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA37_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(37)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERKS2_S1_(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationZEfRS0_(float noundef, ptr noundef nonnull align 4 dereferenceable(64)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationYEfRS0_(float noundef, ptr noundef nonnull align 4 dereferenceable(64)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationXEfRS0_(float noundef, ptr noundef nonnull align 4 dereferenceable(64)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind noalias writable sret(%class.aiMatrix4x4t) align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #7 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN6Assimp3FBX5Model8RotOrderE", !7, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 4, !12, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !12, i64 28, i64 4, !12, i64 32, i64 4, !12, i64 36, i64 4, !12, i64 40, i64 4, !12, i64 44, i64 4, !12, i64 48, i64 4, !12, i64 52, i64 4, !12, i64 56, i64 4, !12, i64 60, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"_ZTS10aiVector3tIfE", !13, i64 0, !13, i64 4, !13, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!15, !13, i64 4}
!19 = !{!15, !13, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}


; 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.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [37 x i8], align 1
@__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.is_id = external hidden unnamed_addr constant [3 x i8], align 1
@__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.order = external hidden unnamed_addr constant [3 x i32], align 4
@.str.36 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [14 x i8], align 1
@switch.table._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE = private unnamed_addr constant [6 x i32] [i32 0, i32 0, i32 1, i32 1, i32 2, i32 2], align 4
@switch.table._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.1 = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 2, i32 0, i32 0, i32 1], align 4
@switch.table._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.2 = private unnamed_addr constant [6 x i32] [i32 2, i32 1, i32 0, i32 2, i32 1, i32 0], align 4

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

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

; Function Attrs: mustprogress 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

declare void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(489) %0, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(64) %3) local_unnamed_addr #3 align 2 {
  %5 = alloca %class.aiMatrix4x4t, align 4
  %6 = alloca %class.aiMatrix4x4t, align 4
  %7 = alloca [3 x i8], align 1
  %8 = alloca [3 x %class.aiMatrix4x4t], align 16
  %9 = alloca %class.aiMatrix4x4t, align 4
  %10 = alloca %class.aiMatrix4x4t, align 4
  %11 = icmp eq i32 %1, 6
  br i1 %11, label %12, label %13

12:                                               ; preds = %4
  tail call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA37_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(37) @.str.35)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #8
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %5) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %5, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #8
  br label %73

13:                                               ; preds = %4
  %14 = tail call noundef float @_ZN6Assimp4Math10getEpsilonIfEET_v()
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #8
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %6) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %6, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %7, ptr noundef nonnull align 1 dereferenceable(3) @__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.is_id, i64 3, i1 false)
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %8) #8
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %8) #8
  %.ptr.1 = getelementptr inbounds i8, ptr %8, i64 64
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %.ptr.1) #8
  %.ptr.2 = getelementptr inbounds i8, ptr %8, i64 128
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %.ptr.2) #8
  %15 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERKS2_S1_(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef 0x3F91DF46A0000000)
  %.fca.0.extract = extractvalue { <2 x float>, float } %15, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %15, 1
  %16 = call noundef float @_ZSt4fabsf(float noundef %.fca.1.extract)
  %17 = fcmp ogt float %16, %14
  br i1 %17, label %18, label %21

18:                                               ; preds = %13
  %19 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationZEfRS0_(float noundef %.fca.1.extract, ptr noundef nonnull align 4 dereferenceable(64) %.ptr.2)
  %20 = getelementptr inbounds i8, ptr %7, i64 2
  store i8 0, ptr %20, align 1, !tbaa !10
  br label %21

21:                                               ; preds = %18, %13
  %.sroa.011.4.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 1
  %22 = call noundef float @_ZSt4fabsf(float noundef %.sroa.011.4.vec.extract)
  %23 = fcmp ogt float %22, %14
  br i1 %23, label %24, label %27

24:                                               ; preds = %21
  %25 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationYEfRS0_(float noundef %.sroa.011.4.vec.extract, ptr noundef nonnull align 4 dereferenceable(64) %.ptr.1)
  %26 = getelementptr inbounds i8, ptr %7, i64 1
  store i8 0, ptr %26, align 1, !tbaa !10
  br label %27

27:                                               ; preds = %24, %21
  %.sroa.011.0.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 0
  %28 = call noundef float @_ZSt4fabsf(float noundef %.sroa.011.0.vec.extract)
  %29 = fcmp ogt float %28, %14
  br i1 %29, label %30, label %32

30:                                               ; preds = %27
  %31 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationXEfRS0_(float noundef %.sroa.011.0.vec.extract, ptr noundef nonnull align 4 dereferenceable(64) %8)
  store i8 0, ptr %7, align 1, !tbaa !10
  br label %32

32:                                               ; preds = %30, %27
  %33 = icmp ult i32 %1, 6
  br i1 %33, label %switch.lookup, label %34

34:                                               ; preds = %32
  %.sroa.23.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.order, i64 8), align 4
  %.sroa.13.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.order, i64 4), align 4
  %.sroa.0.0.copyload = load i32, ptr @__const._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.order, align 4
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.5, i32 noundef 682)
  %35 = icmp sgt i32 %.sroa.0.0.copyload, -1
  br i1 %35, label %37, label %36

36:                                               ; preds = %34
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.5, i32 noundef 686)
  br label %.thread37

37:                                               ; preds = %34
  %38 = icmp ult i32 %.sroa.0.0.copyload, 3
  br i1 %38, label %.thread37, label %39

39:                                               ; preds = %37
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.5, i32 noundef 687)
  br label %.thread37

.thread37:                                        ; preds = %36, %39, %37
  %40 = icmp sgt i32 %.sroa.13.0.copyload, -1
  br i1 %40, label %41, label %.thread44

.thread44:                                        ; preds = %.thread37
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.5, i32 noundef 688)
  br label %44

41:                                               ; preds = %.thread37
  %42 = icmp ult i32 %.sroa.13.0.copyload, 3
  br i1 %42, label %44, label %43

43:                                               ; preds = %41
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.5, i32 noundef 689)
  br label %44

44:                                               ; preds = %.thread44, %43, %41
  %45 = icmp sgt i32 %.sroa.23.0.copyload, -1
  br i1 %45, label %46, label %.thread45

.thread45:                                        ; preds = %44
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.5, i32 noundef 690)
  br label %.thread69

46:                                               ; preds = %44
  %47 = icmp ult i32 %.sroa.23.0.copyload, 3
  br i1 %47, label %.thread69, label %48

48:                                               ; preds = %46
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.5, i32 noundef 691)
  br label %.thread69

switch.lookup:                                    ; preds = %32
  %49 = zext nneg i32 %1 to i64
  %switch.gep = getelementptr inbounds [6 x i32], ptr @switch.table._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE, i64 0, i64 %49
  %switch.load = load i32, ptr %switch.gep, align 4
  %50 = zext nneg i32 %1 to i64
  %switch.gep73 = getelementptr inbounds [6 x i32], ptr @switch.table._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.1, i64 0, i64 %50
  %switch.load74 = load i32, ptr %switch.gep73, align 4
  %51 = zext nneg i32 %1 to i64
  %switch.gep75 = getelementptr inbounds [6 x i32], ptr @switch.table._ZN6Assimp3FBX12FBXConverter17GetRotationMatrixENS0_5Model8RotOrderERK10aiVector3tIfER12aiMatrix4x4tIfE.2, i64 0, i64 %51
  %switch.load76 = load i32, ptr %switch.gep75, align 4
  br label %.thread69

.thread69:                                        ; preds = %switch.lookup, %.thread45, %48, %46
  %.sroa.23.033434967 = phi i32 [ %.sroa.23.0.copyload, %.thread45 ], [ %.sroa.23.0.copyload, %48 ], [ %.sroa.23.0.copyload, %46 ], [ %switch.load, %switch.lookup ]
  %.sroa.13.034425165 = phi i32 [ %.sroa.13.0.copyload, %.thread45 ], [ %.sroa.13.0.copyload, %48 ], [ %.sroa.13.0.copyload, %46 ], [ %switch.load74, %switch.lookup ]
  %.sroa.0.035415363 = phi i32 [ %.sroa.0.0.copyload, %.thread45 ], [ %.sroa.0.0.copyload, %48 ], [ %.sroa.0.0.copyload, %46 ], [ %switch.load76, %switch.lookup ]
  %52 = sext i32 %.sroa.0.035415363 to i64
  %53 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %52
  %54 = load i8, ptr %53, align 1, !tbaa !10, !range !12, !noundef !13
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %58, label %56

56:                                               ; preds = %.thread69
  %57 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %8, i64 0, i64 %52
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 16 dereferenceable(64) %57, i64 64, i1 false), !tbaa.struct !5
  br label %58

58:                                               ; preds = %56, %.thread69
  %59 = sext i32 %.sroa.13.034425165 to i64
  %60 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %59
  %61 = load i8, ptr %60, align 1, !tbaa !10, !range !12, !noundef !13
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %65, label %63

63:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #8
  %64 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %8, i64 0, i64 %59
  call void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind nonnull writable sret(%class.aiMatrix4x4t) align 4 %9, ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %64)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %9, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #8
  br label %65

65:                                               ; preds = %63, %58
  %66 = sext i32 %.sroa.23.033434967 to i64
  %67 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !10, !range !12, !noundef !13
  %69 = trunc nuw i8 %68 to i1
  br i1 %69, label %72, label %70

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #8
  %71 = getelementptr inbounds [3 x %class.aiMatrix4x4t], ptr %8, i64 0, i64 %66
  call void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind nonnull writable sret(%class.aiMatrix4x4t) align 4 %10, ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %71)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %10, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #8
  br label %72

72:                                               ; preds = %70, %65
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #8
  br label %73

73:                                               ; preds = %72, %12
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE8LogErrorIJRA37_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(37)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERKS2_S1_(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #7

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationYEfRS0_(float noundef, ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE9RotationXEfRS0_(float noundef, ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK12aiMatrix4x4tIfEmlERKS0_(ptr dead_on_unwind noalias writable sret(%class.aiMatrix4x4t) align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #7 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6, i64 12, i64 4, !6, i64 16, i64 4, !6, i64 20, i64 4, !6, i64 24, i64 4, !6, i64 28, i64 4, !6, i64 32, i64 4, !6, i64 36, i64 4, !6, i64 40, i64 4, !6, i64 44, i64 4, !6, i64 48, i64 4, !6, i64 52, i64 4, !6, i64 56, i64 4, !6, i64 60, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}


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