; 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 i16, align 2
  %7 = alloca i16, align 2
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = 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 2, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #2
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds i64, ptr %14, i64 0
  %16 = load i64, ptr %15, align 8, !tbaa !9
  %17 = add i64 %16, -10089659
  %18 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  store i64 %17, ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %20 = load i64, ptr %19, align 8, !tbaa !9
  %21 = lshr i64 %20, 4
  %22 = and i64 %21, 1
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %24, label %136

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

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

36:                                               ; preds = %30
  %37 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %38 = getelementptr inbounds i16, ptr %37, i64 0
  %39 = load i16, ptr %38, align 2, !tbaa !11
  store i16 %39, ptr %6, align 2, !tbaa !11
  %40 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %41 = getelementptr inbounds i16, ptr %40, i64 1
  %42 = load i16, ptr %41, align 2, !tbaa !11
  %43 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %44 = getelementptr inbounds i16, ptr %43, i64 0
  store i16 %42, ptr %44, align 2, !tbaa !11
  %45 = load i16, ptr %6, align 2, !tbaa !11
  %46 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %47 = getelementptr inbounds i16, ptr %46, i64 1
  store i16 %45, ptr %47, align 2, !tbaa !11
  %48 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %49 = getelementptr inbounds i16, ptr %48, i64 1
  %50 = load i16, ptr %49, align 2, !tbaa !11
  store i16 %50, ptr %7, align 2, !tbaa !11
  %51 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %52 = getelementptr inbounds i16, ptr %51, i64 3
  %53 = load i16, ptr %52, align 2, !tbaa !11
  %54 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %55 = getelementptr inbounds i16, ptr %54, i64 1
  store i16 %53, ptr %55, align 2, !tbaa !11
  %56 = load i16, ptr %7, align 2, !tbaa !11
  %57 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %58 = getelementptr inbounds i16, ptr %57, i64 3
  store i16 %56, ptr %58, align 2, !tbaa !11
  %59 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %60 = getelementptr inbounds i16, ptr %59, i64 0
  %61 = load i16, ptr %60, align 2, !tbaa !11
  store i16 %61, ptr %7, align 2, !tbaa !11
  %62 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %63 = getelementptr inbounds i16, ptr %62, i64 2
  %64 = load i16, ptr %63, align 2, !tbaa !11
  %65 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %66 = getelementptr inbounds i16, ptr %65, i64 0
  store i16 %64, ptr %66, align 2, !tbaa !11
  %67 = load i16, ptr %7, align 2, !tbaa !11
  %68 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %69 = getelementptr inbounds i16, ptr %68, i64 2
  store i16 %67, ptr %69, align 2, !tbaa !11
  br label %87

70:                                               ; preds = %30
  %71 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %72 = getelementptr inbounds i16, ptr %71, i64 3
  %73 = load i16, ptr %72, align 2, !tbaa !11
  store i16 %73, ptr %8, align 2, !tbaa !11
  %74 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %75 = getelementptr inbounds i16, ptr %74, i64 0
  %76 = load i16, ptr %75, align 2, !tbaa !11
  %77 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %78 = getelementptr inbounds i16, ptr %77, i64 3
  store i16 %76, ptr %78, align 2, !tbaa !11
  %79 = load i16, ptr %8, align 2, !tbaa !11
  %80 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %81 = getelementptr inbounds i16, ptr %80, i64 0
  store i16 %79, ptr %81, align 2, !tbaa !11
  %82 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %83 = load i64, ptr %82, align 8, !tbaa !9
  %84 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %85 = load i64, ptr %84, align 8, !tbaa !9
  %86 = add i64 %85, %83
  store i64 %86, ptr %84, align 8, !tbaa !9
  br label %87

87:                                               ; preds = %70, %36
  br label %135

88:                                               ; preds = %24
  %89 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %90 = load i64, ptr %89, align 8, !tbaa !9
  %91 = lshr i64 %90, 1
  %92 = and i64 %91, 1
  %93 = icmp ne i64 %92, 0
  br i1 %93, label %94, label %122

94:                                               ; preds = %88
  %95 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %96 = getelementptr inbounds i16, ptr %95, i64 0
  %97 = load i16, ptr %96, align 2, !tbaa !11
  store i16 %97, ptr %9, align 2, !tbaa !11
  %98 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %99 = getelementptr inbounds i16, ptr %98, i64 1
  %100 = load i16, ptr %99, align 2, !tbaa !11
  %101 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %102 = getelementptr inbounds i16, ptr %101, i64 0
  store i16 %100, ptr %102, align 2, !tbaa !11
  %103 = load i16, ptr %9, align 2, !tbaa !11
  %104 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %105 = getelementptr inbounds i16, ptr %104, i64 1
  store i16 %103, ptr %105, align 2, !tbaa !11
  %106 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %107 = getelementptr inbounds i16, ptr %106, i64 3
  %108 = load i16, ptr %107, align 2, !tbaa !11
  store i16 %108, ptr %9, align 2, !tbaa !11
  %109 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %110 = getelementptr inbounds i16, ptr %109, i64 0
  %111 = load i16, ptr %110, align 2, !tbaa !11
  %112 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %113 = getelementptr inbounds i16, ptr %112, i64 3
  store i16 %111, ptr %113, align 2, !tbaa !11
  %114 = load i16, ptr %9, align 2, !tbaa !11
  %115 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %116 = getelementptr inbounds i16, ptr %115, i64 0
  store i16 %114, ptr %116, align 2, !tbaa !11
  %117 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %118 = load i64, ptr %117, align 8, !tbaa !9
  %119 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %120 = load i64, ptr %119, align 8, !tbaa !9
  %121 = add i64 %120, %118
  store i64 %121, ptr %119, align 8, !tbaa !9
  br label %134

122:                                              ; preds = %88
  %123 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %124 = getelementptr inbounds i32, ptr %123, i64 0
  %125 = load i32, ptr %124, align 4, !tbaa !13
  store i32 %125, ptr %10, align 4, !tbaa !13
  %126 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %127 = getelementptr inbounds i32, ptr %126, i64 1
  %128 = load i32, ptr %127, align 4, !tbaa !13
  %129 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %130 = getelementptr inbounds i32, ptr %129, i64 0
  store i32 %128, ptr %130, align 4, !tbaa !13
  %131 = load i32, ptr %10, align 4, !tbaa !13
  %132 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %133 = getelementptr inbounds i32, ptr %132, i64 1
  store i32 %131, ptr %133, align 4, !tbaa !13
  br label %134

134:                                              ; preds = %122, %94
  br label %135

135:                                              ; preds = %134, %87
  br label %183

136:                                              ; preds = %2
  %137 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %138 = load i64, ptr %137, align 8, !tbaa !9
  %139 = lshr i64 %138, 4
  %140 = and i64 %139, 1
  %141 = icmp ne i64 %140, 0
  br i1 %141, label %142, label %159

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

159:                                              ; preds = %136
  %160 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %161 = getelementptr inbounds i8, ptr %160, i64 4
  %162 = load i8, ptr %161, align 1, !tbaa !15
  store i8 %162, ptr %12, align 1, !tbaa !15
  %163 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %164 = getelementptr inbounds i8, ptr %163, i64 5
  %165 = load i8, ptr %164, align 1, !tbaa !15
  %166 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %167 = getelementptr inbounds i8, ptr %166, i64 4
  store i8 %165, ptr %167, align 1, !tbaa !15
  %168 = load i8, ptr %12, align 1, !tbaa !15
  %169 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %170 = getelementptr inbounds i8, ptr %169, i64 5
  store i8 %168, ptr %170, align 1, !tbaa !15
  %171 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %172 = getelementptr inbounds i8, ptr %171, i64 4
  %173 = load i8, ptr %172, align 1, !tbaa !15
  store i8 %173, ptr %13, align 1, !tbaa !15
  %174 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %175 = getelementptr inbounds i8, ptr %174, i64 3
  %176 = load i8, ptr %175, align 1, !tbaa !15
  %177 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %178 = getelementptr inbounds i8, ptr %177, i64 4
  store i8 %176, ptr %178, align 1, !tbaa !15
  %179 = load i8, ptr %13, align 1, !tbaa !15
  %180 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %181 = getelementptr inbounds i8, ptr %180, i64 3
  store i8 %179, ptr %181, align 1, !tbaa !15
  br label %182

182:                                              ; preds = %159, %142
  br label %183

183:                                              ; preds = %182, %135
  %184 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %185 = load i64, ptr %184, align 8, !tbaa !9
  %186 = add i64 %185, 526763427
  %187 = sub i64 %186, 655319563553431640
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = getelementptr inbounds i64, ptr %188, i64 0
  store i64 %187, ptr %189, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 2, 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 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!7, !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, -10089659
  %.sroa.0.sroa.0.0.extract.trunc477 = trunc i64 %4 to i16
  %.sroa.0.sroa.30.0.extract.shift517703 = lshr i64 %4, 16
  %.sroa.0.sroa.30.sroa.0.0.extract.trunc576 = trunc i64 %.sroa.0.sroa.30.0.extract.shift517703 to i16
  %.sroa.0.sroa.30.sroa.26.0.extract.shift628704 = lshr i64 %4, 24
  %.sroa.40.0.extract.shift = lshr i64 %4, 32
  %.sroa.40.sroa.0.sroa.0.0.extract.trunc371 = trunc i64 %.sroa.40.0.extract.shift to i16
  %sum.shift = lshr i64 %4, 48
  %sum.shift707 = lshr i64 %4, 56
  %5 = trunc i64 %.sroa.0.sroa.30.sroa.26.0.extract.shift628704 to i16
  %.sroa.0.sroa.30.sroa.26.0.insert.ext630 = shl i16 %5, 8
  %.sroa.0.sroa.30.sroa.0.0.insert.ext577 = and i16 %.sroa.0.sroa.30.sroa.0.0.extract.trunc576, 255
  %.sroa.0.sroa.30.sroa.0.0.insert.insert579 = or disjoint i16 %.sroa.0.sroa.30.sroa.26.0.insert.ext630, %.sroa.0.sroa.30.sroa.0.0.insert.ext577
  %.sroa.0.sroa.30.0.insert.ext519 = zext i16 %.sroa.0.sroa.30.sroa.0.0.insert.insert579 to i32
  %.sroa.0.sroa.30.0.insert.shift520 = shl nuw i32 %.sroa.0.sroa.30.0.insert.ext519, 16
  %6 = trunc i64 %4 to i32
  %.sroa.0.sroa.0.0.insert.insert480 = or i32 %.sroa.0.sroa.30.0.insert.shift520, %6
  %sh.diff = lshr i64 %4, 32
  %tr.sh.diff = trunc i64 %sh.diff to i16
  %.sroa.40.sroa.0.sroa.26.0.insert.ext417 = and i16 %tr.sh.diff, -256
  %.sroa.40.sroa.0.sroa.0.0.insert.ext372 = and i16 %.sroa.40.sroa.0.sroa.0.0.extract.trunc371, 255
  %.sroa.40.sroa.0.sroa.0.0.insert.insert374 = or disjoint i16 %.sroa.40.sroa.0.sroa.26.0.insert.ext417, %.sroa.40.sroa.0.sroa.0.0.insert.ext372
  %7 = trunc nuw nsw i64 %sum.shift707 to i16
  %.sroa.40.sroa.28.sroa.26.0.insert.shift = shl nuw i16 %7, 8
  %8 = trunc nuw i64 %sum.shift to i16
  %.sroa.40.sroa.28.sroa.0.0.insert.ext = and i16 %8, 255
  %.sroa.40.sroa.28.sroa.0.0.insert.insert = or disjoint i16 %.sroa.40.sroa.28.sroa.26.0.insert.shift, %.sroa.40.sroa.28.sroa.0.0.insert.ext
  %.sroa.40.sroa.28.0.insert.ext = zext i16 %.sroa.40.sroa.28.sroa.0.0.insert.insert to i32
  %.sroa.40.sroa.0.0.insert.ext = zext i16 %.sroa.40.sroa.0.sroa.0.0.insert.insert374 to i64
  %.sroa.0.0.insert.ext = zext i32 %.sroa.0.sroa.0.0.insert.insert480 to i64
  %9 = and i64 %.sroa.0.0.insert.ext, 16
  %.not = icmp eq i64 %9, 0
  br i1 %.not, label %20, label %10

10:                                               ; preds = %2
  %11 = and i64 %.sroa.0.0.insert.ext, 4
  %.not709 = icmp eq i64 %11, 0
  br i1 %.not709, label %13, label %12

12:                                               ; preds = %10
  %.sroa.40.sroa.28.sroa.26.0.extract.shift357719 = lshr i64 %4, 8
  br label %20

13:                                               ; preds = %10
  %.sroa.0.sroa.0.0.insert.insert489 = or disjoint i32 %.sroa.0.sroa.30.0.insert.shift520, %.sroa.40.sroa.28.0.insert.ext
  %.sroa.0.0.insert.ext25 = zext i32 %.sroa.0.sroa.0.0.insert.insert489 to i64
  %14 = shl i64 %4, 49
  %15 = shl nuw nsw i64 %.sroa.40.sroa.0.0.insert.ext, 33
  %16 = or disjoint i64 %15, %14
  %17 = shl nuw nsw i64 %.sroa.0.0.insert.ext25, 1
  %18 = or disjoint i64 %17, %15
  %.sroa.0.sroa.0.0.extract.trunc493 = trunc i64 %17 to i16
  %.sroa.0.sroa.30.0.extract.shift539711 = lshr i32 %.sroa.0.sroa.0.0.insert.insert489, 15
  %.sroa.0.sroa.30.sroa.0.0.extract.trunc592 = trunc i32 %.sroa.0.sroa.30.0.extract.shift539711 to i16
  %.sroa.40.0.extract.shift94 = lshr i64 %18, 32
  %.sroa.40.sroa.0.sroa.26.0.extract.shift437713 = lshr i16 %.sroa.40.sroa.0.sroa.0.0.insert.insert374, 7
  %sum.shift714 = lshr i64 %16, 48
  %sum.shift716 = lshr i64 %14, 56
  %.pre = trunc i64 %.sroa.40.0.extract.shift94 to i16
  %19 = shl i16 %.sroa.0.sroa.30.sroa.0.0.insert.insert579, 1
  %.pre720 = and i16 %19, -256
  %.pre721 = and i16 %.sroa.0.sroa.30.sroa.0.0.extract.trunc592, 255
  br label %20

20:                                               ; preds = %2, %13, %12
  %.sroa.0.sroa.30.sroa.0.0.insert.ext613.pre-phi = phi i16 [ %.sroa.0.sroa.30.sroa.0.0.insert.ext577, %2 ], [ %.pre721, %13 ], [ %.sroa.40.sroa.28.sroa.0.0.insert.ext, %12 ]
  %.sroa.0.sroa.30.sroa.26.0.insert.ext680.pre-phi = phi i16 [ %.sroa.40.sroa.0.sroa.26.0.insert.ext417, %2 ], [ %.pre720, %13 ], [ %.sroa.40.sroa.28.sroa.26.0.insert.shift, %12 ]
  %.sroa.40.sroa.0.sroa.0.0.pre-phi = phi i16 [ %5, %2 ], [ %.pre, %13 ], [ %.sroa.0.sroa.30.sroa.0.0.extract.trunc576, %12 ]
  %.sroa.40.sroa.28.sroa.0.0.in = phi i64 [ %sum.shift, %2 ], [ %sum.shift714, %13 ], [ %4, %12 ]
  %.sroa.40.sroa.28.sroa.26.0.in = phi i64 [ %sum.shift707, %2 ], [ %sum.shift716, %13 ], [ %.sroa.40.sroa.28.sroa.26.0.extract.shift357719, %12 ]
  %.sroa.40.sroa.0.sroa.26.0 = phi i16 [ %.sroa.40.sroa.0.sroa.0.0.extract.trunc371, %2 ], [ %.sroa.40.sroa.0.sroa.26.0.extract.shift437713, %13 ], [ %5, %12 ]
  %.sroa.0.sroa.0.0 = phi i16 [ %.sroa.0.sroa.0.0.extract.trunc477, %2 ], [ %.sroa.0.sroa.0.0.extract.trunc493, %13 ], [ %.sroa.40.sroa.0.sroa.0.0.insert.insert374, %12 ]
  %.sroa.0.sroa.30.sroa.0.0.insert.insert615 = or disjoint i16 %.sroa.0.sroa.30.sroa.26.0.insert.ext680.pre-phi, %.sroa.0.sroa.30.sroa.0.0.insert.ext613.pre-phi
  %.sroa.0.sroa.30.0.insert.ext569 = zext i16 %.sroa.0.sroa.30.sroa.0.0.insert.insert615 to i64
  %.sroa.0.sroa.30.0.insert.shift570 = shl nuw nsw i64 %.sroa.0.sroa.30.0.insert.ext569, 16
  %.sroa.0.sroa.0.0.insert.ext514 = zext i16 %.sroa.0.sroa.0.0 to i64
  %.sroa.40.sroa.0.sroa.26.0.insert.ext467 = shl i16 %.sroa.40.sroa.0.sroa.26.0, 8
  %.sroa.40.sroa.0.sroa.0.0.insert.ext408 = and i16 %.sroa.40.sroa.0.sroa.0.0.pre-phi, 255
  %.sroa.40.sroa.0.sroa.0.0.insert.insert410 = or disjoint i16 %.sroa.40.sroa.0.sroa.26.0.insert.ext467, %.sroa.40.sroa.0.sroa.0.0.insert.ext408
  %.sroa.40.sroa.0.0.insert.ext180 = zext i16 %.sroa.40.sroa.0.sroa.0.0.insert.insert410 to i64
  %21 = shl i64 %.sroa.40.sroa.28.sroa.26.0.in, 56
  %.sroa.40.sroa.28.sroa.0.0.insert.ext278 = shl i64 %.sroa.40.sroa.28.sroa.0.0.in, 48
  %22 = and i64 %.sroa.40.sroa.28.sroa.0.0.insert.ext278, 71776119061217280
  %23 = shl nuw nsw i64 %.sroa.40.sroa.0.0.insert.ext180, 32
  %.sroa.0.sroa.0.0.insert.insert516 = add nuw nsw i64 %22, -655319563026668213
  %24 = add i64 %.sroa.0.sroa.0.0.insert.insert516, %21
  %.sroa.40.0.insert.shift132 = add nuw nsw i64 %24, %.sroa.0.sroa.0.0.insert.ext514
  %.sroa.0.0.insert.insert62 = add i64 %.sroa.40.0.insert.shift132, %23
  %25 = add i64 %.sroa.0.0.insert.insert62, %.sroa.0.sroa.30.0.insert.shift570
  store i64 %25, 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: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass