; 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 %159

140:                                              ; preds = %2
  %141 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %142 = load i64, ptr %141, align 8, !tbaa !9
  %143 = lshr i64 %142, 2
  %144 = and i64 %143, 1
  %145 = icmp ne i64 %144, 0
  br i1 %145, label %158, label %146

146:                                              ; preds = %140
  %147 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %148 = getelementptr inbounds i8, ptr %147, i64 6
  %149 = load i8, ptr %148, align 1, !tbaa !11
  store i8 %149, 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 1
  %152 = load i8, ptr %151, align 1, !tbaa !11
  %153 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %154 = getelementptr inbounds i8, ptr %153, i64 6
  store i8 %152, ptr %154, align 1, !tbaa !11
  %155 = load i8, ptr %11, align 1, !tbaa !11
  %156 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %157 = getelementptr inbounds i8, ptr %156, i64 1
  store i8 %155, ptr %157, align 1, !tbaa !11
  br label %158

158:                                              ; preds = %146, %140
  br label %159

159:                                              ; preds = %158, %139
  %160 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %161 = load i64, ptr %160, align 8, !tbaa !9
  %162 = mul i64 %161, 649632930
  %163 = sub i64 %162, 231145337200877096
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds i64, ptr %164, i64 0
  store i64 %163, ptr %165, 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.0.sroa.26.0.extract.shift742799 = lshr i64 %4, 8
  %.sroa.0.sroa.28.0.extract.shift499800 = lshr i64 %4, 16
  %.sroa.0.sroa.28.sroa.26.0.extract.shift604801 = lshr i64 %4, 24
  %.sroa.36.0.extract.shift = lshr i64 %4, 32
  %.sroa.36.sroa.0.sroa.24.0.extract.shift396802 = lshr i64 %4, 40
  %sum.shift = lshr i64 %4, 48
  %sum.shift804 = lshr i64 %4, 56
  %5 = trunc i64 %.sroa.0.sroa.0.sroa.26.0.extract.shift742799 to i16
  %.sroa.0.sroa.0.sroa.26.0.insert.ext744 = shl i16 %5, 8
  %6 = trunc i64 %4 to i16
  %.sroa.0.sroa.0.sroa.0.0.insert.ext685 = and i16 %6, 255
  %.sroa.0.sroa.0.sroa.0.0.insert.insert687 = or disjoint i16 %.sroa.0.sroa.0.sroa.26.0.insert.ext744, %.sroa.0.sroa.0.sroa.0.0.insert.ext685
  %7 = trunc i64 %.sroa.0.sroa.28.sroa.26.0.extract.shift604801 to i16
  %.sroa.0.sroa.28.sroa.26.0.insert.ext606 = shl i16 %7, 8
  %8 = trunc i64 %.sroa.0.sroa.28.0.extract.shift499800 to i16
  %.sroa.0.sroa.28.sroa.0.0.insert.ext557 = and i16 %8, 255
  %.sroa.0.sroa.28.sroa.0.0.insert.insert559 = or disjoint i16 %.sroa.0.sroa.28.sroa.26.0.insert.ext606, %.sroa.0.sroa.28.sroa.0.0.insert.ext557
  %.sroa.0.sroa.28.0.insert.ext501 = zext i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert559 to i64
  %.sroa.0.sroa.28.0.insert.shift502 = shl nuw nsw i64 %.sroa.0.sroa.28.0.insert.ext501, 16
  %.sroa.0.sroa.0.0.insert.ext459 = zext i16 %.sroa.0.sroa.0.sroa.0.0.insert.insert687 to i64
  %.sroa.0.sroa.0.0.insert.insert461 = or disjoint i64 %.sroa.0.sroa.28.0.insert.shift502, %.sroa.0.sroa.0.0.insert.ext459
  %9 = trunc i64 %.sroa.36.sroa.0.sroa.24.0.extract.shift396802 to i16
  %.sroa.36.sroa.0.sroa.24.0.insert.ext398 = and i16 %9, 255
  %.sroa.36.sroa.0.sroa.24.0.insert.shift399 = shl nuw i16 %.sroa.36.sroa.0.sroa.24.0.insert.ext398, 8
  %10 = trunc i64 %.sroa.36.0.extract.shift to i16
  %.sroa.36.sroa.0.sroa.0.0.insert.ext347 = and i16 %10, 255
  %.sroa.36.sroa.0.sroa.0.0.insert.insert349 = or disjoint i16 %.sroa.36.sroa.0.sroa.24.0.insert.shift399, %.sroa.36.sroa.0.sroa.0.0.insert.ext347
  %11 = trunc nuw nsw i64 %sum.shift804 to i16
  %.sroa.36.sroa.26.sroa.26.0.insert.shift = shl nuw i16 %11, 8
  %12 = trunc nuw i64 %sum.shift to i16
  %.sroa.36.sroa.26.sroa.0.0.insert.ext = and i16 %12, 255
  %.sroa.36.sroa.26.sroa.0.0.insert.insert = or disjoint i16 %.sroa.36.sroa.26.sroa.26.0.insert.shift, %.sroa.36.sroa.26.sroa.0.0.insert.ext
  %.sroa.36.sroa.26.0.insert.ext = zext i16 %.sroa.36.sroa.26.sroa.0.0.insert.insert to i64
  %.sroa.36.sroa.0.0.insert.ext = zext i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert349 to i64
  %13 = and i64 %.sroa.0.sroa.0.0.insert.ext459, 16
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %32, label %14

14:                                               ; preds = %2
  %15 = and i64 %.sroa.0.sroa.0.0.insert.ext459, 8
  %.not807 = icmp eq i64 %15, 0
  %16 = and i64 %.sroa.0.sroa.0.0.insert.ext459, 4
  %.not808 = icmp eq i64 %16, 0
  br i1 %.not807, label %27, label %17

17:                                               ; preds = %14
  br i1 %.not808, label %34, label %18

18:                                               ; preds = %17
  %19 = shl i64 %.sroa.36.sroa.26.0.insert.ext, 49
  %20 = shl nuw nsw i64 %.sroa.36.sroa.0.0.insert.ext, 33
  %21 = shl nuw nsw i64 %.sroa.0.sroa.0.0.insert.insert461, 1
  %22 = or disjoint i64 %21, %20
  %.sroa.0.sroa.0.sroa.0.0.extract.trunc700 = trunc i64 %21 to i16
  %.sroa.0.sroa.28.0.extract.shift521819 = lshr i64 %.sroa.0.sroa.0.0.insert.insert461, 15
  %.sroa.0.sroa.28.sroa.0.0.extract.trunc572 = trunc i64 %.sroa.0.sroa.28.0.extract.shift521819 to i16
  %.sroa.36.0.extract.shift88 = lshr i64 %22, 32
  %.sroa.36.sroa.0.sroa.0.0.extract.trunc362 = trunc i64 %.sroa.36.0.extract.shift88 to i16
  %sum.shift822 = or disjoint i64 %20, %19
  %23 = shl i16 %.sroa.0.sroa.0.sroa.0.0.insert.insert687, 1
  %.sroa.0.sroa.0.sroa.26.0.insert.ext766 = and i16 %23, -256
  %.sroa.0.sroa.0.sroa.0.0.insert.ext701 = and i16 %.sroa.0.sroa.0.sroa.0.0.extract.trunc700, 128
  %.sroa.0.sroa.0.sroa.0.0.insert.insert703 = or disjoint i16 %.sroa.0.sroa.0.sroa.0.0.insert.ext701, %.sroa.0.sroa.0.sroa.26.0.insert.ext766
  %24 = shl i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert559, 1
  %.sroa.0.sroa.28.sroa.26.0.insert.ext628 = and i16 %24, -256
  %.sroa.0.sroa.28.sroa.0.0.insert.ext573 = and i16 %.sroa.0.sroa.28.sroa.0.0.extract.trunc572, 255
  %.sroa.0.sroa.28.sroa.0.0.insert.insert575 = or disjoint i16 %.sroa.0.sroa.28.sroa.0.0.insert.ext573, %.sroa.0.sroa.28.sroa.26.0.insert.ext628
  %.sroa.0.sroa.28.0.insert.ext523 = zext i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert575 to i64
  %.sroa.0.sroa.28.0.insert.shift524 = shl nuw nsw i64 %.sroa.0.sroa.28.0.insert.ext523, 16
  %.sroa.0.sroa.0.0.insert.ext475 = zext i16 %23 to i64
  %.sroa.0.sroa.0.0.insert.insert477 = or disjoint i64 %.sroa.0.sroa.28.0.insert.shift524, %.sroa.0.sroa.0.0.insert.ext475
  %25 = shl i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert349, 1
  %.sroa.36.sroa.0.sroa.24.0.insert.ext420 = and i16 %25, -256
  %.sroa.36.sroa.0.sroa.0.0.insert.ext363 = and i16 %.sroa.36.sroa.0.sroa.0.0.extract.trunc362, 255
  %.sroa.36.sroa.0.sroa.0.0.insert.insert365 = or disjoint i16 %.sroa.36.sroa.0.sroa.0.0.insert.ext363, %.sroa.36.sroa.0.sroa.24.0.insert.ext420
  %.sroa.36.sroa.26.sroa.26.0.insert.shift299 = and i64 %19, 9151314442816847872
  %.sroa.36.sroa.26.sroa.0.0.insert.ext249 = and i64 %sum.shift822, 71776119061217280
  %.sroa.36.sroa.26.sroa.0.0.insert.insert251 = or disjoint i64 %.sroa.36.sroa.26.sroa.0.0.insert.ext249, %.sroa.36.sroa.26.sroa.26.0.insert.shift299
  %.sroa.36.sroa.0.0.insert.ext152 = zext i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert365 to i64
  %26 = shl nuw nsw i64 %.sroa.36.sroa.0.0.insert.ext152, 32
  %.sroa.36.0.insert.shift92 = or disjoint i64 %26, %.sroa.36.sroa.26.sroa.0.0.insert.insert251
  %.sroa.0.0.insert.insert32 = or disjoint i64 %.sroa.36.0.insert.shift92, %.sroa.0.sroa.28.0.insert.shift524
  %.sroa.0.sroa.0.sroa.0.0.extract.trunc707 = shl nuw nsw i64 %.sroa.0.sroa.0.0.insert.insert461, 2
  %.sroa.0.sroa.0.sroa.26.0.extract.shift774826 = lshr exact i16 %.sroa.0.sroa.0.sroa.0.0.insert.insert703, 7
  %.sroa.0.sroa.0.sroa.26.0.extract.trunc775 = zext nneg i16 %.sroa.0.sroa.0.sroa.26.0.extract.shift774826 to i64
  %.sroa.0.sroa.28.0.extract.shift531827 = lshr i64 %.sroa.0.sroa.0.0.insert.insert477, 15
  %.sroa.0.sroa.28.sroa.26.0.extract.shift636828 = lshr i16 %.sroa.0.sroa.28.sroa.0.0.insert.insert575, 7
  %.sroa.0.sroa.28.sroa.26.0.extract.trunc637 = zext nneg i16 %.sroa.0.sroa.28.sroa.26.0.extract.shift636828 to i64
  %.sroa.36.0.extract.shift100 = lshr i64 %.sroa.0.0.insert.insert32, 31
  %.sroa.36.sroa.0.sroa.24.0.extract.shift428829 = lshr i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert365, 7
  %.sroa.36.sroa.0.sroa.24.0.extract.trunc429 = zext nneg i16 %.sroa.36.sroa.0.sroa.24.0.extract.shift428829 to i64
  %.sroa.36.sroa.26.0.extract.shift206830 = lshr i64 %.sroa.36.0.insert.shift92, 47
  %.sroa.36.sroa.26.sroa.26.0.extract.shift306831 = lshr i64 %.sroa.36.sroa.26.sroa.0.0.insert.insert251, 55
  br label %34

27:                                               ; preds = %14
  br i1 %.not808, label %28, label %34

28:                                               ; preds = %27
  %.sroa.36.sroa.0.sroa.24.0.insert.shift435 = shl nuw i16 %.sroa.36.sroa.26.sroa.0.0.insert.ext, 8
  %.sroa.36.sroa.0.sroa.0.0.insert.insert375 = or disjoint i16 %.sroa.36.sroa.0.sroa.24.0.insert.shift435, %.sroa.36.sroa.0.sroa.0.0.insert.ext347
  %.sroa.36.sroa.26.sroa.0.0.insert.insert261 = or disjoint i16 %.sroa.36.sroa.26.sroa.26.0.insert.shift, %.sroa.36.sroa.0.sroa.24.0.insert.ext398
  %.sroa.36.sroa.26.0.insert.ext212 = zext i16 %.sroa.36.sroa.26.sroa.0.0.insert.insert261 to i64
  %.sroa.36.sroa.0.0.insert.ext162 = zext i16 %.sroa.36.sroa.0.sroa.0.0.insert.insert375 to i64
  %29 = shl nuw i64 %.sroa.36.sroa.26.0.insert.ext212, 48
  %30 = shl nuw nsw i64 %.sroa.36.sroa.0.0.insert.ext162, 32
  %.sroa.36.0.insert.shift109 = or disjoint i64 %30, %29
  %.sroa.0.0.insert.insert45 = or disjoint i64 %.sroa.36.0.insert.shift109, %.sroa.0.sroa.0.0.insert.insert461
  %31 = shl i64 %.sroa.0.0.insert.insert45, 1
  %.sroa.0.sroa.0.sroa.26.0.extract.shift788809 = lshr i64 %31, 8
  %.sroa.0.sroa.28.0.extract.shift545810 = lshr i64 %31, 16
  %.sroa.0.sroa.28.sroa.26.0.extract.shift650811 = lshr i64 %31, 24
  %.sroa.36.0.extract.shift117 = lshr i64 %31, 32
  %.sroa.36.sroa.0.sroa.24.0.extract.shift442812 = lshr i64 %31, 40
  %sum.shift813 = lshr i64 %31, 48
  %sum.shift815 = lshr i64 %31, 56
  br label %34

32:                                               ; preds = %2
  %33 = and i64 %.sroa.0.sroa.0.0.insert.ext459, 4
  %.not806 = icmp eq i64 %33, 0
  %spec.select = select i1 %.not806, i64 %.sroa.0.sroa.0.sroa.26.0.extract.shift742799, i64 %sum.shift
  %spec.select832 = select i1 %.not806, i64 %sum.shift, i64 %.sroa.0.sroa.0.sroa.26.0.extract.shift742799
  br label %34

34:                                               ; preds = %32, %27, %17, %18, %28
  %.sroa.36.sroa.26.sroa.26.0.in = phi i64 [ %.sroa.36.sroa.26.sroa.26.0.extract.shift306831, %18 ], [ %sum.shift815, %28 ], [ %.sroa.36.sroa.0.sroa.24.0.extract.shift396802, %17 ], [ %.sroa.0.sroa.28.sroa.26.0.extract.shift604801, %27 ], [ %sum.shift804, %32 ]
  %.sroa.36.sroa.26.sroa.0.0 = phi i64 [ %.sroa.36.sroa.26.0.extract.shift206830, %18 ], [ %sum.shift813, %28 ], [ %.sroa.36.0.extract.shift, %17 ], [ %.sroa.0.sroa.28.0.extract.shift499800, %27 ], [ %spec.select, %32 ]
  %.sroa.36.sroa.0.sroa.0.0.in = phi i64 [ %.sroa.36.0.extract.shift100, %18 ], [ %.sroa.36.0.extract.shift117, %28 ], [ %sum.shift, %17 ], [ %sum.shift, %27 ], [ %.sroa.36.0.extract.shift, %32 ]
  %.sroa.36.sroa.0.sroa.24.0 = phi i64 [ %.sroa.36.sroa.0.sroa.24.0.extract.trunc429, %18 ], [ %.sroa.36.sroa.0.sroa.24.0.extract.shift442812, %28 ], [ %sum.shift804, %17 ], [ %sum.shift804, %27 ], [ %.sroa.36.sroa.0.sroa.24.0.extract.shift396802, %32 ]
  %.sroa.0.sroa.28.sroa.0.0.in = phi i64 [ %.sroa.0.sroa.28.0.extract.shift531827, %18 ], [ %.sroa.0.sroa.28.0.extract.shift545810, %28 ], [ %4, %17 ], [ %.sroa.36.0.extract.shift, %27 ], [ %.sroa.0.sroa.28.0.extract.shift499800, %32 ]
  %.sroa.0.sroa.28.sroa.26.0 = phi i64 [ %.sroa.0.sroa.28.sroa.26.0.extract.trunc637, %18 ], [ %.sroa.0.sroa.28.sroa.26.0.extract.shift650811, %28 ], [ %.sroa.0.sroa.0.sroa.26.0.extract.shift742799, %17 ], [ %.sroa.36.sroa.0.sroa.24.0.extract.shift396802, %27 ], [ %.sroa.0.sroa.28.sroa.26.0.extract.shift604801, %32 ]
  %.sroa.0.sroa.0.sroa.0.0 = phi i64 [ %.sroa.0.sroa.0.sroa.0.0.extract.trunc707, %18 ], [ %31, %28 ], [ %.sroa.0.sroa.28.sroa.26.0.extract.shift604801, %17 ], [ %4, %27 ], [ %4, %32 ]
  %.sroa.0.sroa.0.sroa.26.0 = phi i64 [ %.sroa.0.sroa.0.sroa.26.0.extract.trunc775, %18 ], [ %.sroa.0.sroa.0.sroa.26.0.extract.shift788809, %28 ], [ %.sroa.0.sroa.28.0.extract.shift499800, %17 ], [ %.sroa.0.sroa.0.sroa.26.0.extract.shift742799, %27 ], [ %spec.select832, %32 ]
  %.sroa.0.sroa.0.sroa.26.0.insert.ext794 = shl nuw i64 %.sroa.0.sroa.0.sroa.26.0, 8
  %.sroa.0.sroa.0.sroa.26.0.insert.shift795 = and i64 %.sroa.0.sroa.0.sroa.26.0.insert.ext794, 65280
  %.sroa.0.sroa.0.sroa.0.0.insert.ext721 = and i64 %.sroa.0.sroa.0.sroa.0.0, 255
  %.sroa.0.sroa.28.sroa.26.0.insert.ext656 = shl i64 %.sroa.0.sroa.28.sroa.26.0, 24
  %35 = and i64 %.sroa.0.sroa.28.sroa.26.0.insert.ext656, 4278190080
  %.sroa.0.sroa.28.sroa.0.0.insert.ext593 = shl i64 %.sroa.0.sroa.28.sroa.0.0.in, 16
  %36 = and i64 %.sroa.0.sroa.28.sroa.0.0.insert.ext593, 16711680
  %.sroa.36.sroa.0.sroa.24.0.insert.ext448 = shl nuw nsw i64 %.sroa.36.sroa.0.sroa.24.0, 8
  %.sroa.36.sroa.0.sroa.24.0.insert.shift449 = and i64 %.sroa.36.sroa.0.sroa.24.0.insert.ext448, 65280
  %.sroa.36.sroa.0.sroa.0.0.insert.ext383 = and i64 %.sroa.36.sroa.0.sroa.0.0.in, 255
  %.sroa.36.sroa.0.sroa.0.0.insert.insert385 = or disjoint i64 %.sroa.36.sroa.0.sroa.24.0.insert.shift449, %.sroa.36.sroa.0.sroa.0.0.insert.ext383
  %37 = shl i64 %.sroa.36.sroa.26.sroa.26.0.in, 56
  %.sroa.36.sroa.26.sroa.0.0.insert.ext269 = shl i64 %.sroa.36.sroa.26.sroa.0.0, 48
  %38 = and i64 %.sroa.36.sroa.26.sroa.0.0.insert.ext269, 71776119061217280
  %39 = shl nuw nsw i64 %.sroa.36.sroa.0.sroa.0.0.insert.insert385, 32
  %.sroa.0.sroa.0.sroa.0.0.insert.insert723 = or disjoint i64 %38, %37
  %.sroa.0.sroa.28.0.insert.shift552 = or disjoint i64 %.sroa.0.sroa.0.sroa.0.0.insert.insert723, %36
  %.sroa.0.sroa.0.0.insert.insert497 = or disjoint i64 %.sroa.0.sroa.28.0.insert.shift552, %39
  %40 = or disjoint i64 %.sroa.0.sroa.0.0.insert.insert497, %35
  %.sroa.36.0.insert.shift126 = or disjoint i64 %40, %.sroa.0.sroa.0.sroa.0.0.insert.ext721
  %.sroa.0.0.insert.insert58 = or disjoint i64 %.sroa.36.0.insert.shift126, %.sroa.0.sroa.0.sroa.26.0.insert.shift795
  %41 = mul i64 %.sroa.0.0.insert.insert58, 649632930
  %42 = add i64 %41, -231145337200877096
  store i64 %42, 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