; LLVM IR from chdb-io/chdb :: utils/memcpy-bench/FastMemcpy.ll (Z15memcpy_fast_ssePvPKvm)

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

@_ZZ15memcpy_fast_ssePvPKvmE9cachesize = external hidden global i64, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z15memcpy_fast_ssePvPKvm(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca <2 x i64>, align 16
  %13 = alloca <2 x i64>, align 16
  %14 = alloca <2 x i64>, align 16
  %15 = alloca <2 x i64>, align 16
  %16 = alloca <2 x i64>, align 16
  %17 = alloca <2 x i64>, align 16
  %18 = alloca <2 x i64>, align 16
  %19 = alloca <2 x i64>, align 16
  %20 = alloca <2 x i64>, align 16
  %21 = alloca <2 x i64>, align 16
  %22 = alloca <2 x i64>, align 16
  %23 = alloca <2 x i64>, align 16
  %24 = alloca <2 x i64>, align 16
  %25 = alloca <2 x i64>, align 16
  %26 = alloca <2 x i64>, align 16
  %27 = alloca <2 x i64>, align 16
  %28 = alloca <2 x i64>, align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %29, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %30, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = icmp ule i64 %31, 128
  br i1 %32, label %33, label %38

33:                                               ; preds = %3
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load i64, ptr %7, align 8, !tbaa !9
  %37 = call noundef ptr @_Z11memcpy_tinyPvPKvm(ptr noundef %34, ptr noundef %35, i64 noundef %36)
  store ptr %37, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %266

38:                                               ; preds = %3
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = ptrtoint ptr %39 to i64
  %41 = and i64 %40, 15
  %42 = sub i64 16, %41
  %43 = and i64 %42, 15
  store i64 %43, ptr %10, align 8, !tbaa !9
  %44 = load i64, ptr %10, align 8, !tbaa !9
  %45 = icmp ugt i64 %44, 0
  br i1 %45, label %46, label %60

46:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %47)
  store <2 x i64> %48, ptr %12, align 16, !tbaa !11
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = load <2 x i64>, ptr %12, align 16, !tbaa !11
  call void @_ZL16_mm_storeu_si128PDv2_xS_(ptr noundef %49, <2 x i64> noundef %50)
  %51 = load i64, ptr %10, align 8, !tbaa !9
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 %51
  store ptr %53, ptr %8, align 8, !tbaa !5
  %54 = load i64, ptr %10, align 8, !tbaa !9
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 %54
  store ptr %56, ptr %9, align 8, !tbaa !5
  %57 = load i64, ptr %10, align 8, !tbaa !9
  %58 = load i64, ptr %7, align 8, !tbaa !9
  %59 = sub i64 %58, %57
  store i64 %59, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %60

60:                                               ; preds = %46, %38
  %61 = load i64, ptr %7, align 8, !tbaa !9
  %62 = load i64, ptr @_ZZ15memcpy_fast_ssePvPKvmE9cachesize, align 8, !tbaa !9
  %63 = icmp ule i64 %61, %62
  br i1 %63, label %64, label %127

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  br label %65

65:                                               ; preds = %123, %64
  %66 = load i64, ptr %7, align 8, !tbaa !9
  %67 = icmp uge i64 %66, 128
  br i1 %67, label %68, label %126

68:                                               ; preds = %65
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds <2 x i64>, ptr %69, i64 0
  %71 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %70)
  store <2 x i64> %71, ptr %13, align 16, !tbaa !11
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds <2 x i64>, ptr %72, i64 1
  %74 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %73)
  store <2 x i64> %74, ptr %14, align 16, !tbaa !11
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds <2 x i64>, ptr %75, i64 2
  %77 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %76)
  store <2 x i64> %77, ptr %15, align 16, !tbaa !11
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds <2 x i64>, ptr %78, i64 3
  %80 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %79)
  store <2 x i64> %80, ptr %16, align 16, !tbaa !11
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds <2 x i64>, ptr %81, i64 4
  %83 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %82)
  store <2 x i64> %83, ptr %17, align 16, !tbaa !11
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds <2 x i64>, ptr %84, i64 5
  %86 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %85)
  store <2 x i64> %86, ptr %18, align 16, !tbaa !11
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds <2 x i64>, ptr %87, i64 6
  %89 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %88)
  store <2 x i64> %89, ptr %19, align 16, !tbaa !11
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds <2 x i64>, ptr %90, i64 7
  %92 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %91)
  store <2 x i64> %92, ptr %20, align 16, !tbaa !11
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 256
  call void @llvm.prefetch.p0(ptr %94, i32 0, i32 0, i32 1)
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %95, i64 128
  store ptr %96, ptr %9, align 8, !tbaa !5
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = getelementptr inbounds <2 x i64>, ptr %97, i64 0
  %99 = load <2 x i64>, ptr %13, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %98, <2 x i64> noundef %99)
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds <2 x i64>, ptr %100, i64 1
  %102 = load <2 x i64>, ptr %14, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %101, <2 x i64> noundef %102)
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = getelementptr inbounds <2 x i64>, ptr %103, i64 2
  %105 = load <2 x i64>, ptr %15, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %104, <2 x i64> noundef %105)
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = getelementptr inbounds <2 x i64>, ptr %106, i64 3
  %108 = load <2 x i64>, ptr %16, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %107, <2 x i64> noundef %108)
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds <2 x i64>, ptr %109, i64 4
  %111 = load <2 x i64>, ptr %17, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %110, <2 x i64> noundef %111)
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds <2 x i64>, ptr %112, i64 5
  %114 = load <2 x i64>, ptr %18, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %113, <2 x i64> noundef %114)
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds <2 x i64>, ptr %115, i64 6
  %117 = load <2 x i64>, ptr %19, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %116, <2 x i64> noundef %117)
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds <2 x i64>, ptr %118, i64 7
  %120 = load <2 x i64>, ptr %20, align 16, !tbaa !11
  call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %119, <2 x i64> noundef %120)
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 128
  store ptr %122, ptr %8, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %68
  %124 = load i64, ptr %7, align 8, !tbaa !9
  %125 = sub i64 %124, 128
  store i64 %125, ptr %7, align 8, !tbaa !9
  br label %65, !llvm.loop !12

126:                                              ; preds = %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  br label %260

127:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.prefetch.p0(ptr %128, i32 0, i32 0, i32 1)
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = ptrtoint ptr %129 to i64
  %131 = and i64 %130, 15
  %132 = icmp eq i64 %131, 0
  br i1 %132, label %133, label %196

133:                                              ; preds = %127
  br label %134

134:                                              ; preds = %192, %133
  %135 = load i64, ptr %7, align 8, !tbaa !9
  %136 = icmp uge i64 %135, 128
  br i1 %136, label %137, label %195

137:                                              ; preds = %134
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds <2 x i64>, ptr %138, i64 0
  %140 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %139)
  store <2 x i64> %140, ptr %21, align 16, !tbaa !11
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = getelementptr inbounds <2 x i64>, ptr %141, i64 1
  %143 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %142)
  store <2 x i64> %143, ptr %22, align 16, !tbaa !11
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds <2 x i64>, ptr %144, i64 2
  %146 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %145)
  store <2 x i64> %146, ptr %23, align 16, !tbaa !11
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds <2 x i64>, ptr %147, i64 3
  %149 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %148)
  store <2 x i64> %149, ptr %24, align 16, !tbaa !11
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds <2 x i64>, ptr %150, i64 4
  %152 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %151)
  store <2 x i64> %152, ptr %25, align 16, !tbaa !11
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = getelementptr inbounds <2 x i64>, ptr %153, i64 5
  %155 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %154)
  store <2 x i64> %155, ptr %26, align 16, !tbaa !11
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = getelementptr inbounds <2 x i64>, ptr %156, i64 6
  %158 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %157)
  store <2 x i64> %158, ptr %27, align 16, !tbaa !11
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = getelementptr inbounds <2 x i64>, ptr %159, i64 7
  %161 = call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %160)
  store <2 x i64> %161, ptr %28, align 16, !tbaa !11
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 256
  call void @llvm.prefetch.p0(ptr %163, i32 0, i32 0, i32 1)
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = getelementptr inbounds i8, ptr %164, i64 128
  store ptr %165, ptr %9, align 8, !tbaa !5
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds <2 x i64>, ptr %166, i64 0
  %168 = load <2 x i64>, ptr %21, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %167, <2 x i64> noundef %168)
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds <2 x i64>, ptr %169, i64 1
  %171 = load <2 x i64>, ptr %22, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %170, <2 x i64> noundef %171)
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = getelementptr inbounds <2 x i64>, ptr %172, i64 2
  %174 = load <2 x i64>, ptr %23, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %173, <2 x i64> noundef %174)
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = getelementptr inbounds <2 x i64>, ptr %175, i64 3
  %177 = load <2 x i64>, ptr %24, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %176, <2 x i64> noundef %177)
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = getelementptr inbounds <2 x i64>, ptr %178, i64 4
  %180 = load <2 x i64>, ptr %25, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %179, <2 x i64> noundef %180)
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds <2 x i64>, ptr %181, i64 5
  %183 = load <2 x i64>, ptr %26, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %182, <2 x i64> noundef %183)
  %184 = load ptr, ptr %8, align 8, !tbaa !5
  %185 = getelementptr inbounds <2 x i64>, ptr %184, i64 6
  %186 = load <2 x i64>, ptr %27, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %185, <2 x i64> noundef %186)
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = getelementptr inbounds <2 x i64>, ptr %187, i64 7
  %189 = load <2 x i64>, ptr %28, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %188, <2 x i64> noundef %189)
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %190, i64 128
  store ptr %191, ptr %8, align 8, !tbaa !5
  br label %192

192:                                              ; preds = %137
  %193 = load i64, ptr %7, align 8, !tbaa !9
  %194 = sub i64 %193, 128
  store i64 %194, ptr %7, align 8, !tbaa !9
  br label %134, !llvm.loop !14

195:                                              ; preds = %134
  br label %259

196:                                              ; preds = %127
  br label %197

197:                                              ; preds = %255, %196
  %198 = load i64, ptr %7, align 8, !tbaa !9
  %199 = icmp uge i64 %198, 128
  br i1 %199, label %200, label %258

200:                                              ; preds = %197
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = getelementptr inbounds <2 x i64>, ptr %201, i64 0
  %203 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %202)
  store <2 x i64> %203, ptr %21, align 16, !tbaa !11
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds <2 x i64>, ptr %204, i64 1
  %206 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %205)
  store <2 x i64> %206, ptr %22, align 16, !tbaa !11
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds <2 x i64>, ptr %207, i64 2
  %209 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %208)
  store <2 x i64> %209, ptr %23, align 16, !tbaa !11
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = getelementptr inbounds <2 x i64>, ptr %210, i64 3
  %212 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %211)
  store <2 x i64> %212, ptr %24, align 16, !tbaa !11
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = getelementptr inbounds <2 x i64>, ptr %213, i64 4
  %215 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %214)
  store <2 x i64> %215, ptr %25, align 16, !tbaa !11
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds <2 x i64>, ptr %216, i64 5
  %218 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %217)
  store <2 x i64> %218, ptr %26, align 16, !tbaa !11
  %219 = load ptr, ptr %9, align 8, !tbaa !5
  %220 = getelementptr inbounds <2 x i64>, ptr %219, i64 6
  %221 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %220)
  store <2 x i64> %221, ptr %27, align 16, !tbaa !11
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = getelementptr inbounds <2 x i64>, ptr %222, i64 7
  %224 = call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %223)
  store <2 x i64> %224, ptr %28, align 16, !tbaa !11
  %225 = load ptr, ptr %9, align 8, !tbaa !5
  %226 = getelementptr inbounds i8, ptr %225, i64 256
  call void @llvm.prefetch.p0(ptr %226, i32 0, i32 0, i32 1)
  %227 = load ptr, ptr %9, align 8, !tbaa !5
  %228 = getelementptr inbounds i8, ptr %227, i64 128
  store ptr %228, ptr %9, align 8, !tbaa !5
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = getelementptr inbounds <2 x i64>, ptr %229, i64 0
  %231 = load <2 x i64>, ptr %21, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %230, <2 x i64> noundef %231)
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = getelementptr inbounds <2 x i64>, ptr %232, i64 1
  %234 = load <2 x i64>, ptr %22, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %233, <2 x i64> noundef %234)
  %235 = load ptr, ptr %8, align 8, !tbaa !5
  %236 = getelementptr inbounds <2 x i64>, ptr %235, i64 2
  %237 = load <2 x i64>, ptr %23, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %236, <2 x i64> noundef %237)
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  %239 = getelementptr inbounds <2 x i64>, ptr %238, i64 3
  %240 = load <2 x i64>, ptr %24, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %239, <2 x i64> noundef %240)
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = getelementptr inbounds <2 x i64>, ptr %241, i64 4
  %243 = load <2 x i64>, ptr %25, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %242, <2 x i64> noundef %243)
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = getelementptr inbounds <2 x i64>, ptr %244, i64 5
  %246 = load <2 x i64>, ptr %26, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %245, <2 x i64> noundef %246)
  %247 = load ptr, ptr %8, align 8, !tbaa !5
  %248 = getelementptr inbounds <2 x i64>, ptr %247, i64 6
  %249 = load <2 x i64>, ptr %27, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %248, <2 x i64> noundef %249)
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = getelementptr inbounds <2 x i64>, ptr %250, i64 7
  %252 = load <2 x i64>, ptr %28, align 16, !tbaa !11
  call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %251, <2 x i64> noundef %252)
  %253 = load ptr, ptr %8, align 8, !tbaa !5
  %254 = getelementptr inbounds i8, ptr %253, i64 128
  store ptr %254, ptr %8, align 8, !tbaa !5
  br label %255

255:                                              ; preds = %200
  %256 = load i64, ptr %7, align 8, !tbaa !9
  %257 = sub i64 %256, 128
  store i64 %257, ptr %7, align 8, !tbaa !9
  br label %197, !llvm.loop !15

258:                                              ; preds = %197
  br label %259

259:                                              ; preds = %258, %195
  call void @llvm.x86.sse.sfence()
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %260

260:                                              ; preds = %259, %126
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = load i64, ptr %7, align 8, !tbaa !9
  %264 = call noundef ptr @_Z11memcpy_tinyPvPKvm(ptr noundef %261, ptr noundef %262, i64 noundef %263)
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %265, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %266

266:                                              ; preds = %260, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %267 = load ptr, ptr %4, align 8
  ret ptr %267
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z11memcpy_tinyPvPKvm(ptr noalias noundef, ptr noalias noundef, i64 noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZL16_mm_storeu_si128PDv2_xS_(ptr noundef, <2 x i64> noundef) #3

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @llvm.prefetch.p0(ptr nocapture readonly, i32 immarg, i32 immarg, i32 immarg) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef, <2 x i64> noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef, <2 x i64> noundef) #3

; Function Attrs: nounwind
declare void @llvm.x86.sse.sfence() #5

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="128" "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@_ZZ15memcpy_fast_ssePvPKvmE9cachesize = external hidden local_unnamed_addr global i64, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z15memcpy_fast_ssePvPKvm(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) local_unnamed_addr #0 {
  %4 = icmp ult i64 %2, 129
  br i1 %4, label %5, label %7

5:                                                ; preds = %3
  %6 = tail call noundef ptr @_Z11memcpy_tinyPvPKvm(ptr noundef %0, ptr noundef %1, i64 noundef %2)
  br label %106

7:                                                ; preds = %3
  %8 = ptrtoint ptr %0 to i64
  %9 = sub i64 0, %8
  %10 = and i64 %9, 15
  %.not = icmp eq i64 %10, 0
  br i1 %.not, label %16, label %11

11:                                               ; preds = %7
  %12 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %1)
  tail call void @_ZL16_mm_storeu_si128PDv2_xS_(ptr noundef %0, <2 x i64> noundef %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 %10
  %14 = getelementptr inbounds i8, ptr %1, i64 %10
  %15 = sub nuw i64 %2, %10
  br label %16

16:                                               ; preds = %11, %7
  %.0118 = phi ptr [ %14, %11 ], [ %1, %7 ]
  %.0112 = phi ptr [ %13, %11 ], [ %0, %7 ]
  %.0111 = phi i64 [ %15, %11 ], [ %2, %7 ]
  %17 = load i64, ptr @_ZZ15memcpy_fast_ssePvPKvmE9cachesize, align 8, !tbaa !5
  %.not127 = icmp ugt i64 %.0111, %17
  br i1 %.not127, label %46, label %.preheader130

.preheader130:                                    ; preds = %16
  %18 = icmp ugt i64 %.0111, 127
  br i1 %18, label %.lr.ph, label %.loopexit131

.lr.ph:                                           ; preds = %.preheader130, %.lr.ph
  %.1134 = phi i64 [ %44, %.lr.ph ], [ %.0111, %.preheader130 ]
  %.1113133 = phi ptr [ %43, %.lr.ph ], [ %.0112, %.preheader130 ]
  %.1119132 = phi ptr [ %35, %.lr.ph ], [ %.0118, %.preheader130 ]
  %19 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %.1119132)
  %20 = getelementptr inbounds i8, ptr %.1119132, i64 16
  %21 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %20)
  %22 = getelementptr inbounds i8, ptr %.1119132, i64 32
  %23 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %22)
  %24 = getelementptr inbounds i8, ptr %.1119132, i64 48
  %25 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %24)
  %26 = getelementptr inbounds i8, ptr %.1119132, i64 64
  %27 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %26)
  %28 = getelementptr inbounds i8, ptr %.1119132, i64 80
  %29 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %28)
  %30 = getelementptr inbounds i8, ptr %.1119132, i64 96
  %31 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %30)
  %32 = getelementptr inbounds i8, ptr %.1119132, i64 112
  %33 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %32)
  %34 = getelementptr inbounds i8, ptr %.1119132, i64 256
  tail call void @llvm.prefetch.p0(ptr nonnull %34, i32 0, i32 0, i32 1)
  %35 = getelementptr inbounds i8, ptr %.1119132, i64 128
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef %.1113133, <2 x i64> noundef %19)
  %36 = getelementptr inbounds i8, ptr %.1113133, i64 16
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %36, <2 x i64> noundef %21)
  %37 = getelementptr inbounds i8, ptr %.1113133, i64 32
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %37, <2 x i64> noundef %23)
  %38 = getelementptr inbounds i8, ptr %.1113133, i64 48
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %38, <2 x i64> noundef %25)
  %39 = getelementptr inbounds i8, ptr %.1113133, i64 64
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %39, <2 x i64> noundef %27)
  %40 = getelementptr inbounds i8, ptr %.1113133, i64 80
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %40, <2 x i64> noundef %29)
  %41 = getelementptr inbounds i8, ptr %.1113133, i64 96
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %41, <2 x i64> noundef %31)
  %42 = getelementptr inbounds i8, ptr %.1113133, i64 112
  tail call void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef nonnull %42, <2 x i64> noundef %33)
  %43 = getelementptr inbounds i8, ptr %.1113133, i64 128
  %44 = add i64 %.1134, -128
  %45 = icmp ugt i64 %44, 127
  br i1 %45, label %.lr.ph, label %.loopexit131, !llvm.loop !9

46:                                               ; preds = %16
  tail call void @llvm.prefetch.p0(ptr %.0118, i32 0, i32 0, i32 1)
  %47 = ptrtoint ptr %.0118 to i64
  %48 = and i64 %47, 15
  %49 = icmp eq i64 %48, 0
  %50 = icmp ugt i64 %.0111, 127
  br i1 %49, label %.preheader, label %.preheader128

.preheader128:                                    ; preds = %46
  br i1 %50, label %.lr.ph140, label %.loopexit

.preheader:                                       ; preds = %46
  br i1 %50, label %.lr.ph147, label %.loopexit

.lr.ph147:                                        ; preds = %.preheader, %.lr.ph147
  %.2146 = phi i64 [ %76, %.lr.ph147 ], [ %.0111, %.preheader ]
  %.2114145 = phi ptr [ %75, %.lr.ph147 ], [ %.0112, %.preheader ]
  %.2120144 = phi ptr [ %67, %.lr.ph147 ], [ %.0118, %.preheader ]
  %51 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef %.2120144)
  %52 = getelementptr inbounds i8, ptr %.2120144, i64 16
  %53 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %52)
  %54 = getelementptr inbounds i8, ptr %.2120144, i64 32
  %55 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %54)
  %56 = getelementptr inbounds i8, ptr %.2120144, i64 48
  %57 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %56)
  %58 = getelementptr inbounds i8, ptr %.2120144, i64 64
  %59 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %58)
  %60 = getelementptr inbounds i8, ptr %.2120144, i64 80
  %61 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %60)
  %62 = getelementptr inbounds i8, ptr %.2120144, i64 96
  %63 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %62)
  %64 = getelementptr inbounds i8, ptr %.2120144, i64 112
  %65 = tail call noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef nonnull %64)
  %66 = getelementptr inbounds i8, ptr %.2120144, i64 256
  tail call void @llvm.prefetch.p0(ptr nonnull %66, i32 0, i32 0, i32 1)
  %67 = getelementptr inbounds i8, ptr %.2120144, i64 128
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %.2114145, <2 x i64> noundef %51)
  %68 = getelementptr inbounds i8, ptr %.2114145, i64 16
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %68, <2 x i64> noundef %53)
  %69 = getelementptr inbounds i8, ptr %.2114145, i64 32
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %69, <2 x i64> noundef %55)
  %70 = getelementptr inbounds i8, ptr %.2114145, i64 48
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %70, <2 x i64> noundef %57)
  %71 = getelementptr inbounds i8, ptr %.2114145, i64 64
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %71, <2 x i64> noundef %59)
  %72 = getelementptr inbounds i8, ptr %.2114145, i64 80
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %72, <2 x i64> noundef %61)
  %73 = getelementptr inbounds i8, ptr %.2114145, i64 96
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %73, <2 x i64> noundef %63)
  %74 = getelementptr inbounds i8, ptr %.2114145, i64 112
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %74, <2 x i64> noundef %65)
  %75 = getelementptr inbounds i8, ptr %.2114145, i64 128
  %76 = add i64 %.2146, -128
  %77 = icmp ugt i64 %76, 127
  br i1 %77, label %.lr.ph147, label %.loopexit, !llvm.loop !11

.lr.ph140:                                        ; preds = %.preheader128, %.lr.ph140
  %.3139 = phi i64 [ %103, %.lr.ph140 ], [ %.0111, %.preheader128 ]
  %.3115138 = phi ptr [ %102, %.lr.ph140 ], [ %.0112, %.preheader128 ]
  %.3121137 = phi ptr [ %94, %.lr.ph140 ], [ %.0118, %.preheader128 ]
  %78 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef %.3121137)
  %79 = getelementptr inbounds i8, ptr %.3121137, i64 16
  %80 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %79)
  %81 = getelementptr inbounds i8, ptr %.3121137, i64 32
  %82 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %81)
  %83 = getelementptr inbounds i8, ptr %.3121137, i64 48
  %84 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %83)
  %85 = getelementptr inbounds i8, ptr %.3121137, i64 64
  %86 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %85)
  %87 = getelementptr inbounds i8, ptr %.3121137, i64 80
  %88 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %87)
  %89 = getelementptr inbounds i8, ptr %.3121137, i64 96
  %90 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %89)
  %91 = getelementptr inbounds i8, ptr %.3121137, i64 112
  %92 = tail call noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef nonnull %91)
  %93 = getelementptr inbounds i8, ptr %.3121137, i64 256
  tail call void @llvm.prefetch.p0(ptr nonnull %93, i32 0, i32 0, i32 1)
  %94 = getelementptr inbounds i8, ptr %.3121137, i64 128
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef %.3115138, <2 x i64> noundef %78)
  %95 = getelementptr inbounds i8, ptr %.3115138, i64 16
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %95, <2 x i64> noundef %80)
  %96 = getelementptr inbounds i8, ptr %.3115138, i64 32
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %96, <2 x i64> noundef %82)
  %97 = getelementptr inbounds i8, ptr %.3115138, i64 48
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %97, <2 x i64> noundef %84)
  %98 = getelementptr inbounds i8, ptr %.3115138, i64 64
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %98, <2 x i64> noundef %86)
  %99 = getelementptr inbounds i8, ptr %.3115138, i64 80
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %99, <2 x i64> noundef %88)
  %100 = getelementptr inbounds i8, ptr %.3115138, i64 96
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %100, <2 x i64> noundef %90)
  %101 = getelementptr inbounds i8, ptr %.3115138, i64 112
  tail call void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef nonnull %101, <2 x i64> noundef %92)
  %102 = getelementptr inbounds i8, ptr %.3115138, i64 128
  %103 = add i64 %.3139, -128
  %104 = icmp ugt i64 %103, 127
  br i1 %104, label %.lr.ph140, label %.loopexit, !llvm.loop !12

.loopexit:                                        ; preds = %.lr.ph140, %.lr.ph147, %.preheader128, %.preheader
  %.4122 = phi ptr [ %.0118, %.preheader ], [ %.0118, %.preheader128 ], [ %67, %.lr.ph147 ], [ %94, %.lr.ph140 ]
  %.4116 = phi ptr [ %.0112, %.preheader ], [ %.0112, %.preheader128 ], [ %75, %.lr.ph147 ], [ %102, %.lr.ph140 ]
  %.4 = phi i64 [ %.0111, %.preheader ], [ %.0111, %.preheader128 ], [ %76, %.lr.ph147 ], [ %103, %.lr.ph140 ]
  tail call void @llvm.x86.sse.sfence()
  br label %.loopexit131

.loopexit131:                                     ; preds = %.lr.ph, %.preheader130, %.loopexit
  %.5123 = phi ptr [ %.4122, %.loopexit ], [ %.0118, %.preheader130 ], [ %35, %.lr.ph ]
  %.5117 = phi ptr [ %.4116, %.loopexit ], [ %.0112, %.preheader130 ], [ %43, %.lr.ph ]
  %.5 = phi i64 [ %.4, %.loopexit ], [ %.0111, %.preheader130 ], [ %44, %.lr.ph ]
  %105 = tail call noundef ptr @_Z11memcpy_tinyPvPKvm(ptr noundef %.5117, ptr noundef %.5123, i64 noundef %.5)
  br label %106

106:                                              ; preds = %.loopexit131, %5
  %.0 = phi ptr [ %6, %5 ], [ %0, %.loopexit131 ]
  ret ptr %.0
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z11memcpy_tinyPvPKvm(ptr noalias noundef, ptr noalias noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL15_mm_loadu_si128PKDv2_x(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZL16_mm_storeu_si128PDv2_xS_(ptr noundef, <2 x i64> noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @llvm.prefetch.p0(ptr nocapture readonly, i32 immarg, i32 immarg, i32 immarg) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZL15_mm_store_si128PDv2_xS_(ptr noundef, <2 x i64> noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef <2 x i64> @_ZL14_mm_load_si128PKDv2_x(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @_ZL16_mm_stream_si128PvDv2_x(ptr noundef, <2 x i64> noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @llvm.x86.sse.sfence() #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="128" "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 = { inlinehint 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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) }
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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass