; 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: nounwind uwtable
define dso_local void @RandomFunc(ptr noundef %0, ptr noundef %1) #0 {
  %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 i16, align 2
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i16, align 2
  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 2, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 2, 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, 1373777115
  %16 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  store i64 %15, ptr %16, align 8, !tbaa !9
  %17 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %18 = load i64, ptr %17, align 8, !tbaa !9
  %19 = and i64 %18, 1
  %20 = icmp ne i64 %19, 0
  br i1 %20, label %21, label %142

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

27:                                               ; preds = %21
  %28 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = lshr i64 %29, 3
  %31 = and i64 %30, 1
  %32 = icmp ne i64 %31, 0
  br i1 %32, label %33, label %52

33:                                               ; preds = %27
  %34 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = lshr i64 %37, 2
  %39 = and i64 %38, 7
  %40 = or i64 %39, 1
  %41 = shl i64 %35, %40
  %42 = and i64 %41, 15
  %43 = shl i64 %42, 2
  %44 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %45 = load i64, ptr %44, align 8, !tbaa !9
  %46 = or i64 %45, %43
  store i64 %46, ptr %44, align 8, !tbaa !9
  %47 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %51 = add i64 %50, %48
  store i64 %51, ptr %49, align 8, !tbaa !9
  br label %86

52:                                               ; preds = %27
  %53 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %54 = getelementptr inbounds i8, ptr %53, i64 7
  %55 = load i8, ptr %54, align 1, !tbaa !11
  store i8 %55, 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 5
  %58 = load i8, ptr %57, align 1, !tbaa !11
  %59 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %60 = getelementptr inbounds i8, ptr %59, i64 7
  store i8 %58, ptr %60, align 1, !tbaa !11
  %61 = load i8, ptr %6, align 1, !tbaa !11
  %62 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %63 = getelementptr inbounds i8, ptr %62, i64 5
  store i8 %61, ptr %63, align 1, !tbaa !11
  %64 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %65 = getelementptr inbounds i8, ptr %64, i64 4
  %66 = load i8, ptr %65, align 1, !tbaa !11
  store i8 %66, ptr %6, align 1, !tbaa !11
  %67 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %68 = getelementptr inbounds i8, ptr %67, i64 0
  %69 = load i8, ptr %68, align 1, !tbaa !11
  %70 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %71 = getelementptr inbounds i8, ptr %70, i64 4
  store i8 %69, ptr %71, align 1, !tbaa !11
  %72 = load i8, ptr %6, align 1, !tbaa !11
  %73 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %74 = getelementptr inbounds i8, ptr %73, i64 0
  store i8 %72, ptr %74, align 1, !tbaa !11
  %75 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %76 = getelementptr inbounds i16, ptr %75, i64 2
  %77 = load i16, ptr %76, align 2, !tbaa !12
  store i16 %77, 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 0
  %80 = load i16, ptr %79, align 2, !tbaa !12
  %81 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %82 = getelementptr inbounds i16, ptr %81, i64 2
  store i16 %80, ptr %82, align 2, !tbaa !12
  %83 = load i16, ptr %7, align 2, !tbaa !12
  %84 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %85 = getelementptr inbounds i16, ptr %84, i64 0
  store i16 %83, ptr %85, align 2, !tbaa !12
  br label %86

86:                                               ; preds = %52, %33
  br label %141

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

93:                                               ; preds = %87
  %94 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = lshr i64 %97, 4
  %99 = and i64 %98, 7
  %100 = or i64 %99, 1
  %101 = lshr i64 %95, %100
  %102 = and i64 %101, 15
  %103 = shl i64 %102, 2
  %104 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %105 = load i64, ptr %104, align 8, !tbaa !9
  %106 = or i64 %105, %103
  store i64 %106, ptr %104, align 8, !tbaa !9
  %107 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %108 = load i64, ptr %107, align 8, !tbaa !9
  %109 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %110 = load i64, ptr %109, align 8, !tbaa !9
  %111 = add i64 %108, %110
  %112 = and i64 %111, 31
  %113 = shl i64 %112, 3
  %114 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %115 = load i64, ptr %114, align 8, !tbaa !9
  %116 = or i64 %115, %113
  store i64 %116, ptr %114, align 8, !tbaa !9
  br label %140

117:                                              ; preds = %87
  %118 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %119 = getelementptr inbounds i16, ptr %118, i64 0
  %120 = load i16, ptr %119, align 2, !tbaa !12
  store i16 %120, ptr %8, align 2, !tbaa !12
  %121 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %122 = getelementptr inbounds i16, ptr %121, i64 1
  %123 = load i16, ptr %122, align 2, !tbaa !12
  %124 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %125 = getelementptr inbounds i16, ptr %124, i64 0
  store i16 %123, ptr %125, align 2, !tbaa !12
  %126 = load i16, ptr %8, align 2, !tbaa !12
  %127 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %128 = getelementptr inbounds i16, ptr %127, i64 1
  store i16 %126, ptr %128, align 2, !tbaa !12
  %129 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %130 = getelementptr inbounds i8, ptr %129, i64 2
  %131 = load i8, ptr %130, align 1, !tbaa !11
  store i8 %131, ptr %9, align 1, !tbaa !11
  %132 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %133 = getelementptr inbounds i8, ptr %132, i64 0
  %134 = load i8, ptr %133, align 1, !tbaa !11
  %135 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %136 = getelementptr inbounds i8, ptr %135, i64 2
  store i8 %134, ptr %136, align 1, !tbaa !11
  %137 = load i8, ptr %9, align 1, !tbaa !11
  %138 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %139 = getelementptr inbounds i8, ptr %138, i64 0
  store i8 %137, ptr %139, align 1, !tbaa !11
  br label %140

140:                                              ; preds = %117, %93
  br label %141

141:                                              ; preds = %140, %86
  br label %192

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

148:                                              ; preds = %142
  %149 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %150 = getelementptr inbounds i8, ptr %149, i64 7
  %151 = load i8, ptr %150, align 1, !tbaa !11
  store i8 %151, ptr %10, align 1, !tbaa !11
  %152 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %153 = getelementptr inbounds i8, ptr %152, i64 2
  %154 = load i8, ptr %153, align 1, !tbaa !11
  %155 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %156 = getelementptr inbounds i8, ptr %155, i64 7
  store i8 %154, ptr %156, align 1, !tbaa !11
  %157 = load i8, ptr %10, align 1, !tbaa !11
  %158 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %159 = getelementptr inbounds i8, ptr %158, i64 2
  store i8 %157, ptr %159, align 1, !tbaa !11
  %160 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %161 = load i64, ptr %160, align 8, !tbaa !9
  %162 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %163 = load i64, ptr %162, align 8, !tbaa !9
  %164 = lshr i64 %163, 2
  %165 = and i64 %164, 15
  %166 = or i64 %165, 1
  %167 = shl i64 %161, %166
  %168 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %169 = load i64, ptr %168, align 8, !tbaa !9
  %170 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %171 = load i64, ptr %170, align 8, !tbaa !9
  %172 = lshr i64 %171, 2
  %173 = and i64 %172, 15
  %174 = or i64 %173, 1
  %175 = sub i64 64, %174
  %176 = lshr i64 %169, %175
  %177 = or i64 %167, %176
  %178 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  store i64 %177, ptr %178, align 8, !tbaa !9
  br label %191

179:                                              ; preds = %142
  %180 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %181 = getelementptr inbounds i16, ptr %180, i64 0
  %182 = load i16, ptr %181, align 2, !tbaa !12
  store i16 %182, ptr %11, align 2, !tbaa !12
  %183 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %184 = getelementptr inbounds i16, ptr %183, i64 2
  %185 = load i16, ptr %184, align 2, !tbaa !12
  %186 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %187 = getelementptr inbounds i16, ptr %186, i64 0
  store i16 %185, ptr %187, align 2, !tbaa !12
  %188 = load i16, ptr %11, align 2, !tbaa !12
  %189 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %190 = getelementptr inbounds i16, ptr %189, i64 2
  store i16 %188, ptr %190, align 2, !tbaa !12
  br label %191

191:                                              ; preds = %179, %148
  br label %192

192:                                              ; preds = %191, %141
  %193 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %194 = load i64, ptr %193, align 8, !tbaa !9
  %195 = lshr i64 %194, 15
  %196 = getelementptr inbounds [1 x i64], ptr %5, i64 0, i64 0
  %197 = load i64, ptr %196, align 8, !tbaa !9
  %198 = shl i64 %197, 49
  %199 = or i64 %195, %198
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds i64, ptr %200, i64 0
  store i64 %199, ptr %201, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 1, 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 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.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 = { 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 = !{!"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}


; 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, 1373777115
  %.sroa.0.sroa.0.0.extract.trunc930 = trunc i64 %4 to i16
  %.sroa.0.sroa.40.0.insert.shift1017 = and i16 %.sroa.0.sroa.0.0.extract.trunc930, -256
  %.sroa.40.0.extract.shift = lshr i64 %4, 16
  %.sroa.40.sroa.36.0.extract.shift1116 = lshr i64 %4, 24
  %.sroa.46.0.extract.shift = lshr i64 %4, 32
  %.sroa.46.sroa.36.0.extract.shift1117 = lshr i64 %4, 40
  %.sroa.54.0.extract.shift = lshr i64 %4, 48
  %.sroa.54451.0.extract.shift = lshr i64 %4, 56
  %.sroa.0.sroa.0.0.insert.ext931 = and i16 %.sroa.0.sroa.0.0.extract.trunc930, 255
  %5 = trunc i64 %.sroa.40.sroa.36.0.extract.shift1116 to i16
  %.sroa.40.sroa.36.0.insert.ext = shl i16 %5, 8
  %6 = trunc i64 %.sroa.40.0.extract.shift to i16
  %.sroa.40.sroa.0.0.insert.ext = and i16 %6, 255
  %.sroa.40.sroa.0.0.insert.insert = or disjoint i16 %.sroa.40.sroa.36.0.insert.ext, %.sroa.40.sroa.0.0.insert.ext
  %7 = trunc i64 %.sroa.46.sroa.36.0.extract.shift1117 to i16
  %.sroa.46.sroa.36.0.insert.ext = shl nuw nsw i64 %.sroa.46.sroa.36.0.extract.shift1117, 8
  %8 = trunc i64 %.sroa.46.0.extract.shift to i16
  %.sroa.46.sroa.0.0.insert.ext = and i64 %.sroa.46.0.extract.shift, 255
  %.sroa.54.0.insert.shift = and i64 %4, 71776119061217280
  %.sroa.54.0.insert.insert = and i64 %4, -281474976710656
  %.sroa.46.sroa.36.0.insert.ext.masked = and i64 %.sroa.46.sroa.36.0.insert.ext, 65280
  %.sroa.46.0.insert.ext = or disjoint i64 %.sroa.46.sroa.36.0.insert.ext.masked, %.sroa.46.sroa.0.0.insert.ext
  %.sroa.46.0.insert.shift = shl nuw nsw i64 %.sroa.46.0.insert.ext, 32
  %.sroa.40.0.insert.ext = zext i16 %.sroa.40.sroa.0.0.insert.insert to i64
  %.sroa.40.0.insert.shift = shl nuw nsw i64 %.sroa.40.0.insert.ext, 16
  %9 = or disjoint i64 %.sroa.40.0.insert.shift, %.sroa.54.0.insert.insert
  %.sroa.40.0.insert.insert = or disjoint i64 %9, %.sroa.46.0.insert.shift
  %.sroa.0.0.insert.ext = and i64 %4, 65535
  %.sroa.0.0.insert.insert = or disjoint i64 %.sroa.40.0.insert.insert, %.sroa.0.0.insert.ext
  %10 = and i64 %4, 1
  %.not = icmp eq i64 %10, 0
  br i1 %.not, label %35, label %11

11:                                               ; preds = %2
  %12 = lshr i16 %.sroa.0.sroa.0.0.extract.trunc930, 2
  %13 = and i64 %4, 4
  %.not1123 = icmp eq i64 %13, 0
  br i1 %.not1123, label %23, label %14

14:                                               ; preds = %11
  %15 = and i64 %4, 8
  %.not1130 = icmp eq i64 %15, 0
  br i1 %.not1130, label %22, label %16

16:                                               ; preds = %14
  %17 = and i16 %12, 7
  %18 = shl i16 %.sroa.0.sroa.0.0.extract.trunc930, %17
  %19 = shl i16 %18, 2
  %20 = and i16 %19, 32
  %.sroa.0.sroa.0.0.insert.ext950 = or i16 %20, %.sroa.0.sroa.0.0.insert.ext931
  %.sroa.0.sroa.0.0.insert.insert952 = or disjoint i16 %.sroa.0.sroa.0.0.insert.ext950, %.sroa.0.sroa.40.0.insert.shift1017
  %.sroa.40.sroa.36.0.insert.ext844 = shl nuw nsw i64 %.sroa.40.sroa.36.0.extract.shift1116, 8
  %.sroa.40.sroa.0.0.insert.ext766 = and i64 %.sroa.40.0.extract.shift, 255
  %.sroa.54.0.insert.insert367 = and i64 %4, 9223090561878065152
  %.sroa.46.0.insert.insert249 = or disjoint i64 %.sroa.46.0.insert.shift, %.sroa.54.0.insert.insert367
  %.sroa.40.sroa.36.0.insert.ext844.masked = and i64 %.sroa.40.sroa.36.0.insert.ext844, 65280
  %.sroa.40.0.insert.ext129 = or disjoint i64 %.sroa.40.sroa.36.0.insert.ext844.masked, %.sroa.40.sroa.0.0.insert.ext766
  %.sroa.40.0.insert.shift130 = shl nuw nsw i64 %.sroa.40.0.insert.ext129, 16
  %.sroa.0.0.insert.ext34 = zext i16 %.sroa.0.sroa.0.0.insert.insert952 to i64
  %21 = or disjoint i64 %.sroa.40.0.insert.shift130, %.sroa.0.0.insert.ext34
  %.sroa.0.0.insert.insert36 = or disjoint i64 %21, %.sroa.46.0.insert.insert249
  %.sroa.0.sroa.0.0.extract.trunc956 = shl nuw nsw i16 %.sroa.0.sroa.0.0.insert.ext950, 1
  %.sroa.0.sroa.40.0.extract.shift10501133 = lshr i16 %.sroa.0.sroa.0.0.insert.insert952, 7
  %.sroa.40.0.extract.shift138 = lshr i64 %.sroa.0.0.insert.insert36, 15
  %.sroa.40.sroa.36.0.extract.shift8521134 = lshr i64 %.sroa.40.0.insert.ext129, 7
  %.sroa.46.0.extract.shift255 = lshr i64 %.sroa.0.0.insert.insert36, 31
  %.sroa.46.sroa.36.0.extract.shift6741135 = lshr i64 %.sroa.46.0.insert.ext, 7
  %.sroa.54.0.extract.shift373 = lshr i64 %.sroa.46.0.insert.insert249, 47
  %.sroa.54451.0.extract.shift489 = lshr i64 %4, 55
  br label %45

22:                                               ; preds = %14
  %.sroa.46.sroa.36.0.extract.shift7421131 = lshr i64 %4, 8
  %.sroa.0.sroa.40.0.extract.trunc = trunc nuw nsw i64 %.sroa.54451.0.extract.shift to i16
  br label %45

23:                                               ; preds = %11
  %24 = and i64 %4, 16
  %.not1124 = icmp eq i64 %24, 0
  br i1 %.not1124, label %34, label %25

25:                                               ; preds = %23
  %26 = lshr i64 %4, 4
  %27 = and i64 %26, 7
  %28 = lshr i64 %.sroa.0.0.insert.insert, %27
  %29 = shl i64 %28, 2
  %30 = and i64 %29, 44
  %.masked = and i64 %4, 65531
  %.sroa.0.0.insert.ext60 = or i64 %30, %.masked
  %31 = shl nuw nsw i64 %.sroa.0.0.insert.ext60, 4
  %32 = and i64 %31, 224
  %33 = or i64 %32, %.sroa.0.0.insert.ext60
  %.sroa.0.sroa.0.0.extract.trunc979 = trunc nuw i64 %33 to i16
  %.sroa.0.sroa.40.0.extract.shift10821127 = lshr i64 %.masked, 8
  %.sroa.0.sroa.40.0.extract.trunc1083 = trunc nuw nsw i64 %.sroa.0.sroa.40.0.extract.shift10821127 to i16
  br label %45

34:                                               ; preds = %23
  %.sroa.40.sroa.36.0.extract.shift9201125 = lshr i64 %4, 8
  br label %45

35:                                               ; preds = %2
  %36 = and i64 %4, 16
  %.not1118 = icmp eq i64 %36, 0
  br i1 %.not1118, label %44, label %37

37:                                               ; preds = %35
  %38 = trunc nuw nsw i64 %.sroa.54451.0.extract.shift to i16
  %.sroa.40.sroa.0.0.insert.insert801 = or disjoint i16 %.sroa.40.sroa.36.0.insert.ext, %38
  %.sroa.54451.0.insert.ext536 = shl i64 %.sroa.40.0.extract.shift, 56
  %.sroa.54.0.insert.insert423 = or disjoint i64 %.sroa.54451.0.insert.ext536, %.sroa.54.0.insert.shift
  %.sroa.40.0.insert.ext185 = zext i16 %.sroa.40.sroa.0.0.insert.insert801 to i64
  %.sroa.40.0.insert.shift186 = shl nuw nsw i64 %.sroa.40.0.insert.ext185, 16
  %39 = or disjoint i64 %.sroa.40.0.insert.shift186, %.sroa.54.0.insert.insert423
  %.sroa.40.0.insert.insert188 = or disjoint i64 %39, %.sroa.46.0.insert.shift
  %.sroa.0.0.insert.insert79 = or disjoint i64 %.sroa.40.0.insert.insert188, %.sroa.0.0.insert.ext
  %40 = lshr i64 %.sroa.0.0.insert.insert79, 2
  %41 = and i64 %40, 14
  %42 = or disjoint i64 %41, 1
  %43 = tail call i64 @llvm.fshl.i64(i64 %.sroa.0.0.insert.insert79, i64 %.sroa.0.0.insert.insert79, i64 %42)
  %.sroa.0.sroa.0.0.extract.trunc995 = trunc i64 %43 to i16
  %.sroa.0.sroa.40.0.extract.shift11041120 = lshr i64 %43, 8
  %.sroa.0.sroa.40.0.extract.trunc1105 = trunc i64 %.sroa.0.sroa.40.0.extract.shift11041120 to i16
  %.sroa.40.0.extract.shift204 = lshr i64 %43, 16
  %.sroa.40.sroa.36.0.extract.shift9061121 = lshr i64 %43, 24
  %.sroa.46.0.extract.shift321 = lshr i64 %43, 32
  %.sroa.46.sroa.36.0.extract.shift7281122 = lshr i64 %43, 40
  %.sroa.54.0.extract.shift439 = lshr i64 %43, 48
  %.sroa.54451.0.extract.shift555 = lshr i64 %43, 56
  br label %45

44:                                               ; preds = %35
  %.sroa.46.sroa.36.0.extract.shift7481119 = lshr i64 %4, 8
  br label %45

45:                                               ; preds = %37, %44, %22, %16, %34, %25
  %.sroa.54451.0 = phi i64 [ %.sroa.54451.0.extract.shift489, %16 ], [ %.sroa.46.sroa.36.0.extract.shift1117, %22 ], [ %.sroa.54451.0.extract.shift, %25 ], [ %.sroa.54451.0.extract.shift, %34 ], [ %.sroa.54451.0.extract.shift555, %37 ], [ %.sroa.54451.0.extract.shift, %44 ]
  %.sroa.54.0.in = phi i64 [ %.sroa.54.0.extract.shift373, %16 ], [ %.sroa.54.0.extract.shift, %22 ], [ %.sroa.54.0.extract.shift, %25 ], [ %.sroa.54.0.extract.shift, %34 ], [ %.sroa.54.0.extract.shift439, %37 ], [ %.sroa.54.0.extract.shift, %44 ]
  %.sroa.46.sroa.0.0.in = phi i64 [ %.sroa.46.0.extract.shift255, %16 ], [ %.sroa.46.0.extract.shift, %22 ], [ %.sroa.46.0.extract.shift, %25 ], [ %.sroa.46.0.extract.shift, %34 ], [ %.sroa.46.0.extract.shift321, %37 ], [ %4, %44 ]
  %.sroa.46.sroa.36.0.in = phi i64 [ %.sroa.46.sroa.36.0.extract.shift6741135, %16 ], [ %.sroa.46.sroa.36.0.extract.shift7421131, %22 ], [ %.sroa.46.sroa.36.0.extract.shift1117, %25 ], [ %.sroa.46.sroa.36.0.extract.shift1117, %34 ], [ %.sroa.46.sroa.36.0.extract.shift7281122, %37 ], [ %.sroa.46.sroa.36.0.extract.shift7481119, %44 ]
  %.sroa.40.sroa.0.0.in = phi i64 [ %.sroa.40.0.extract.shift138, %16 ], [ %.sroa.40.0.extract.shift, %22 ], [ %.sroa.40.0.extract.shift, %25 ], [ %.sroa.40.0.extract.shift, %34 ], [ %.sroa.40.0.extract.shift204, %37 ], [ %.sroa.40.0.extract.shift, %44 ]
  %.sroa.40.sroa.36.0.in = phi i64 [ %.sroa.40.sroa.36.0.extract.shift8521134, %16 ], [ %.sroa.40.sroa.36.0.extract.shift1116, %22 ], [ %.sroa.40.sroa.36.0.extract.shift1116, %25 ], [ %.sroa.40.sroa.36.0.extract.shift9201125, %34 ], [ %.sroa.40.sroa.36.0.extract.shift9061121, %37 ], [ %.sroa.40.sroa.36.0.extract.shift1116, %44 ]
  %.sroa.0.sroa.0.0 = phi i16 [ %.sroa.0.sroa.0.0.extract.trunc956, %16 ], [ %.sroa.0.sroa.0.0.extract.trunc930, %22 ], [ %.sroa.0.sroa.0.0.extract.trunc979, %25 ], [ %.sroa.0.sroa.0.0.extract.trunc930, %34 ], [ %.sroa.0.sroa.0.0.extract.trunc995, %37 ], [ %8, %44 ]
  %.sroa.0.sroa.40.0 = phi i16 [ %.sroa.0.sroa.40.0.extract.shift10501133, %16 ], [ %.sroa.0.sroa.40.0.extract.trunc, %22 ], [ %.sroa.0.sroa.40.0.extract.trunc1083, %25 ], [ %5, %34 ], [ %.sroa.0.sroa.40.0.extract.trunc1105, %37 ], [ %7, %44 ]
  %.sroa.0.sroa.40.0.insert.ext1106 = shl i16 %.sroa.0.sroa.40.0, 8
  %.sroa.0.sroa.0.0.insert.ext996 = and i16 %.sroa.0.sroa.0.0, 255
  %.sroa.0.sroa.0.0.insert.insert998 = or disjoint i16 %.sroa.0.sroa.40.0.insert.ext1106, %.sroa.0.sroa.0.0.insert.ext996
  %.sroa.40.sroa.36.0.insert.ext908 = shl nuw i64 %.sroa.40.sroa.36.0.in, 8
  %.sroa.40.sroa.0.0.insert.ext812 = and i64 %.sroa.40.sroa.0.0.in, 255
  %.sroa.46.sroa.36.0.insert.ext730 = shl nuw i64 %.sroa.46.sroa.36.0.in, 8
  %.sroa.46.sroa.0.0.insert.ext630 = and i64 %.sroa.46.sroa.0.0.in, 255
  %.sroa.54451.0.insert.ext558 = shl i64 %.sroa.54451.0, 56
  %.sroa.54.0.insert.ext442 = shl nuw i64 %.sroa.54.0.in, 48
  %.sroa.54.0.insert.shift443 = and i64 %.sroa.54.0.insert.ext442, 71776119061217280
  %.sroa.54.0.insert.insert445 = or disjoint i64 %.sroa.54.0.insert.shift443, %.sroa.54451.0.insert.ext558
  %.sroa.46.sroa.36.0.insert.ext730.masked = and i64 %.sroa.46.sroa.36.0.insert.ext730, 65280
  %.sroa.46.0.insert.ext324 = or disjoint i64 %.sroa.46.sroa.36.0.insert.ext730.masked, %.sroa.46.sroa.0.0.insert.ext630
  %.sroa.46.0.insert.shift325 = shl nuw nsw i64 %.sroa.46.0.insert.ext324, 32
  %.sroa.46.0.insert.insert327 = or disjoint i64 %.sroa.46.0.insert.shift325, %.sroa.54.0.insert.insert445
  %.sroa.40.sroa.36.0.insert.ext908.masked = and i64 %.sroa.40.sroa.36.0.insert.ext908, 65280
  %.sroa.40.0.insert.ext207 = or disjoint i64 %.sroa.40.sroa.36.0.insert.ext908.masked, %.sroa.40.sroa.0.0.insert.ext812
  %.sroa.40.0.insert.shift208 = shl nuw nsw i64 %.sroa.40.0.insert.ext207, 16
  %.sroa.40.0.insert.insert210 = or disjoint i64 %.sroa.40.0.insert.shift208, %.sroa.46.0.insert.insert327
  %.sroa.0.0.insert.ext94 = zext i16 %.sroa.0.sroa.0.0.insert.insert998 to i64
  %.sroa.0.0.insert.insert96 = or disjoint i64 %.sroa.40.0.insert.insert210, %.sroa.0.0.insert.ext94
  %46 = tail call i64 @llvm.fshl.i64(i64 %.sroa.0.0.insert.insert96, i64 %.sroa.0.0.insert.insert96, i64 49)
  store i64 %46, ptr %1, align 8, !tbaa !5
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.fshl.i64(i64, i64, i64) #1

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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass