; LLVM IR from tum-i4/obfuscation-benchmarks :: tigress-generated-programs (RandomFunc)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

; Function Attrs: nounwind uwtable
define dso_local void @RandomFunc(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [1 x i64], align 8
  %6 = alloca i8, align 1
  %7 = alloca i16, align 2
  %8 = alloca i32, align 4
  %9 = alloca i16, align 2
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #2
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds i64, ptr %12, i64 0
  %14 = load i64, ptr %13, align 8, !tbaa !9
  %15 = add i64 %14, 51238316
  %16 = add i64 %15, 274866410
  %17 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  store i64 %16, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %19 = load i64, ptr %18, align 8, !tbaa !9
  %20 = lshr i64 %19, 4
  %21 = and i64 %20, 1
  %22 = icmp ne i64 %21, 0
  br i1 %22, label %23, label %140

23:                                               ; preds = %2
  %24 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = lshr i64 %25, 3
  %27 = and i64 %26, 1
  %28 = icmp ne i64 %27, 0
  br i1 %28, label %29, label %81

29:                                               ; preds = %23
  %30 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %31 = load i64, ptr %30, align 8, !tbaa !9
  %32 = lshr i64 %31, 2
  %33 = and i64 %32, 1
  %34 = icmp ne i64 %33, 0
  br i1 %34, label %35, label %46

35:                                               ; preds = %29
  %36 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = add i64 %39, %37
  store i64 %40, ptr %38, align 8, !tbaa !9
  %41 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %42 = load i64, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = add i64 %44, %42
  store i64 %45, ptr %43, align 8, !tbaa !9
  br label %80

46:                                               ; preds = %29
  %47 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %48 = getelementptr inbounds i8, ptr %47, i64 3
  %49 = load i8, ptr %48, align 1, !tbaa !11
  store i8 %49, ptr %6, align 1, !tbaa !11
  %50 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %51 = getelementptr inbounds i8, ptr %50, i64 2
  %52 = load i8, ptr %51, align 1, !tbaa !11
  %53 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %54 = getelementptr inbounds i8, ptr %53, i64 3
  store i8 %52, ptr %54, align 1, !tbaa !11
  %55 = load i8, ptr %6, align 1, !tbaa !11
  %56 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %57 = getelementptr inbounds i8, ptr %56, i64 2
  store i8 %55, ptr %57, align 1, !tbaa !11
  %58 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %59 = getelementptr inbounds i16, ptr %58, i64 3
  %60 = load i16, ptr %59, align 2, !tbaa !12
  store i16 %60, ptr %7, align 2, !tbaa !12
  %61 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %62 = getelementptr inbounds i16, ptr %61, i64 2
  %63 = load i16, ptr %62, align 2, !tbaa !12
  %64 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %65 = getelementptr inbounds i16, ptr %64, i64 3
  store i16 %63, ptr %65, align 2, !tbaa !12
  %66 = load i16, ptr %7, align 2, !tbaa !12
  %67 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %68 = getelementptr inbounds i16, ptr %67, i64 2
  store i16 %66, ptr %68, align 2, !tbaa !12
  %69 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %70 = getelementptr inbounds i16, ptr %69, i64 0
  %71 = load i16, ptr %70, align 2, !tbaa !12
  store i16 %71, ptr %7, align 2, !tbaa !12
  %72 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %73 = getelementptr inbounds i16, ptr %72, i64 1
  %74 = load i16, ptr %73, align 2, !tbaa !12
  %75 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %76 = getelementptr inbounds i16, ptr %75, i64 0
  store i16 %74, ptr %76, align 2, !tbaa !12
  %77 = load i16, ptr %7, align 2, !tbaa !12
  %78 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %79 = getelementptr inbounds i16, ptr %78, i64 1
  store i16 %77, ptr %79, align 2, !tbaa !12
  br label %80

80:                                               ; preds = %46, %35
  br label %139

81:                                               ; preds = %23
  %82 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %83 = load i64, ptr %82, align 8, !tbaa !9
  %84 = lshr i64 %83, 2
  %85 = and i64 %84, 1
  %86 = icmp ne i64 %85, 0
  br i1 %86, label %87, label %121

87:                                               ; preds = %81
  %88 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %89 = getelementptr inbounds i32, ptr %88, i64 0
  %90 = load i32, ptr %89, align 4, !tbaa !14
  store i32 %90, ptr %8, align 4, !tbaa !14
  %91 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %92 = getelementptr inbounds i32, ptr %91, i64 1
  %93 = load i32, ptr %92, align 4, !tbaa !14
  %94 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %95 = getelementptr inbounds i32, ptr %94, i64 0
  store i32 %93, ptr %95, align 4, !tbaa !14
  %96 = load i32, ptr %8, align 4, !tbaa !14
  %97 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %98 = getelementptr inbounds i32, ptr %97, i64 1
  store i32 %96, ptr %98, align 4, !tbaa !14
  %99 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %100 = getelementptr inbounds i16, ptr %99, i64 1
  %101 = load i16, ptr %100, align 2, !tbaa !12
  store i16 %101, ptr %9, align 2, !tbaa !12
  %102 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %103 = getelementptr inbounds i16, ptr %102, i64 0
  %104 = load i16, ptr %103, align 2, !tbaa !12
  %105 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %106 = getelementptr inbounds i16, ptr %105, i64 1
  store i16 %104, ptr %106, align 2, !tbaa !12
  %107 = load i16, ptr %9, align 2, !tbaa !12
  %108 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %109 = getelementptr inbounds i16, ptr %108, i64 0
  store i16 %107, ptr %109, align 2, !tbaa !12
  %110 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %111 = getelementptr inbounds i16, ptr %110, i64 0
  %112 = load i16, ptr %111, align 2, !tbaa !12
  store i16 %112, ptr %9, align 2, !tbaa !12
  %113 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %114 = getelementptr inbounds i16, ptr %113, i64 2
  %115 = load i16, ptr %114, align 2, !tbaa !12
  %116 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %117 = getelementptr inbounds i16, ptr %116, i64 0
  store i16 %115, ptr %117, align 2, !tbaa !12
  %118 = load i16, ptr %9, align 2, !tbaa !12
  %119 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %120 = getelementptr inbounds i16, ptr %119, i64 2
  store i16 %118, ptr %120, align 2, !tbaa !12
  br label %138

121:                                              ; preds = %81
  %122 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %123 = getelementptr inbounds i8, ptr %122, i64 5
  %124 = load i8, ptr %123, align 1, !tbaa !11
  store i8 %124, ptr %10, align 1, !tbaa !11
  %125 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %126 = getelementptr inbounds i8, ptr %125, i64 6
  %127 = load i8, ptr %126, align 1, !tbaa !11
  %128 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %129 = getelementptr inbounds i8, ptr %128, i64 5
  store i8 %127, ptr %129, align 1, !tbaa !11
  %130 = load i8, ptr %10, align 1, !tbaa !11
  %131 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %132 = getelementptr inbounds i8, ptr %131, i64 6
  store i8 %130, ptr %132, align 1, !tbaa !11
  %133 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %134 = load i64, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %136 = load i64, ptr %135, align 8, !tbaa !9
  %137 = add i64 %136, %134
  store i64 %137, ptr %135, align 8, !tbaa !9
  br label %138

138:                                              ; preds = %121, %87
  br label %139

139:                                              ; preds = %138, %80
  br label %157

140:                                              ; preds = %2
  %141 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %142 = getelementptr inbounds i8, ptr %141, i64 6
  %143 = load i8, ptr %142, align 1, !tbaa !11
  store i8 %143, ptr %11, align 1, !tbaa !11
  %144 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %145 = getelementptr inbounds i8, ptr %144, i64 7
  %146 = load i8, ptr %145, align 1, !tbaa !11
  %147 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %148 = getelementptr inbounds i8, ptr %147, i64 6
  store i8 %146, ptr %148, align 1, !tbaa !11
  %149 = load i8, ptr %11, align 1, !tbaa !11
  %150 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %151 = getelementptr inbounds i8, ptr %150, i64 7
  store i8 %149, ptr %151, align 1, !tbaa !11
  %152 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %153 = load i64, ptr %152, align 8, !tbaa !9
  %154 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %155 = load i64, ptr %154, align 8, !tbaa !9
  %156 = add i64 %155, %153
  store i64 %156, ptr %154, align 8, !tbaa !9
  br label %157

157:                                              ; preds = %140, %139
  %158 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %159 = load i64, ptr %158, align 8, !tbaa !9
  %160 = add i64 %159, 1044838405
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds i64, ptr %161, i64 0
  store i64 %160, ptr %162, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  ret void
}

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

!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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}


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

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local void @RandomFunc(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
  %3 = load i64, ptr %0, align 8, !tbaa !5
  %4 = add i64 %3, 326104726
  %.sroa.0.sroa.28.0.extract.shift545735 = lshr i64 %4, 16
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc608 = trunc i64 %.sroa.0.sroa.28.0.extract.shift545735 to i16
  %.sroa.0.sroa.28.sroa.28.0.extract.shift660736 = lshr i64 %4, 24
  %.sroa.0.sroa.28.sroa.28.0.extract.trunc661 = trunc i64 %.sroa.0.sroa.28.sroa.28.0.extract.shift660736 to i16
  %.sroa.36.0.extract.shift = lshr i64 %4, 32
  %.sroa.36.sroa.0.sroa.0.0.extract.trunc379 = trunc i64 %.sroa.36.0.extract.shift to i16
  %.sroa.36.sroa.0.sroa.26.0.extract.shift433737 = lshr i64 %4, 40
  %.sroa.36.sroa.0.sroa.26.0.extract.trunc434 = trunc i64 %.sroa.36.sroa.0.sroa.26.0.extract.shift433737 to i16
  %sum.shift = lshr i64 %4, 48
  %.sroa.36.sroa.28.sroa.0.0.extract.trunc = trunc nuw i64 %sum.shift to i16
  %sum.shift739 = lshr i64 %4, 56
  %.sroa.36.sroa.28.sroa.28.0.extract.trunc = trunc nuw nsw i64 %sum.shift739 to i16
  %.sroa.0.sroa.28.sroa.28.0.insert.ext662 = and i16 %.sroa.0.sroa.28.sroa.28.0.extract.trunc661, 255
  %.sroa.0.sroa.28.sroa.28.0.insert.shift663 = shl nuw i16 %.sroa.0.sroa.28.sroa.28.0.insert.ext662, 8
  %.sroa.0.sroa.28.sroa.0.0.insert.ext609 = and i16 %.sroa.0.sroa.28.sroa.0.0.extract.trunc608, 255
  %.sroa.0.sroa.28.sroa.0.0.insert.insert611 = or disjoint i16 %.sroa.0.sroa.28.sroa.28.0.insert.shift663, %.sroa.0.sroa.28.sroa.0.0.insert.ext609
  %.sroa.0.sroa.28.0.insert.ext547 = zext i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert611 to i32
  %.sroa.0.sroa.28.0.insert.shift548 = shl nuw i32 %.sroa.0.sroa.28.0.insert.ext547, 16
  %5 = trunc i64 %4 to i32
  %.sroa.0.sroa.0.0.insert.ext502 = and i32 %5, 65535
  %.sroa.0.sroa.0.0.insert.insert504 = or disjoint i32 %.sroa.0.sroa.28.0.insert.shift548, %.sroa.0.sroa.0.0.insert.ext502
  %.sroa.36.sroa.0.sroa.26.0.insert.ext435 = and i16 %.sroa.36.sroa.0.sroa.26.0.extract.trunc434, 255
  %.sroa.36.sroa.0.sroa.26.0.insert.shift436 = shl nuw i16 %.sroa.36.sroa.0.sroa.26.0.insert.ext435, 8
  %.sroa.36.sroa.0.sroa.0.0.insert.ext380 = and i16 %.sroa.36.sroa.0.sroa.0.0.extract.trunc379, 255
  %.sroa.36.sroa.0.sroa.0.0.insert.insert382 = or disjoint i16 %.sroa.36.sroa.0.sroa.26.0.insert.shift436, %.sroa.36.sroa.0.sroa.0.0.insert.ext380
  %.sroa.36.sroa.28.sroa.28.0.insert.shift = shl nuw i16 %.sroa.36.sroa.28.sroa.28.0.extract.trunc, 8
  %.sroa.36.sroa.28.sroa.0.0.insert.ext = and i16 %.sroa.36.sroa.28.sroa.0.0.extract.trunc, 255
  %.sroa.36.sroa.28.sroa.0.0.insert.insert = or disjoint i16 %.sroa.36.sroa.28.sroa.28.0.insert.shift, %.sroa.36.sroa.28.sroa.0.0.insert.ext
  %.sroa.36.sroa.28.0.insert.ext = zext i16 %.sroa.36.sroa.28.sroa.0.0.insert.insert to i32
  %.sroa.36.sroa.28.0.insert.shift = shl nuw i32 %.sroa.36.sroa.28.0.insert.ext, 16
  %.sroa.36.sroa.0.0.insert.ext = zext i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert382 to i32
  %.sroa.36.sroa.0.0.insert.insert = or disjoint i32 %.sroa.36.sroa.28.0.insert.shift, %.sroa.36.sroa.0.0.insert.ext
  %.sroa.36.0.insert.ext = zext i32 %.sroa.36.sroa.0.0.insert.insert to i64
  %.sroa.0.0.insert.ext = zext i32 %.sroa.0.sroa.0.0.insert.insert504 to i64
  %6 = and i64 %.sroa.0.0.insert.ext, 16
  %.not = icmp eq i64 %6, 0
  br i1 %.not, label %23, label %7

7:                                                ; preds = %2
  %8 = and i64 %.sroa.0.0.insert.ext, 8
  %.not748 = icmp eq i64 %8, 0
  %9 = and i64 %.sroa.0.0.insert.ext, 4
  %.not749 = icmp eq i64 %9, 0
  br i1 %.not748, label %17, label %10

10:                                               ; preds = %7
  br i1 %.not749, label %16, label %11

11:                                               ; preds = %10
  %12 = shl i64 %.sroa.36.0.insert.ext, 33
  %13 = shl nuw nsw i64 %.sroa.0.0.insert.ext, 1
  %.sroa.0.sroa.28.0.extract.shift567760 = lshr i32 %.sroa.0.sroa.0.0.insert.insert504, 15
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc624 = trunc i32 %.sroa.0.sroa.28.0.extract.shift567760 to i16
  %.sroa.36.0.extract.shift92 = or disjoint i64 %13, %12
  %14 = shl i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert611, 1
  %.sroa.0.sroa.28.sroa.28.0.insert.ext684 = and i16 %14, -256
  %.sroa.0.sroa.28.sroa.0.0.insert.ext625 = and i16 %.sroa.0.sroa.28.sroa.0.0.extract.trunc624, 255
  %.sroa.0.sroa.28.sroa.0.0.insert.insert627 = or disjoint i16 %.sroa.0.sroa.28.sroa.0.0.insert.ext625, %.sroa.0.sroa.28.sroa.28.0.insert.ext684
  %.sroa.0.sroa.28.0.insert.ext569 = zext i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert627 to i64
  %.sroa.0.sroa.28.0.insert.shift570 = shl nuw nsw i64 %.sroa.0.sroa.28.0.insert.ext569, 16
  %.sroa.0.sroa.0.0.insert.ext518 = and i64 %13, 32768
  %.sroa.0.sroa.0.0.insert.insert520 = or disjoint i64 %.sroa.0.sroa.28.0.insert.shift570, %.sroa.0.sroa.0.0.insert.ext518
  %.sroa.36.sroa.0.sroa.0.0.insert.ext396 = and i64 %.sroa.36.0.extract.shift92, 1095216660480
  %15 = and i64 %12, 9223370937343148032
  %.sroa.36.sroa.0.0.insert.insert166 = or disjoint i64 %.sroa.36.sroa.0.sroa.0.0.insert.ext396, %15
  %.sroa.0.0.insert.insert32 = or disjoint i64 %.sroa.0.sroa.28.0.insert.shift570, %.sroa.36.sroa.0.0.insert.insert166
  %.sroa.0.sroa.0.0.insert.ext502.tr = trunc i64 %4 to i16
  %.sroa.0.sroa.0.0.extract.trunc524 = shl i16 %.sroa.0.sroa.0.0.insert.ext502.tr, 2
  %.sroa.0.sroa.28.0.extract.shift577769 = lshr exact i64 %.sroa.0.sroa.0.0.insert.insert520, 15
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc631 = trunc i64 %.sroa.0.sroa.28.0.extract.shift577769 to i16
  %.sroa.0.sroa.28.sroa.28.0.extract.shift692770 = lshr i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert627, 7
  %.sroa.36.0.extract.shift104 = lshr i64 %.sroa.0.0.insert.insert32, 31
  %.sroa.36.sroa.0.sroa.26.0.extract.shift465771 = lshr i64 %.sroa.36.sroa.0.0.insert.insert166, 39
  %.sroa.36.sroa.28.0.extract.shift222772 = lshr i64 %12, 47
  %.sroa.36.sroa.28.sroa.28.0.extract.shift333773 = lshr i64 %12, 55
  br label %27

16:                                               ; preds = %10
  %.sroa.0.sroa.28.sroa.28.0.insert.shift723 = shl nuw i16 %.sroa.0.sroa.28.sroa.0.0.insert.ext609, 8
  %.sroa.0.sroa.28.sroa.0.0.insert.insert654 = or disjoint i16 %.sroa.0.sroa.28.sroa.28.0.insert.shift723, %.sroa.0.sroa.28.sroa.28.0.insert.ext662
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc655 = trunc i64 %4 to i16
  %.sroa.0.sroa.28.sroa.28.0.extract.shift726759 = lshr i64 %4, 8
  %.sroa.0.sroa.28.sroa.28.0.extract.trunc727 = trunc i64 %.sroa.0.sroa.28.sroa.28.0.extract.shift726759 to i16
  br label %27

17:                                               ; preds = %7
  br i1 %.not749, label %19, label %18

18:                                               ; preds = %17
  %.sroa.36.sroa.0.sroa.0.0.extract.trunc426 = trunc i64 %4 to i16
  br label %27

19:                                               ; preds = %17
  %.sroa.36.sroa.0.sroa.26.0.insert.shift472 = shl nuw i16 %.sroa.36.sroa.28.sroa.0.0.insert.ext, 8
  %.sroa.36.sroa.0.sroa.0.0.insert.insert408 = or disjoint i16 %.sroa.36.sroa.0.sroa.26.0.insert.shift472, %.sroa.36.sroa.0.sroa.0.0.insert.ext380
  %.sroa.36.sroa.28.sroa.0.0.insert.insert284 = or disjoint i16 %.sroa.36.sroa.28.sroa.28.0.insert.shift, %.sroa.36.sroa.0.sroa.26.0.insert.ext435
  %.sroa.36.sroa.28.0.insert.ext228 = zext i16 %.sroa.36.sroa.28.sroa.0.0.insert.insert284 to i64
  %.sroa.36.sroa.0.0.insert.ext174 = zext i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert408 to i64
  %20 = shl nuw i64 %.sroa.36.sroa.28.0.insert.ext228, 48
  %21 = shl nuw nsw i64 %.sroa.36.sroa.0.0.insert.ext174, 32
  %.sroa.36.0.insert.shift113 = or disjoint i64 %21, %20
  %.sroa.0.0.insert.insert45 = or disjoint i64 %.sroa.36.0.insert.shift113, %.sroa.0.0.insert.ext
  %22 = shl i64 %.sroa.0.0.insert.insert45, 1
  %.sroa.0.sroa.0.0.extract.trunc534 = trunc i64 %22 to i16
  %.sroa.0.sroa.28.0.extract.shift591750 = lshr i64 %22, 16
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc641 = trunc i64 %.sroa.0.sroa.28.0.extract.shift591750 to i16
  %.sroa.0.sroa.28.sroa.28.0.extract.shift706751 = lshr i64 %22, 24
  %.sroa.0.sroa.28.sroa.28.0.extract.trunc707 = trunc i64 %.sroa.0.sroa.28.sroa.28.0.extract.shift706751 to i16
  %.sroa.36.0.extract.shift121 = lshr i64 %22, 32
  %.sroa.36.sroa.0.sroa.26.0.extract.shift479752 = lshr i64 %22, 40
  %sum.shift753 = lshr i64 %22, 48
  %sum.shift755 = lshr i64 %22, 56
  br label %27

23:                                               ; preds = %2
  %.sroa.36.sroa.28.sroa.28.0.insert.shift350 = shl nuw i16 %.sroa.36.sroa.28.sroa.0.0.insert.ext, 8
  %.sroa.36.sroa.28.sroa.0.0.insert.insert291 = or disjoint i16 %.sroa.36.sroa.28.sroa.28.0.insert.shift350, %.sroa.36.sroa.28.sroa.28.0.extract.trunc
  %.sroa.36.sroa.28.0.insert.ext238 = zext i16 %.sroa.36.sroa.28.sroa.0.0.insert.insert291 to i32
  %.sroa.36.sroa.28.0.insert.shift239 = shl nuw i32 %.sroa.36.sroa.28.0.insert.ext238, 16
  %.sroa.36.sroa.0.0.insert.insert183 = or disjoint i32 %.sroa.36.sroa.28.0.insert.shift239, %.sroa.36.sroa.0.0.insert.ext
  %.sroa.36.0.insert.ext124 = zext i32 %.sroa.36.sroa.0.0.insert.insert183 to i64
  %24 = shl i64 %.sroa.36.0.insert.ext124, 33
  %25 = shl nuw nsw i64 %.sroa.0.0.insert.ext, 1
  %26 = or disjoint i64 %24, %25
  %.sroa.0.sroa.0.0.extract.trunc541 = trunc i64 %25 to i16
  %.sroa.0.sroa.28.0.extract.shift601741 = lshr i32 %.sroa.0.sroa.0.0.insert.insert504, 15
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc648 = trunc i32 %.sroa.0.sroa.28.0.extract.shift601741 to i16
  %.sroa.0.sroa.28.sroa.28.0.extract.shift716742 = lshr i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert611, 7
  %.sroa.36.0.extract.shift133 = lshr i64 %26, 32
  %.sroa.36.sroa.0.sroa.26.0.extract.shift489743 = lshr i64 %24, 40
  %sum.shift744 = lshr i64 %24, 48
  %sum.shift746 = lshr i64 %24, 56
  br label %27

27:                                               ; preds = %16, %11, %19, %18, %23
  %.sroa.36.sroa.28.sroa.0.0.in = phi i64 [ %.sroa.36.sroa.28.0.extract.shift222772, %11 ], [ %.sroa.36.0.extract.shift, %16 ], [ %.sroa.0.sroa.28.0.extract.shift545735, %18 ], [ %sum.shift753, %19 ], [ %sum.shift744, %23 ]
  %.sroa.36.sroa.28.sroa.28.0.in = phi i64 [ %.sroa.36.sroa.28.sroa.28.0.extract.shift333773, %11 ], [ %.sroa.36.sroa.0.sroa.26.0.extract.shift433737, %16 ], [ %.sroa.0.sroa.28.sroa.28.0.extract.shift660736, %18 ], [ %sum.shift755, %19 ], [ %sum.shift746, %23 ]
  %.sroa.36.sroa.0.sroa.0.0.in = phi i64 [ %.sroa.36.0.extract.shift104, %11 ], [ %sum.shift, %16 ], [ %sum.shift, %18 ], [ %.sroa.36.0.extract.shift121, %19 ], [ %.sroa.36.0.extract.shift133, %23 ]
  %.sroa.36.sroa.0.sroa.26.0.in = phi i64 [ %.sroa.36.sroa.0.sroa.26.0.extract.shift465771, %11 ], [ %sum.shift739, %16 ], [ %sum.shift739, %18 ], [ %.sroa.36.sroa.0.sroa.26.0.extract.shift479752, %19 ], [ %.sroa.36.sroa.0.sroa.26.0.extract.shift489743, %23 ]
  %.sroa.0.sroa.0.0 = phi i16 [ %.sroa.0.sroa.0.0.extract.trunc524, %11 ], [ %.sroa.0.sroa.28.sroa.0.0.insert.insert654, %16 ], [ %.sroa.36.sroa.0.sroa.0.0.extract.trunc426, %18 ], [ %.sroa.0.sroa.0.0.extract.trunc534, %19 ], [ %.sroa.0.sroa.0.0.extract.trunc541, %23 ]
  %.sroa.0.sroa.28.sroa.0.0 = phi i16 [ %.sroa.0.sroa.28.sroa.0.0.extract.trunc631, %11 ], [ %.sroa.0.sroa.28.sroa.0.0.extract.trunc655, %16 ], [ %.sroa.36.sroa.0.sroa.0.0.extract.trunc379, %18 ], [ %.sroa.0.sroa.28.sroa.0.0.extract.trunc641, %19 ], [ %.sroa.0.sroa.28.sroa.0.0.extract.trunc648, %23 ]
  %.sroa.0.sroa.28.sroa.28.0 = phi i16 [ %.sroa.0.sroa.28.sroa.28.0.extract.shift692770, %11 ], [ %.sroa.0.sroa.28.sroa.28.0.extract.trunc727, %16 ], [ %.sroa.36.sroa.0.sroa.26.0.extract.trunc434, %18 ], [ %.sroa.0.sroa.28.sroa.28.0.extract.trunc707, %19 ], [ %.sroa.0.sroa.28.sroa.28.0.extract.shift716742, %23 ]
  %.sroa.0.sroa.28.sroa.28.0.insert.ext718 = shl i16 %.sroa.0.sroa.28.sroa.28.0, 8
  %.sroa.0.sroa.28.sroa.0.0.insert.ext649 = and i16 %.sroa.0.sroa.28.sroa.0.0, 255
  %.sroa.0.sroa.28.sroa.0.0.insert.insert651 = or disjoint i16 %.sroa.0.sroa.28.sroa.28.0.insert.ext718, %.sroa.0.sroa.28.sroa.0.0.insert.ext649
  %.sroa.0.sroa.28.0.insert.ext603 = zext i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert651 to i64
  %.sroa.0.sroa.28.0.insert.shift604 = shl nuw nsw i64 %.sroa.0.sroa.28.0.insert.ext603, 16
  %.sroa.0.sroa.0.0.insert.ext542 = zext i16 %.sroa.0.sroa.0.0 to i64
  %.sroa.36.sroa.0.sroa.26.0.insert.ext491 = shl nuw nsw i64 %.sroa.36.sroa.0.sroa.26.0.in, 8
  %.sroa.36.sroa.0.sroa.0.0.insert.ext420 = and i64 %.sroa.36.sroa.0.sroa.0.0.in, 255
  %.sroa.36.sroa.0.sroa.26.0.insert.ext491.masked = and i64 %.sroa.36.sroa.0.sroa.26.0.insert.ext491, 65280
  %.sroa.36.sroa.0.0.insert.ext188 = or disjoint i64 %.sroa.36.sroa.0.sroa.26.0.insert.ext491.masked, %.sroa.36.sroa.0.sroa.0.0.insert.ext420
  %28 = shl i64 %.sroa.36.sroa.28.sroa.28.0.in, 56
  %.sroa.36.sroa.28.sroa.0.0.insert.ext296 = shl i64 %.sroa.36.sroa.28.sroa.0.0.in, 48
  %29 = and i64 %.sroa.36.sroa.28.sroa.0.0.insert.ext296, 71776119061217280
  %30 = shl nuw nsw i64 %.sroa.36.sroa.0.0.insert.ext188, 32
  %.sroa.0.sroa.0.0.insert.insert544 = or disjoint i64 %29, %28
  %31 = or disjoint i64 %.sroa.0.sroa.0.0.insert.insert544, 1044838405
  %.sroa.36.0.insert.shift137 = add nuw nsw i64 %31, %.sroa.0.sroa.0.0.insert.ext542
  %.sroa.0.0.insert.insert63 = or disjoint i64 %.sroa.36.0.insert.shift137, %30
  %32 = add i64 %.sroa.0.0.insert.insert63, %.sroa.0.sroa.28.0.insert.shift604
  store i64 %32, ptr %1, align 8, !tbaa !5
  ret void
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass