; LLVM IR from mncoppola/rpef :: utilities_src/squashfs2.1/lzma/C/7zip/Compress/RangeCoder (RangeCoderBit)

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

@_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE = external dso_local global [512 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN9NCompress11NRangeCoder12CPriceTables4InitEv() #0 align 2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #2
  store i32 9, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #2
  store i32 8, ptr %2, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %44, %0
  %8 = load i32, ptr %2, align 4, !tbaa !5
  %9 = icmp sge i32 %8, 0
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #2
  br label %47

11:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sub nsw i32 9, %12
  %14 = sub nsw i32 %13, 1
  %15 = shl i32 1, %14
  store i32 %15, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sub nsw i32 9, %16
  %18 = shl i32 1, %17
  store i32 %18, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  %19 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %19, ptr %6, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %40, %11
  %21 = load i32, ptr %6, align 4, !tbaa !5
  %22 = load i32, ptr %5, align 4, !tbaa !5
  %23 = icmp ult i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  br label %43

25:                                               ; preds = %20
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = shl i32 %26, 6
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = sub i32 %28, %29
  %31 = shl i32 %30, 6
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = sub nsw i32 9, %32
  %34 = sub nsw i32 %33, 1
  %35 = lshr i32 %31, %34
  %36 = add i32 %27, %35
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds [512 x i32], ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 0, i64 %38
  store i32 %36, ptr %39, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %25
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = add i32 %41, 1
  store i32 %42, ptr %6, align 4, !tbaa !5
  br label %20, !llvm.loop !9

43:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  br label %44

44:                                               ; preds = %43
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = add nsw i32 %45, -1
  store i32 %46, ptr %2, align 4, !tbaa !5
  br label %7, !llvm.loop !11

47:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #2
  ret void
}

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

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

attributes #0 = { mustprogress 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = !{!"int", !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}


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

@_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE = external dso_local local_unnamed_addr global [512 x i32], align 16

; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @_ZN9NCompress11NRangeCoder12CPriceTables4InitEv() local_unnamed_addr #0 align 2 {
.lr.ph.6:
  store <4 x i32> <i32 576, i32 512, i32 480, i32 448>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 4), align 4, !tbaa !5
  store <4 x i32> <i32 432, i32 416, i32 400, i32 384>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 20), align 4, !tbaa !5
  store <4 x i32> <i32 376, i32 368, i32 360, i32 352>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 36), align 4, !tbaa !5
  store <4 x i32> <i32 344, i32 336, i32 328, i32 320>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 52), align 4, !tbaa !5
  store <4 x i32> <i32 316, i32 312, i32 308, i32 304>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 68), align 4, !tbaa !5
  store <4 x i32> <i32 300, i32 296, i32 292, i32 288>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 84), align 4, !tbaa !5
  store <4 x i32> <i32 284, i32 280, i32 276, i32 272>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 100), align 4, !tbaa !5
  store <4 x i32> <i32 268, i32 264, i32 260, i32 256>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 116), align 4, !tbaa !5
  store <4 x i32> <i32 254, i32 252, i32 250, i32 248>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 132), align 4, !tbaa !5
  store <4 x i32> <i32 246, i32 244, i32 242, i32 240>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 148), align 4, !tbaa !5
  store <4 x i32> <i32 238, i32 236, i32 234, i32 232>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 164), align 4, !tbaa !5
  store <4 x i32> <i32 230, i32 228, i32 226, i32 224>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 180), align 4, !tbaa !5
  store <4 x i32> <i32 222, i32 220, i32 218, i32 216>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 196), align 4, !tbaa !5
  store <4 x i32> <i32 214, i32 212, i32 210, i32 208>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 212), align 4, !tbaa !5
  store <4 x i32> <i32 206, i32 204, i32 202, i32 200>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 228), align 4, !tbaa !5
  store i32 198, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 244), align 4, !tbaa !5
  store i32 196, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 248), align 8, !tbaa !5
  store i32 194, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 252), align 4, !tbaa !5
  store <4 x i32> <i32 192, i32 191, i32 190, i32 189>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 256), align 16, !tbaa !5
  store <4 x i32> <i32 188, i32 187, i32 186, i32 185>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 272), align 16, !tbaa !5
  store <4 x i32> <i32 184, i32 183, i32 182, i32 181>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 288), align 16, !tbaa !5
  store <4 x i32> <i32 180, i32 179, i32 178, i32 177>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 304), align 16, !tbaa !5
  store <4 x i32> <i32 176, i32 175, i32 174, i32 173>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 320), align 16, !tbaa !5
  store <4 x i32> <i32 172, i32 171, i32 170, i32 169>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 336), align 16, !tbaa !5
  store <4 x i32> <i32 168, i32 167, i32 166, i32 165>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 352), align 16, !tbaa !5
  store <4 x i32> <i32 164, i32 163, i32 162, i32 161>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 368), align 16, !tbaa !5
  store <4 x i32> <i32 160, i32 159, i32 158, i32 157>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 384), align 16, !tbaa !5
  store <4 x i32> <i32 156, i32 155, i32 154, i32 153>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 400), align 16, !tbaa !5
  store <4 x i32> <i32 152, i32 151, i32 150, i32 149>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 416), align 16, !tbaa !5
  store <4 x i32> <i32 148, i32 147, i32 146, i32 145>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 432), align 16, !tbaa !5
  store <4 x i32> <i32 144, i32 143, i32 142, i32 141>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 448), align 16, !tbaa !5
  store <4 x i32> <i32 140, i32 139, i32 138, i32 137>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 464), align 16, !tbaa !5
  store <4 x i32> <i32 136, i32 135, i32 134, i32 133>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 480), align 16, !tbaa !5
  store <4 x i32> <i32 132, i32 131, i32 130, i32 129>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 496), align 16, !tbaa !5
  store <4 x i32> <i32 128, i32 127, i32 127, i32 126>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 512), align 16, !tbaa !5
  store <4 x i32> <i32 126, i32 125, i32 125, i32 124>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 528), align 16, !tbaa !5
  store <4 x i32> <i32 124, i32 123, i32 123, i32 122>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 544), align 16, !tbaa !5
  store <4 x i32> <i32 122, i32 121, i32 121, i32 120>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 560), align 16, !tbaa !5
  store <4 x i32> <i32 120, i32 119, i32 119, i32 118>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 576), align 16, !tbaa !5
  store <4 x i32> <i32 118, i32 117, i32 117, i32 116>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 592), align 16, !tbaa !5
  store <4 x i32> <i32 116, i32 115, i32 115, i32 114>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 608), align 16, !tbaa !5
  store <4 x i32> <i32 114, i32 113, i32 113, i32 112>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 624), align 16, !tbaa !5
  store <4 x i32> <i32 112, i32 111, i32 111, i32 110>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 640), align 16, !tbaa !5
  store <4 x i32> <i32 110, i32 109, i32 109, i32 108>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 656), align 16, !tbaa !5
  store <4 x i32> <i32 108, i32 107, i32 107, i32 106>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 672), align 16, !tbaa !5
  store <4 x i32> <i32 106, i32 105, i32 105, i32 104>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 688), align 16, !tbaa !5
  store <4 x i32> <i32 104, i32 103, i32 103, i32 102>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 704), align 16, !tbaa !5
  store <4 x i32> <i32 102, i32 101, i32 101, i32 100>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 720), align 16, !tbaa !5
  store <4 x i32> <i32 100, i32 99, i32 99, i32 98>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 736), align 16, !tbaa !5
  store <4 x i32> <i32 98, i32 97, i32 97, i32 96>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 752), align 16, !tbaa !5
  store <4 x i32> <i32 96, i32 95, i32 95, i32 94>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 768), align 16, !tbaa !5
  store <4 x i32> <i32 94, i32 93, i32 93, i32 92>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 784), align 16, !tbaa !5
  store <4 x i32> <i32 92, i32 91, i32 91, i32 90>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 800), align 16, !tbaa !5
  store <4 x i32> <i32 90, i32 89, i32 89, i32 88>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 816), align 16, !tbaa !5
  store <4 x i32> <i32 88, i32 87, i32 87, i32 86>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 832), align 16, !tbaa !5
  store <4 x i32> <i32 86, i32 85, i32 85, i32 84>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 848), align 16, !tbaa !5
  store <4 x i32> <i32 84, i32 83, i32 83, i32 82>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 864), align 16, !tbaa !5
  store <4 x i32> <i32 82, i32 81, i32 81, i32 80>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 880), align 16, !tbaa !5
  store <4 x i32> <i32 80, i32 79, i32 79, i32 78>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 896), align 16, !tbaa !5
  store <4 x i32> <i32 78, i32 77, i32 77, i32 76>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 912), align 16, !tbaa !5
  store <4 x i32> <i32 76, i32 75, i32 75, i32 74>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 928), align 16, !tbaa !5
  store <4 x i32> <i32 74, i32 73, i32 73, i32 72>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 944), align 16, !tbaa !5
  store <4 x i32> <i32 72, i32 71, i32 71, i32 70>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 960), align 16, !tbaa !5
  store <4 x i32> <i32 70, i32 69, i32 69, i32 68>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 976), align 16, !tbaa !5
  store <4 x i32> <i32 68, i32 67, i32 67, i32 66>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 992), align 16, !tbaa !5
  store <4 x i32> <i32 66, i32 65, i32 65, i32 64>, ptr getelementptr inbounds (i8, ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 1008), align 16, !tbaa !5
  br label %vector.body35

vector.body35:                                    ; preds = %vector.body35, %.lr.ph.6
  %index36 = phi i64 [ 0, %.lr.ph.6 ], [ %index.next42.1, %vector.body35 ]
  %vec.ind37 = phi <4 x i32> [ <i32 256, i32 257, i32 258, i32 259>, %.lr.ph.6 ], [ %vec.ind.next40.1, %vector.body35 ]
  %offset.idx41 = add nuw nsw i64 %index36, 256
  %0 = shl <4 x i32> %vec.ind37, <i32 6, i32 6, i32 6, i32 6>
  %step.add38 = shl <4 x i32> %vec.ind37, <i32 6, i32 6, i32 6, i32 6>
  %1 = sub <4 x i32> <i32 32768, i32 32768, i32 32768, i32 32768>, %0
  %2 = sub <4 x i32> <i32 32512, i32 32512, i32 32512, i32 32512>, %step.add38
  %3 = lshr <4 x i32> %1, <i32 8, i32 8, i32 8, i32 8>
  %4 = lshr <4 x i32> %2, <i32 8, i32 8, i32 8, i32 8>
  %5 = getelementptr inbounds [512 x i32], ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 0, i64 %offset.idx41
  %6 = getelementptr inbounds i8, ptr %5, i64 16
  store <4 x i32> %3, ptr %5, align 16, !tbaa !5
  store <4 x i32> %4, ptr %6, align 16, !tbaa !5
  %vec.ind.next40 = add <4 x i32> %vec.ind37, <i32 8, i32 8, i32 8, i32 8>
  %offset.idx41.1 = add nuw nsw i64 %index36, 264
  %7 = shl <4 x i32> %vec.ind.next40, <i32 6, i32 6, i32 6, i32 6>
  %step.add38.1 = shl <4 x i32> %vec.ind.next40, <i32 6, i32 6, i32 6, i32 6>
  %8 = sub <4 x i32> <i32 32768, i32 32768, i32 32768, i32 32768>, %7
  %9 = sub <4 x i32> <i32 32512, i32 32512, i32 32512, i32 32512>, %step.add38.1
  %10 = lshr <4 x i32> %8, <i32 8, i32 8, i32 8, i32 8>
  %11 = lshr <4 x i32> %9, <i32 8, i32 8, i32 8, i32 8>
  %12 = getelementptr inbounds [512 x i32], ptr @_ZN9NCompress11NRangeCoder12CPriceTables10ProbPricesE, i64 0, i64 %offset.idx41.1
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  store <4 x i32> %10, ptr %12, align 16, !tbaa !5
  store <4 x i32> %11, ptr %13, align 16, !tbaa !5
  %index.next42.1 = add nuw nsw i64 %index36, 16
  %vec.ind.next40.1 = add <4 x i32> %vec.ind37, <i32 16, i32 16, i32 16, i32 16>
  %14 = icmp eq i64 %index.next42.1, 256
  br i1 %14, label %._crit_edge.8, label %vector.body35, !llvm.loop !9

._crit_edge.8:                                    ; preds = %vector.body35
  ret void
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(write, argmem: none, inaccessiblemem: none) 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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}


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