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

; 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.aiVector3t = type { float, float, float }
%class.aiMatrix4x4t = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%struct.aiMesh = type { i32, i32, i32, ptr, ptr, ptr, ptr, [8 x ptr], [8 x ptr], [8 x i32], ptr, i32, ptr, i32, %struct.aiString, i32, ptr, i32, %struct.aiAABB, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%struct.aiAABB = type { %class.aiVector3t, %class.aiVector3t }

@_ZN12_GLOBAL__N_111base_axis_yE = external hidden global %class.aiVector3t, align 4
@_ZN12_GLOBAL__N_111base_axis_xE = external hidden global %class.aiVector3t, align 4
@_ZN12_GLOBAL__N_111base_axis_zE = external hidden global %class.aiVector3t, align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z13RemoveUVSeamsP6aiMeshP10aiVector3tIfE(ptr noundef, ptr noundef) #0

; 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 nounwind uwtable
declare dso_local void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

declare void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5atan2ff(float noundef, float noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE12FromToMatrixERK10aiVector3tIfES4_RS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(64)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp23ComputeUVMappingProcess22ComputeCylinderMappingEP6aiMeshRK10aiVector3tIfEPS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef %3) #6 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.aiVector3t, align 4
  %10 = alloca %class.aiVector3t, align 4
  %11 = alloca %class.aiVector3t, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %class.aiMatrix4x4t, align 4
  %25 = alloca float, align 4
  %26 = alloca i32, align 4
  %27 = alloca %class.aiVector3t, align 4
  %28 = alloca { <2 x float>, float }, align 8
  %29 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #7
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #7
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %11) #7
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_xE)
  %33 = fcmp oge float %32, 0x3FEE666660000000
  br i1 %33, label %34, label %90

34:                                               ; preds = %4
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef %35, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %36 = getelementptr inbounds %class.aiVector3t, ptr %11, i32 0, i32 0
  %37 = load float, ptr %36, align 4, !tbaa !9
  %38 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 0
  %39 = load float, ptr %38, align 4, !tbaa !9
  %40 = fsub float %37, %39
  store float %40, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %41

41:                                               ; preds = %86, %34
  %42 = load i32, ptr %13, align 4, !tbaa !13
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.aiMesh, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !15
  %46 = icmp ult i32 %42, %45
  br i1 %46, label %48, label %47

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

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.aiMesh, ptr %49, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !20
  %52 = load i32, ptr %13, align 4, !tbaa !13
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds %class.aiVector3t, ptr %51, i64 %53
  store ptr %54, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = load i32, ptr %13, align 4, !tbaa !13
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds %class.aiVector3t, ptr %55, i64 %57
  store ptr %58, ptr %15, align 8, !tbaa !5
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.aiVector3t, ptr %59, i32 0, i32 0
  %61 = load float, ptr %60, align 4, !tbaa !9
  %62 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 0
  %63 = load float, ptr %62, align 4, !tbaa !9
  %64 = fsub float %61, %63
  %65 = load float, ptr %12, align 4, !tbaa !12
  %66 = fdiv float %64, %65
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = getelementptr inbounds %class.aiVector3t, ptr %67, i32 0, i32 1
  store float %66, ptr %68, align 4, !tbaa !21
  %69 = load ptr, ptr %14, align 8, !tbaa !5
  %70 = getelementptr inbounds %class.aiVector3t, ptr %69, i32 0, i32 2
  %71 = load float, ptr %70, align 4, !tbaa !22
  %72 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 2
  %73 = load float, ptr %72, align 4, !tbaa !22
  %74 = fsub float %71, %73
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = getelementptr inbounds %class.aiVector3t, ptr %75, i32 0, i32 1
  %77 = load float, ptr %76, align 4, !tbaa !21
  %78 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 1
  %79 = load float, ptr %78, align 4, !tbaa !21
  %80 = fsub float %77, %79
  %81 = call noundef float @_ZSt5atan2ff(float noundef %74, float noundef %80)
  %82 = fadd float %81, 0x400921FB60000000
  %83 = fdiv float %82, 0x401921FB60000000
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.aiVector3t, ptr %84, i32 0, i32 0
  store float %83, ptr %85, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %86

86:                                               ; preds = %48
  %87 = load i32, ptr %13, align 4, !tbaa !13
  %88 = add i32 %87, 1
  store i32 %88, ptr %13, align 4, !tbaa !13
  br label %41, !llvm.loop !23

89:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %268

90:                                               ; preds = %4
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = call noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %91, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_yE)
  %93 = fcmp oge float %92, 0x3FEE666660000000
  br i1 %93, label %94, label %150

94:                                               ; preds = %90
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef %95, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %96 = getelementptr inbounds %class.aiVector3t, ptr %11, i32 0, i32 1
  %97 = load float, ptr %96, align 4, !tbaa !21
  %98 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 1
  %99 = load float, ptr %98, align 4, !tbaa !21
  %100 = fsub float %97, %99
  store float %100, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !13
  br label %101

101:                                              ; preds = %146, %94
  %102 = load i32, ptr %17, align 4, !tbaa !13
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.aiMesh, ptr %103, i32 0, i32 1
  %105 = load i32, ptr %104, align 4, !tbaa !15
  %106 = icmp ult i32 %102, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %149

108:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.aiMesh, ptr %109, i32 0, i32 3
  %111 = load ptr, ptr %110, align 8, !tbaa !20
  %112 = load i32, ptr %17, align 4, !tbaa !13
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds %class.aiVector3t, ptr %111, i64 %113
  store ptr %114, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = load i32, ptr %17, align 4, !tbaa !13
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds %class.aiVector3t, ptr %115, i64 %117
  store ptr %118, ptr %19, align 8, !tbaa !5
  %119 = load ptr, ptr %18, align 8, !tbaa !5
  %120 = getelementptr inbounds %class.aiVector3t, ptr %119, i32 0, i32 1
  %121 = load float, ptr %120, align 4, !tbaa !21
  %122 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 1
  %123 = load float, ptr %122, align 4, !tbaa !21
  %124 = fsub float %121, %123
  %125 = load float, ptr %16, align 4, !tbaa !12
  %126 = fdiv float %124, %125
  %127 = load ptr, ptr %19, align 8, !tbaa !5
  %128 = getelementptr inbounds %class.aiVector3t, ptr %127, i32 0, i32 1
  store float %126, ptr %128, align 4, !tbaa !21
  %129 = load ptr, ptr %18, align 8, !tbaa !5
  %130 = getelementptr inbounds %class.aiVector3t, ptr %129, i32 0, i32 0
  %131 = load float, ptr %130, align 4, !tbaa !9
  %132 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 0
  %133 = load float, ptr %132, align 4, !tbaa !9
  %134 = fsub float %131, %133
  %135 = load ptr, ptr %18, align 8, !tbaa !5
  %136 = getelementptr inbounds %class.aiVector3t, ptr %135, i32 0, i32 2
  %137 = load float, ptr %136, align 4, !tbaa !22
  %138 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 2
  %139 = load float, ptr %138, align 4, !tbaa !22
  %140 = fsub float %137, %139
  %141 = call noundef float @_ZSt5atan2ff(float noundef %134, float noundef %140)
  %142 = fadd float %141, 0x400921FB60000000
  %143 = fdiv float %142, 0x401921FB60000000
  %144 = load ptr, ptr %19, align 8, !tbaa !5
  %145 = getelementptr inbounds %class.aiVector3t, ptr %144, i32 0, i32 0
  store float %143, ptr %145, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %146

146:                                              ; preds = %108
  %147 = load i32, ptr %17, align 4, !tbaa !13
  %148 = add i32 %147, 1
  store i32 %148, ptr %17, align 4, !tbaa !13
  br label %101, !llvm.loop !25

149:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %267

150:                                              ; preds = %90
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = call noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %151, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_zE)
  %153 = fcmp oge float %152, 0x3FEE666660000000
  br i1 %153, label %154, label %210

154:                                              ; preds = %150
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef %155, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %156 = getelementptr inbounds %class.aiVector3t, ptr %11, i32 0, i32 2
  %157 = load float, ptr %156, align 4, !tbaa !22
  %158 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 2
  %159 = load float, ptr %158, align 4, !tbaa !22
  %160 = fsub float %157, %159
  store float %160, ptr %20, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %161

161:                                              ; preds = %206, %154
  %162 = load i32, ptr %21, align 4, !tbaa !13
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.aiMesh, ptr %163, i32 0, i32 1
  %165 = load i32, ptr %164, align 4, !tbaa !15
  %166 = icmp ult i32 %162, %165
  br i1 %166, label %168, label %167

167:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %209

168:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.aiMesh, ptr %169, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !20
  %172 = load i32, ptr %21, align 4, !tbaa !13
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds %class.aiVector3t, ptr %171, i64 %173
  store ptr %174, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = load i32, ptr %21, align 4, !tbaa !13
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds %class.aiVector3t, ptr %175, i64 %177
  store ptr %178, ptr %23, align 8, !tbaa !5
  %179 = load ptr, ptr %22, align 8, !tbaa !5
  %180 = getelementptr inbounds %class.aiVector3t, ptr %179, i32 0, i32 2
  %181 = load float, ptr %180, align 4, !tbaa !22
  %182 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 2
  %183 = load float, ptr %182, align 4, !tbaa !22
  %184 = fsub float %181, %183
  %185 = load float, ptr %20, align 4, !tbaa !12
  %186 = fdiv float %184, %185
  %187 = load ptr, ptr %23, align 8, !tbaa !5
  %188 = getelementptr inbounds %class.aiVector3t, ptr %187, i32 0, i32 1
  store float %186, ptr %188, align 4, !tbaa !21
  %189 = load ptr, ptr %22, align 8, !tbaa !5
  %190 = getelementptr inbounds %class.aiVector3t, ptr %189, i32 0, i32 1
  %191 = load float, ptr %190, align 4, !tbaa !21
  %192 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 1
  %193 = load float, ptr %192, align 4, !tbaa !21
  %194 = fsub float %191, %193
  %195 = load ptr, ptr %22, align 8, !tbaa !5
  %196 = getelementptr inbounds %class.aiVector3t, ptr %195, i32 0, i32 0
  %197 = load float, ptr %196, align 4, !tbaa !9
  %198 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 0
  %199 = load float, ptr %198, align 4, !tbaa !9
  %200 = fsub float %197, %199
  %201 = call noundef float @_ZSt5atan2ff(float noundef %194, float noundef %200)
  %202 = fadd float %201, 0x400921FB60000000
  %203 = fdiv float %202, 0x401921FB60000000
  %204 = load ptr, ptr %23, align 8, !tbaa !5
  %205 = getelementptr inbounds %class.aiVector3t, ptr %204, i32 0, i32 0
  store float %203, ptr %205, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %206

206:                                              ; preds = %168
  %207 = load i32, ptr %21, align 4, !tbaa !13
  %208 = add i32 %207, 1
  store i32 %208, ptr %21, align 4, !tbaa !13
  br label %161, !llvm.loop !26

209:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %266

210:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #7
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %24) #7
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE12FromToMatrixERK10aiVector3tIfES4_RS0_(ptr noundef nonnull align 4 dereferenceable(12) %211, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_yE, ptr noundef nonnull align 4 dereferenceable(64) %24)
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Assimp25FindMeshCenterTransformedEP6aiMeshR10aiVector3tIfES4_S4_RK12aiMatrix4x4tIfE(ptr noundef %213, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(64) %24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %214 = getelementptr inbounds %class.aiVector3t, ptr %11, i32 0, i32 1
  %215 = load float, ptr %214, align 4, !tbaa !21
  %216 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 1
  %217 = load float, ptr %216, align 4, !tbaa !21
  %218 = fsub float %215, %217
  store float %218, ptr %25, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !13
  br label %219

219:                                              ; preds = %262, %210
  %220 = load i32, ptr %26, align 4, !tbaa !13
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.aiMesh, ptr %221, i32 0, i32 1
  %223 = load i32, ptr %222, align 4, !tbaa !15
  %224 = icmp ult i32 %220, %223
  br i1 %224, label %226, label %225

225:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %265

226:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #7
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.aiMesh, ptr %227, i32 0, i32 3
  %229 = load ptr, ptr %228, align 8, !tbaa !20
  %230 = load i32, ptr %26, align 4, !tbaa !13
  %231 = zext i32 %230 to i64
  %232 = getelementptr inbounds %class.aiVector3t, ptr %229, i64 %231
  %233 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix4x4tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %24, ptr noundef nonnull align 4 dereferenceable(12) %232)
  store { <2 x float>, float } %233, ptr %28, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 8 %28, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = load i32, ptr %26, align 4, !tbaa !13
  %236 = zext i32 %235 to i64
  %237 = getelementptr inbounds %class.aiVector3t, ptr %234, i64 %236
  store ptr %237, ptr %29, align 8, !tbaa !5
  %238 = getelementptr inbounds %class.aiVector3t, ptr %27, i32 0, i32 1
  %239 = load float, ptr %238, align 4, !tbaa !21
  %240 = getelementptr inbounds %class.aiVector3t, ptr %10, i32 0, i32 1
  %241 = load float, ptr %240, align 4, !tbaa !21
  %242 = fsub float %239, %241
  %243 = load float, ptr %25, align 4, !tbaa !12
  %244 = fdiv float %242, %243
  %245 = load ptr, ptr %29, align 8, !tbaa !5
  %246 = getelementptr inbounds %class.aiVector3t, ptr %245, i32 0, i32 1
  store float %244, ptr %246, align 4, !tbaa !21
  %247 = getelementptr inbounds %class.aiVector3t, ptr %27, i32 0, i32 0
  %248 = load float, ptr %247, align 4, !tbaa !9
  %249 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 0
  %250 = load float, ptr %249, align 4, !tbaa !9
  %251 = fsub float %248, %250
  %252 = getelementptr inbounds %class.aiVector3t, ptr %27, i32 0, i32 2
  %253 = load float, ptr %252, align 4, !tbaa !22
  %254 = getelementptr inbounds %class.aiVector3t, ptr %9, i32 0, i32 2
  %255 = load float, ptr %254, align 4, !tbaa !22
  %256 = fsub float %253, %255
  %257 = call noundef float @_ZSt5atan2ff(float noundef %251, float noundef %256)
  %258 = fadd float %257, 0x400921FB60000000
  %259 = fdiv float %258, 0x401921FB60000000
  %260 = load ptr, ptr %29, align 8, !tbaa !5
  %261 = getelementptr inbounds %class.aiVector3t, ptr %260, i32 0, i32 0
  store float %259, ptr %261, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #7
  br label %262

262:                                              ; preds = %226
  %263 = load i32, ptr %26, align 4, !tbaa !13
  %264 = add i32 %263, 1
  store i32 %264, ptr %26, align 4, !tbaa !13
  br label %219, !llvm.loop !27

265:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #7
  br label %266

266:                                              ; preds = %265, %209
  br label %267

267:                                              ; preds = %266, %149
  br label %268

268:                                              ; preds = %267, %89
  %269 = load ptr, ptr %6, align 8, !tbaa !5
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z13RemoveUVSeamsP6aiMeshP10aiVector3tIfE(ptr noundef %269, ptr noundef %270)
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #7
  ret void
}

declare void @_ZN6Assimp25FindMeshCenterTransformedEP6aiMeshR10aiVector3tIfES4_S4_RK12aiMatrix4x4tIfE(ptr noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(64)) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync 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 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 #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, !11, i64 0}
!10 = !{!"_ZTS10aiVector3tIfE", !11, i64 0, !11, i64 4, !11, i64 8}
!11 = !{!"float", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"_ZTS6aiMesh", !14, i64 0, !14, i64 4, !14, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !7, i64 48, !7, i64 112, !7, i64 176, !6, i64 208, !14, i64 216, !6, i64 224, !14, i64 232, !17, i64 236, !14, i64 1264, !6, i64 1272, !18, i64 1280, !19, i64 1284, !6, i64 1312}
!17 = !{!"_ZTS8aiString", !14, i64 0, !7, i64 4}
!18 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!19 = !{!"_ZTS6aiAABB", !10, i64 0, !10, i64 12}
!20 = !{!16, !6, i64 16}
!21 = !{!10, !11, i64 4}
!22 = !{!10, !11, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}


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

@_ZN12_GLOBAL__N_111base_axis_yE = external hidden global %class.aiVector3t, align 4
@_ZN12_GLOBAL__N_111base_axis_xE = external hidden global %class.aiVector3t, align 4
@_ZN12_GLOBAL__N_111base_axis_zE = external hidden global %class.aiVector3t, align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z13RemoveUVSeamsP6aiMeshP10aiVector3tIfE(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

declare void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5atan2ff(float noundef, float noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp23ComputeUVMappingProcess22ComputeCylinderMappingEP6aiMeshRK10aiVector3tIfEPS4_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef %3) local_unnamed_addr #5 align 2 {
  %5 = alloca %class.aiVector3t, align 4
  %6 = alloca %class.aiVector3t, align 4
  %7 = alloca %class.aiVector3t, align 4
  %8 = alloca %class.aiMatrix4x4t, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  call void @_ZN10aiVector3tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7) #6
  %9 = call noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_xE)
  %10 = fcmp ult float %9, 0x3FEE666660000000
  br i1 %10, label %43, label %11

11:                                               ; preds = %4
  call void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %12 = load float, ptr %7, align 4, !tbaa !5
  %13 = load float, ptr %6, align 4, !tbaa !5
  %14 = fsub float %12, %13
  %15 = getelementptr inbounds i8, ptr %1, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !10
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %11
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = getelementptr inbounds i8, ptr %5, i64 8
  %19 = getelementptr inbounds i8, ptr %5, i64 4
  br label %20

20:                                               ; preds = %.lr.ph, %20
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %20 ]
  %21 = load ptr, ptr %17, align 8, !tbaa !17
  %22 = getelementptr inbounds %class.aiVector3t, ptr %21, i64 %indvars.iv
  %23 = getelementptr inbounds %class.aiVector3t, ptr %3, i64 %indvars.iv
  %24 = load float, ptr %22, align 4, !tbaa !5
  %25 = load float, ptr %6, align 4, !tbaa !5
  %26 = fsub float %24, %25
  %27 = fdiv float %26, %14
  %28 = getelementptr inbounds i8, ptr %23, i64 4
  store float %27, ptr %28, align 4, !tbaa !18
  %29 = getelementptr inbounds i8, ptr %22, i64 8
  %30 = load float, ptr %29, align 4, !tbaa !19
  %31 = load float, ptr %18, align 4, !tbaa !19
  %32 = fsub float %30, %31
  %33 = getelementptr inbounds i8, ptr %22, i64 4
  %34 = load float, ptr %33, align 4, !tbaa !18
  %35 = load float, ptr %19, align 4, !tbaa !18
  %36 = fsub float %34, %35
  %37 = call noundef float @_ZSt5atan2ff(float noundef %32, float noundef %36)
  %38 = fadd float %37, 0x400921FB60000000
  %39 = fdiv float %38, 0x401921FB60000000
  store float %39, ptr %23, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %40 = load i32, ptr %15, align 4, !tbaa !10
  %41 = zext i32 %40 to i64
  %42 = icmp ult i64 %indvars.iv.next, %41
  br i1 %42, label %20, label %.loopexit, !llvm.loop !20

43:                                               ; preds = %4
  %44 = call noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_yE)
  %45 = fcmp ult float %44, 0x3FEE666660000000
  br i1 %45, label %79, label %46

46:                                               ; preds = %43
  call void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %47 = getelementptr inbounds i8, ptr %7, i64 4
  %48 = load float, ptr %47, align 4, !tbaa !18
  %49 = getelementptr inbounds i8, ptr %6, i64 4
  %50 = load float, ptr %49, align 4, !tbaa !18
  %51 = fsub float %48, %50
  %52 = getelementptr inbounds i8, ptr %1, i64 4
  %53 = load i32, ptr %52, align 4, !tbaa !10
  %.not72 = icmp eq i32 %53, 0
  br i1 %.not72, label %.loopexit, label %.lr.ph67

.lr.ph67:                                         ; preds = %46
  %54 = getelementptr inbounds i8, ptr %1, i64 16
  %55 = getelementptr inbounds i8, ptr %5, i64 8
  br label %56

56:                                               ; preds = %.lr.ph67, %56
  %indvars.iv78 = phi i64 [ 0, %.lr.ph67 ], [ %indvars.iv.next79, %56 ]
  %57 = load ptr, ptr %54, align 8, !tbaa !17
  %58 = getelementptr inbounds %class.aiVector3t, ptr %57, i64 %indvars.iv78
  %59 = getelementptr inbounds %class.aiVector3t, ptr %3, i64 %indvars.iv78
  %60 = getelementptr inbounds i8, ptr %58, i64 4
  %61 = load float, ptr %60, align 4, !tbaa !18
  %62 = load float, ptr %49, align 4, !tbaa !18
  %63 = fsub float %61, %62
  %64 = fdiv float %63, %51
  %65 = getelementptr inbounds i8, ptr %59, i64 4
  store float %64, ptr %65, align 4, !tbaa !18
  %66 = load float, ptr %58, align 4, !tbaa !5
  %67 = load float, ptr %5, align 4, !tbaa !5
  %68 = fsub float %66, %67
  %69 = getelementptr inbounds i8, ptr %58, i64 8
  %70 = load float, ptr %69, align 4, !tbaa !19
  %71 = load float, ptr %55, align 4, !tbaa !19
  %72 = fsub float %70, %71
  %73 = call noundef float @_ZSt5atan2ff(float noundef %68, float noundef %72)
  %74 = fadd float %73, 0x400921FB60000000
  %75 = fdiv float %74, 0x401921FB60000000
  store float %75, ptr %59, align 4, !tbaa !5
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %76 = load i32, ptr %52, align 4, !tbaa !10
  %77 = zext i32 %76 to i64
  %78 = icmp ult i64 %indvars.iv.next79, %77
  br i1 %78, label %56, label %.loopexit, !llvm.loop !22

79:                                               ; preds = %43
  %80 = call noundef float @_ZmlIfET_RK10aiVector3tIS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_zE)
  %81 = fcmp ult float %80, 0x3FEE666660000000
  br i1 %81, label %115, label %82

82:                                               ; preds = %79
  call void @_ZN6Assimp14FindMeshCenterEP6aiMeshR10aiVector3tIfES4_S4_(ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %83 = getelementptr inbounds i8, ptr %7, i64 8
  %84 = load float, ptr %83, align 4, !tbaa !19
  %85 = getelementptr inbounds i8, ptr %6, i64 8
  %86 = load float, ptr %85, align 4, !tbaa !19
  %87 = fsub float %84, %86
  %88 = getelementptr inbounds i8, ptr %1, i64 4
  %89 = load i32, ptr %88, align 4, !tbaa !10
  %.not73 = icmp eq i32 %89, 0
  br i1 %.not73, label %.loopexit, label %.lr.ph69

.lr.ph69:                                         ; preds = %82
  %90 = getelementptr inbounds i8, ptr %1, i64 16
  %91 = getelementptr inbounds i8, ptr %5, i64 4
  br label %92

92:                                               ; preds = %.lr.ph69, %92
  %indvars.iv81 = phi i64 [ 0, %.lr.ph69 ], [ %indvars.iv.next82, %92 ]
  %93 = load ptr, ptr %90, align 8, !tbaa !17
  %94 = getelementptr inbounds %class.aiVector3t, ptr %93, i64 %indvars.iv81
  %95 = getelementptr inbounds %class.aiVector3t, ptr %3, i64 %indvars.iv81
  %96 = getelementptr inbounds i8, ptr %94, i64 8
  %97 = load float, ptr %96, align 4, !tbaa !19
  %98 = load float, ptr %85, align 4, !tbaa !19
  %99 = fsub float %97, %98
  %100 = fdiv float %99, %87
  %101 = getelementptr inbounds i8, ptr %95, i64 4
  store float %100, ptr %101, align 4, !tbaa !18
  %102 = getelementptr inbounds i8, ptr %94, i64 4
  %103 = load float, ptr %102, align 4, !tbaa !18
  %104 = load float, ptr %91, align 4, !tbaa !18
  %105 = fsub float %103, %104
  %106 = load float, ptr %94, align 4, !tbaa !5
  %107 = load float, ptr %5, align 4, !tbaa !5
  %108 = fsub float %106, %107
  %109 = call noundef float @_ZSt5atan2ff(float noundef %105, float noundef %108)
  %110 = fadd float %109, 0x400921FB60000000
  %111 = fdiv float %110, 0x401921FB60000000
  store float %111, ptr %95, align 4, !tbaa !5
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %112 = load i32, ptr %88, align 4, !tbaa !10
  %113 = zext i32 %112 to i64
  %114 = icmp ult i64 %indvars.iv.next82, %113
  br i1 %114, label %92, label %.loopexit, !llvm.loop !23

115:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  call void @_ZN12aiMatrix4x4tIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %8) #6
  %116 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZN12aiMatrix4x4tIfE12FromToMatrixERK10aiVector3tIfES4_RS0_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) @_ZN12_GLOBAL__N_111base_axis_yE, ptr noundef nonnull align 4 dereferenceable(64) %8)
  call void @_ZN6Assimp25FindMeshCenterTransformedEP6aiMeshR10aiVector3tIfES4_S4_RK12aiMatrix4x4tIfE(ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(64) %8)
  %117 = getelementptr inbounds i8, ptr %7, i64 4
  %118 = load float, ptr %117, align 4, !tbaa !18
  %119 = getelementptr inbounds i8, ptr %6, i64 4
  %120 = load float, ptr %119, align 4, !tbaa !18
  %121 = fsub float %118, %120
  %122 = getelementptr inbounds i8, ptr %1, i64 4
  %123 = load i32, ptr %122, align 4, !tbaa !10
  %.not74 = icmp eq i32 %123, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph71

.lr.ph71:                                         ; preds = %115
  %124 = getelementptr inbounds i8, ptr %1, i64 16
  %125 = getelementptr inbounds i8, ptr %5, i64 8
  br label %126

._crit_edge:                                      ; preds = %126, %115
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  br label %.loopexit

126:                                              ; preds = %.lr.ph71, %126
  %indvars.iv84 = phi i64 [ 0, %.lr.ph71 ], [ %indvars.iv.next85, %126 ]
  %127 = load ptr, ptr %124, align 8, !tbaa !17
  %128 = getelementptr inbounds %class.aiVector3t, ptr %127, i64 %indvars.iv84
  %129 = call { <2 x float>, float } @_ZmlIfE10aiVector3tIT_ERK12aiMatrix4x4tIS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(12) %128)
  %.fca.0.extract = extractvalue { <2 x float>, float } %129, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %129, 1
  %130 = getelementptr inbounds %class.aiVector3t, ptr %3, i64 %indvars.iv84
  %.sroa.02.4.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 1
  %131 = load float, ptr %119, align 4, !tbaa !18
  %132 = fsub float %.sroa.02.4.vec.extract, %131
  %133 = fdiv float %132, %121
  %134 = getelementptr inbounds i8, ptr %130, i64 4
  store float %133, ptr %134, align 4, !tbaa !18
  %.sroa.02.0.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 0
  %135 = load float, ptr %5, align 4, !tbaa !5
  %136 = fsub float %.sroa.02.0.vec.extract, %135
  %137 = load float, ptr %125, align 4, !tbaa !19
  %138 = fsub float %.fca.1.extract, %137
  %139 = call noundef float @_ZSt5atan2ff(float noundef %136, float noundef %138)
  %140 = fadd float %139, 0x400921FB60000000
  %141 = fdiv float %140, 0x401921FB60000000
  store float %141, ptr %130, align 4, !tbaa !5
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %142 = load i32, ptr %122, align 4, !tbaa !10
  %143 = zext i32 %142 to i64
  %144 = icmp ult i64 %indvars.iv.next85, %143
  br i1 %144, label %126, label %._crit_edge, !llvm.loop !24

.loopexit:                                        ; preds = %20, %56, %92, %11, %46, %82, %._crit_edge
  call void @_Z13RemoveUVSeamsP6aiMeshP10aiVector3tIfE(ptr noundef nonnull %1, ptr noundef %3)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  ret void
}

declare void @_ZN6Assimp25FindMeshCenterTransformedEP6aiMeshR10aiVector3tIfES4_S4_RK12aiMatrix4x4tIfE(ptr noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync 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 = { 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 #4 = { 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 #5 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTS10aiVector3tIfE", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"_ZTS6aiMesh", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !8, i64 48, !8, i64 112, !8, i64 176, !13, i64 208, !12, i64 216, !13, i64 224, !12, i64 232, !14, i64 236, !12, i64 1264, !13, i64 1272, !15, i64 1280, !16, i64 1284, !13, i64 1312}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTS8aiString", !12, i64 0, !8, i64 4}
!15 = !{!"_ZTS16aiMorphingMethod", !8, i64 0}
!16 = !{!"_ZTS6aiAABB", !6, i64 0, !6, i64 12}
!17 = !{!11, !13, i64 16}
!18 = !{!6, !7, i64 4}
!19 = !{!6, !7, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass