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

; 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_03ERmS0_RPdRPiS4_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) #2 {
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %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
  store ptr %0, ptr %16, align 8, !tbaa !5
  store ptr %1, ptr %17, align 8, !tbaa !5
  store ptr %2, ptr %18, align 8, !tbaa !5
  store ptr %3, ptr %19, align 8, !tbaa !5
  store ptr %4, ptr %20, align 8, !tbaa !5
  store ptr %5, ptr %21, align 8, !tbaa !5
  store ptr %6, ptr %22, align 8, !tbaa !5
  store ptr %7, ptr %23, align 8, !tbaa !5
  store ptr %8, ptr %24, align 8, !tbaa !5
  store ptr %9, ptr %25, align 8, !tbaa !5
  store ptr %10, ptr %26, align 8, !tbaa !5
  store ptr %11, ptr %27, align 8, !tbaa !5
  store ptr %12, ptr %28, align 8, !tbaa !5
  store ptr %13, ptr %29, align 8, !tbaa !5
  store ptr %14, ptr %30, align 8, !tbaa !5
  %31 = load ptr, ptr %16, align 8, !tbaa !5
  store i64 3, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 6, ptr %32, align 8, !tbaa !9
  %33 = load ptr, ptr %22, align 8, !tbaa !5
  store i64 3, ptr %33, align 8, !tbaa !9
  %34 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 3, ptr %34, align 8, !tbaa !9
  %35 = load ptr, ptr %24, align 8, !tbaa !5
  store i64 9, ptr %35, align 8, !tbaa !9
  %36 = load ptr, ptr %16, align 8, !tbaa !5
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %37, i64 8)
  %39 = extractvalue { i64, i1 } %38, 1
  %40 = extractvalue { i64, i1 } %38, 0
  %41 = select i1 %39, i64 -1, i64 %40
  %42 = call noalias noundef nonnull ptr @_Znam(i64 noundef %41) #3
  %43 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %42, ptr %43, align 8, !tbaa !5
  %44 = load ptr, ptr %16, align 8, !tbaa !5
  %45 = load i64, ptr %44, align 8, !tbaa !9
  %46 = add i64 %45, 1
  %47 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %46, i64 4)
  %48 = extractvalue { i64, i1 } %47, 1
  %49 = extractvalue { i64, i1 } %47, 0
  %50 = select i1 %48, i64 -1, i64 %49
  %51 = call noalias noundef nonnull ptr @_Znam(i64 noundef %50) #3
  %52 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %51, ptr %52, align 8, !tbaa !5
  %53 = load ptr, ptr %17, 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 4)
  %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 %20, align 8, !tbaa !5
  store ptr %59, ptr %60, align 8, !tbaa !5
  %61 = load ptr, ptr %17, align 8, !tbaa !5
  %62 = load i64, ptr %61, align 8, !tbaa !9
  %63 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %62, i64 8)
  %64 = extractvalue { i64, i1 } %63, 1
  %65 = extractvalue { i64, i1 } %63, 0
  %66 = select i1 %64, i64 -1, i64 %65
  %67 = call noalias noundef nonnull ptr @_Znam(i64 noundef %66) #3
  %68 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %67, ptr %68, align 8, !tbaa !5
  %69 = load ptr, ptr %23, align 8, !tbaa !5
  %70 = load i64, ptr %69, align 8, !tbaa !9
  %71 = add i64 %70, 1
  %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 %25, 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 4)
  %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 %26, align 8, !tbaa !5
  store ptr %84, ptr %85, align 8, !tbaa !5
  %86 = load ptr, ptr %24, align 8, !tbaa !5
  %87 = load i64, ptr %86, align 8, !tbaa !9
  %88 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %87, i64 8)
  %89 = extractvalue { i64, i1 } %88, 1
  %90 = extractvalue { i64, i1 } %88, 0
  %91 = select i1 %89, i64 -1, i64 %90
  %92 = call noalias noundef nonnull ptr @_Znam(i64 noundef %91) #3
  %93 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %92, ptr %93, align 8, !tbaa !5
  %94 = load ptr, ptr %22, align 8, !tbaa !5
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %95, i64 8)
  %97 = extractvalue { i64, i1 } %96, 1
  %98 = extractvalue { i64, i1 } %96, 0
  %99 = select i1 %97, i64 -1, i64 %98
  %100 = call noalias noundef nonnull ptr @_Znam(i64 noundef %99) #3
  %101 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %100, ptr %101, align 8, !tbaa !5
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = load i64, ptr %102, align 8, !tbaa !9
  %104 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %103, i64 8)
  %105 = extractvalue { i64, i1 } %104, 1
  %106 = extractvalue { i64, i1 } %104, 0
  %107 = select i1 %105, i64 -1, i64 %106
  %108 = call noalias noundef nonnull ptr @_Znam(i64 noundef %107) #3
  %109 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %108, ptr %109, align 8, !tbaa !5
  %110 = load ptr, ptr %18, align 8, !tbaa !5
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  %112 = getelementptr inbounds double, ptr %111, i64 0
  store double 6.000000e+00, ptr %112, align 8, !tbaa !11
  %113 = load ptr, ptr %18, align 8, !tbaa !5
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  %115 = getelementptr inbounds double, ptr %114, i64 1
  store double 0.000000e+00, ptr %115, align 8, !tbaa !11
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = getelementptr inbounds double, ptr %117, i64 2
  store double 2.000000e+00, ptr %118, align 8, !tbaa !11
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  %121 = getelementptr inbounds i32, ptr %120, i64 0
  store i32 0, ptr %121, align 4, !tbaa !13
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = getelementptr inbounds i32, ptr %123, i64 1
  store i32 3, ptr %124, align 4, !tbaa !13
  %125 = load ptr, ptr %19, align 8, !tbaa !5
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds i32, ptr %126, i64 2
  store i32 5, ptr %127, align 4, !tbaa !13
  %128 = load ptr, ptr %19, align 8, !tbaa !5
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds i32, ptr %129, i64 3
  store i32 6, ptr %130, align 4, !tbaa !13
  %131 = load ptr, ptr %20, align 8, !tbaa !5
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = getelementptr inbounds i32, ptr %132, i64 0
  store i32 0, ptr %133, align 4, !tbaa !13
  %134 = load ptr, ptr %20, align 8, !tbaa !5
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  %136 = getelementptr inbounds i32, ptr %135, i64 1
  store i32 1, ptr %136, align 4, !tbaa !13
  %137 = load ptr, ptr %20, align 8, !tbaa !5
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = getelementptr inbounds i32, ptr %138, i64 2
  store i32 2, ptr %139, align 4, !tbaa !13
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  %142 = getelementptr inbounds i32, ptr %141, i64 3
  store i32 1, ptr %142, align 4, !tbaa !13
  %143 = load ptr, ptr %20, align 8, !tbaa !5
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  %145 = getelementptr inbounds i32, ptr %144, i64 4
  store i32 2, ptr %145, align 4, !tbaa !13
  %146 = load ptr, ptr %20, align 8, !tbaa !5
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  %148 = getelementptr inbounds i32, ptr %147, i64 5
  store i32 2, ptr %148, align 4, !tbaa !13
  %149 = load ptr, ptr %21, align 8, !tbaa !5
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  %151 = getelementptr inbounds double, ptr %150, i64 0
  store double 8.000000e+00, ptr %151, align 8, !tbaa !11
  %152 = load ptr, ptr %21, align 8, !tbaa !5
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = getelementptr inbounds double, ptr %153, i64 1
  store double -2.000000e+00, ptr %154, align 8, !tbaa !11
  %155 = load ptr, ptr %21, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  %157 = getelementptr inbounds double, ptr %156, i64 2
  store double 1.000000e+00, ptr %157, align 8, !tbaa !11
  %158 = load ptr, ptr %21, align 8, !tbaa !5
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = getelementptr inbounds double, ptr %159, i64 3
  store double 8.000000e+00, ptr %160, align 8, !tbaa !11
  %161 = load ptr, ptr %21, align 8, !tbaa !5
  %162 = load ptr, ptr %161, align 8, !tbaa !5
  %163 = getelementptr inbounds double, ptr %162, i64 4
  store double 4.000000e+00, ptr %163, align 8, !tbaa !11
  %164 = load ptr, ptr %21, align 8, !tbaa !5
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = getelementptr inbounds double, ptr %165, i64 5
  store double 8.000000e+00, ptr %166, align 8, !tbaa !11
  %167 = load ptr, ptr %25, align 8, !tbaa !5
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  %169 = getelementptr inbounds i32, ptr %168, i64 0
  store i32 0, ptr %169, align 4, !tbaa !13
  %170 = load ptr, ptr %25, align 8, !tbaa !5
  %171 = load ptr, ptr %170, align 8, !tbaa !5
  %172 = getelementptr inbounds i32, ptr %171, i64 1
  store i32 3, ptr %172, align 4, !tbaa !13
  %173 = load ptr, ptr %25, align 8, !tbaa !5
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = getelementptr inbounds i32, ptr %174, i64 2
  store i32 6, ptr %175, align 4, !tbaa !13
  %176 = load ptr, ptr %25, align 8, !tbaa !5
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = getelementptr inbounds i32, ptr %177, i64 3
  store i32 9, ptr %178, align 4, !tbaa !13
  %179 = load ptr, ptr %26, align 8, !tbaa !5
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = getelementptr inbounds i32, ptr %180, i64 0
  store i32 0, ptr %181, align 4, !tbaa !13
  %182 = load ptr, ptr %26, align 8, !tbaa !5
  %183 = load ptr, ptr %182, align 8, !tbaa !5
  %184 = getelementptr inbounds i32, ptr %183, i64 1
  store i32 1, ptr %184, align 4, !tbaa !13
  %185 = load ptr, ptr %26, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds i32, ptr %186, i64 2
  store i32 2, ptr %187, align 4, !tbaa !13
  %188 = load ptr, ptr %26, align 8, !tbaa !5
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = getelementptr inbounds i32, ptr %189, i64 3
  store i32 0, ptr %190, align 4, !tbaa !13
  %191 = load ptr, ptr %26, align 8, !tbaa !5
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  %193 = getelementptr inbounds i32, ptr %192, i64 4
  store i32 1, ptr %193, align 4, !tbaa !13
  %194 = load ptr, ptr %26, align 8, !tbaa !5
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  %196 = getelementptr inbounds i32, ptr %195, i64 5
  store i32 2, ptr %196, align 4, !tbaa !13
  %197 = load ptr, ptr %26, align 8, !tbaa !5
  %198 = load ptr, ptr %197, align 8, !tbaa !5
  %199 = getelementptr inbounds i32, ptr %198, i64 6
  store i32 0, ptr %199, align 4, !tbaa !13
  %200 = load ptr, ptr %26, align 8, !tbaa !5
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = getelementptr inbounds i32, ptr %201, i64 7
  store i32 1, ptr %202, align 4, !tbaa !13
  %203 = load ptr, ptr %26, align 8, !tbaa !5
  %204 = load ptr, ptr %203, align 8, !tbaa !5
  %205 = getelementptr inbounds i32, ptr %204, i64 8
  store i32 2, ptr %205, align 4, !tbaa !13
  %206 = load ptr, ptr %27, align 8, !tbaa !5
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = getelementptr inbounds double, ptr %207, i64 0
  store double -1.000000e+00, ptr %208, align 8, !tbaa !11
  %209 = load ptr, ptr %27, align 8, !tbaa !5
  %210 = load ptr, ptr %209, align 8, !tbaa !5
  %211 = getelementptr inbounds double, ptr %210, i64 1
  store double 0.000000e+00, ptr %211, align 8, !tbaa !11
  %212 = load ptr, ptr %27, align 8, !tbaa !5
  %213 = load ptr, ptr %212, align 8, !tbaa !5
  %214 = getelementptr inbounds double, ptr %213, i64 2
  store double -1.000000e+00, ptr %214, align 8, !tbaa !11
  %215 = load ptr, ptr %27, align 8, !tbaa !5
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  %217 = getelementptr inbounds double, ptr %216, i64 3
  store double 0.000000e+00, ptr %217, align 8, !tbaa !11
  %218 = load ptr, ptr %27, align 8, !tbaa !5
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = getelementptr inbounds double, ptr %219, i64 4
  store double -1.000000e+00, ptr %220, align 8, !tbaa !11
  %221 = load ptr, ptr %27, align 8, !tbaa !5
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = getelementptr inbounds double, ptr %222, i64 5
  store double -1.000000e+00, ptr %223, align 8, !tbaa !11
  %224 = load ptr, ptr %27, align 8, !tbaa !5
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  %226 = getelementptr inbounds double, ptr %225, i64 6
  store double -2.000000e+00, ptr %226, align 8, !tbaa !11
  %227 = load ptr, ptr %27, align 8, !tbaa !5
  %228 = load ptr, ptr %227, align 8, !tbaa !5
  %229 = getelementptr inbounds double, ptr %228, i64 7
  store double 0.000000e+00, ptr %229, align 8, !tbaa !11
  %230 = load ptr, ptr %27, align 8, !tbaa !5
  %231 = load ptr, ptr %230, align 8, !tbaa !5
  %232 = getelementptr inbounds double, ptr %231, i64 8
  store double -3.000000e+00, ptr %232, align 8, !tbaa !11
  %233 = load ptr, ptr %28, align 8, !tbaa !5
  %234 = load ptr, ptr %233, align 8, !tbaa !5
  %235 = getelementptr inbounds double, ptr %234, i64 0
  store double 0.000000e+00, ptr %235, align 8, !tbaa !11
  %236 = load ptr, ptr %28, align 8, !tbaa !5
  %237 = load ptr, ptr %236, align 8, !tbaa !5
  %238 = getelementptr inbounds double, ptr %237, i64 1
  store double 0.000000e+00, ptr %238, align 8, !tbaa !11
  %239 = load ptr, ptr %28, align 8, !tbaa !5
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  %241 = getelementptr inbounds double, ptr %240, i64 2
  store double -2.000000e+00, ptr %241, align 8, !tbaa !11
  %242 = load ptr, ptr %29, align 8, !tbaa !5
  %243 = load ptr, ptr %242, align 8, !tbaa !5
  %244 = getelementptr inbounds double, ptr %243, i64 0
  store double 0xBFE06EB3E45306EB, ptr %244, align 8, !tbaa !11
  %245 = load ptr, ptr %29, align 8, !tbaa !5
  %246 = load ptr, ptr %245, align 8, !tbaa !5
  %247 = getelementptr inbounds double, ptr %246, i64 1
  store double 0.000000e+00, ptr %247, align 8, !tbaa !11
  %248 = load ptr, ptr %29, align 8, !tbaa !5
  %249 = load ptr, ptr %248, align 8, !tbaa !5
  %250 = getelementptr inbounds double, ptr %249, i64 2
  store double 0x3FEACF914C1BACFA, ptr %250, align 8, !tbaa !11
  %251 = load ptr, ptr %30, align 8, !tbaa !5
  store double 2.027030e+00, ptr %251, 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_03ERmS0_RPdRPiS4_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 writeonly 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 writeonly align 8 dereferenceable(8) %13, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %14) 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
  %16 = load i64, ptr %0, align 8, !tbaa !5
  %17 = icmp ugt i64 %16, 2305843009213693951
  %18 = shl i64 %16, 3
  %19 = select i1 %17, i64 -1, i64 %18
  %20 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %19) #3
  store ptr %20, ptr %2, align 8, !tbaa !9
  %21 = add i64 %16, 1
  %22 = icmp ugt i64 %21, 4611686018427387903
  %23 = shl i64 %21, 2
  %24 = select i1 %22, i64 -1, i64 %23
  %25 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #3
  store ptr %25, ptr %3, align 8, !tbaa !9
  %26 = load i64, ptr %1, align 8, !tbaa !5
  %27 = icmp ugt i64 %26, 4611686018427387903
  %28 = shl i64 %26, 2
  %29 = select i1 %27, i64 -1, i64 %28
  %30 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #3
  store ptr %30, ptr %4, align 8, !tbaa !9
  %31 = icmp ugt i64 %26, 2305843009213693951
  %32 = shl i64 %26, 3
  %33 = select i1 %31, i64 -1, i64 %32
  %34 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %33) #3
  store ptr %34, ptr %5, align 8, !tbaa !9
  %35 = load i64, ptr %7, align 8, !tbaa !5
  %36 = add i64 %35, 1
  %37 = icmp ugt i64 %36, 4611686018427387903
  %38 = shl i64 %36, 2
  %39 = select i1 %37, i64 -1, i64 %38
  %40 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %39) #3
  store ptr %40, ptr %9, align 8, !tbaa !9
  %41 = tail call noalias noundef nonnull dereferenceable(36) ptr @_Znam(i64 noundef 36) #3
  store ptr %41, ptr %10, align 8, !tbaa !9
  %42 = tail call noalias noundef nonnull dereferenceable(72) ptr @_Znam(i64 noundef 72) #3
  store ptr %42, ptr %11, align 8, !tbaa !9
  %43 = load i64, ptr %6, align 8, !tbaa !5
  %44 = icmp ugt i64 %43, 2305843009213693951
  %45 = shl i64 %43, 3
  %46 = select i1 %44, i64 -1, i64 %45
  %47 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %46) #3
  store ptr %47, ptr %12, align 8, !tbaa !9
  %48 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %19) #3
  store ptr %48, ptr %13, align 8, !tbaa !9
  %49 = load ptr, ptr %2, align 8, !tbaa !9
  store <2 x double> <double 6.000000e+00, double 0.000000e+00>, ptr %49, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  store double 2.000000e+00, ptr %50, align 8, !tbaa !11
  %51 = load ptr, ptr %3, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 3, i32 5, i32 6>, ptr %51, align 4, !tbaa !13
  %52 = load ptr, ptr %4, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 1, i32 2, i32 1>, ptr %52, align 4, !tbaa !13
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  store i32 2, ptr %53, align 4, !tbaa !13
  %54 = getelementptr inbounds i8, ptr %52, i64 20
  store i32 2, ptr %54, align 4, !tbaa !13
  %55 = load ptr, ptr %5, align 8, !tbaa !9
  store <2 x double> <double 8.000000e+00, double -2.000000e+00>, ptr %55, align 8, !tbaa !11
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  store <2 x double> <double 1.000000e+00, double 8.000000e+00>, ptr %56, align 8, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %55, i64 32
  store <2 x double> <double 4.000000e+00, double 8.000000e+00>, ptr %57, align 8, !tbaa !11
  %58 = load ptr, ptr %9, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 3, i32 6, i32 9>, ptr %58, align 4, !tbaa !13
  %59 = load ptr, ptr %10, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 1, i32 2, i32 0>, ptr %59, align 4, !tbaa !13
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  store <4 x i32> <i32 1, i32 2, i32 0, i32 1>, ptr %60, align 4, !tbaa !13
  %61 = getelementptr inbounds i8, ptr %59, i64 32
  store i32 2, ptr %61, align 4, !tbaa !13
  %62 = load ptr, ptr %11, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double 0.000000e+00>, ptr %62, align 8, !tbaa !11
  %63 = getelementptr inbounds i8, ptr %62, i64 16
  store <2 x double> <double -1.000000e+00, double 0.000000e+00>, ptr %63, align 8, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %62, i64 32
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %64, align 8, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %62, i64 48
  store <2 x double> <double -2.000000e+00, double 0.000000e+00>, ptr %65, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %62, i64 64
  store double -3.000000e+00, ptr %66, align 8, !tbaa !11
  %67 = load ptr, ptr %12, align 8, !tbaa !9
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %67, i8 0, i64 16, i1 false)
  store double -2.000000e+00, ptr %68, align 8, !tbaa !11
  store <2 x double> <double 0xBFE06EB3E45306EB, double 0.000000e+00>, ptr %48, align 8, !tbaa !11
  %69 = getelementptr inbounds i8, ptr %48, i64 16
  store double 0x3FEACF914C1BACFA, ptr %69, align 8, !tbaa !11
  store double 2.027030e+00, ptr %14, 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