; LLVM IR from aferikoglou/GenHLSOptimizer :: dataset/machsuite-aes (aes)

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

%struct.aes256_context = type { [32 x i8], [32 x i8], [32 x i8] }

; Function Attrs: nounwind uwtable
declare dso_local void @aes_subBytes(ptr noundef) #0

; 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

; Function Attrs: nounwind uwtable
declare dso_local void @aes_addRoundKey(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_addRoundKey_cpy(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_shiftRows(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_mixColumns(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_expandEncKey(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @aes256_encrypt_ecb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #2
  store i8 1, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #2
  br label %9

9:                                                ; preds = %3
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %10

10:                                               ; preds = %30, %9
  %11 = load i8, ptr %8, align 1, !tbaa !9
  %12 = zext i8 %11 to i64
  %13 = icmp ult i64 %12, 32
  br i1 %13, label %14, label %33

14:                                               ; preds = %10
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = load i8, ptr %8, align 1, !tbaa !9
  %17 = zext i8 %16 to i64
  %18 = getelementptr inbounds i8, ptr %15, i64 %17
  %19 = load i8, ptr %18, align 1, !tbaa !9
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.aes256_context, ptr %20, i32 0, i32 2
  %22 = load i8, ptr %8, align 1, !tbaa !9
  %23 = zext i8 %22 to i64
  %24 = getelementptr inbounds [32 x i8], ptr %21, i64 0, i64 %23
  store i8 %19, ptr %24, align 1, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.aes256_context, ptr %25, i32 0, i32 1
  %27 = load i8, ptr %8, align 1, !tbaa !9
  %28 = zext i8 %27 to i64
  %29 = getelementptr inbounds [32 x i8], ptr %26, i64 0, i64 %28
  store i8 %19, ptr %29, align 1, !tbaa !9
  br label %30

30:                                               ; preds = %14
  %31 = load i8, ptr %8, align 1, !tbaa !9
  %32 = add i8 %31, 1
  store i8 %32, ptr %8, align 1, !tbaa !9
  br label %10, !llvm.loop !10

33:                                               ; preds = %10
  br label %34

34:                                               ; preds = %33
  store i8 8, ptr %8, align 1, !tbaa !9
  br label %35

35:                                               ; preds = %39, %34
  %36 = load i8, ptr %8, align 1, !tbaa !9
  %37 = add i8 %36, -1
  store i8 %37, ptr %8, align 1, !tbaa !9
  %38 = icmp ne i8 %37, 0
  br i1 %38, label %39, label %43

39:                                               ; preds = %35
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.aes256_context, ptr %40, i32 0, i32 2
  %42 = getelementptr inbounds [32 x i8], ptr %41, i64 0, i64 0
  call void @aes_expandEncKey(ptr noundef %42, ptr noundef %7)
  br label %35, !llvm.loop !12

43:                                               ; preds = %35
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.aes256_context, ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds [32 x i8], ptr %46, i64 0, i64 0
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.aes256_context, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds [32 x i8], ptr %49, i64 0, i64 0
  call void @aes_addRoundKey_cpy(ptr noundef %44, ptr noundef %47, ptr noundef %50)
  br label %51

51:                                               ; preds = %43
  store i8 1, ptr %8, align 1, !tbaa !9
  store i8 1, ptr %7, align 1, !tbaa !9
  br label %52

52:                                               ; preds = %78, %51
  %53 = load i8, ptr %8, align 1, !tbaa !9
  %54 = zext i8 %53 to i32
  %55 = icmp slt i32 %54, 14
  br i1 %55, label %56, label %81

56:                                               ; preds = %52
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  call void @aes_subBytes(ptr noundef %57)
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  call void @aes_shiftRows(ptr noundef %58)
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  call void @aes_mixColumns(ptr noundef %59)
  %60 = load i8, ptr %8, align 1, !tbaa !9
  %61 = zext i8 %60 to i32
  %62 = and i32 %61, 1
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %69

64:                                               ; preds = %56
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.aes256_context, ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds [32 x i8], ptr %67, i64 0, i64 16
  call void @aes_addRoundKey(ptr noundef %65, ptr noundef %68)
  br label %77

69:                                               ; preds = %56
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.aes256_context, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds [32 x i8], ptr %71, i64 0, i64 0
  call void @aes_expandEncKey(ptr noundef %72, ptr noundef %7)
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.aes256_context, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds [32 x i8], ptr %75, i64 0, i64 0
  call void @aes_addRoundKey(ptr noundef %73, ptr noundef %76)
  br label %77

77:                                               ; preds = %69, %64
  br label %78

78:                                               ; preds = %77
  %79 = load i8, ptr %8, align 1, !tbaa !9
  %80 = add i8 %79, 1
  store i8 %80, ptr %8, align 1, !tbaa !9
  br label %52, !llvm.loop !13

81:                                               ; preds = %52
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  call void @aes_subBytes(ptr noundef %82)
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  call void @aes_shiftRows(ptr noundef %83)
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.aes256_context, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds [32 x i8], ptr %85, i64 0, i64 0
  call void @aes_expandEncKey(ptr noundef %86, ptr noundef %7)
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.aes256_context, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds [32 x i8], ptr %89, i64 0, i64 0
  call void @aes_addRoundKey(ptr noundef %87, ptr noundef %90)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #2
  ret void
}

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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}


; 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: nounwind uwtable
declare dso_local void @aes_subBytes(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @aes_addRoundKey(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_addRoundKey_cpy(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_shiftRows(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_mixColumns(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @aes_expandEncKey(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @aes256_encrypt_ecb(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #2
  store i8 1, ptr %4, align 1, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = load i8, ptr %1, align 1, !tbaa !5
  store i8 %7, ptr %5, align 1, !tbaa !5
  store i8 %7, ptr %6, align 1, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 1
  %9 = load i8, ptr %8, align 1, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 65
  store i8 %9, ptr %10, align 1, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 33
  store i8 %9, ptr %11, align 1, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 2
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 66
  store i8 %13, ptr %14, align 1, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 34
  store i8 %13, ptr %15, align 1, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 3
  %17 = load i8, ptr %16, align 1, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 67
  store i8 %17, ptr %18, align 1, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %0, i64 35
  store i8 %17, ptr %19, align 1, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %1, i64 4
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %0, i64 68
  store i8 %21, ptr %22, align 1, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %0, i64 36
  store i8 %21, ptr %23, align 1, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %1, i64 5
  %25 = load i8, ptr %24, align 1, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %0, i64 69
  store i8 %25, ptr %26, align 1, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %0, i64 37
  store i8 %25, ptr %27, align 1, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %1, i64 6
  %29 = load i8, ptr %28, align 1, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %0, i64 70
  store i8 %29, ptr %30, align 1, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %0, i64 38
  store i8 %29, ptr %31, align 1, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %1, i64 7
  %33 = load i8, ptr %32, align 1, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %0, i64 71
  store i8 %33, ptr %34, align 1, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %0, i64 39
  store i8 %33, ptr %35, align 1, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %1, i64 8
  %37 = load i8, ptr %36, align 1, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %0, i64 72
  store i8 %37, ptr %38, align 1, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %0, i64 40
  store i8 %37, ptr %39, align 1, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %1, i64 9
  %41 = load i8, ptr %40, align 1, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %0, i64 73
  store i8 %41, ptr %42, align 1, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %0, i64 41
  store i8 %41, ptr %43, align 1, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %1, i64 10
  %45 = load i8, ptr %44, align 1, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %0, i64 74
  store i8 %45, ptr %46, align 1, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %0, i64 42
  store i8 %45, ptr %47, align 1, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %1, i64 11
  %49 = load i8, ptr %48, align 1, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %0, i64 75
  store i8 %49, ptr %50, align 1, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %0, i64 43
  store i8 %49, ptr %51, align 1, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %1, i64 12
  %53 = load i8, ptr %52, align 1, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %0, i64 76
  store i8 %53, ptr %54, align 1, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %0, i64 44
  store i8 %53, ptr %55, align 1, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %1, i64 13
  %57 = load i8, ptr %56, align 1, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %0, i64 77
  store i8 %57, ptr %58, align 1, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %0, i64 45
  store i8 %57, ptr %59, align 1, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %1, i64 14
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %0, i64 78
  store i8 %61, ptr %62, align 1, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %0, i64 46
  store i8 %61, ptr %63, align 1, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %1, i64 15
  %65 = load i8, ptr %64, align 1, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %0, i64 79
  store i8 %65, ptr %66, align 1, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %0, i64 47
  store i8 %65, ptr %67, align 1, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %1, i64 16
  %69 = load i8, ptr %68, align 1, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %0, i64 80
  store i8 %69, ptr %70, align 1, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %0, i64 48
  store i8 %69, ptr %71, align 1, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %1, i64 17
  %73 = load i8, ptr %72, align 1, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %0, i64 81
  store i8 %73, ptr %74, align 1, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %0, i64 49
  store i8 %73, ptr %75, align 1, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %1, i64 18
  %77 = load i8, ptr %76, align 1, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %0, i64 82
  store i8 %77, ptr %78, align 1, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %0, i64 50
  store i8 %77, ptr %79, align 1, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %1, i64 19
  %81 = load i8, ptr %80, align 1, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %0, i64 83
  store i8 %81, ptr %82, align 1, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %0, i64 51
  store i8 %81, ptr %83, align 1, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %1, i64 20
  %85 = load i8, ptr %84, align 1, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %0, i64 84
  store i8 %85, ptr %86, align 1, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %0, i64 52
  store i8 %85, ptr %87, align 1, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %1, i64 21
  %89 = load i8, ptr %88, align 1, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %0, i64 85
  store i8 %89, ptr %90, align 1, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %0, i64 53
  store i8 %89, ptr %91, align 1, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %1, i64 22
  %93 = load i8, ptr %92, align 1, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %0, i64 86
  store i8 %93, ptr %94, align 1, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %0, i64 54
  store i8 %93, ptr %95, align 1, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %1, i64 23
  %97 = load i8, ptr %96, align 1, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %0, i64 87
  store i8 %97, ptr %98, align 1, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %0, i64 55
  store i8 %97, ptr %99, align 1, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %1, i64 24
  %101 = load i8, ptr %100, align 1, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %0, i64 88
  store i8 %101, ptr %102, align 1, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %0, i64 56
  store i8 %101, ptr %103, align 1, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %1, i64 25
  %105 = load i8, ptr %104, align 1, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %0, i64 89
  store i8 %105, ptr %106, align 1, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %0, i64 57
  store i8 %105, ptr %107, align 1, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %1, i64 26
  %109 = load i8, ptr %108, align 1, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %0, i64 90
  store i8 %109, ptr %110, align 1, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %0, i64 58
  store i8 %109, ptr %111, align 1, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %1, i64 27
  %113 = load i8, ptr %112, align 1, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %0, i64 91
  store i8 %113, ptr %114, align 1, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %0, i64 59
  store i8 %113, ptr %115, align 1, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %1, i64 28
  %117 = load i8, ptr %116, align 1, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %0, i64 92
  store i8 %117, ptr %118, align 1, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %0, i64 60
  store i8 %117, ptr %119, align 1, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %1, i64 29
  %121 = load i8, ptr %120, align 1, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %0, i64 93
  store i8 %121, ptr %122, align 1, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %0, i64 61
  store i8 %121, ptr %123, align 1, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %1, i64 30
  %125 = load i8, ptr %124, align 1, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %0, i64 94
  store i8 %125, ptr %126, align 1, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %0, i64 62
  store i8 %125, ptr %127, align 1, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %1, i64 31
  %129 = load i8, ptr %128, align 1, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %0, i64 95
  store i8 %129, ptr %130, align 1, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %0, i64 63
  store i8 %129, ptr %131, align 1, !tbaa !5
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_expandEncKey(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @aes_addRoundKey_cpy(ptr noundef %2, ptr noundef nonnull %6, ptr noundef %0)
  store i8 1, ptr %4, align 1, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %0, i64 16
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_mixColumns(ptr noundef %2)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef nonnull %132)
  call void @aes_subBytes(ptr noundef %2)
  call void @aes_shiftRows(ptr noundef %2)
  call void @aes_expandEncKey(ptr noundef %0, ptr noundef nonnull %4)
  call void @aes_addRoundKey(ptr noundef %2, ptr noundef %0)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #2
  ret void
}

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 = { mustprogress 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass