; LLVM IR from gem5/gem5 :: src/arch/arm/insts/crypto.ll (ZN4gem56ArmISA6Crypto7_sha1OpEPjS2_S2_NS1_5SHAOpE)

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4gem56ArmISA6Crypto7_sha1OpEPjS2_S2_NS1_5SHAOpE(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i8 noundef zeroext %4) #2 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i8 %4, ptr %10, align 1, !tbaa !9
  %15 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %16

16:                                               ; preds = %106, %5
  %17 = load i32, ptr %13, align 4, !tbaa !11
  %18 = icmp slt i32 %17, 4
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store i32 2, ptr %14, align 4
  br label %109

20:                                               ; preds = %16
  %21 = load i8, ptr %10, align 1, !tbaa !9
  %22 = zext i8 %21 to i32
  switch i32 %22, label %56 [
    i32 0, label %23
    i32 1, label %34
    i32 2, label %45
  ]

23:                                               ; preds = %20
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds i32, ptr %24, i64 1
  %26 = load i32, ptr %25, align 4, !tbaa !11
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds i32, ptr %27, i64 2
  %29 = load i32, ptr %28, align 4, !tbaa !11
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds i32, ptr %30, i64 3
  %32 = load i32, ptr %31, align 4, !tbaa !11
  %33 = call noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef %26, i32 noundef %29, i32 noundef %32)
  store i32 %33, ptr %11, align 4, !tbaa !11
  br label %57

34:                                               ; preds = %20
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds i32, ptr %35, i64 1
  %37 = load i32, ptr %36, align 4, !tbaa !11
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds i32, ptr %38, i64 2
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds i32, ptr %41, i64 3
  %43 = load i32, ptr %42, align 4, !tbaa !11
  %44 = call noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef %37, i32 noundef %40, i32 noundef %43)
  store i32 %44, ptr %11, align 4, !tbaa !11
  br label %57

45:                                               ; preds = %20
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds i32, ptr %46, i64 1
  %48 = load i32, ptr %47, align 4, !tbaa !11
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds i32, ptr %49, i64 2
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds i32, ptr %52, i64 3
  %54 = load i32, ptr %53, align 4, !tbaa !11
  %55 = call noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef %48, i32 noundef %51, i32 noundef %54)
  store i32 %55, ptr %11, align 4, !tbaa !11
  br label %57

56:                                               ; preds = %20
  store i32 1, ptr %14, align 4
  br label %109

57:                                               ; preds = %45, %34, %23
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds i32, ptr %58, i64 0
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef %60, i8 noundef zeroext 27)
  %62 = load i32, ptr %11, align 4, !tbaa !11
  %63 = add i32 %61, %62
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load i32, ptr %13, align 4, !tbaa !11
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds i32, ptr %64, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !11
  %69 = add i32 %63, %68
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds i32, ptr %70, i64 0
  %72 = load i32, ptr %71, align 4, !tbaa !11
  %73 = add i32 %72, %69
  store i32 %73, ptr %71, align 4, !tbaa !11
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds i32, ptr %74, i64 1
  %76 = load i32, ptr %75, align 4, !tbaa !11
  %77 = call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef %76, i8 noundef zeroext 2)
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds i32, ptr %78, i64 1
  store i32 %77, ptr %79, align 4, !tbaa !11
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds i32, ptr %80, i64 0
  %82 = load i32, ptr %81, align 4, !tbaa !11
  store i32 %82, ptr %12, align 4, !tbaa !11
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds i32, ptr %83, i64 3
  %85 = load i32, ptr %84, align 4, !tbaa !11
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds i32, ptr %86, i64 0
  store i32 %85, ptr %87, align 4, !tbaa !11
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds i32, ptr %88, i64 2
  %90 = load i32, ptr %89, align 4, !tbaa !11
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds i32, ptr %91, i64 3
  store i32 %90, ptr %92, align 4, !tbaa !11
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds i32, ptr %93, i64 1
  %95 = load i32, ptr %94, align 4, !tbaa !11
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds i32, ptr %96, i64 2
  store i32 %95, ptr %97, align 4, !tbaa !11
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds i32, ptr %98, i64 0
  %100 = load i32, ptr %99, align 4, !tbaa !11
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds i32, ptr %101, i64 1
  store i32 %100, ptr %102, align 4, !tbaa !11
  %103 = load i32, ptr %12, align 4, !tbaa !11
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds i32, ptr %104, i64 0
  store i32 %103, ptr %105, align 4, !tbaa !11
  br label %106

106:                                              ; preds = %57
  %107 = load i32, ptr %13, align 4, !tbaa !11
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %13, align 4, !tbaa !11
  br label %16, !llvm.loop !13

109:                                              ; preds = %56, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  %110 = load i32, ptr %14, align 4
  switch i32 %110, label %112 [
    i32 2, label %111
  ]

111:                                              ; preds = %109
  store i32 0, ptr %14, align 4
  br label %112

112:                                              ; preds = %111, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  %113 = load i32, ptr %14, align 4
  switch i32 %113, label %115 [
    i32 0, label %114
    i32 1, label %114
  ]

114:                                              ; preds = %112, %112
  ret void

115:                                              ; preds = %112
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i8 noundef zeroext) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 #3 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN4gem56ArmISA6Crypto5SHAOpE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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 nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4gem56ArmISA6Crypto7_sha1OpEPjS2_S2_NS1_5SHAOpE(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef readonly %3, i8 noundef zeroext %4) local_unnamed_addr #0 align 2 {
  %6 = getelementptr inbounds i8, ptr %1, i64 4
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = getelementptr inbounds i8, ptr %1, i64 12
  %switch = icmp ult i8 %4, 3
  br i1 %switch, label %.split.preheader, label %.split34

.split.preheader:                                 ; preds = %5
  %9 = load i32, ptr %6, align 4, !tbaa !5
  %10 = load i32, ptr %7, align 4, !tbaa !5
  %11 = load i32, ptr %8, align 4, !tbaa !5
  switch i8 %4, label %16 [
    i8 0, label %12
    i8 1, label %14
  ]

12:                                               ; preds = %.split.preheader
  %13 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %9, i32 noundef %10, i32 noundef %11)
  br label %.split.1

14:                                               ; preds = %.split.preheader
  %15 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %9, i32 noundef %10, i32 noundef %11)
  br label %.split.1

16:                                               ; preds = %.split.preheader
  %17 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %9, i32 noundef %10, i32 noundef %11)
  br label %.split.1

.split.1:                                         ; preds = %16, %14, %12
  %.032 = phi i32 [ %17, %16 ], [ %15, %14 ], [ %13, %12 ]
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %18, i8 noundef zeroext 27)
  %20 = add i32 %19, %.032
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = add i32 %20, %21
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = add i32 %22, %23
  store i32 %24, ptr %2, align 4, !tbaa !5
  %25 = load i32, ptr %6, align 4, !tbaa !5
  %26 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %25, i8 noundef zeroext 2)
  store i32 %26, ptr %6, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %28, ptr %2, align 4, !tbaa !5
  %29 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %29, ptr %8, align 4, !tbaa !5
  %30 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %30, ptr %7, align 4, !tbaa !5
  %31 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %31, ptr %6, align 4, !tbaa !5
  store i32 %27, ptr %1, align 4, !tbaa !5
  switch i8 %4, label %36 [
    i8 0, label %34
    i8 1, label %32
  ]

32:                                               ; preds = %.split.1
  %33 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %31, i32 noundef %30, i32 noundef %29)
  br label %.split.2

34:                                               ; preds = %.split.1
  %35 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %31, i32 noundef %30, i32 noundef %29)
  br label %.split.2

36:                                               ; preds = %.split.1
  %37 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %31, i32 noundef %30, i32 noundef %29)
  br label %.split.2

.split.2:                                         ; preds = %36, %34, %32
  %.032.1 = phi i32 [ %37, %36 ], [ %33, %32 ], [ %35, %34 ]
  %38 = load i32, ptr %1, align 4, !tbaa !5
  %39 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %38, i8 noundef zeroext 27)
  %40 = add i32 %39, %.032.1
  %41 = getelementptr inbounds i8, ptr %3, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = add i32 %40, %42
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = add i32 %43, %44
  store i32 %45, ptr %2, align 4, !tbaa !5
  %46 = load i32, ptr %6, align 4, !tbaa !5
  %47 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %46, i8 noundef zeroext 2)
  store i32 %47, ptr %6, align 4, !tbaa !5
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %49 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %49, ptr %2, align 4, !tbaa !5
  %50 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %50, ptr %8, align 4, !tbaa !5
  %51 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %51, ptr %7, align 4, !tbaa !5
  %52 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %52, ptr %6, align 4, !tbaa !5
  store i32 %48, ptr %1, align 4, !tbaa !5
  switch i8 %4, label %57 [
    i8 0, label %55
    i8 1, label %53
  ]

53:                                               ; preds = %.split.2
  %54 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %52, i32 noundef %51, i32 noundef %50)
  br label %.split.3

55:                                               ; preds = %.split.2
  %56 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %52, i32 noundef %51, i32 noundef %50)
  br label %.split.3

57:                                               ; preds = %.split.2
  %58 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %52, i32 noundef %51, i32 noundef %50)
  br label %.split.3

.split.3:                                         ; preds = %57, %55, %53
  %.032.2 = phi i32 [ %58, %57 ], [ %54, %53 ], [ %56, %55 ]
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %59, i8 noundef zeroext 27)
  %61 = add i32 %60, %.032.2
  %62 = getelementptr inbounds i8, ptr %3, i64 8
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = add i32 %61, %63
  %65 = load i32, ptr %2, align 4, !tbaa !5
  %66 = add i32 %64, %65
  store i32 %66, ptr %2, align 4, !tbaa !5
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %67, i8 noundef zeroext 2)
  store i32 %68, ptr %6, align 4, !tbaa !5
  %69 = load i32, ptr %2, align 4, !tbaa !5
  %70 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %70, ptr %2, align 4, !tbaa !5
  %71 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %71, ptr %8, align 4, !tbaa !5
  %72 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %72, ptr %7, align 4, !tbaa !5
  %73 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %73, ptr %6, align 4, !tbaa !5
  store i32 %69, ptr %1, align 4, !tbaa !5
  switch i8 %4, label %78 [
    i8 0, label %76
    i8 1, label %74
  ]

74:                                               ; preds = %.split.3
  %75 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %73, i32 noundef %72, i32 noundef %71)
  br label %.split34.loopexit

76:                                               ; preds = %.split.3
  %77 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto6chooseEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %73, i32 noundef %72, i32 noundef %71)
  br label %.split34.loopexit

78:                                               ; preds = %.split.3
  %79 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto8majorityEjjj(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %73, i32 noundef %72, i32 noundef %71)
  br label %.split34.loopexit

.split34.loopexit:                                ; preds = %78, %76, %74
  %.032.3 = phi i32 [ %79, %78 ], [ %75, %74 ], [ %77, %76 ]
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %80, i8 noundef zeroext 27)
  %82 = add i32 %81, %.032.3
  %83 = getelementptr inbounds i8, ptr %3, i64 12
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = add i32 %82, %84
  %86 = load i32, ptr %2, align 4, !tbaa !5
  %87 = add i32 %85, %86
  store i32 %87, ptr %2, align 4, !tbaa !5
  %88 = load i32, ptr %6, align 4, !tbaa !5
  %89 = tail call noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1) %0, i32 noundef %88, i8 noundef zeroext 2)
  store i32 %89, ptr %6, align 4, !tbaa !5
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %91, ptr %2, align 4, !tbaa !5
  %92 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %92, ptr %8, align 4, !tbaa !5
  %93 = load <2 x i32>, ptr %1, align 4, !tbaa !5
  store <2 x i32> %93, ptr %6, align 4, !tbaa !5
  store i32 %90, ptr %1, align 4, !tbaa !5
  br label %.split34

.split34:                                         ; preds = %.split34.loopexit, %5
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto6parityEjjj(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4gem56ArmISA6Crypto3rorEjh(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i8 noundef zeroext) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass