; LLVM IR from erayzesen/QuarkPhysics :: QuarkPhysics/qmesh.ll (ZN5QMesh23GeneratePolygonMeshDataEfi7QVectorif)

; 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.QMesh::MeshData" = type <{ %"class.std::vector.15", %"class.std::vector.25", %"class.std::vector.127", %"class.std::vector.127", %"class.std::vector.127", %"class.std::vector.131", %"class.std::vector.131", %"class.std::vector.111", %"class.std::vector.20", %struct.QVector, float, [4 x i8] }>
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.127" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.QVector = type { float, float }
%"struct.std::pair.136" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress uwtable
declare dso_local <2 x float> @_Zpl7QVectorS_(<2 x float>, <2 x float>) #1

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zml7QVectorf(<2 x float>, float noundef) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5QMesh23GeneratePolygonMeshDataEfi7QVectorif(ptr dead_on_unwind noalias writable sret(%"struct.QMesh::MeshData") align 8 %0, float noundef %1, i32 noundef %2, <2 x float> %3, i32 noundef %4, float noundef %5) #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca %struct.QVector, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i1, align 1
  %14 = alloca float, align 4
  %15 = alloca %"class.std::vector.111", align 8
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca %struct.QVector, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %struct.QVector, align 4
  %22 = alloca %struct.QVector, align 4
  %23 = alloca %struct.QVector, align 4
  %24 = alloca %struct.QVector, align 4
  %25 = alloca %"struct.std::pair.136", align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca float, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca float, align 4
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca %struct.QVector, align 4
  %35 = alloca %struct.QVector, align 4
  %36 = alloca %struct.QVector, align 4
  %37 = alloca %struct.QVector, align 4
  %38 = alloca %struct.QVector, align 4
  %39 = alloca %"struct.std::pair.136", align 4
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  %42 = alloca %"struct.std::pair.136", align 4
  %43 = alloca i64, align 8
  %44 = alloca i64, align 8
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"struct.std::pair.136", align 4
  %51 = alloca %"struct.std::pair.136", align 4
  %52 = alloca %"struct.std::pair.136", align 4
  %53 = alloca %"struct.std::pair.136", align 4
  %54 = alloca i32, align 4
  %55 = alloca %"struct.std::pair.136", align 4
  %56 = alloca i64, align 8
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca %"struct.std::pair.136", align 4
  %64 = alloca %"struct.std::pair.136", align 4
  %65 = alloca %"class.std::vector.111", align 8
  %66 = alloca i64, align 8
  %67 = alloca i32, align 4
  %68 = alloca i64, align 8
  %69 = alloca %"class.std::vector.111", align 8
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca i64, align 8
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca i32, align 4
  %78 = alloca %"class.std::vector.111", align 8
  %79 = alloca %"class.std::vector.111", align 8
  %80 = alloca i64, align 8
  %81 = alloca %"class.std::vector.111", align 8
  %82 = alloca i32, align 4
  %83 = alloca i32, align 4
  %84 = alloca i32, align 4
  store ptr %0, ptr %7, align 8
  store <2 x float> %3, ptr %8, align 4
  store float %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store float %5, ptr %12, align 4, !tbaa !5
  store i1 false, ptr %13, align 1
  call void @_ZN5QMesh8MeshDataC2Ev(ptr noundef nonnull align 8 dereferenceable(276) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = sitofp i32 %85 to double
  %87 = fdiv double 0x401921FB54442D18, %86
  %88 = fptrunc double %87 to float
  store float %88, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %133, %6
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

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

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %95 = load float, ptr %14, align 4, !tbaa !5
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = sitofp i32 %96 to float
  %98 = fmul float %95, %97
  store float %98, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %99 = load float, ptr %17, align 4, !tbaa !5
  %100 = invoke noundef float @_ZSt3cosf(float noundef %99)
          to label %101 unwind label %136

101:                                              ; preds = %94
  %102 = load float, ptr %17, align 4, !tbaa !5
  %103 = invoke noundef float @_ZSt3sinf(float noundef %102)
          to label %104 unwind label %136

104:                                              ; preds = %101
  invoke void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %100, float noundef %103)
          to label %105 unwind label %136

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !11
  %106 = load float, ptr %9, align 4, !tbaa !5
  %107 = load <2 x float>, ptr %24, align 4
  %108 = invoke <2 x float> @_Zml7QVectorf(<2 x float> %107, float noundef %106)
          to label %109 unwind label %140

109:                                              ; preds = %105
  store <2 x float> %108, ptr %23, align 4
  %110 = load <2 x float>, ptr %22, align 4
  %111 = load <2 x float>, ptr %23, align 4
  %112 = invoke <2 x float> @_Zpl7QVectorS_(<2 x float> %110, <2 x float> %111)
          to label %113 unwind label %140

113:                                              ; preds = %109
  store <2 x float> %112, ptr %21, align 4
  %114 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %115 unwind label %140

115:                                              ; preds = %113
  %116 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 1
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %116, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %117 unwind label %140

117:                                              ; preds = %115
  %118 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 2
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %118, i1 noundef zeroext false)
          to label %119 unwind label %140

119:                                              ; preds = %117
  %120 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 3
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %120, i1 noundef zeroext true)
          to label %121 unwind label %140

121:                                              ; preds = %119
  %122 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 4
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %122, i1 noundef zeroext false)
          to label %123 unwind label %140

123:                                              ; preds = %121
  %124 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %125 unwind label %140

125:                                              ; preds = %123
  %126 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = srem i32 %128, %129
  store i32 %130, ptr %26, align 4, !tbaa !9
  invoke void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %131 unwind label %144

131:                                              ; preds = %125
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %126, ptr noundef nonnull align 4 dereferenceable(8) %25)
          to label %132 unwind label %144

132:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %16, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %16, align 4, !tbaa !9
  br label %89, !llvm.loop !12

136:                                              ; preds = %104, %101, %94
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %19, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %20, align 4
  br label %149

140:                                              ; preds = %123, %121, %119, %117, %115, %113, %109, %105
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %19, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %20, align 4
  br label %148

144:                                              ; preds = %131, %125
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %19, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %148

148:                                              ; preds = %144, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %149

149:                                              ; preds = %148, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %645

150:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !9
  %151 = load i32, ptr %11, align 4, !tbaa !9
  %152 = icmp sgt i32 %151, 0
  br i1 %152, label %153, label %392

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %154 = load float, ptr %9, align 4, !tbaa !5
  %155 = load i32, ptr %11, align 4, !tbaa !9
  %156 = sitofp i32 %155 to float
  %157 = fdiv float %154, %156
  store float %157, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %158 = load i32, ptr %11, align 4, !tbaa !9
  %159 = sub nsw i32 %158, 1
  store i32 %159, ptr %29, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %342, %153
  %161 = load i32, ptr %29, align 4, !tbaa !9
  %162 = icmp sgt i32 %161, 0
  br i1 %162, label %164, label %163

163:                                              ; preds = %160
  store i32 5, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %346

164:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %165 = load float, ptr %28, align 4, !tbaa !5
  %166 = load i32, ptr %29, align 4, !tbaa !9
  %167 = sitofp i32 %166 to float
  %168 = fmul float %165, %167
  store float %168, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %229, %164
  %170 = load i32, ptr %32, align 4, !tbaa !9
  %171 = load i32, ptr %10, align 4, !tbaa !9
  %172 = icmp slt i32 %170, %171
  br i1 %172, label %174, label %173

173:                                              ; preds = %169
  store i32 8, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %234

174:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %175 = load float, ptr %14, align 4, !tbaa !5
  %176 = load i32, ptr %32, align 4, !tbaa !9
  %177 = sitofp i32 %176 to float
  %178 = fmul float %175, %177
  store float %178, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %179 = load float, ptr %33, align 4, !tbaa !5
  %180 = invoke noundef float @_ZSt3cosf(float noundef %179)
          to label %181 unwind label %216

181:                                              ; preds = %174
  %182 = load float, ptr %33, align 4, !tbaa !5
  %183 = invoke noundef float @_ZSt3sinf(float noundef %182)
          to label %184 unwind label %216

184:                                              ; preds = %181
  invoke void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %180, float noundef %183)
          to label %185 unwind label %216

185:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !11
  %186 = load float, ptr %31, align 4, !tbaa !5
  %187 = load <2 x float>, ptr %38, align 4
  %188 = invoke <2 x float> @_Zml7QVectorf(<2 x float> %187, float noundef %186)
          to label %189 unwind label %220

189:                                              ; preds = %185
  store <2 x float> %188, ptr %37, align 4
  %190 = load <2 x float>, ptr %36, align 4
  %191 = load <2 x float>, ptr %37, align 4
  %192 = invoke <2 x float> @_Zpl7QVectorS_(<2 x float> %190, <2 x float> %191)
          to label %193 unwind label %220

193:                                              ; preds = %189
  store <2 x float> %192, ptr %35, align 4
  %194 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %194, ptr noundef nonnull align 4 dereferenceable(8) %35)
          to label %195 unwind label %220

195:                                              ; preds = %193
  %196 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 1
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %197 unwind label %220

197:                                              ; preds = %195
  %198 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 2
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %198, i1 noundef zeroext true)
          to label %199 unwind label %220

199:                                              ; preds = %197
  %200 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 3
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %200, i1 noundef zeroext true)
          to label %201 unwind label %220

201:                                              ; preds = %199
  %202 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 4
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %202, i1 noundef zeroext false)
          to label %203 unwind label %220

203:                                              ; preds = %201
  %204 = load i32, ptr %32, align 4, !tbaa !9
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %228

206:                                              ; preds = %203
  %207 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %208 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %209 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %208) #7
  %210 = sub i64 %209, 2
  store i64 %210, ptr %40, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %211 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %212 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %211) #7
  %213 = sub i64 %212, 1
  store i64 %213, ptr %41, align 8, !tbaa !14
  invoke void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %214 unwind label %224

214:                                              ; preds = %206
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %207, ptr noundef nonnull align 4 dereferenceable(8) %39)
          to label %215 unwind label %224

215:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  br label %228

216:                                              ; preds = %184, %181, %174
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %19, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %20, align 4
  br label %233

220:                                              ; preds = %201, %199, %197, %195, %193, %189, %185
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %19, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %20, align 4
  br label %232

224:                                              ; preds = %214, %206
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %19, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  br label %232

228:                                              ; preds = %215, %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %32, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %32, align 4, !tbaa !9
  br label %169, !llvm.loop !16

232:                                              ; preds = %224, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %233

233:                                              ; preds = %232, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %345

234:                                              ; preds = %173
  %235 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %236 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %237 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %236) #7
  %238 = sub i64 %237, 1
  store i64 %238, ptr %43, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %239 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %240 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %239) #7
  %241 = load i32, ptr %10, align 4, !tbaa !9
  %242 = sext i32 %241 to i64
  %243 = sub i64 %240, %242
  store i64 %243, ptr %44, align 8, !tbaa !14
  invoke void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44)
          to label %244 unwind label %259

244:                                              ; preds = %234
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %235, ptr noundef nonnull align 4 dereferenceable(8) %42)
          to label %245 unwind label %259

245:                                              ; preds = %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  %246 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %247 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %246) #7
  %248 = load i32, ptr %10, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = sub i64 %247, %249
  %251 = trunc i64 %250 to i32
  store i32 %251, ptr %45, align 4, !tbaa !9
  br label %252

252:                                              ; preds = %321, %245
  %253 = load i32, ptr %45, align 4, !tbaa !9
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %256 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %255) #7
  %257 = icmp ult i64 %254, %256
  br i1 %257, label %263, label %258

258:                                              ; preds = %252
  store i32 11, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %341

259:                                              ; preds = %244, %234
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %19, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %345

263:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %264 = load i32, ptr %45, align 4, !tbaa !9
  %265 = load i32, ptr %10, align 4, !tbaa !9
  %266 = sub nsw i32 %264, %265
  store i32 %266, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  %267 = load i32, ptr %45, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %270 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %269) #7
  %271 = sub i64 %270, 1
  %272 = icmp eq i64 %268, %271
  br i1 %272, label %273, label %280

273:                                              ; preds = %263
  %274 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %275 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %274) #7
  %276 = load i32, ptr %10, align 4, !tbaa !9
  %277 = mul nsw i32 %276, 2
  %278 = sext i32 %277 to i64
  %279 = sub i64 %275, %278
  br label %286

280:                                              ; preds = %263
  %281 = load i32, ptr %45, align 4, !tbaa !9
  %282 = load i32, ptr %10, align 4, !tbaa !9
  %283 = sub nsw i32 %282, 1
  %284 = sub nsw i32 %281, %283
  %285 = sext i32 %284 to i64
  br label %286

286:                                              ; preds = %280, %273
  %287 = phi i64 [ %279, %273 ], [ %285, %280 ]
  %288 = trunc i64 %287 to i32
  store i32 %288, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %289 = load i32, ptr %45, align 4, !tbaa !9
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %292 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %291) #7
  %293 = sub i64 %292, 1
  %294 = icmp eq i64 %290, %293
  br i1 %294, label %295, label %301

295:                                              ; preds = %286
  %296 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %297 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %296) #7
  %298 = load i32, ptr %10, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = sub i64 %297, %299
  br label %305

301:                                              ; preds = %286
  %302 = load i32, ptr %45, align 4, !tbaa !9
  %303 = add nsw i32 %302, 1
  %304 = sext i32 %303 to i64
  br label %305

305:                                              ; preds = %301, %295
  %306 = phi i64 [ %300, %295 ], [ %304, %301 ]
  %307 = trunc i64 %306 to i32
  store i32 %307, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  %308 = load i32, ptr %45, align 4, !tbaa !9
  store i32 %308, ptr %49, align 4, !tbaa !9
  %309 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %50, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %310 unwind label %324

310:                                              ; preds = %305
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %309, ptr noundef nonnull align 4 dereferenceable(8) %50)
          to label %311 unwind label %324

311:                                              ; preds = %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  %312 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %313 unwind label %328

313:                                              ; preds = %311
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %312, ptr noundef nonnull align 4 dereferenceable(8) %51)
          to label %314 unwind label %328

314:                                              ; preds = %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  %315 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %316 unwind label %332

316:                                              ; preds = %314
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %315, ptr noundef nonnull align 4 dereferenceable(8) %52)
          to label %317 unwind label %332

317:                                              ; preds = %316
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  %318 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %319 unwind label %336

319:                                              ; preds = %317
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %318, ptr noundef nonnull align 4 dereferenceable(8) %53)
          to label %320 unwind label %336

320:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %321

321:                                              ; preds = %320
  %322 = load i32, ptr %45, align 4, !tbaa !9
  %323 = add nsw i32 %322, 1
  store i32 %323, ptr %45, align 4, !tbaa !9
  br label %252, !llvm.loop !17

324:                                              ; preds = %310, %305
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %19, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  br label %340

328:                                              ; preds = %313, %311
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %19, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %340

332:                                              ; preds = %316, %314
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %19, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  br label %340

336:                                              ; preds = %319, %317
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %19, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  br label %340

340:                                              ; preds = %336, %332, %328, %324
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %345

341:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %342

342:                                              ; preds = %341
  %343 = load i32, ptr %29, align 4, !tbaa !9
  %344 = add nsw i32 %343, -1
  store i32 %344, ptr %29, align 4, !tbaa !9
  br label %160, !llvm.loop !18

345:                                              ; preds = %340, %259, %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %391

346:                                              ; preds = %163
  store i32 1, ptr %27, align 4, !tbaa !9
  %347 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %347, ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %348 unwind label %372

348:                                              ; preds = %346
  %349 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 1
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %349, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %350 unwind label %372

350:                                              ; preds = %348
  %351 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 2
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %351, i1 noundef zeroext true)
          to label %352 unwind label %372

352:                                              ; preds = %350
  %353 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 3
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %353, i1 noundef zeroext true)
          to label %354 unwind label %372

354:                                              ; preds = %352
  %355 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 4
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %355, i1 noundef zeroext false)
          to label %356 unwind label %372

356:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  %357 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %358 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %357) #7
  %359 = load i32, ptr %10, align 4, !tbaa !9
  %360 = sext i32 %359 to i64
  %361 = sub i64 %358, %360
  %362 = sub i64 %361, 1
  %363 = trunc i64 %362 to i32
  store i32 %363, ptr %54, align 4, !tbaa !9
  br label %364

364:                                              ; preds = %383, %356
  %365 = load i32, ptr %54, align 4, !tbaa !9
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %368 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %367) #7
  %369 = sub i64 %368, 1
  %370 = icmp ult i64 %366, %369
  br i1 %370, label %376, label %371

371:                                              ; preds = %364
  store i32 14, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  br label %390

372:                                              ; preds = %354, %352, %350, %348, %346
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %19, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %20, align 4
  br label %391

376:                                              ; preds = %364
  %377 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  %378 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %379 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %378) #7
  %380 = sub i64 %379, 1
  store i64 %380, ptr %56, align 8, !tbaa !14
  invoke void @_ZNSt4pairIiiEC2ImRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %381 unwind label %386

381:                                              ; preds = %376
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %377, ptr noundef nonnull align 4 dereferenceable(8) %55)
          to label %382 unwind label %386

382:                                              ; preds = %381
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr %54, align 4, !tbaa !9
  %385 = add nsw i32 %384, 1
  store i32 %385, ptr %54, align 4, !tbaa !9
  br label %364, !llvm.loop !19

386:                                              ; preds = %381, %376
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %19, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  br label %391

390:                                              ; preds = %371
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %392

391:                                              ; preds = %386, %372, %345
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %644

392:                                              ; preds = %390, %150
  %393 = load i32, ptr %11, align 4, !tbaa !9
  %394 = icmp sge i32 %393, 0
  br i1 %394, label %395, label %446

395:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #7
  %396 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %397 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %396) #7
  %398 = trunc i64 %397 to i32
  store i32 %398, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #7
  %399 = load i32, ptr %57, align 4, !tbaa !9
  %400 = load i32, ptr %10, align 4, !tbaa !9
  %401 = sub nsw i32 %399, %400
  %402 = load i32, ptr %27, align 4, !tbaa !9
  %403 = sub nsw i32 %401, %402
  store i32 %403, ptr %58, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #7
  store i32 0, ptr %59, align 4, !tbaa !9
  br label %404

404:                                              ; preds = %433, %395
  %405 = load i32, ptr %59, align 4, !tbaa !9
  %406 = load i32, ptr %10, align 4, !tbaa !9
  %407 = icmp slt i32 %405, %406
  br i1 %407, label %409, label %408

408:                                              ; preds = %404
  store i32 17, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #7
  br label %445

409:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #7
  %410 = load i32, ptr %58, align 4, !tbaa !9
  %411 = load i32, ptr %59, align 4, !tbaa !9
  %412 = sub nsw i32 %411, 2
  %413 = load i32, ptr %10, align 4, !tbaa !9
  %414 = add nsw i32 %412, %413
  %415 = load i32, ptr %10, align 4, !tbaa !9
  %416 = srem i32 %414, %415
  %417 = add nsw i32 %410, %416
  store i32 %417, ptr %60, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #7
  %418 = load i32, ptr %58, align 4, !tbaa !9
  %419 = load i32, ptr %59, align 4, !tbaa !9
  %420 = add nsw i32 %418, %419
  store i32 %420, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #7
  %421 = load i32, ptr %58, align 4, !tbaa !9
  %422 = load i32, ptr %59, align 4, !tbaa !9
  %423 = add nsw i32 %422, 2
  %424 = load i32, ptr %10, align 4, !tbaa !9
  %425 = srem i32 %423, %424
  %426 = add nsw i32 %421, %425
  store i32 %426, ptr %62, align 4, !tbaa !9
  %427 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %63, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %61)
          to label %428 unwind label %436

428:                                              ; preds = %409
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %427, ptr noundef nonnull align 4 dereferenceable(8) %63)
          to label %429 unwind label %436

429:                                              ; preds = %428
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  %430 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #7
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %431 unwind label %440

431:                                              ; preds = %429
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %430, ptr noundef nonnull align 4 dereferenceable(8) %64)
          to label %432 unwind label %440

432:                                              ; preds = %431
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #7
  br label %433

433:                                              ; preds = %432
  %434 = load i32, ptr %59, align 4, !tbaa !9
  %435 = add nsw i32 %434, 1
  store i32 %435, ptr %59, align 4, !tbaa !9
  br label %404, !llvm.loop !20

436:                                              ; preds = %428, %409
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %19, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  br label %444

440:                                              ; preds = %431, %429
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %19, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  br label %444

444:                                              ; preds = %440, %436
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  br label %644

445:                                              ; preds = %408
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  br label %446

446:                                              ; preds = %445, %392
  %447 = load i32, ptr %11, align 4, !tbaa !9
  %448 = icmp sle i32 %447, 0
  br i1 %448, label %449, label %475

449:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 24, ptr %65) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #7
  store i64 0, ptr %66, align 8, !tbaa !14
  br label %450

450:                                              ; preds = %460, %449
  %451 = load i64, ptr %66, align 8, !tbaa !14
  %452 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %453 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %452) #7
  %454 = icmp ult i64 %451, %453
  br i1 %454, label %456, label %455

455:                                              ; preds = %450
  store i32 20, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  br label %467

456:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #7
  %457 = load i64, ptr %66, align 8, !tbaa !14
  %458 = trunc i64 %457 to i32
  store i32 %458, ptr %67, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 4 dereferenceable(4) %67)
          to label %459 unwind label %463

459:                                              ; preds = %456
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  br label %460

460:                                              ; preds = %459
  %461 = load i64, ptr %66, align 8, !tbaa !14
  %462 = add i64 %461, 1
  store i64 %462, ptr %66, align 8, !tbaa !14
  br label %450, !llvm.loop !21

463:                                              ; preds = %456
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %19, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  br label %474

467:                                              ; preds = %455
  %468 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %468, ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %469 unwind label %470

469:                                              ; preds = %467
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #7
  br label %642

470:                                              ; preds = %467
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %19, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %20, align 4
  br label %474

474:                                              ; preds = %470, %463
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #7
  br label %644

475:                                              ; preds = %446
  %476 = load i32, ptr %11, align 4, !tbaa !9
  %477 = icmp eq i32 %476, 1
  br i1 %477, label %478, label %524

478:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #7
  store i64 0, ptr %68, align 8, !tbaa !14
  br label %479

479:                                              ; preds = %503, %478
  %480 = load i64, ptr %68, align 8, !tbaa !14
  %481 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %482 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %481) #7
  %483 = icmp ult i64 %480, %482
  br i1 %483, label %485, label %484

484:                                              ; preds = %479
  store i32 23, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  br label %523

485:                                              ; preds = %479
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #7
  %486 = load i64, ptr %68, align 8, !tbaa !14
  %487 = trunc i64 %486 to i32
  store i32 %487, ptr %70, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %488 unwind label %506

488:                                              ; preds = %485
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #7
  %489 = load i64, ptr %68, align 8, !tbaa !14
  %490 = add i64 %489, 1
  %491 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %492 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %491) #7
  %493 = urem i64 %490, %492
  %494 = trunc i64 %493 to i32
  store i32 %494, ptr %71, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 4 dereferenceable(4) %71)
          to label %495 unwind label %510

495:                                              ; preds = %488
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #7
  %496 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %497 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %496) #7
  %498 = sub i64 %497, 1
  %499 = trunc i64 %498 to i32
  store i32 %499, ptr %72, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 4 dereferenceable(4) %72)
          to label %500 unwind label %514

500:                                              ; preds = %495
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #7
  %501 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %501, ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %502 unwind label %518

502:                                              ; preds = %500
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #7
  br label %503

503:                                              ; preds = %502
  %504 = load i64, ptr %68, align 8, !tbaa !14
  %505 = add i64 %504, 1
  store i64 %505, ptr %68, align 8, !tbaa !14
  br label %479, !llvm.loop !22

506:                                              ; preds = %485
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %19, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #7
  br label %522

510:                                              ; preds = %488
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %19, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  br label %522

514:                                              ; preds = %495
  %515 = landingpad { ptr, i32 }
          cleanup
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %19, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #7
  br label %522

518:                                              ; preds = %500
  %519 = landingpad { ptr, i32 }
          cleanup
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %19, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %20, align 4
  br label %522

522:                                              ; preds = %518, %514, %510, %506
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  br label %644

523:                                              ; preds = %484
  br label %641

524:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #7
  store i64 0, ptr %73, align 8, !tbaa !14
  br label %525

525:                                              ; preds = %577, %524
  %526 = load i64, ptr %73, align 8, !tbaa !14
  %527 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %528 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %527) #7
  %529 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %530 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %529) #7
  %531 = sub i64 %528, %530
  %532 = sub i64 %531, 1
  %533 = icmp ult i64 %526, %532
  br i1 %533, label %535, label %534

534:                                              ; preds = %525
  store i32 26, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  br label %589

535:                                              ; preds = %525
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #7
  %536 = load i64, ptr %73, align 8, !tbaa !14
  %537 = trunc i64 %536 to i32
  store i32 %537, ptr %74, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  %538 = load i64, ptr %73, align 8, !tbaa !14
  %539 = add i64 %538, 1
  %540 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %541 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %540) #7
  %542 = urem i64 %539, %541
  %543 = icmp eq i64 %542, 0
  br i1 %543, label %544, label %550

544:                                              ; preds = %535
  %545 = load i64, ptr %73, align 8, !tbaa !14
  %546 = add i64 %545, 1
  %547 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %548 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %547) #7
  %549 = sub i64 %546, %548
  br label %553

550:                                              ; preds = %535
  %551 = load i64, ptr %73, align 8, !tbaa !14
  %552 = add i64 %551, 1
  br label %553

553:                                              ; preds = %550, %544
  %554 = phi i64 [ %549, %544 ], [ %552, %550 ]
  %555 = trunc i64 %554 to i32
  store i32 %555, ptr %75, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #7
  %556 = load i32, ptr %75, align 4, !tbaa !9
  %557 = sext i32 %556 to i64
  %558 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %559 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %558) #7
  %560 = add i64 %557, %559
  %561 = trunc i64 %560 to i32
  store i32 %561, ptr %76, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #7
  %562 = load i64, ptr %73, align 8, !tbaa !14
  %563 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %564 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %563) #7
  %565 = add i64 %562, %564
  %566 = trunc i64 %565 to i32
  store i32 %566, ptr %77, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %78) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) %74)
          to label %567 unwind label %580

567:                                              ; preds = %553
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %568 unwind label %580

568:                                              ; preds = %567
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) %77)
          to label %569 unwind label %580

569:                                              ; preds = %568
  %570 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %570, ptr noundef nonnull align 8 dereferenceable(24) %78)
          to label %571 unwind label %580

571:                                              ; preds = %569
  call void @llvm.lifetime.start.p0(i64 24, ptr %79) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %572 unwind label %584

572:                                              ; preds = %571
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 4 dereferenceable(4) %76)
          to label %573 unwind label %584

573:                                              ; preds = %572
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 4 dereferenceable(4) %77)
          to label %574 unwind label %584

574:                                              ; preds = %573
  %575 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %575, ptr noundef nonnull align 8 dereferenceable(24) %79)
          to label %576 unwind label %584

576:                                              ; preds = %574
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  br label %577

577:                                              ; preds = %576
  %578 = load i64, ptr %73, align 8, !tbaa !14
  %579 = add i64 %578, 1
  store i64 %579, ptr %73, align 8, !tbaa !14
  br label %525, !llvm.loop !23

580:                                              ; preds = %569, %568, %567, %553
  %581 = landingpad { ptr, i32 }
          cleanup
  %582 = extractvalue { ptr, i32 } %581, 0
  store ptr %582, ptr %19, align 8
  %583 = extractvalue { ptr, i32 } %581, 1
  store i32 %583, ptr %20, align 4
  br label %588

584:                                              ; preds = %574, %573, %572, %571
  %585 = landingpad { ptr, i32 }
          cleanup
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %19, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %20, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #7
  br label %588

588:                                              ; preds = %584, %580
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  br label %644

589:                                              ; preds = %534
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #7
  %590 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %591 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %590) #7
  %592 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %593 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %592) #7
  %594 = sub i64 %591, %593
  %595 = sub i64 %594, 1
  store i64 %595, ptr %80, align 8, !tbaa !14
  br label %596

596:                                              ; preds = %633, %589
  %597 = load i64, ptr %80, align 8, !tbaa !14
  %598 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %599 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %598) #7
  %600 = sub i64 %599, 1
  %601 = icmp ult i64 %597, %600
  br i1 %601, label %603, label %602

602:                                              ; preds = %596
  store i32 29, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  br label %640

603:                                              ; preds = %596
  call void @llvm.lifetime.start.p0(i64 24, ptr %81) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %81) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #7
  %604 = load i64, ptr %80, align 8, !tbaa !14
  %605 = trunc i64 %604 to i32
  store i32 %605, ptr %82, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #7
  %606 = load i64, ptr %80, align 8, !tbaa !14
  %607 = add i64 %606, 1
  %608 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %609 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %608) #7
  %610 = urem i64 %607, %609
  %611 = icmp eq i64 %610, 0
  br i1 %611, label %612, label %618

612:                                              ; preds = %603
  %613 = load i64, ptr %80, align 8, !tbaa !14
  %614 = add i64 %613, 1
  %615 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 7
  %616 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %615) #7
  %617 = sub i64 %614, %616
  br label %621

618:                                              ; preds = %603
  %619 = load i64, ptr %80, align 8, !tbaa !14
  %620 = add i64 %619, 1
  br label %621

621:                                              ; preds = %618, %612
  %622 = phi i64 [ %617, %612 ], [ %620, %618 ]
  %623 = trunc i64 %622 to i32
  store i32 %623, ptr %83, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #7
  %624 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 0
  %625 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %624) #7
  %626 = sub i64 %625, 1
  %627 = trunc i64 %626 to i32
  store i32 %627, ptr %84, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %628 unwind label %636

628:                                              ; preds = %621
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 4 dereferenceable(4) %83)
          to label %629 unwind label %636

629:                                              ; preds = %628
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 4 dereferenceable(4) %84)
          to label %630 unwind label %636

630:                                              ; preds = %629
  %631 = getelementptr inbounds %"struct.QMesh::MeshData", ptr %0, i32 0, i32 8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %631, ptr noundef nonnull align 8 dereferenceable(24) %81)
          to label %632 unwind label %636

632:                                              ; preds = %630
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %81) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %81) #7
  br label %633

633:                                              ; preds = %632
  %634 = load i64, ptr %80, align 8, !tbaa !14
  %635 = add i64 %634, 1
  store i64 %635, ptr %80, align 8, !tbaa !14
  br label %596, !llvm.loop !24

636:                                              ; preds = %630, %629, %628, %621
  %637 = landingpad { ptr, i32 }
          cleanup
  %638 = extractvalue { ptr, i32 } %637, 0
  store ptr %638, ptr %19, align 8
  %639 = extractvalue { ptr, i32 } %637, 1
  store i32 %639, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %81) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %81) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  br label %644

640:                                              ; preds = %602
  br label %641

641:                                              ; preds = %640, %523
  br label %642

642:                                              ; preds = %641, %469
  store i1 true, ptr %13, align 1
  store i32 1, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %643 = load i1, ptr %13, align 1
  br i1 %643, label %647, label %646

644:                                              ; preds = %636, %588, %522, %474, %444, %391
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %645

645:                                              ; preds = %644, %149
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @_ZN5QMesh8MeshDataD2Ev(ptr noundef nonnull align 8 dereferenceable(276) %0) #7
  br label %648

646:                                              ; preds = %642
  call void @_ZN5QMesh8MeshDataD2Ev(ptr noundef nonnull align 8 dereferenceable(276) %0) #7
  br label %647

647:                                              ; preds = %646, %642
  ret void

648:                                              ; preds = %645
  %649 = load ptr, ptr %19, align 8
  %650 = load i32, ptr %20, align 4
  %651 = insertvalue { ptr, i32 } poison, ptr %649, 0
  %652 = insertvalue { ptr, i32 } %651, i32 %650, 1
  resume { ptr, i32 } %652
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5QMesh8MeshDataD2Ev(ptr noundef nonnull align 8 dereferenceable(276)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5QMesh8MeshDataC2Ev(ptr noundef nonnull align 8 dereferenceable(276)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) #4 align 2

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { inlinehint 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 4, !5, i64 4, i64 4, !5}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}


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

%"struct.QMesh::MeshData" = type <{ %"class.std::vector.15", %"class.std::vector.25", %"class.std::vector.127", %"class.std::vector.127", %"class.std::vector.127", %"class.std::vector.131", %"class.std::vector.131", %"class.std::vector.111", %"class.std::vector.20", %struct.QVector, float, [4 x i8] }>
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.127" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.QVector = type { float, float }
%"struct.std::pair.136" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local <2 x float> @_Zpl7QVectorS_(<2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zml7QVectorf(<2 x float>, float noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5QMesh23GeneratePolygonMeshDataEfi7QVectorif(ptr dead_on_unwind noalias nonnull writable sret(%"struct.QMesh::MeshData") align 8 %0, float noundef %1, i32 noundef %2, <2 x float> %3, i32 noundef %4, float noundef %5) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.QVector, align 8
  %8 = alloca float, align 4
  %9 = alloca %"class.std::vector.111", align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.QVector, align 8
  %12 = alloca %struct.QVector, align 8
  %13 = alloca %"struct.std::pair.136", align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.QVector, align 8
  %16 = alloca %struct.QVector, align 8
  %17 = alloca %"struct.std::pair.136", align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca %"struct.std::pair.136", align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"struct.std::pair.136", align 4
  %28 = alloca %"struct.std::pair.136", align 4
  %29 = alloca %"struct.std::pair.136", align 4
  %30 = alloca %"struct.std::pair.136", align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::pair.136", align 4
  %33 = alloca i64, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca %"struct.std::pair.136", align 4
  %38 = alloca %"struct.std::pair.136", align 4
  %39 = alloca %"class.std::vector.111", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::vector.111", align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca %"class.std::vector.111", align 8
  %50 = alloca %"class.std::vector.111", align 8
  %51 = alloca %"class.std::vector.111", align 8
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  store <2 x float> %3, ptr %7, align 8
  store float %5, ptr %8, align 4, !tbaa !5
  tail call void @_ZN5QMesh8MeshDataC2Ev(ptr noundef nonnull align 8 dereferenceable(276) %0)
  %55 = sitofp i32 %2 to double
  %56 = fdiv double 0x401921FB54442D18, %55
  %57 = fptrunc double %56 to float
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  %58 = icmp sgt i32 %2, 0
  br i1 %58, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %6
  %59 = getelementptr inbounds i8, ptr %0, i64 24
  %60 = getelementptr inbounds i8, ptr %0, i64 48
  %61 = getelementptr inbounds i8, ptr %0, i64 88
  %62 = getelementptr inbounds i8, ptr %0, i64 128
  %63 = getelementptr inbounds i8, ptr %0, i64 216
  %64 = getelementptr inbounds i8, ptr %0, i64 168
  br label %66

._crit_edge:                                      ; preds = %84, %6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %65 = icmp sgt i32 %4, 0
  br i1 %65, label %93, label %228

66:                                               ; preds = %.lr.ph, %84
  %storemerge134 = phi i32 [ 0, %.lr.ph ], [ %86, %84 ]
  %67 = sitofp i32 %storemerge134 to float
  %68 = fmul float %57, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %69 = call noundef float @_ZSt3cosf(float noundef %68)
  %70 = call noundef float @_ZSt3sinf(float noundef %68)
  call void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %69, float noundef %70)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %.sroa.052.0.copyload = load <2 x float>, ptr %7, align 8
  %.sroa.050.0.copyload = load <2 x float>, ptr %11, align 8
  %71 = invoke <2 x float> @_Zml7QVectorf(<2 x float> %.sroa.050.0.copyload, float noundef %1)
          to label %72 unwind label %88

72:                                               ; preds = %66
  %73 = invoke <2 x float> @_Zpl7QVectorS_(<2 x float> %.sroa.052.0.copyload, <2 x float> %71)
          to label %74 unwind label %88

74:                                               ; preds = %72
  store <2 x float> %73, ptr %12, align 8
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %75 unwind label %88

75:                                               ; preds = %74
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %76 unwind label %88

76:                                               ; preds = %75
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %60, i1 noundef zeroext false)
          to label %77 unwind label %88

77:                                               ; preds = %76
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %61, i1 noundef zeroext true)
          to label %78 unwind label %88

78:                                               ; preds = %77
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %62, i1 noundef zeroext false)
          to label %79 unwind label %88

79:                                               ; preds = %78
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %80 unwind label %88

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  %83 = srem i32 %82, %2
  store i32 %83, ptr %14, align 4, !tbaa !9
  call void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %14)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %84 unwind label %90

84:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %10, align 4, !tbaa !9
  %87 = icmp slt i32 %86, %2
  br i1 %87, label %66, label %._crit_edge, !llvm.loop !11

88:                                               ; preds = %79, %78, %77, %76, %75, %74, %72, %66
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %92

90:                                               ; preds = %80
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %92

92:                                               ; preds = %90, %88
  %.pn125 = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %366

93:                                               ; preds = %._crit_edge
  %94 = uitofp nneg i32 %4 to float
  %95 = fdiv float %1, %94
  %.not165 = icmp eq i32 %4, 1
  br i1 %.not165, label %._crit_edge146, label %.lr.ph145

.lr.ph145:                                        ; preds = %93
  %96 = getelementptr inbounds i8, ptr %0, i64 24
  %97 = getelementptr inbounds i8, ptr %0, i64 48
  %98 = getelementptr inbounds i8, ptr %0, i64 88
  %99 = getelementptr inbounds i8, ptr %0, i64 128
  %100 = getelementptr inbounds i8, ptr %0, i64 192
  %101 = sext i32 %2 to i64
  %102 = shl nsw i32 %2, 1
  %103 = zext i32 %102 to i64
  %104 = fmul float %57, 0.000000e+00
  %exitcond.peel.not = icmp eq i32 %2, 1
  br label %106

.loopexit131:                                     ; preds = %184, %145
  %105 = icmp sgt i32 %.0102143.in, 2
  br i1 %105, label %106, label %._crit_edge146, !llvm.loop !13

._crit_edge146:                                   ; preds = %.loopexit131, %93
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %7)
          to label %196 unwind label %214

106:                                              ; preds = %.lr.ph145, %.loopexit131
  %.0102143.in = phi i32 [ %4, %.lr.ph145 ], [ %.0102143, %.loopexit131 ]
  %.0102143 = add nsw i32 %.0102143.in, -1
  %107 = uitofp nneg i32 %.0102143 to float
  %108 = fmul float %95, %107
  br i1 %58, label %.lr.ph137.preheader, label %._crit_edge138

.lr.ph137.preheader:                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %109 = call noundef float @_ZSt3cosf(float noundef %104)
  %110 = call noundef float @_ZSt3sinf(float noundef %104)
  call void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %109, float noundef %110)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %.sroa.038.0.copyload.peel = load <2 x float>, ptr %7, align 8
  %.sroa.0.0.copyload.peel = load <2 x float>, ptr %15, align 8
  %111 = invoke <2 x float> @_Zml7QVectorf(<2 x float> %.sroa.0.0.copyload.peel, float noundef %108)
          to label %112 unwind label %.loopexit.split-lp

112:                                              ; preds = %.lr.ph137.preheader
  %113 = invoke <2 x float> @_Zpl7QVectorS_(<2 x float> %.sroa.038.0.copyload.peel, <2 x float> %111)
          to label %114 unwind label %.loopexit.split-lp

114:                                              ; preds = %112
  store <2 x float> %113, ptr %16, align 8
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %115 unwind label %.loopexit.split-lp

115:                                              ; preds = %114
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %116 unwind label %.loopexit.split-lp

116:                                              ; preds = %115
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %97, i1 noundef zeroext true)
          to label %117 unwind label %.loopexit.split-lp

117:                                              ; preds = %116
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %98, i1 noundef zeroext true)
          to label %118 unwind label %.loopexit.split-lp

118:                                              ; preds = %117
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %99, i1 noundef zeroext false)
          to label %119 unwind label %.loopexit.split-lp

119:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %exitcond.peel.not, label %._crit_edge138, label %.lr.ph137

._crit_edge138:                                   ; preds = %142, %119, %106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %120 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %121 = add i64 %120, -1
  store i64 %121, ptr %21, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %122 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %123 = sub i64 %122, %101
  store i64 %123, ptr %22, align 8, !tbaa !14
  call void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(8) %20)
          to label %145 unwind label %152

.lr.ph137:                                        ; preds = %119, %142
  %.0103135 = phi i32 [ %143, %142 ], [ 1, %119 ]
  %124 = uitofp nneg i32 %.0103135 to float
  %125 = fmul float %57, %124
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %126 = call noundef float @_ZSt3cosf(float noundef %125)
  %127 = call noundef float @_ZSt3sinf(float noundef %125)
  call void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %126, float noundef %127)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %.sroa.038.0.copyload = load <2 x float>, ptr %7, align 8
  %.sroa.0.0.copyload = load <2 x float>, ptr %15, align 8
  %128 = invoke <2 x float> @_Zml7QVectorf(<2 x float> %.sroa.0.0.copyload, float noundef %108)
          to label %129 unwind label %.loopexit171

129:                                              ; preds = %.lr.ph137
  %130 = invoke <2 x float> @_Zpl7QVectorS_(<2 x float> %.sroa.038.0.copyload, <2 x float> %128)
          to label %131 unwind label %.loopexit171

131:                                              ; preds = %129
  store <2 x float> %130, ptr %16, align 8
  invoke void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %132 unwind label %.loopexit171

132:                                              ; preds = %131
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %133 unwind label %.loopexit171

133:                                              ; preds = %132
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %97, i1 noundef zeroext true)
          to label %134 unwind label %.loopexit171

134:                                              ; preds = %133
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %98, i1 noundef zeroext true)
          to label %135 unwind label %.loopexit171

135:                                              ; preds = %134
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %99, i1 noundef zeroext false)
          to label %136 unwind label %.loopexit171

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %137 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %138 = add i64 %137, -2
  store i64 %138, ptr %18, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %139 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %140 = add i64 %139, -1
  store i64 %140, ptr %19, align 8, !tbaa !14
  call void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %142 unwind label %141

.loopexit171:                                     ; preds = %.lr.ph137, %129, %131, %132, %133, %134, %135
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %144

.loopexit.split-lp:                               ; preds = %.lr.ph137.preheader, %112, %114, %115, %116, %117, %118
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %144

141:                                              ; preds = %136
  %lpad.loopexit174 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %144

142:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  %143 = add nuw nsw i32 %.0103135, 1
  %exitcond.not = icmp eq i32 %143, %2
  br i1 %exitcond.not, label %._crit_edge138, label %.lr.ph137, !llvm.loop !16

144:                                              ; preds = %.loopexit171, %.loopexit.split-lp, %141
  %.pn120 = phi { ptr, i32 } [ %lpad.loopexit174, %141 ], [ %lpad.loopexit, %.loopexit171 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %366

145:                                              ; preds = %._crit_edge138
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %146 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %147 = trunc i64 %146 to i32
  %148 = sub i32 %147, %2
  %149 = sext i32 %148 to i64
  %150 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %151 = icmp ugt i64 %150, %149
  br i1 %151, label %.lr.ph141, label %.loopexit131

152:                                              ; preds = %._crit_edge138
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %366

.lr.ph141:                                        ; preds = %145, %184
  %indvars.iv = phi i64 [ %indvars.iv.next, %184 ], [ %149, %145 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  %154 = trunc i64 %indvars.iv to i32
  %155 = sub i32 %154, %2
  store i32 %155, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  %156 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %157 = add i64 %156, -1
  %158 = icmp eq i64 %157, %indvars.iv
  br i1 %158, label %159, label %162

159:                                              ; preds = %.lr.ph141
  %160 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %161 = sub i64 %160, %103
  br label %166

162:                                              ; preds = %.lr.ph141
  %163 = trunc nsw i64 %indvars.iv to i32
  %reass.sub = sub i32 %163, %2
  %164 = add i32 %reass.sub, 1
  %165 = zext i32 %164 to i64
  br label %166

166:                                              ; preds = %162, %159
  %167 = phi i64 [ %161, %159 ], [ %165, %162 ]
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #6
  %169 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %170 = add i64 %169, -1
  %171 = icmp eq i64 %170, %indvars.iv
  br i1 %171, label %172, label %175

172:                                              ; preds = %166
  %173 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %174 = sub i64 %173, %101
  br label %177

175:                                              ; preds = %166
  %176 = add nuw nsw i64 %indvars.iv, 1
  br label %177

177:                                              ; preds = %175, %172
  %178 = phi i64 [ %174, %172 ], [ %176, %175 ]
  %179 = trunc i64 %178 to i32
  store i32 %179, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #6
  %180 = trunc nsw i64 %indvars.iv to i32
  store i32 %180, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %23)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(8) %27)
          to label %181 unwind label %187

181:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %24)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(8) %28)
          to label %182 unwind label %189

182:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %23)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(8) %29)
          to label %183 unwind label %191

183:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #6
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %24)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %184 unwind label %193

184:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %185 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %186 = icmp ugt i64 %185, %indvars.iv.next
  br i1 %186, label %.lr.ph141, label %.loopexit131, !llvm.loop !18

187:                                              ; preds = %177
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  br label %195

189:                                              ; preds = %181
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  br label %195

191:                                              ; preds = %182
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  br label %195

193:                                              ; preds = %183
  %194 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  br label %195

195:                                              ; preds = %193, %191, %189, %187
  %.pn118 = phi { ptr, i32 } [ %194, %193 ], [ %192, %191 ], [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  br label %366

196:                                              ; preds = %._crit_edge146
  %197 = getelementptr inbounds i8, ptr %0, i64 24
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %197, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %198 unwind label %214

198:                                              ; preds = %196
  %199 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %199, i1 noundef zeroext true)
          to label %200 unwind label %214

200:                                              ; preds = %198
  %201 = getelementptr inbounds i8, ptr %0, i64 88
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %201, i1 noundef zeroext true)
          to label %202 unwind label %214

202:                                              ; preds = %200
  %203 = getelementptr inbounds i8, ptr %0, i64 128
  invoke void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40) %203, i1 noundef zeroext false)
          to label %204 unwind label %214

204:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #6
  %205 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %206 = xor i32 %2, -1
  %207 = trunc i64 %205 to i32
  %208 = add i32 %207, %206
  store i32 %208, ptr %31, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %211 = add i64 %210, -1
  %212 = icmp ugt i64 %211, %209
  br i1 %212, label %.lr.ph148, label %._crit_edge149

.lr.ph148:                                        ; preds = %204
  %213 = getelementptr inbounds i8, ptr %0, i64 192
  br label %216

._crit_edge149:                                   ; preds = %219, %204
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  br label %228

214:                                              ; preds = %202, %200, %198, %196, %._crit_edge146
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %366

216:                                              ; preds = %.lr.ph148, %219
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #6
  %217 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %218 = add i64 %217, -1
  store i64 %218, ptr %33, align 8, !tbaa !14
  call void @_ZNSt4pairIiiEC2ImRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(4) %31)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %213, ptr noundef nonnull align 4 dereferenceable(8) %32)
          to label %219 unwind label %226

219:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  %220 = load i32, ptr %31, align 4, !tbaa !9
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %31, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %224 = add i64 %223, -1
  %225 = icmp ugt i64 %224, %222
  br i1 %225, label %216, label %._crit_edge149, !llvm.loop !19

226:                                              ; preds = %216
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  br label %366

228:                                              ; preds = %._crit_edge149, %._crit_edge
  %.0101.neg = phi i32 [ -1, %._crit_edge149 ], [ 0, %._crit_edge ]
  %229 = icmp sgt i32 %4, -1
  br i1 %229, label %230, label %.thread

230:                                              ; preds = %228
  %231 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %232 = trunc i64 %231 to i32
  %233 = sub nsw i32 %232, %2
  %234 = add i32 %233, %.0101.neg
  br i1 %58, label %.lr.ph152, label %._crit_edge153

.lr.ph152:                                        ; preds = %230
  %235 = add nsw i32 %2, -2
  %236 = getelementptr inbounds i8, ptr %0, i64 192
  br label %237

237:                                              ; preds = %.lr.ph152, %246
  %.087150 = phi i32 [ 0, %.lr.ph152 ], [ %247, %246 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #6
  %238 = add i32 %235, %.087150
  %239 = srem i32 %238, %2
  %240 = add nsw i32 %239, %234
  store i32 %240, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #6
  %241 = add nsw i32 %.087150, %234
  store i32 %241, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #6
  %242 = add nuw nsw i32 %.087150, 2
  %243 = urem i32 %242, %2
  %244 = add nsw i32 %243, %234
  store i32 %244, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #6
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %236, ptr noundef nonnull align 4 dereferenceable(8) %37)
          to label %245 unwind label %248

245:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #6
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %236, ptr noundef nonnull align 4 dereferenceable(8) %38)
          to label %246 unwind label %250

246:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  %247 = add nuw nsw i32 %.087150, 1
  %exitcond178.not = icmp eq i32 %247, %2
  br i1 %exitcond178.not, label %._crit_edge153, label %237, !llvm.loop !20

248:                                              ; preds = %237
  %249 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #6
  br label %252

250:                                              ; preds = %245
  %251 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #6
  br label %252

252:                                              ; preds = %250, %248
  %.pn116 = phi { ptr, i32 } [ %251, %250 ], [ %249, %248 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  br label %366

._crit_edge153:                                   ; preds = %246, %230
  switch i32 %4, label %.preheader [
    i32 0, label %.thread
    i32 1, label %.preheader129
  ]

.preheader129:                                    ; preds = %._crit_edge153
  %253 = getelementptr inbounds i8, ptr %0, i64 216
  %254 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #6
  %.not166 = icmp eq i64 %254, 0
  br i1 %.not166, label %.loopexit, label %.lr.ph155

.lr.ph155:                                        ; preds = %.preheader129
  %255 = getelementptr inbounds i8, ptr %0, i64 240
  br label %274

.preheader:                                       ; preds = %._crit_edge153
  %256 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %257 = getelementptr inbounds i8, ptr %0, i64 216
  %258 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %.neg = add i64 %258, 1
  %.not168 = icmp eq i64 %256, %.neg
  br i1 %.not168, label %._crit_edge161, label %.lr.ph160

.lr.ph160:                                        ; preds = %.preheader
  %259 = getelementptr inbounds i8, ptr %0, i64 240
  br label %306

.thread:                                          ; preds = %._crit_edge153, %228
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %260 = getelementptr inbounds i8, ptr %0, i64 216
  %261 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %260) #6
  %.not167 = icmp eq i64 %261, 0
  br i1 %.not167, label %._crit_edge158, label %.lr.ph157

._crit_edge158:                                   ; preds = %264, %.thread
  %262 = getelementptr inbounds i8, ptr %0, i64 240
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %262, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %270 unwind label %271

.lr.ph157:                                        ; preds = %.thread, %264
  %.086156 = phi i64 [ %265, %264 ], [ 0, %.thread ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #6
  %263 = trunc i64 %.086156 to i32
  store i32 %263, ptr %40, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %264 unwind label %268

264:                                              ; preds = %.lr.ph157
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  %265 = add nuw i64 %.086156, 1
  %266 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %260) #6
  %267 = icmp ult i64 %265, %266
  br i1 %267, label %.lr.ph157, label %._crit_edge158, !llvm.loop !21

268:                                              ; preds = %.lr.ph157
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  br label %273

270:                                              ; preds = %._crit_edge158
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #6
  br label %.loopexit

271:                                              ; preds = %._crit_edge158
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %273

273:                                              ; preds = %271, %268
  %.pn114 = phi { ptr, i32 } [ %269, %268 ], [ %272, %271 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #6
  br label %366

274:                                              ; preds = %.lr.ph155, %286
  %.085154 = phi i64 [ 0, %.lr.ph155 ], [ %277, %286 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #6
  %275 = trunc i64 %.085154 to i32
  store i32 %275, ptr %42, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %276 unwind label %289

276:                                              ; preds = %274
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #6
  %277 = add nuw i64 %.085154, 1
  %278 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #6
  %279 = urem i64 %277, %278
  %280 = trunc i64 %279 to i32
  store i32 %280, ptr %43, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %281 unwind label %291

281:                                              ; preds = %276
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %44) #6
  %282 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %283 = trunc i64 %282 to i32
  %284 = add i32 %283, -1
  store i32 %284, ptr %44, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %285 unwind label %293

285:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %255, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %286 unwind label %295

286:                                              ; preds = %285
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #6
  %287 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #6
  %288 = icmp ult i64 %277, %287
  br i1 %288, label %274, label %.loopexit, !llvm.loop !22

289:                                              ; preds = %274
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  br label %297

291:                                              ; preds = %276
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  br label %297

293:                                              ; preds = %281
  %294 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #6
  br label %297

295:                                              ; preds = %285
  %296 = landingpad { ptr, i32 }
          cleanup
  br label %297

297:                                              ; preds = %295, %293, %291, %289
  %.pn112 = phi { ptr, i32 } [ %296, %295 ], [ %294, %293 ], [ %292, %291 ], [ %290, %289 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #6
  br label %366

._crit_edge161:                                   ; preds = %331, %.preheader
  %298 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %299 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %300 = xor i64 %299, -1
  %301 = add i64 %298, %300
  %302 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %303 = add i64 %302, -1
  %304 = icmp ult i64 %301, %303
  br i1 %304, label %.lr.ph164, label %.loopexit

.lr.ph164:                                        ; preds = %._crit_edge161
  %305 = getelementptr inbounds i8, ptr %0, i64 240
  br label %342

306:                                              ; preds = %.lr.ph160, %331
  %.084159 = phi i64 [ 0, %.lr.ph160 ], [ %308, %331 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #6
  %307 = trunc i64 %.084159 to i32
  store i32 %307, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #6
  %308 = add nuw i64 %.084159, 1
  %309 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %310 = urem i64 %308, %309
  %311 = icmp eq i64 %310, 0
  br i1 %311, label %312, label %315

312:                                              ; preds = %306
  %313 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %314 = sub i64 %308, %313
  br label %315

315:                                              ; preds = %306, %312
  %316 = phi i64 [ %314, %312 ], [ %308, %306 ]
  %317 = trunc i64 %316 to i32
  store i32 %317, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %47) #6
  %318 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %319 = add i64 %318, %316
  %320 = trunc i64 %319 to i32
  store i32 %320, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %48) #6
  %321 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %322 = add i64 %321, %.084159
  %323 = trunc i64 %322 to i32
  store i32 %323, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %324 unwind label %337

324:                                              ; preds = %315
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %325 unwind label %337

325:                                              ; preds = %324
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %326 unwind label %337

326:                                              ; preds = %325
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %259, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %327 unwind label %337

327:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %50) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %328 unwind label %339

328:                                              ; preds = %327
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %329 unwind label %339

329:                                              ; preds = %328
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %330 unwind label %339

330:                                              ; preds = %329
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %259, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %331 unwind label %339

331:                                              ; preds = %330
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  %332 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %333 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %334 = xor i64 %333, -1
  %335 = add i64 %332, %334
  %336 = icmp ult i64 %308, %335
  br i1 %336, label %306, label %._crit_edge161, !llvm.loop !23

337:                                              ; preds = %326, %325, %324, %315
  %338 = landingpad { ptr, i32 }
          cleanup
  br label %341

339:                                              ; preds = %330, %329, %328, %327
  %340 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #6
  br label %341

341:                                              ; preds = %339, %337
  %.pn = phi { ptr, i32 } [ %340, %339 ], [ %338, %337 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  br label %366

342:                                              ; preds = %.lr.ph164, %360
  %.0162 = phi i64 [ %301, %.lr.ph164 ], [ %344, %360 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %51) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #6
  %343 = trunc i64 %.0162 to i32
  store i32 %343, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #6
  %344 = add nuw i64 %.0162, 1
  %345 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %346 = urem i64 %344, %345
  %347 = icmp eq i64 %346, 0
  br i1 %347, label %348, label %351

348:                                              ; preds = %342
  %349 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #6
  %350 = sub i64 %344, %349
  br label %351

351:                                              ; preds = %342, %348
  %352 = phi i64 [ %350, %348 ], [ %344, %342 ]
  %353 = trunc i64 %352 to i32
  store i32 %353, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #6
  %354 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %355 = trunc i64 %354 to i32
  %356 = add i32 %355, -1
  store i32 %356, ptr %54, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %52)
          to label %357 unwind label %364

357:                                              ; preds = %351
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %53)
          to label %358 unwind label %364

358:                                              ; preds = %357
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %359 unwind label %364

359:                                              ; preds = %358
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %305, ptr noundef nonnull align 8 dereferenceable(24) %51)
          to label %360 unwind label %364

360:                                              ; preds = %359
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #6
  %361 = call noundef i64 @_ZNKSt6vectorI7QVectorSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %362 = add i64 %361, -1
  %363 = icmp ult i64 %344, %362
  br i1 %363, label %342, label %.loopexit, !llvm.loop !24

364:                                              ; preds = %359, %358, %357, %351
  %365 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #6
  br label %366

.loopexit:                                        ; preds = %286, %360, %.preheader129, %._crit_edge161, %270
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  ret void

366:                                              ; preds = %252, %273, %297, %341, %364, %144, %152, %195, %226, %214, %92
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %92 ], [ %.pn116, %252 ], [ %.pn114, %273 ], [ %.pn112, %297 ], [ %.pn, %341 ], [ %365, %364 ], [ %227, %226 ], [ %215, %214 ], [ %.pn120, %144 ], [ %.pn118, %195 ], [ %153, %152 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN5QMesh8MeshDataD2Ev(ptr noundef nonnull align 8 dereferenceable(276) %0) #6
  resume { ptr, i32 } %.pn125.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5QMesh8MeshDataD2Ev(ptr noundef nonnull align 8 dereferenceable(276)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5QMesh8MeshDataC2Ev(ptr noundef nonnull align 8 dereferenceable(276)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEE9push_backEb(ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7QVectorSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { inlinehint 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, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !12, !17}
!17 = !{!"llvm.loop.peeled.count", i32 1}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}


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