; LLVM IR from sympiler/nasoq :: src/QP/qp_utils.ll (ZN5nasoq11build_qp_01ERmS0_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_01ERmS0_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 2, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 3, ptr %32, align 8, !tbaa !9
  %33 = load ptr, ptr %22, align 8, !tbaa !5
  store i64 4, ptr %33, align 8, !tbaa !9
  %34 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 2, ptr %34, align 8, !tbaa !9
  %35 = load ptr, ptr %24, align 8, !tbaa !5
  store i64 8, 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 -4.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 -4.000000e+00, ptr %115, align 8, !tbaa !11
  %116 = load ptr, ptr %19, align 8, !tbaa !5
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = getelementptr inbounds i32, ptr %117, i64 0
  store i32 0, ptr %118, align 4, !tbaa !13
  %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 1
  store i32 2, 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 2
  store i32 4, ptr %124, align 4, !tbaa !13
  %125 = load ptr, ptr %20, align 8, !tbaa !5
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds i32, ptr %126, i64 0
  store i32 0, ptr %127, align 4, !tbaa !13
  %128 = load ptr, ptr %20, align 8, !tbaa !5
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds i32, ptr %129, i64 1
  store i32 1, 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 2
  store i32 1, ptr %133, align 4, !tbaa !13
  %134 = load ptr, ptr %21, align 8, !tbaa !5
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  %136 = getelementptr inbounds double, ptr %135, i64 0
  store double 2.000000e+00, ptr %136, align 8, !tbaa !11
  %137 = load ptr, ptr %21, align 8, !tbaa !5
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = getelementptr inbounds double, ptr %138, i64 1
  store double 0.000000e+00, ptr %139, align 8, !tbaa !11
  %140 = load ptr, ptr %21, align 8, !tbaa !5
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  %142 = getelementptr inbounds double, ptr %141, i64 2
  store double 2.000000e+00, ptr %142, align 8, !tbaa !11
  %143 = load ptr, ptr %25, align 8, !tbaa !5
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  %145 = getelementptr inbounds i32, ptr %144, i64 0
  store i32 0, ptr %145, align 4, !tbaa !13
  %146 = load ptr, ptr %25, align 8, !tbaa !5
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  %148 = getelementptr inbounds i32, ptr %147, i64 1
  store i32 4, ptr %148, align 4, !tbaa !13
  %149 = load ptr, ptr %25, align 8, !tbaa !5
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  %151 = getelementptr inbounds i32, ptr %150, i64 2
  store i32 8, ptr %151, align 4, !tbaa !13
  %152 = load ptr, ptr %26, align 8, !tbaa !5
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = getelementptr inbounds i32, ptr %153, i64 0
  store i32 0, ptr %154, align 4, !tbaa !13
  %155 = load ptr, ptr %26, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  %157 = getelementptr inbounds i32, ptr %156, i64 1
  store i32 1, ptr %157, align 4, !tbaa !13
  %158 = load ptr, ptr %26, align 8, !tbaa !5
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = getelementptr inbounds i32, ptr %159, i64 2
  store i32 2, ptr %160, align 4, !tbaa !13
  %161 = load ptr, ptr %26, align 8, !tbaa !5
  %162 = load ptr, ptr %161, align 8, !tbaa !5
  %163 = getelementptr inbounds i32, ptr %162, i64 3
  store i32 3, ptr %163, align 4, !tbaa !13
  %164 = load ptr, ptr %26, align 8, !tbaa !5
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = getelementptr inbounds i32, ptr %165, i64 4
  store i32 0, ptr %166, align 4, !tbaa !13
  %167 = load ptr, ptr %26, align 8, !tbaa !5
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  %169 = getelementptr inbounds i32, ptr %168, i64 5
  store i32 1, ptr %169, align 4, !tbaa !13
  %170 = load ptr, ptr %26, align 8, !tbaa !5
  %171 = load ptr, ptr %170, align 8, !tbaa !5
  %172 = getelementptr inbounds i32, ptr %171, i64 6
  store i32 2, ptr %172, align 4, !tbaa !13
  %173 = load ptr, ptr %26, align 8, !tbaa !5
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = getelementptr inbounds i32, ptr %174, i64 7
  store i32 3, ptr %175, align 4, !tbaa !13
  %176 = load ptr, ptr %27, align 8, !tbaa !5
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = getelementptr inbounds double, ptr %177, i64 0
  store double 2.000000e+00, ptr %178, align 8, !tbaa !11
  %179 = load ptr, ptr %27, align 8, !tbaa !5
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = getelementptr inbounds double, ptr %180, i64 1
  store double 1.000000e+00, ptr %181, align 8, !tbaa !11
  %182 = load ptr, ptr %27, align 8, !tbaa !5
  %183 = load ptr, ptr %182, align 8, !tbaa !5
  %184 = getelementptr inbounds double, ptr %183, i64 2
  store double -1.000000e+00, ptr %184, align 8, !tbaa !11
  %185 = load ptr, ptr %27, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 3
  store double -2.000000e+00, ptr %187, align 8, !tbaa !11
  %188 = load ptr, ptr %27, align 8, !tbaa !5
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = getelementptr inbounds double, ptr %189, i64 4
  store double 1.000000e+00, ptr %190, align 8, !tbaa !11
  %191 = load ptr, ptr %27, align 8, !tbaa !5
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  %193 = getelementptr inbounds double, ptr %192, i64 5
  store double -1.000000e+00, ptr %193, align 8, !tbaa !11
  %194 = load ptr, ptr %27, align 8, !tbaa !5
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  %196 = getelementptr inbounds double, ptr %195, i64 6
  store double -1.000000e+00, ptr %196, align 8, !tbaa !11
  %197 = load ptr, ptr %27, align 8, !tbaa !5
  %198 = load ptr, ptr %197, align 8, !tbaa !5
  %199 = getelementptr inbounds double, ptr %198, i64 7
  store double 1.000000e+00, ptr %199, align 8, !tbaa !11
  %200 = load ptr, ptr %28, align 8, !tbaa !5
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = getelementptr inbounds double, ptr %201, i64 0
  store double 2.000000e+00, ptr %202, align 8, !tbaa !11
  %203 = load ptr, ptr %28, align 8, !tbaa !5
  %204 = load ptr, ptr %203, align 8, !tbaa !5
  %205 = getelementptr inbounds double, ptr %204, i64 1
  store double 1.000000e+00, ptr %205, align 8, !tbaa !11
  %206 = load ptr, ptr %28, align 8, !tbaa !5
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = getelementptr inbounds double, ptr %207, i64 2
  store double 1.000000e+00, ptr %208, align 8, !tbaa !11
  %209 = load ptr, ptr %28, align 8, !tbaa !5
  %210 = load ptr, ptr %209, align 8, !tbaa !5
  %211 = getelementptr inbounds double, ptr %210, i64 3
  store double 2.000000e+00, ptr %211, align 8, !tbaa !11
  %212 = load ptr, ptr %29, align 8, !tbaa !5
  %213 = load ptr, ptr %212, align 8, !tbaa !5
  %214 = getelementptr inbounds double, ptr %213, i64 0
  store double 4.000000e-01, ptr %214, align 8, !tbaa !11
  %215 = load ptr, ptr %29, align 8, !tbaa !5
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  %217 = getelementptr inbounds double, ptr %216, i64 1
  store double 1.200000e+00, ptr %217, 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_01ERmS0_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 readnone align 8 dereferenceable(8) %14) local_unnamed_addr #1 {
  store i64 2, ptr %0, align 8, !tbaa !5
  store i64 3, ptr %1, align 8, !tbaa !5
  store i64 4, ptr %6, align 8, !tbaa !5
  store i64 2, ptr %7, align 8, !tbaa !5
  store i64 8, 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) #2
  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) #2
  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) #2
  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) #2
  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) #2
  store ptr %40, ptr %9, align 8, !tbaa !9
  %41 = tail call noalias noundef nonnull dereferenceable(32) ptr @_Znam(i64 noundef 32) #2
  store ptr %41, ptr %10, align 8, !tbaa !9
  %42 = tail call noalias noundef nonnull dereferenceable(64) ptr @_Znam(i64 noundef 64) #2
  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) #2
  store ptr %47, ptr %12, align 8, !tbaa !9
  %48 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %19) #2
  store ptr %48, ptr %13, align 8, !tbaa !9
  %49 = load ptr, ptr %2, align 8, !tbaa !9
  store <2 x double> <double -4.000000e+00, double -4.000000e+00>, ptr %49, align 8, !tbaa !11
  %50 = load ptr, ptr %3, align 8, !tbaa !9
  store i32 0, ptr %50, align 4, !tbaa !13
  %51 = getelementptr inbounds i8, ptr %50, i64 4
  store i32 2, ptr %51, align 4, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %50, i64 8
  store i32 4, ptr %52, align 4, !tbaa !13
  %53 = load ptr, ptr %4, align 8, !tbaa !9
  store i32 0, ptr %53, align 4, !tbaa !13
  %54 = getelementptr inbounds i8, ptr %53, i64 4
  store i32 1, ptr %54, align 4, !tbaa !13
  %55 = getelementptr inbounds i8, ptr %53, i64 8
  store i32 1, ptr %55, align 4, !tbaa !13
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  store <2 x double> <double 2.000000e+00, double 0.000000e+00>, ptr %56, align 8, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  store double 2.000000e+00, ptr %57, align 8, !tbaa !11
  %58 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 0, ptr %58, align 4, !tbaa !13
  %59 = getelementptr inbounds i8, ptr %58, i64 4
  store i32 4, ptr %59, align 4, !tbaa !13
  %60 = getelementptr inbounds i8, ptr %58, i64 8
  store i32 8, ptr %60, align 4, !tbaa !13
  %61 = load ptr, ptr %10, align 8, !tbaa !9
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %61, align 4, !tbaa !13
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %62, align 4, !tbaa !13
  %63 = load ptr, ptr %11, align 8, !tbaa !9
  store <2 x double> <double 2.000000e+00, double 1.000000e+00>, ptr %63, align 8, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  store <2 x double> <double -1.000000e+00, double -2.000000e+00>, ptr %64, align 8, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %63, i64 32
  store <2 x double> <double 1.000000e+00, double -1.000000e+00>, ptr %65, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %63, i64 48
  store <2 x double> <double -1.000000e+00, double 1.000000e+00>, ptr %66, align 8, !tbaa !11
  %67 = load ptr, ptr %12, align 8, !tbaa !9
  store <2 x double> <double 2.000000e+00, double 1.000000e+00>, ptr %67, align 8, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  store <2 x double> <double 1.000000e+00, double 2.000000e+00>, ptr %68, align 8, !tbaa !11
  store <2 x double> <double 4.000000e-01, double 1.200000e+00>, ptr %48, align 8, !tbaa !11
  ret void
}

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 = { 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,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass