; LLVM IR from sympiler/nasoq :: src/QP (qp_utils)

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5nasoq11build_qp_04ERmS0_RPdRPiS4_S2_S0_S0_S0_S4_S4_S2_S2_S0_S0_S0_S4_S4_S2_S2_S2_Rd(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #2 {
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  store ptr %0, ptr %23, align 8, !tbaa !5
  store ptr %1, ptr %24, align 8, !tbaa !5
  store ptr %2, ptr %25, align 8, !tbaa !5
  store ptr %3, ptr %26, align 8, !tbaa !5
  store ptr %4, ptr %27, align 8, !tbaa !5
  store ptr %5, ptr %28, align 8, !tbaa !5
  store ptr %6, ptr %29, align 8, !tbaa !5
  store ptr %7, ptr %30, align 8, !tbaa !5
  store ptr %8, ptr %31, align 8, !tbaa !5
  store ptr %9, ptr %32, align 8, !tbaa !5
  store ptr %10, ptr %33, align 8, !tbaa !5
  store ptr %11, ptr %34, align 8, !tbaa !5
  store ptr %12, ptr %35, align 8, !tbaa !5
  store ptr %13, ptr %36, align 8, !tbaa !5
  store ptr %14, ptr %37, align 8, !tbaa !5
  store ptr %15, ptr %38, align 8, !tbaa !5
  store ptr %16, ptr %39, align 8, !tbaa !5
  store ptr %17, ptr %40, align 8, !tbaa !5
  store ptr %18, ptr %41, align 8, !tbaa !5
  store ptr %19, ptr %42, align 8, !tbaa !5
  store ptr %20, ptr %43, align 8, !tbaa !5
  store ptr %21, ptr %44, align 8, !tbaa !5
  %45 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 3, ptr %45, align 8, !tbaa !9
  %46 = load ptr, ptr %24, align 8, !tbaa !5
  store i64 6, ptr %46, align 8, !tbaa !9
  %47 = load ptr, ptr %29, align 8, !tbaa !5
  store i64 3, ptr %47, align 8, !tbaa !9
  %48 = load ptr, ptr %30, align 8, !tbaa !5
  store i64 3, ptr %48, align 8, !tbaa !9
  %49 = load ptr, ptr %31, align 8, !tbaa !5
  store i64 9, ptr %49, align 8, !tbaa !9
  %50 = load ptr, ptr %36, align 8, !tbaa !5
  store i64 1, ptr %50, align 8, !tbaa !9
  %51 = load ptr, ptr %37, align 8, !tbaa !5
  store i64 3, ptr %51, align 8, !tbaa !9
  %52 = load ptr, ptr %38, align 8, !tbaa !5
  store i64 3, ptr %52, align 8, !tbaa !9
  %53 = load ptr, ptr %23, align 8, !tbaa !5
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %54, i64 8)
  %56 = extractvalue { i64, i1 } %55, 1
  %57 = extractvalue { i64, i1 } %55, 0
  %58 = select i1 %56, i64 -1, i64 %57
  %59 = call noalias noundef nonnull ptr @_Znam(i64 noundef %58) #3
  %60 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %59, ptr %60, align 8, !tbaa !5
  %61 = load ptr, ptr %23, align 8, !tbaa !5
  %62 = load i64, ptr %61, align 8, !tbaa !9
  %63 = add i64 %62, 1
  %64 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %63, i64 4)
  %65 = extractvalue { i64, i1 } %64, 1
  %66 = extractvalue { i64, i1 } %64, 0
  %67 = select i1 %65, i64 -1, i64 %66
  %68 = call noalias noundef nonnull ptr @_Znam(i64 noundef %67) #3
  %69 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %68, ptr %69, align 8, !tbaa !5
  %70 = load ptr, ptr %24, align 8, !tbaa !5
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %71, i64 4)
  %73 = extractvalue { i64, i1 } %72, 1
  %74 = extractvalue { i64, i1 } %72, 0
  %75 = select i1 %73, i64 -1, i64 %74
  %76 = call noalias noundef nonnull ptr @_Znam(i64 noundef %75) #3
  %77 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %76, ptr %77, align 8, !tbaa !5
  %78 = load ptr, ptr %24, align 8, !tbaa !5
  %79 = load i64, ptr %78, align 8, !tbaa !9
  %80 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %79, i64 8)
  %81 = extractvalue { i64, i1 } %80, 1
  %82 = extractvalue { i64, i1 } %80, 0
  %83 = select i1 %81, i64 -1, i64 %82
  %84 = call noalias noundef nonnull ptr @_Znam(i64 noundef %83) #3
  %85 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %84, ptr %85, align 8, !tbaa !5
  %86 = load ptr, ptr %30, align 8, !tbaa !5
  %87 = load i64, ptr %86, align 8, !tbaa !9
  %88 = add i64 %87, 1
  %89 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %88, i64 4)
  %90 = extractvalue { i64, i1 } %89, 1
  %91 = extractvalue { i64, i1 } %89, 0
  %92 = select i1 %90, i64 -1, i64 %91
  %93 = call noalias noundef nonnull ptr @_Znam(i64 noundef %92) #3
  %94 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %93, ptr %94, align 8, !tbaa !5
  %95 = load ptr, ptr %31, align 8, !tbaa !5
  %96 = load i64, ptr %95, align 8, !tbaa !9
  %97 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %96, i64 4)
  %98 = extractvalue { i64, i1 } %97, 1
  %99 = extractvalue { i64, i1 } %97, 0
  %100 = select i1 %98, i64 -1, i64 %99
  %101 = call noalias noundef nonnull ptr @_Znam(i64 noundef %100) #3
  %102 = load ptr, ptr %33, align 8, !tbaa !5
  store ptr %101, ptr %102, align 8, !tbaa !5
  %103 = load ptr, ptr %31, align 8, !tbaa !5
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %104, i64 8)
  %106 = extractvalue { i64, i1 } %105, 1
  %107 = extractvalue { i64, i1 } %105, 0
  %108 = select i1 %106, i64 -1, i64 %107
  %109 = call noalias noundef nonnull ptr @_Znam(i64 noundef %108) #3
  %110 = load ptr, ptr %34, align 8, !tbaa !5
  store ptr %109, ptr %110, align 8, !tbaa !5
  %111 = load ptr, ptr %29, align 8, !tbaa !5
  %112 = load i64, ptr %111, align 8, !tbaa !9
  %113 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %112, i64 8)
  %114 = extractvalue { i64, i1 } %113, 1
  %115 = extractvalue { i64, i1 } %113, 0
  %116 = select i1 %114, i64 -1, i64 %115
  %117 = call noalias noundef nonnull ptr @_Znam(i64 noundef %116) #3
  %118 = load ptr, ptr %35, align 8, !tbaa !5
  store ptr %117, ptr %118, align 8, !tbaa !5
  %119 = load ptr, ptr %37, align 8, !tbaa !5
  %120 = load i64, ptr %119, align 8, !tbaa !9
  %121 = add i64 %120, 1
  %122 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %121, i64 4)
  %123 = extractvalue { i64, i1 } %122, 1
  %124 = extractvalue { i64, i1 } %122, 0
  %125 = select i1 %123, i64 -1, i64 %124
  %126 = call noalias noundef nonnull ptr @_Znam(i64 noundef %125) #3
  %127 = load ptr, ptr %39, align 8, !tbaa !5
  store ptr %126, ptr %127, align 8, !tbaa !5
  %128 = load ptr, ptr %38, align 8, !tbaa !5
  %129 = load i64, ptr %128, align 8, !tbaa !9
  %130 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %129, i64 4)
  %131 = extractvalue { i64, i1 } %130, 1
  %132 = extractvalue { i64, i1 } %130, 0
  %133 = select i1 %131, i64 -1, i64 %132
  %134 = call noalias noundef nonnull ptr @_Znam(i64 noundef %133) #3
  %135 = load ptr, ptr %40, align 8, !tbaa !5
  store ptr %134, ptr %135, align 8, !tbaa !5
  %136 = load ptr, ptr %38, align 8, !tbaa !5
  %137 = load i64, ptr %136, align 8, !tbaa !9
  %138 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %137, i64 8)
  %139 = extractvalue { i64, i1 } %138, 1
  %140 = extractvalue { i64, i1 } %138, 0
  %141 = select i1 %139, i64 -1, i64 %140
  %142 = call noalias noundef nonnull ptr @_Znam(i64 noundef %141) #3
  %143 = load ptr, ptr %41, align 8, !tbaa !5
  store ptr %142, ptr %143, align 8, !tbaa !5
  %144 = load ptr, ptr %36, align 8, !tbaa !5
  %145 = load i64, ptr %144, align 8, !tbaa !9
  %146 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %145, i64 8)
  %147 = extractvalue { i64, i1 } %146, 1
  %148 = extractvalue { i64, i1 } %146, 0
  %149 = select i1 %147, i64 -1, i64 %148
  %150 = call noalias noundef nonnull ptr @_Znam(i64 noundef %149) #3
  %151 = load ptr, ptr %42, align 8, !tbaa !5
  store ptr %150, ptr %151, align 8, !tbaa !5
  %152 = load ptr, ptr %23, align 8, !tbaa !5
  %153 = load i64, ptr %152, align 8, !tbaa !9
  %154 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %153, i64 8)
  %155 = extractvalue { i64, i1 } %154, 1
  %156 = extractvalue { i64, i1 } %154, 0
  %157 = select i1 %155, i64 -1, i64 %156
  %158 = call noalias noundef nonnull ptr @_Znam(i64 noundef %157) #3
  %159 = load ptr, ptr %43, align 8, !tbaa !5
  store ptr %158, ptr %159, align 8, !tbaa !5
  %160 = load ptr, ptr %25, align 8, !tbaa !5
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = getelementptr inbounds double, ptr %161, i64 0
  store double 6.000000e+00, ptr %162, align 8, !tbaa !11
  %163 = load ptr, ptr %25, align 8, !tbaa !5
  %164 = load ptr, ptr %163, align 8, !tbaa !5
  %165 = getelementptr inbounds double, ptr %164, i64 1
  store double 0.000000e+00, ptr %165, align 8, !tbaa !11
  %166 = load ptr, ptr %25, align 8, !tbaa !5
  %167 = load ptr, ptr %166, align 8, !tbaa !5
  %168 = getelementptr inbounds double, ptr %167, i64 2
  store double 2.000000e+00, ptr %168, align 8, !tbaa !11
  %169 = load ptr, ptr %26, align 8, !tbaa !5
  %170 = load ptr, ptr %169, align 8, !tbaa !5
  %171 = getelementptr inbounds i32, ptr %170, i64 0
  store i32 0, ptr %171, align 4, !tbaa !13
  %172 = load ptr, ptr %26, align 8, !tbaa !5
  %173 = load ptr, ptr %172, align 8, !tbaa !5
  %174 = getelementptr inbounds i32, ptr %173, i64 1
  store i32 3, ptr %174, align 4, !tbaa !13
  %175 = load ptr, ptr %26, align 8, !tbaa !5
  %176 = load ptr, ptr %175, align 8, !tbaa !5
  %177 = getelementptr inbounds i32, ptr %176, i64 2
  store i32 5, ptr %177, align 4, !tbaa !13
  %178 = load ptr, ptr %26, align 8, !tbaa !5
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  %180 = getelementptr inbounds i32, ptr %179, i64 3
  store i32 6, ptr %180, align 4, !tbaa !13
  %181 = load ptr, ptr %27, align 8, !tbaa !5
  %182 = load ptr, ptr %181, align 8, !tbaa !5
  %183 = getelementptr inbounds i32, ptr %182, i64 0
  store i32 0, ptr %183, align 4, !tbaa !13
  %184 = load ptr, ptr %27, align 8, !tbaa !5
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = getelementptr inbounds i32, ptr %185, i64 1
  store i32 1, ptr %186, align 4, !tbaa !13
  %187 = load ptr, ptr %27, align 8, !tbaa !5
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds i32, ptr %188, i64 2
  store i32 2, ptr %189, align 4, !tbaa !13
  %190 = load ptr, ptr %27, align 8, !tbaa !5
  %191 = load ptr, ptr %190, align 8, !tbaa !5
  %192 = getelementptr inbounds i32, ptr %191, i64 3
  store i32 1, ptr %192, align 4, !tbaa !13
  %193 = load ptr, ptr %27, align 8, !tbaa !5
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = getelementptr inbounds i32, ptr %194, i64 4
  store i32 2, ptr %195, align 4, !tbaa !13
  %196 = load ptr, ptr %27, align 8, !tbaa !5
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  %198 = getelementptr inbounds i32, ptr %197, i64 5
  store i32 2, ptr %198, align 4, !tbaa !13
  %199 = load ptr, ptr %28, align 8, !tbaa !5
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = getelementptr inbounds double, ptr %200, i64 0
  store double 8.000000e+00, ptr %201, align 8, !tbaa !11
  %202 = load ptr, ptr %28, align 8, !tbaa !5
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  %204 = getelementptr inbounds double, ptr %203, i64 1
  store double -2.000000e+00, ptr %204, align 8, !tbaa !11
  %205 = load ptr, ptr %28, align 8, !tbaa !5
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds double, ptr %206, i64 2
  store double 1.000000e+00, ptr %207, align 8, !tbaa !11
  %208 = load ptr, ptr %28, align 8, !tbaa !5
  %209 = load ptr, ptr %208, align 8, !tbaa !5
  %210 = getelementptr inbounds double, ptr %209, i64 3
  store double 8.000000e+00, ptr %210, align 8, !tbaa !11
  %211 = load ptr, ptr %28, align 8, !tbaa !5
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = getelementptr inbounds double, ptr %212, i64 4
  store double 4.000000e+00, ptr %213, align 8, !tbaa !11
  %214 = load ptr, ptr %28, align 8, !tbaa !5
  %215 = load ptr, ptr %214, align 8, !tbaa !5
  %216 = getelementptr inbounds double, ptr %215, i64 5
  store double 8.000000e+00, ptr %216, align 8, !tbaa !11
  %217 = load ptr, ptr %32, align 8, !tbaa !5
  %218 = load ptr, ptr %217, align 8, !tbaa !5
  %219 = getelementptr inbounds i32, ptr %218, i64 0
  store i32 0, ptr %219, align 4, !tbaa !13
  %220 = load ptr, ptr %32, align 8, !tbaa !5
  %221 = load ptr, ptr %220, align 8, !tbaa !5
  %222 = getelementptr inbounds i32, ptr %221, i64 1
  store i32 3, ptr %222, align 4, !tbaa !13
  %223 = load ptr, ptr %32, align 8, !tbaa !5
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  %225 = getelementptr inbounds i32, ptr %224, i64 2
  store i32 6, ptr %225, align 4, !tbaa !13
  %226 = load ptr, ptr %32, align 8, !tbaa !5
  %227 = load ptr, ptr %226, align 8, !tbaa !5
  %228 = getelementptr inbounds i32, ptr %227, i64 3
  store i32 9, ptr %228, align 4, !tbaa !13
  %229 = load ptr, ptr %33, align 8, !tbaa !5
  %230 = load ptr, ptr %229, align 8, !tbaa !5
  %231 = getelementptr inbounds i32, ptr %230, i64 0
  store i32 0, ptr %231, align 4, !tbaa !13
  %232 = load ptr, ptr %33, align 8, !tbaa !5
  %233 = load ptr, ptr %232, align 8, !tbaa !5
  %234 = getelementptr inbounds i32, ptr %233, i64 1
  store i32 1, ptr %234, align 4, !tbaa !13
  %235 = load ptr, ptr %33, align 8, !tbaa !5
  %236 = load ptr, ptr %235, align 8, !tbaa !5
  %237 = getelementptr inbounds i32, ptr %236, i64 2
  store i32 2, ptr %237, align 4, !tbaa !13
  %238 = load ptr, ptr %33, align 8, !tbaa !5
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = getelementptr inbounds i32, ptr %239, i64 3
  store i32 0, ptr %240, align 4, !tbaa !13
  %241 = load ptr, ptr %33, align 8, !tbaa !5
  %242 = load ptr, ptr %241, align 8, !tbaa !5
  %243 = getelementptr inbounds i32, ptr %242, i64 4
  store i32 1, ptr %243, align 4, !tbaa !13
  %244 = load ptr, ptr %33, align 8, !tbaa !5
  %245 = load ptr, ptr %244, align 8, !tbaa !5
  %246 = getelementptr inbounds i32, ptr %245, i64 5
  store i32 2, ptr %246, align 4, !tbaa !13
  %247 = load ptr, ptr %33, align 8, !tbaa !5
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = getelementptr inbounds i32, ptr %248, i64 6
  store i32 0, ptr %249, align 4, !tbaa !13
  %250 = load ptr, ptr %33, align 8, !tbaa !5
  %251 = load ptr, ptr %250, align 8, !tbaa !5
  %252 = getelementptr inbounds i32, ptr %251, i64 7
  store i32 1, ptr %252, align 4, !tbaa !13
  %253 = load ptr, ptr %33, align 8, !tbaa !5
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = getelementptr inbounds i32, ptr %254, i64 8
  store i32 2, ptr %255, align 4, !tbaa !13
  %256 = load ptr, ptr %34, align 8, !tbaa !5
  %257 = load ptr, ptr %256, align 8, !tbaa !5
  %258 = getelementptr inbounds double, ptr %257, i64 0
  store double -1.000000e+00, ptr %258, align 8, !tbaa !11
  %259 = load ptr, ptr %34, align 8, !tbaa !5
  %260 = load ptr, ptr %259, align 8, !tbaa !5
  %261 = getelementptr inbounds double, ptr %260, i64 1
  store double 0.000000e+00, ptr %261, align 8, !tbaa !11
  %262 = load ptr, ptr %34, align 8, !tbaa !5
  %263 = load ptr, ptr %262, align 8, !tbaa !5
  %264 = getelementptr inbounds double, ptr %263, i64 2
  store double -1.000000e+00, ptr %264, align 8, !tbaa !11
  %265 = load ptr, ptr %34, align 8, !tbaa !5
  %266 = load ptr, ptr %265, align 8, !tbaa !5
  %267 = getelementptr inbounds double, ptr %266, i64 3
  store double 0.000000e+00, ptr %267, align 8, !tbaa !11
  %268 = load ptr, ptr %34, align 8, !tbaa !5
  %269 = load ptr, ptr %268, align 8, !tbaa !5
  %270 = getelementptr inbounds double, ptr %269, i64 4
  store double -1.000000e+00, ptr %270, align 8, !tbaa !11
  %271 = load ptr, ptr %34, align 8, !tbaa !5
  %272 = load ptr, ptr %271, align 8, !tbaa !5
  %273 = getelementptr inbounds double, ptr %272, i64 5
  store double -1.000000e+00, ptr %273, align 8, !tbaa !11
  %274 = load ptr, ptr %34, align 8, !tbaa !5
  %275 = load ptr, ptr %274, align 8, !tbaa !5
  %276 = getelementptr inbounds double, ptr %275, i64 6
  store double -2.000000e+00, ptr %276, align 8, !tbaa !11
  %277 = load ptr, ptr %34, align 8, !tbaa !5
  %278 = load ptr, ptr %277, align 8, !tbaa !5
  %279 = getelementptr inbounds double, ptr %278, i64 7
  store double 0.000000e+00, ptr %279, align 8, !tbaa !11
  %280 = load ptr, ptr %34, align 8, !tbaa !5
  %281 = load ptr, ptr %280, align 8, !tbaa !5
  %282 = getelementptr inbounds double, ptr %281, i64 8
  store double -3.000000e+00, ptr %282, align 8, !tbaa !11
  %283 = load ptr, ptr %35, align 8, !tbaa !5
  %284 = load ptr, ptr %283, align 8, !tbaa !5
  %285 = getelementptr inbounds double, ptr %284, i64 0
  store double 0.000000e+00, ptr %285, align 8, !tbaa !11
  %286 = load ptr, ptr %35, align 8, !tbaa !5
  %287 = load ptr, ptr %286, align 8, !tbaa !5
  %288 = getelementptr inbounds double, ptr %287, i64 1
  store double 0.000000e+00, ptr %288, align 8, !tbaa !11
  %289 = load ptr, ptr %35, align 8, !tbaa !5
  %290 = load ptr, ptr %289, align 8, !tbaa !5
  %291 = getelementptr inbounds double, ptr %290, i64 2
  store double -2.000000e+00, ptr %291, align 8, !tbaa !11
  %292 = load ptr, ptr %39, align 8, !tbaa !5
  %293 = load ptr, ptr %292, align 8, !tbaa !5
  %294 = getelementptr inbounds i32, ptr %293, i64 0
  store i32 0, ptr %294, align 4, !tbaa !13
  %295 = load ptr, ptr %39, align 8, !tbaa !5
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  %297 = getelementptr inbounds i32, ptr %296, i64 1
  store i32 1, ptr %297, align 4, !tbaa !13
  %298 = load ptr, ptr %39, align 8, !tbaa !5
  %299 = load ptr, ptr %298, align 8, !tbaa !5
  %300 = getelementptr inbounds i32, ptr %299, i64 2
  store i32 2, ptr %300, align 4, !tbaa !13
  %301 = load ptr, ptr %39, align 8, !tbaa !5
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  %303 = getelementptr inbounds i32, ptr %302, i64 3
  store i32 3, ptr %303, align 4, !tbaa !13
  %304 = load ptr, ptr %40, align 8, !tbaa !5
  %305 = load ptr, ptr %304, align 8, !tbaa !5
  %306 = getelementptr inbounds i32, ptr %305, i64 0
  store i32 0, ptr %306, align 4, !tbaa !13
  %307 = load ptr, ptr %40, align 8, !tbaa !5
  %308 = load ptr, ptr %307, align 8, !tbaa !5
  %309 = getelementptr inbounds i32, ptr %308, i64 1
  store i32 0, ptr %309, align 4, !tbaa !13
  %310 = load ptr, ptr %40, align 8, !tbaa !5
  %311 = load ptr, ptr %310, align 8, !tbaa !5
  %312 = getelementptr inbounds i32, ptr %311, i64 2
  store i32 0, ptr %312, align 4, !tbaa !13
  %313 = load ptr, ptr %41, align 8, !tbaa !5
  %314 = load ptr, ptr %313, align 8, !tbaa !5
  %315 = getelementptr inbounds double, ptr %314, i64 0
  store double 0.000000e+00, ptr %315, align 8, !tbaa !11
  %316 = load ptr, ptr %41, align 8, !tbaa !5
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = getelementptr inbounds double, ptr %317, i64 1
  store double 0.000000e+00, ptr %318, align 8, !tbaa !11
  %319 = load ptr, ptr %41, align 8, !tbaa !5
  %320 = load ptr, ptr %319, align 8, !tbaa !5
  %321 = getelementptr inbounds double, ptr %320, i64 2
  store double 2.000000e+00, ptr %321, align 8, !tbaa !11
  %322 = load ptr, ptr %42, align 8, !tbaa !5
  %323 = load ptr, ptr %322, align 8, !tbaa !5
  %324 = getelementptr inbounds double, ptr %323, i64 0
  store double 1.000000e+00, ptr %324, align 8, !tbaa !11
  %325 = load ptr, ptr %43, align 8, !tbaa !5
  %326 = load ptr, ptr %325, align 8, !tbaa !5
  %327 = getelementptr inbounds double, ptr %326, i64 0
  store double 2.500000e-02, ptr %327, align 8, !tbaa !11
  %328 = load ptr, ptr %43, align 8, !tbaa !5
  %329 = load ptr, ptr %328, align 8, !tbaa !5
  %330 = getelementptr inbounds double, ptr %329, i64 1
  store double 4.750000e-01, ptr %330, align 8, !tbaa !11
  %331 = load ptr, ptr %43, align 8, !tbaa !5
  %332 = load ptr, ptr %331, align 8, !tbaa !5
  %333 = getelementptr inbounds double, ptr %332, i64 2
  store double 5.000000e-01, ptr %333, align 8, !tbaa !11
  %334 = load ptr, ptr %44, align 8, !tbaa !5
  store double 0x400FF33336932262, ptr %334, align 8, !tbaa !11
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { builtin allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5nasoq11build_qp_04ERmS0_RPdRPiS4_S2_S0_S0_S0_S4_S4_S2_S2_S0_S0_S0_S4_S4_S2_S2_S2_Rd(ptr nocapture noundef nonnull align 8 dereferenceable(8) %0, ptr nocapture noundef nonnull align 8 dereferenceable(8) %1, ptr nocapture noundef nonnull align 8 dereferenceable(8) %2, ptr nocapture noundef nonnull align 8 dereferenceable(8) %3, ptr nocapture noundef nonnull align 8 dereferenceable(8) %4, ptr nocapture noundef nonnull align 8 dereferenceable(8) %5, ptr nocapture noundef nonnull align 8 dereferenceable(8) %6, ptr nocapture noundef nonnull align 8 dereferenceable(8) %7, ptr nocapture noundef nonnull align 8 dereferenceable(8) %8, ptr nocapture noundef nonnull align 8 dereferenceable(8) %9, ptr nocapture noundef nonnull align 8 dereferenceable(8) %10, ptr nocapture noundef nonnull align 8 dereferenceable(8) %11, ptr nocapture noundef nonnull align 8 dereferenceable(8) %12, ptr nocapture noundef nonnull align 8 dereferenceable(8) %13, ptr nocapture noundef nonnull align 8 dereferenceable(8) %14, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %15, ptr nocapture noundef nonnull align 8 dereferenceable(8) %16, ptr nocapture noundef nonnull align 8 dereferenceable(8) %17, ptr nocapture noundef nonnull align 8 dereferenceable(8) %18, ptr nocapture noundef nonnull align 8 dereferenceable(8) %19, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %20, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %21) local_unnamed_addr #1 {
  store i64 3, ptr %0, align 8, !tbaa !5
  store i64 6, ptr %1, align 8, !tbaa !5
  store i64 3, ptr %6, align 8, !tbaa !5
  store i64 3, ptr %7, align 8, !tbaa !5
  store i64 9, ptr %8, align 8, !tbaa !5
  store i64 1, ptr %13, align 8, !tbaa !5
  store i64 3, ptr %14, align 8, !tbaa !5
  store i64 3, ptr %15, align 8, !tbaa !5
  %23 = load i64, ptr %0, align 8, !tbaa !5
  %24 = icmp ugt i64 %23, 2305843009213693951
  %25 = shl i64 %23, 3
  %26 = select i1 %24, i64 -1, i64 %25
  %27 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %26) #3
  store ptr %27, ptr %2, align 8, !tbaa !9
  %28 = add i64 %23, 1
  %29 = icmp ugt i64 %28, 4611686018427387903
  %30 = shl i64 %28, 2
  %31 = select i1 %29, i64 -1, i64 %30
  %32 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %31) #3
  store ptr %32, ptr %3, align 8, !tbaa !9
  %33 = load i64, ptr %1, align 8, !tbaa !5
  %34 = icmp ugt i64 %33, 4611686018427387903
  %35 = shl i64 %33, 2
  %36 = select i1 %34, i64 -1, i64 %35
  %37 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %36) #3
  store ptr %37, ptr %4, align 8, !tbaa !9
  %38 = icmp ugt i64 %33, 2305843009213693951
  %39 = shl i64 %33, 3
  %40 = select i1 %38, i64 -1, i64 %39
  %41 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %40) #3
  store ptr %41, ptr %5, align 8, !tbaa !9
  %42 = load i64, ptr %7, align 8, !tbaa !5
  %43 = add i64 %42, 1
  %44 = icmp ugt i64 %43, 4611686018427387903
  %45 = shl i64 %43, 2
  %46 = select i1 %44, i64 -1, i64 %45
  %47 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %46) #3
  store ptr %47, ptr %9, align 8, !tbaa !9
  %48 = load i64, ptr %8, align 8, !tbaa !5
  %49 = icmp ugt i64 %48, 4611686018427387903
  %50 = shl i64 %48, 2
  %51 = select i1 %49, i64 -1, i64 %50
  %52 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %51) #3
  store ptr %52, ptr %10, align 8, !tbaa !9
  %53 = icmp ugt i64 %48, 2305843009213693951
  %54 = shl i64 %48, 3
  %55 = select i1 %53, i64 -1, i64 %54
  %56 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %55) #3
  store ptr %56, ptr %11, align 8, !tbaa !9
  %57 = load i64, ptr %6, align 8, !tbaa !5
  %58 = icmp ugt i64 %57, 2305843009213693951
  %59 = shl i64 %57, 3
  %60 = select i1 %58, i64 -1, i64 %59
  %61 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %60) #3
  store ptr %61, ptr %12, align 8, !tbaa !9
  %62 = load i64, ptr %14, align 8, !tbaa !5
  %63 = add i64 %62, 1
  %64 = icmp ugt i64 %63, 4611686018427387903
  %65 = shl i64 %63, 2
  %66 = select i1 %64, i64 -1, i64 %65
  %67 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %66) #3
  store ptr %67, ptr %16, align 8, !tbaa !9
  %68 = tail call noalias noundef nonnull dereferenceable(12) ptr @_Znam(i64 noundef 12) #3
  store ptr %68, ptr %17, align 8, !tbaa !9
  %69 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znam(i64 noundef 24) #3
  store ptr %69, ptr %18, align 8, !tbaa !9
  %70 = load i64, ptr %13, align 8, !tbaa !5
  %71 = icmp ugt i64 %70, 2305843009213693951
  %72 = shl i64 %70, 3
  %73 = select i1 %71, i64 -1, i64 %72
  %74 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %73) #3
  store ptr %74, ptr %19, align 8, !tbaa !9
  %75 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %26) #3
  store ptr %75, ptr %20, align 8, !tbaa !9
  %76 = load ptr, ptr %2, align 8, !tbaa !9
  store <2 x double> <double 6.000000e+00, double 0.000000e+00>, ptr %76, align 8, !tbaa !11
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  store double 2.000000e+00, ptr %77, align 8, !tbaa !11
  %78 = load ptr, ptr %3, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 3, i32 5, i32 6>, ptr %78, align 4, !tbaa !13
  %79 = load ptr, ptr %4, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 1, i32 2, i32 1>, ptr %79, align 4, !tbaa !13
  %80 = getelementptr inbounds i8, ptr %79, i64 16
  store i32 2, ptr %80, align 4, !tbaa !13
  %81 = getelementptr inbounds i8, ptr %79, i64 20
  store i32 2, ptr %81, align 4, !tbaa !13
  %82 = load ptr, ptr %5, align 8, !tbaa !9
  store <2 x double> <double 8.000000e+00, double -2.000000e+00>, ptr %82, align 8, !tbaa !11
  %83 = getelementptr inbounds i8, ptr %82, i64 16
  store <2 x double> <double 1.000000e+00, double 8.000000e+00>, ptr %83, align 8, !tbaa !11
  %84 = getelementptr inbounds i8, ptr %82, i64 32
  store <2 x double> <double 4.000000e+00, double 8.000000e+00>, ptr %84, align 8, !tbaa !11
  %85 = load ptr, ptr %9, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 3, i32 6, i32 9>, ptr %85, align 4, !tbaa !13
  %86 = load ptr, ptr %10, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 1, i32 2, i32 0>, ptr %86, align 4, !tbaa !13
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  store <4 x i32> <i32 1, i32 2, i32 0, i32 1>, ptr %87, align 4, !tbaa !13
  %88 = getelementptr inbounds i8, ptr %86, i64 32
  store i32 2, ptr %88, align 4, !tbaa !13
  %89 = load ptr, ptr %11, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double 0.000000e+00>, ptr %89, align 8, !tbaa !11
  %90 = getelementptr inbounds i8, ptr %89, i64 16
  store <2 x double> <double -1.000000e+00, double 0.000000e+00>, ptr %90, align 8, !tbaa !11
  %91 = getelementptr inbounds i8, ptr %89, i64 32
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %91, align 8, !tbaa !11
  %92 = getelementptr inbounds i8, ptr %89, i64 48
  store <2 x double> <double -2.000000e+00, double 0.000000e+00>, ptr %92, align 8, !tbaa !11
  %93 = getelementptr inbounds i8, ptr %89, i64 64
  store double -3.000000e+00, ptr %93, align 8, !tbaa !11
  %94 = load ptr, ptr %12, align 8, !tbaa !9
  %95 = getelementptr inbounds i8, ptr %94, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %94, i8 0, i64 16, i1 false)
  store double -2.000000e+00, ptr %95, align 8, !tbaa !11
  %96 = load ptr, ptr %16, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %96, align 4, !tbaa !13
  %97 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 0, ptr %97, align 4, !tbaa !13
  %98 = getelementptr inbounds i8, ptr %97, i64 4
  store i32 0, ptr %98, align 4, !tbaa !13
  %99 = getelementptr inbounds i8, ptr %97, i64 8
  store i32 0, ptr %99, align 4, !tbaa !13
  %100 = load ptr, ptr %18, align 8, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %100, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %100, i8 0, i64 16, i1 false)
  store double 2.000000e+00, ptr %101, align 8, !tbaa !11
  %102 = load ptr, ptr %19, align 8, !tbaa !9
  store double 1.000000e+00, ptr %102, align 8, !tbaa !11
  store <2 x double> <double 2.500000e-02, double 4.750000e-01>, ptr %75, align 8, !tbaa !11
  %103 = getelementptr inbounds i8, ptr %75, i64 16
  store double 5.000000e-01, ptr %103, align 8, !tbaa !11
  store double 0x400FF33336932262, ptr %21, align 8, !tbaa !11
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #0 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { builtin allocsize(0) }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass