; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/src/sundials (sundials_nvector_senswrapper)

; 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._generic_N_Vector = type { ptr, ptr, ptr }
%struct._N_VectorContent_SensWrapper = type { ptr, i32, i32 }
%struct._generic_N_Vector_Ops = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

; Function Attrs: nounwind uwtable
define dso_local ptr @N_VCloneEmpty_SensWrapper(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

12:                                               ; preds = %1
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._generic_N_Vector, ptr %13, i32 0, i32 0
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %15, i32 0, i32 1
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = icmp slt i32 %17, 1
  br i1 %18, label %19, label %20

19:                                               ; preds = %12
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

20:                                               ; preds = %12
  store ptr null, ptr %5, align 8, !tbaa !5
  %21 = call noalias ptr @malloc(i64 noundef 24) #5
  store ptr %21, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %25

24:                                               ; preds = %20
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

25:                                               ; preds = %20
  store ptr null, ptr %6, align 8, !tbaa !5
  %26 = call noalias ptr @malloc(i64 noundef 440) #5
  store ptr %26, ptr %6, align 8, !tbaa !5
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %31

29:                                               ; preds = %25
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %30) #4
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

31:                                               ; preds = %25
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._generic_N_Vector, ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !15
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %37, i32 0, i32 0
  store ptr %36, ptr %38, align 8, !tbaa !15
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._generic_N_Vector, ptr %39, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !14
  %42 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %41, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %44, i32 0, i32 1
  store ptr %43, ptr %45, align 8, !tbaa !17
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._generic_N_Vector, ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !14
  %49 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %48, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %51, i32 0, i32 2
  store ptr %50, ptr %52, align 8, !tbaa !18
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._generic_N_Vector, ptr %53, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !14
  %56 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %55, i32 0, i32 3
  %57 = load ptr, ptr %56, align 8, !tbaa !19
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %58, i32 0, i32 3
  store ptr %57, ptr %59, align 8, !tbaa !19
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._generic_N_Vector, ptr %60, i32 0, i32 1
  %62 = load ptr, ptr %61, align 8, !tbaa !14
  %63 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %62, i32 0, i32 4
  %64 = load ptr, ptr %63, align 8, !tbaa !20
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %65, i32 0, i32 4
  store ptr %64, ptr %66, align 8, !tbaa !20
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._generic_N_Vector, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !14
  %70 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %69, i32 0, i32 5
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %72, i32 0, i32 5
  store ptr %71, ptr %73, align 8, !tbaa !21
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._generic_N_Vector, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !14
  %77 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %76, i32 0, i32 7
  %78 = load ptr, ptr %77, align 8, !tbaa !22
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %79, i32 0, i32 7
  store ptr %78, ptr %80, align 8, !tbaa !22
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._generic_N_Vector, ptr %81, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !14
  %84 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %83, i32 0, i32 10
  %85 = load ptr, ptr %84, align 8, !tbaa !23
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %86, i32 0, i32 10
  store ptr %85, ptr %87, align 8, !tbaa !23
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._generic_N_Vector, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !14
  %91 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %90, i32 0, i32 11
  %92 = load ptr, ptr %91, align 8, !tbaa !24
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %93, i32 0, i32 11
  store ptr %92, ptr %94, align 8, !tbaa !24
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._generic_N_Vector, ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !14
  %98 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %97, i32 0, i32 12
  %99 = load ptr, ptr %98, align 8, !tbaa !25
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %100, i32 0, i32 12
  store ptr %99, ptr %101, align 8, !tbaa !25
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._generic_N_Vector, ptr %102, i32 0, i32 1
  %104 = load ptr, ptr %103, align 8, !tbaa !14
  %105 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %104, i32 0, i32 13
  %106 = load ptr, ptr %105, align 8, !tbaa !26
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %107, i32 0, i32 13
  store ptr %106, ptr %108, align 8, !tbaa !26
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct._generic_N_Vector, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !14
  %112 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %111, i32 0, i32 14
  %113 = load ptr, ptr %112, align 8, !tbaa !27
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %114, i32 0, i32 14
  store ptr %113, ptr %115, align 8, !tbaa !27
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._generic_N_Vector, ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !14
  %119 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %118, i32 0, i32 15
  %120 = load ptr, ptr %119, align 8, !tbaa !28
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %121, i32 0, i32 15
  store ptr %120, ptr %122, align 8, !tbaa !28
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct._generic_N_Vector, ptr %123, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !14
  %126 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %125, i32 0, i32 16
  %127 = load ptr, ptr %126, align 8, !tbaa !29
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %128, i32 0, i32 16
  store ptr %127, ptr %129, align 8, !tbaa !29
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct._generic_N_Vector, ptr %130, i32 0, i32 1
  %132 = load ptr, ptr %131, align 8, !tbaa !14
  %133 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %132, i32 0, i32 17
  %134 = load ptr, ptr %133, align 8, !tbaa !30
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %135, i32 0, i32 17
  store ptr %134, ptr %136, align 8, !tbaa !30
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct._generic_N_Vector, ptr %137, i32 0, i32 1
  %139 = load ptr, ptr %138, align 8, !tbaa !14
  %140 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %139, i32 0, i32 18
  %141 = load ptr, ptr %140, align 8, !tbaa !31
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %142, i32 0, i32 18
  store ptr %141, ptr %143, align 8, !tbaa !31
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct._generic_N_Vector, ptr %144, i32 0, i32 1
  %146 = load ptr, ptr %145, align 8, !tbaa !14
  %147 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %146, i32 0, i32 19
  %148 = load ptr, ptr %147, align 8, !tbaa !32
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %149, i32 0, i32 19
  store ptr %148, ptr %150, align 8, !tbaa !32
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct._generic_N_Vector, ptr %151, i32 0, i32 1
  %153 = load ptr, ptr %152, align 8, !tbaa !14
  %154 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %153, i32 0, i32 21
  %155 = load ptr, ptr %154, align 8, !tbaa !33
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %156, i32 0, i32 21
  store ptr %155, ptr %157, align 8, !tbaa !33
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct._generic_N_Vector, ptr %158, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !14
  %161 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %160, i32 0, i32 20
  %162 = load ptr, ptr %161, align 8, !tbaa !34
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %163, i32 0, i32 20
  store ptr %162, ptr %164, align 8, !tbaa !34
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct._generic_N_Vector, ptr %165, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !14
  %168 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %167, i32 0, i32 22
  %169 = load ptr, ptr %168, align 8, !tbaa !35
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %170, i32 0, i32 22
  store ptr %169, ptr %171, align 8, !tbaa !35
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct._generic_N_Vector, ptr %172, i32 0, i32 1
  %174 = load ptr, ptr %173, align 8, !tbaa !14
  %175 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %174, i32 0, i32 23
  %176 = load ptr, ptr %175, align 8, !tbaa !36
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %177, i32 0, i32 23
  store ptr %176, ptr %178, align 8, !tbaa !36
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct._generic_N_Vector, ptr %179, i32 0, i32 1
  %181 = load ptr, ptr %180, align 8, !tbaa !14
  %182 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %181, i32 0, i32 24
  %183 = load ptr, ptr %182, align 8, !tbaa !37
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %184, i32 0, i32 24
  store ptr %183, ptr %185, align 8, !tbaa !37
  %186 = load ptr, ptr %3, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct._generic_N_Vector, ptr %186, i32 0, i32 1
  %188 = load ptr, ptr %187, align 8, !tbaa !14
  %189 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %188, i32 0, i32 25
  %190 = load ptr, ptr %189, align 8, !tbaa !38
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %191, i32 0, i32 25
  store ptr %190, ptr %192, align 8, !tbaa !38
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct._generic_N_Vector, ptr %193, i32 0, i32 1
  %195 = load ptr, ptr %194, align 8, !tbaa !14
  %196 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %195, i32 0, i32 26
  %197 = load ptr, ptr %196, align 8, !tbaa !39
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %198, i32 0, i32 26
  store ptr %197, ptr %199, align 8, !tbaa !39
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct._generic_N_Vector, ptr %200, i32 0, i32 1
  %202 = load ptr, ptr %201, align 8, !tbaa !14
  %203 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %202, i32 0, i32 27
  %204 = load ptr, ptr %203, align 8, !tbaa !40
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %205, i32 0, i32 27
  store ptr %204, ptr %206, align 8, !tbaa !40
  %207 = load ptr, ptr %3, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct._generic_N_Vector, ptr %207, i32 0, i32 1
  %209 = load ptr, ptr %208, align 8, !tbaa !14
  %210 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %209, i32 0, i32 28
  %211 = load ptr, ptr %210, align 8, !tbaa !41
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %212, i32 0, i32 28
  store ptr %211, ptr %213, align 8, !tbaa !41
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct._generic_N_Vector, ptr %214, i32 0, i32 1
  %216 = load ptr, ptr %215, align 8, !tbaa !14
  %217 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %216, i32 0, i32 29
  %218 = load ptr, ptr %217, align 8, !tbaa !42
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %219, i32 0, i32 29
  store ptr %218, ptr %220, align 8, !tbaa !42
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct._generic_N_Vector, ptr %221, i32 0, i32 1
  %223 = load ptr, ptr %222, align 8, !tbaa !14
  %224 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %223, i32 0, i32 30
  %225 = load ptr, ptr %224, align 8, !tbaa !43
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %226, i32 0, i32 30
  store ptr %225, ptr %227, align 8, !tbaa !43
  %228 = load ptr, ptr %3, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct._generic_N_Vector, ptr %228, i32 0, i32 1
  %230 = load ptr, ptr %229, align 8, !tbaa !14
  %231 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %230, i32 0, i32 31
  %232 = load ptr, ptr %231, align 8, !tbaa !44
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %233, i32 0, i32 31
  store ptr %232, ptr %234, align 8, !tbaa !44
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct._generic_N_Vector, ptr %235, i32 0, i32 1
  %237 = load ptr, ptr %236, align 8, !tbaa !14
  %238 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %237, i32 0, i32 32
  %239 = load ptr, ptr %238, align 8, !tbaa !45
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %240, i32 0, i32 32
  store ptr %239, ptr %241, align 8, !tbaa !45
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct._generic_N_Vector, ptr %242, i32 0, i32 1
  %244 = load ptr, ptr %243, align 8, !tbaa !14
  %245 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %244, i32 0, i32 33
  %246 = load ptr, ptr %245, align 8, !tbaa !46
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %247, i32 0, i32 33
  store ptr %246, ptr %248, align 8, !tbaa !46
  %249 = load ptr, ptr %3, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct._generic_N_Vector, ptr %249, i32 0, i32 1
  %251 = load ptr, ptr %250, align 8, !tbaa !14
  %252 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %251, i32 0, i32 34
  %253 = load ptr, ptr %252, align 8, !tbaa !47
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %254, i32 0, i32 34
  store ptr %253, ptr %255, align 8, !tbaa !47
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct._generic_N_Vector, ptr %256, i32 0, i32 1
  %258 = load ptr, ptr %257, align 8, !tbaa !14
  %259 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %258, i32 0, i32 35
  %260 = load ptr, ptr %259, align 8, !tbaa !48
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %261, i32 0, i32 35
  store ptr %260, ptr %262, align 8, !tbaa !48
  %263 = load ptr, ptr %3, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct._generic_N_Vector, ptr %263, i32 0, i32 1
  %265 = load ptr, ptr %264, align 8, !tbaa !14
  %266 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %265, i32 0, i32 36
  %267 = load ptr, ptr %266, align 8, !tbaa !49
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %268, i32 0, i32 36
  store ptr %267, ptr %269, align 8, !tbaa !49
  %270 = load ptr, ptr %3, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct._generic_N_Vector, ptr %270, i32 0, i32 1
  %272 = load ptr, ptr %271, align 8, !tbaa !14
  %273 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %272, i32 0, i32 37
  %274 = load ptr, ptr %273, align 8, !tbaa !50
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %275, i32 0, i32 37
  store ptr %274, ptr %276, align 8, !tbaa !50
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct._generic_N_Vector, ptr %277, i32 0, i32 1
  %279 = load ptr, ptr %278, align 8, !tbaa !14
  %280 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %279, i32 0, i32 38
  %281 = load ptr, ptr %280, align 8, !tbaa !51
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %282, i32 0, i32 38
  store ptr %281, ptr %283, align 8, !tbaa !51
  store ptr null, ptr %7, align 8, !tbaa !5
  %284 = call noalias ptr @malloc(i64 noundef 16) #5
  store ptr %284, ptr %7, align 8, !tbaa !5
  %285 = load ptr, ptr %7, align 8, !tbaa !5
  %286 = icmp eq ptr %285, null
  br i1 %286, label %287, label %290

287:                                              ; preds = %31
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %288) #4
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %289) #4
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

290:                                              ; preds = %31
  %291 = load ptr, ptr %3, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct._generic_N_Vector, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !9
  %294 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %293, i32 0, i32 1
  %295 = load i32, ptr %294, align 8, !tbaa !11
  %296 = load ptr, ptr %7, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %296, i32 0, i32 1
  store i32 %295, ptr %297, align 8, !tbaa !11
  %298 = load ptr, ptr %7, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %298, i32 0, i32 2
  store i32 0, ptr %299, align 4, !tbaa !52
  %300 = load ptr, ptr %7, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %300, i32 0, i32 0
  store ptr null, ptr %301, align 8, !tbaa !53
  %302 = load ptr, ptr %3, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct._generic_N_Vector, ptr %302, i32 0, i32 0
  %304 = load ptr, ptr %303, align 8, !tbaa !9
  %305 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %304, i32 0, i32 1
  %306 = load i32, ptr %305, align 8, !tbaa !11
  %307 = sext i32 %306 to i64
  %308 = mul i64 %307, 8
  %309 = call noalias ptr @malloc(i64 noundef %308) #5
  %310 = load ptr, ptr %7, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %310, i32 0, i32 0
  store ptr %309, ptr %311, align 8, !tbaa !53
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %312, i32 0, i32 0
  %314 = load ptr, ptr %313, align 8, !tbaa !53
  %315 = icmp eq ptr %314, null
  br i1 %315, label %316, label %320

316:                                              ; preds = %290
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %317) #4
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %318) #4
  %319 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %319) #4
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

320:                                              ; preds = %290
  store i32 0, ptr %4, align 4, !tbaa !54
  br label %321

321:                                              ; preds = %336, %320
  %322 = load i32, ptr %4, align 4, !tbaa !54
  %323 = load ptr, ptr %3, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct._generic_N_Vector, ptr %323, i32 0, i32 0
  %325 = load ptr, ptr %324, align 8, !tbaa !9
  %326 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %325, i32 0, i32 1
  %327 = load i32, ptr %326, align 8, !tbaa !11
  %328 = icmp slt i32 %322, %327
  br i1 %328, label %329, label %339

329:                                              ; preds = %321
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct._N_VectorContent_SensWrapper, ptr %330, i32 0, i32 0
  %332 = load ptr, ptr %331, align 8, !tbaa !53
  %333 = load i32, ptr %4, align 4, !tbaa !54
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds ptr, ptr %332, i64 %334
  store ptr null, ptr %335, align 8, !tbaa !5
  br label %336

336:                                              ; preds = %329
  %337 = load i32, ptr %4, align 4, !tbaa !54
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %4, align 4, !tbaa !54
  br label %321, !llvm.loop !55

339:                                              ; preds = %321
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct._generic_N_Vector, ptr %341, i32 0, i32 0
  store ptr %340, ptr %342, align 8, !tbaa !9
  %343 = load ptr, ptr %6, align 8, !tbaa !5
  %344 = load ptr, ptr %5, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct._generic_N_Vector, ptr %344, i32 0, i32 1
  store ptr %343, ptr %345, align 8, !tbaa !14
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %346, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %347

347:                                              ; preds = %339, %316, %287, %29, %24, %19, %11
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %348 = load ptr, ptr %2, align 8
  ret ptr %348
}

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nounwind 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 #3 = { nounwind "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 = { nounwind }
attributes #5 = { nounwind 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/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_generic_N_Vector", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!12, !13, i64 8}
!12 = !{!"_N_VectorContent_SensWrapper", !6, i64 0, !13, i64 8, !13, i64 12}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !6, i64 8}
!15 = !{!16, !6, i64 0}
!16 = !{!"_generic_N_Vector_Ops", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432}
!17 = !{!16, !6, i64 8}
!18 = !{!16, !6, i64 16}
!19 = !{!16, !6, i64 24}
!20 = !{!16, !6, i64 32}
!21 = !{!16, !6, i64 40}
!22 = !{!16, !6, i64 56}
!23 = !{!16, !6, i64 80}
!24 = !{!16, !6, i64 88}
!25 = !{!16, !6, i64 96}
!26 = !{!16, !6, i64 104}
!27 = !{!16, !6, i64 112}
!28 = !{!16, !6, i64 120}
!29 = !{!16, !6, i64 128}
!30 = !{!16, !6, i64 136}
!31 = !{!16, !6, i64 144}
!32 = !{!16, !6, i64 152}
!33 = !{!16, !6, i64 168}
!34 = !{!16, !6, i64 160}
!35 = !{!16, !6, i64 176}
!36 = !{!16, !6, i64 184}
!37 = !{!16, !6, i64 192}
!38 = !{!16, !6, i64 200}
!39 = !{!16, !6, i64 208}
!40 = !{!16, !6, i64 216}
!41 = !{!16, !6, i64 224}
!42 = !{!16, !6, i64 232}
!43 = !{!16, !6, i64 240}
!44 = !{!16, !6, i64 248}
!45 = !{!16, !6, i64 256}
!46 = !{!16, !6, i64 264}
!47 = !{!16, !6, i64 272}
!48 = !{!16, !6, i64 280}
!49 = !{!16, !6, i64 288}
!50 = !{!16, !6, i64 296}
!51 = !{!16, !6, i64 304}
!52 = !{!12, !13, i64 12}
!53 = !{!12, !6, i64 0}
!54 = !{!13, !13, i64 0}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}


; 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: nounwind memory(readwrite, argmem: read) uwtable
define dso_local noalias noundef ptr @N_VCloneEmpty_SensWrapper(ptr noundef readonly %0) local_unnamed_addr #0 {
  %2 = icmp eq ptr %0, null
  br i1 %2, label %96, label %3

3:                                                ; preds = %1
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 8
  %6 = load i32, ptr %5, align 8, !tbaa !10
  %7 = icmp slt i32 %6, 1
  br i1 %7, label %96, label %8

8:                                                ; preds = %3
  %9 = tail call noalias dereferenceable_or_null(24) ptr @malloc(i64 noundef 24) #3
  %10 = icmp eq ptr %9, null
  br i1 %10, label %96, label %11

11:                                               ; preds = %8
  %12 = tail call noalias dereferenceable_or_null(440) ptr @malloc(i64 noundef 440) #3
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %11
  tail call void @free(ptr noundef nonnull %9) #4
  br label %96

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = load <2 x ptr>, ptr %17, align 8, !tbaa !14
  store <2 x ptr> %18, ptr %12, align 8, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %17, i64 16
  %20 = getelementptr inbounds i8, ptr %12, i64 16
  %21 = load <2 x ptr>, ptr %19, align 8, !tbaa !14
  store <2 x ptr> %21, ptr %20, align 8, !tbaa !14
  %22 = getelementptr inbounds i8, ptr %17, i64 32
  %23 = getelementptr inbounds i8, ptr %12, i64 32
  %24 = load <2 x ptr>, ptr %22, align 8, !tbaa !14
  store <2 x ptr> %24, ptr %23, align 8, !tbaa !14
  %25 = getelementptr inbounds i8, ptr %17, i64 56
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  %27 = getelementptr inbounds i8, ptr %12, i64 56
  store ptr %26, ptr %27, align 8, !tbaa !15
  %28 = getelementptr inbounds i8, ptr %17, i64 80
  %29 = getelementptr inbounds i8, ptr %12, i64 80
  %30 = load <2 x ptr>, ptr %28, align 8, !tbaa !14
  store <2 x ptr> %30, ptr %29, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %17, i64 96
  %32 = getelementptr inbounds i8, ptr %12, i64 96
  %33 = load <2 x ptr>, ptr %31, align 8, !tbaa !14
  store <2 x ptr> %33, ptr %32, align 8, !tbaa !14
  %34 = getelementptr inbounds i8, ptr %17, i64 112
  %35 = getelementptr inbounds i8, ptr %12, i64 112
  %36 = load <2 x ptr>, ptr %34, align 8, !tbaa !14
  store <2 x ptr> %36, ptr %35, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %17, i64 128
  %38 = getelementptr inbounds i8, ptr %12, i64 128
  %39 = load <2 x ptr>, ptr %37, align 8, !tbaa !14
  store <2 x ptr> %39, ptr %38, align 8, !tbaa !14
  %40 = getelementptr inbounds i8, ptr %17, i64 144
  %41 = getelementptr inbounds i8, ptr %12, i64 144
  %42 = load <2 x ptr>, ptr %40, align 8, !tbaa !14
  store <2 x ptr> %42, ptr %41, align 8, !tbaa !14
  %43 = getelementptr inbounds i8, ptr %17, i64 160
  %44 = getelementptr inbounds i8, ptr %12, i64 160
  %45 = load <2 x ptr>, ptr %43, align 8, !tbaa !14
  store <2 x ptr> %45, ptr %44, align 8, !tbaa !14
  %46 = getelementptr inbounds i8, ptr %17, i64 176
  %47 = getelementptr inbounds i8, ptr %12, i64 176
  %48 = load <2 x ptr>, ptr %46, align 8, !tbaa !14
  store <2 x ptr> %48, ptr %47, align 8, !tbaa !14
  %49 = getelementptr inbounds i8, ptr %17, i64 192
  %50 = getelementptr inbounds i8, ptr %12, i64 192
  %51 = load <2 x ptr>, ptr %49, align 8, !tbaa !14
  store <2 x ptr> %51, ptr %50, align 8, !tbaa !14
  %52 = getelementptr inbounds i8, ptr %17, i64 208
  %53 = getelementptr inbounds i8, ptr %12, i64 208
  %54 = load <2 x ptr>, ptr %52, align 8, !tbaa !14
  store <2 x ptr> %54, ptr %53, align 8, !tbaa !14
  %55 = getelementptr inbounds i8, ptr %17, i64 224
  %56 = getelementptr inbounds i8, ptr %12, i64 224
  %57 = load <2 x ptr>, ptr %55, align 8, !tbaa !14
  store <2 x ptr> %57, ptr %56, align 8, !tbaa !14
  %58 = getelementptr inbounds i8, ptr %17, i64 240
  %59 = getelementptr inbounds i8, ptr %12, i64 240
  %60 = load <2 x ptr>, ptr %58, align 8, !tbaa !14
  store <2 x ptr> %60, ptr %59, align 8, !tbaa !14
  %61 = getelementptr inbounds i8, ptr %17, i64 256
  %62 = getelementptr inbounds i8, ptr %12, i64 256
  %63 = load <2 x ptr>, ptr %61, align 8, !tbaa !14
  store <2 x ptr> %63, ptr %62, align 8, !tbaa !14
  %64 = getelementptr inbounds i8, ptr %17, i64 272
  %65 = getelementptr inbounds i8, ptr %12, i64 272
  %66 = load <2 x ptr>, ptr %64, align 8, !tbaa !14
  store <2 x ptr> %66, ptr %65, align 8, !tbaa !14
  %67 = getelementptr inbounds i8, ptr %17, i64 288
  %68 = getelementptr inbounds i8, ptr %12, i64 288
  %69 = load <2 x ptr>, ptr %67, align 8, !tbaa !14
  store <2 x ptr> %69, ptr %68, align 8, !tbaa !14
  %70 = getelementptr inbounds i8, ptr %17, i64 304
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = getelementptr inbounds i8, ptr %12, i64 304
  store ptr %71, ptr %72, align 8, !tbaa !17
  %73 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #3
  %74 = icmp eq ptr %73, null
  br i1 %74, label %75, label %76

75:                                               ; preds = %15
  tail call void @free(ptr noundef nonnull %12) #4
  tail call void @free(ptr noundef nonnull %9) #4
  br label %96

76:                                               ; preds = %15
  %77 = getelementptr inbounds i8, ptr %73, i64 8
  store i32 %6, ptr %77, align 8, !tbaa !10
  %78 = getelementptr inbounds i8, ptr %73, i64 12
  store i32 0, ptr %78, align 4, !tbaa !18
  %79 = load i32, ptr %5, align 8, !tbaa !10
  %80 = sext i32 %79 to i64
  %81 = shl nsw i64 %80, 3
  %82 = tail call noalias ptr @malloc(i64 noundef %81) #3
  store ptr %82, ptr %73, align 8, !tbaa !19
  %83 = icmp eq ptr %82, null
  br i1 %83, label %92, label %.preheader

.preheader:                                       ; preds = %76
  %84 = load ptr, ptr %0, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  %86 = load i32, ptr %85, align 8, !tbaa !10
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %88 = zext nneg i32 %86 to i64
  %min.iters.check = icmp ult i32 %86, 4
  br i1 %min.iters.check, label %.lr.ph.preheader107, label %vector.ph

.lr.ph.preheader107:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %88, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %89 = getelementptr inbounds ptr, ptr %82, i64 %index
  %90 = getelementptr inbounds i8, ptr %89, i64 16
  store <2 x ptr> zeroinitializer, ptr %89, align 8, !tbaa !14
  store <2 x ptr> zeroinitializer, ptr %90, align 8, !tbaa !14
  %index.next = add nuw i64 %index, 4
  %91 = icmp eq i64 %index.next, %n.vec
  br i1 %91, label %middle.block, label %vector.body, !llvm.loop !20

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %88
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader107

92:                                               ; preds = %76
  tail call void @free(ptr noundef nonnull %12) #4
  tail call void @free(ptr noundef nonnull %9) #4
  tail call void @free(ptr noundef nonnull %73) #4
  br label %96

.lr.ph:                                           ; preds = %.lr.ph.preheader107, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader107 ]
  %93 = getelementptr inbounds ptr, ptr %82, i64 %indvars.iv
  store ptr null, ptr %93, align 8, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %94 = icmp ult i64 %indvars.iv.next, %88
  br i1 %94, label %.lr.ph, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.preheader
  store ptr %73, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %12, ptr %95, align 8, !tbaa !13
  br label %96

96:                                               ; preds = %8, %3, %1, %._crit_edge, %92, %75, %14
  %.0100 = phi ptr [ null, %14 ], [ null, %75 ], [ null, %92 ], [ %9, %._crit_edge ], [ null, %1 ], [ null, %3 ], [ null, %8 ]
  ret ptr %.0100
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #2

attributes #0 = { nounwind memory(readwrite, argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind allocsize(0) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_generic_N_Vector", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"_N_VectorContent_SensWrapper", !7, i64 0, !12, i64 8, !12, i64 12}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 56}
!16 = !{!"_generic_N_Vector_Ops", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432}
!17 = !{!16, !7, i64 304}
!18 = !{!11, !12, i64 12}
!19 = !{!11, !7, i64 0}
!20 = distinct !{!20, !21, !22, !23}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !21, !23, !22}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass