; LLVM IR from openluopworld/aes_128 :: main (main)

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

@__const.main.key = external hidden unnamed_addr constant [16 x i8], align 16
@__const.main.plaintext = external hidden unnamed_addr constant [16 x i8], align 16
@__const.main.const_cipher = external hidden unnamed_addr constant [16 x i8], align 16
@.str = external hidden unnamed_addr constant [59 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca [16 x i8], align 16
  %9 = alloca [16 x i8], align 16
  %10 = alloca [16 x i8], align 16
  %11 = alloca [16 x i8], align 16
  %12 = alloca [176 x i8], align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.key, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.plaintext, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.const_cipher, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 176, ptr %12) #4
  %13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %15

15:                                               ; preds = %26, %2
  %16 = load i8, ptr %6, align 1, !tbaa !11
  %17 = zext i8 %16 to i32
  %18 = icmp slt i32 %17, 16
  br i1 %18, label %19, label %29

19:                                               ; preds = %15
  %20 = load i8, ptr %6, align 1, !tbaa !11
  %21 = zext i8 %20 to i64
  %22 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 %21
  %23 = load i8, ptr %22, align 1, !tbaa !11
  %24 = zext i8 %23 to i32
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24)
  br label %26

26:                                               ; preds = %19
  %27 = load i8, ptr %6, align 1, !tbaa !11
  %28 = add i8 %27, 1
  store i8 %28, ptr %6, align 1, !tbaa !11
  br label %15, !llvm.loop !12

29:                                               ; preds = %15
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %31 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
  %32 = getelementptr inbounds [176 x i8], ptr %12, i64 0, i64 0
  call void @aes_key_schedule_128(ptr noundef %31, ptr noundef %32)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i8 0, ptr %7, align 1, !tbaa !11
  br label %34

34:                                               ; preds = %60, %29
  %35 = load i8, ptr %7, align 1, !tbaa !11
  %36 = zext i8 %35 to i32
  %37 = icmp sle i32 %36, 10
  br i1 %37, label %38, label %63

38:                                               ; preds = %34
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %39

39:                                               ; preds = %55, %38
  %40 = load i8, ptr %6, align 1, !tbaa !11
  %41 = zext i8 %40 to i32
  %42 = icmp slt i32 %41, 16
  br i1 %42, label %43, label %58

43:                                               ; preds = %39
  %44 = load i8, ptr %7, align 1, !tbaa !11
  %45 = zext i8 %44 to i32
  %46 = mul nsw i32 %45, 16
  %47 = load i8, ptr %6, align 1, !tbaa !11
  %48 = zext i8 %47 to i32
  %49 = add nsw i32 %46, %48
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [176 x i8], ptr %12, i64 0, i64 %50
  %52 = load i8, ptr %51, align 1, !tbaa !11
  %53 = zext i8 %52 to i32
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53)
  br label %55

55:                                               ; preds = %43
  %56 = load i8, ptr %6, align 1, !tbaa !11
  %57 = add i8 %56, 1
  store i8 %57, ptr %6, align 1, !tbaa !11
  br label %39, !llvm.loop !14

58:                                               ; preds = %39
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %60

60:                                               ; preds = %58
  %61 = load i8, ptr %7, align 1, !tbaa !11
  %62 = add i8 %61, 1
  store i8 %62, ptr %7, align 1, !tbaa !11
  br label %34, !llvm.loop !15

63:                                               ; preds = %34
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %65 = getelementptr inbounds [176 x i8], ptr %12, i64 0, i64 0
  %66 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %67 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
  call void @aes_encrypt_128(ptr noundef %65, ptr noundef %66, ptr noundef %67)
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %69

69:                                               ; preds = %80, %63
  %70 = load i8, ptr %6, align 1, !tbaa !11
  %71 = zext i8 %70 to i32
  %72 = icmp slt i32 %71, 16
  br i1 %72, label %73, label %83

73:                                               ; preds = %69
  %74 = load i8, ptr %6, align 1, !tbaa !11
  %75 = zext i8 %74 to i64
  %76 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !11
  %78 = zext i8 %77 to i32
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %78)
  br label %80

80:                                               ; preds = %73
  %81 = load i8, ptr %6, align 1, !tbaa !11
  %82 = add i8 %81, 1
  store i8 %82, ptr %6, align 1, !tbaa !11
  br label %69, !llvm.loop !16

83:                                               ; preds = %69
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %84

84:                                               ; preds = %102, %83
  %85 = load i8, ptr %6, align 1, !tbaa !11
  %86 = zext i8 %85 to i32
  %87 = icmp slt i32 %86, 16
  br i1 %87, label %88, label %105

88:                                               ; preds = %84
  %89 = load i8, ptr %6, align 1, !tbaa !11
  %90 = zext i8 %89 to i64
  %91 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 %90
  %92 = load i8, ptr %91, align 1, !tbaa !11
  %93 = zext i8 %92 to i32
  %94 = load i8, ptr %6, align 1, !tbaa !11
  %95 = zext i8 %94 to i64
  %96 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 %95
  %97 = load i8, ptr %96, align 1, !tbaa !11
  %98 = zext i8 %97 to i32
  %99 = icmp ne i32 %93, %98
  br i1 %99, label %100, label %101

100:                                              ; preds = %88
  br label %105

101:                                              ; preds = %88
  br label %102

102:                                              ; preds = %101
  %103 = load i8, ptr %6, align 1, !tbaa !11
  %104 = add i8 %103, 1
  store i8 %104, ptr %6, align 1, !tbaa !11
  br label %84, !llvm.loop !17

105:                                              ; preds = %100, %84
  %106 = load i8, ptr %6, align 1, !tbaa !11
  %107 = zext i8 %106 to i32
  %108 = icmp ne i32 16, %107
  br i1 %108, label %109, label %111

109:                                              ; preds = %105
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %113

111:                                              ; preds = %105
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  br label %113

113:                                              ; preds = %111, %109
  %114 = getelementptr inbounds [176 x i8], ptr %12, i64 0, i64 0
  %115 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
  %116 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
  call void @aes_decrypt_128(ptr noundef %114, ptr noundef %115, ptr noundef %116)
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %118

118:                                              ; preds = %129, %113
  %119 = load i8, ptr %6, align 1, !tbaa !11
  %120 = zext i8 %119 to i32
  %121 = icmp slt i32 %120, 16
  br i1 %121, label %122, label %132

122:                                              ; preds = %118
  %123 = load i8, ptr %6, align 1, !tbaa !11
  %124 = zext i8 %123 to i64
  %125 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 %124
  %126 = load i8, ptr %125, align 1, !tbaa !11
  %127 = zext i8 %126 to i32
  %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %127)
  br label %129

129:                                              ; preds = %122
  %130 = load i8, ptr %6, align 1, !tbaa !11
  %131 = add i8 %130, 1
  store i8 %131, ptr %6, align 1, !tbaa !11
  br label %118, !llvm.loop !18

132:                                              ; preds = %118
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %133

133:                                              ; preds = %151, %132
  %134 = load i8, ptr %6, align 1, !tbaa !11
  %135 = zext i8 %134 to i32
  %136 = icmp slt i32 %135, 16
  br i1 %136, label %137, label %154

137:                                              ; preds = %133
  %138 = load i8, ptr %6, align 1, !tbaa !11
  %139 = zext i8 %138 to i64
  %140 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 %139
  %141 = load i8, ptr %140, align 1, !tbaa !11
  %142 = zext i8 %141 to i32
  %143 = load i8, ptr %6, align 1, !tbaa !11
  %144 = zext i8 %143 to i64
  %145 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 %144
  %146 = load i8, ptr %145, align 1, !tbaa !11
  %147 = zext i8 %146 to i32
  %148 = icmp ne i32 %142, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %137
  br label %154

150:                                              ; preds = %137
  br label %151

151:                                              ; preds = %150
  %152 = load i8, ptr %6, align 1, !tbaa !11
  %153 = add i8 %152, 1
  store i8 %153, ptr %6, align 1, !tbaa !11
  br label %133, !llvm.loop !19

154:                                              ; preds = %149, %133
  %155 = load i8, ptr %6, align 1, !tbaa !11
  %156 = zext i8 %155 to i32
  %157 = icmp ne i32 16, %156
  br i1 %157, label %158, label %160

158:                                              ; preds = %154
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %162

160:                                              ; preds = %154
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  br label %162

162:                                              ; preds = %160, %158
  call void @llvm.lifetime.end.p0(i64 176, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  ret i32 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare i32 @printf(ptr noundef, ...) #3

declare void @aes_key_schedule_128(ptr noundef, ptr noundef) #3

declare void @aes_encrypt_128(ptr noundef, ptr noundef, ptr noundef) #3

declare void @aes_decrypt_128(ptr noundef, ptr noundef, ptr noundef) #3

; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}


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

@__const.main.key = external hidden unnamed_addr constant [16 x i8], align 16
@__const.main.plaintext = external hidden unnamed_addr constant [16 x i8], align 16
@__const.main.const_cipher = external hidden unnamed_addr constant [16 x i8], align 16
@.str = external hidden unnamed_addr constant [59 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [16 x i8], align 16
  %4 = alloca [16 x i8], align 16
  %5 = alloca [16 x i8], align 16
  %6 = alloca [176 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.key, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.plaintext, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %6) #5
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %9 = load i8, ptr %4, align 16, !tbaa !5
  %10 = zext i8 %9 to i32
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %10)
  %12 = getelementptr inbounds i8, ptr %4, i64 1
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = zext i8 %13 to i32
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %14)
  %16 = getelementptr inbounds i8, ptr %4, i64 2
  %17 = load i8, ptr %16, align 2, !tbaa !5
  %18 = zext i8 %17 to i32
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %18)
  %20 = getelementptr inbounds i8, ptr %4, i64 3
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %22 = zext i8 %21 to i32
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %22)
  %24 = getelementptr inbounds i8, ptr %4, i64 4
  %25 = load i8, ptr %24, align 4, !tbaa !5
  %26 = zext i8 %25 to i32
  %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %26)
  %28 = getelementptr inbounds i8, ptr %4, i64 5
  %29 = load i8, ptr %28, align 1, !tbaa !5
  %30 = zext i8 %29 to i32
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %30)
  %32 = getelementptr inbounds i8, ptr %4, i64 6
  %33 = load i8, ptr %32, align 2, !tbaa !5
  %34 = zext i8 %33 to i32
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %34)
  %36 = getelementptr inbounds i8, ptr %4, i64 7
  %37 = load i8, ptr %36, align 1, !tbaa !5
  %38 = zext i8 %37 to i32
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %38)
  %40 = getelementptr inbounds i8, ptr %4, i64 8
  %41 = load i8, ptr %40, align 8, !tbaa !5
  %42 = zext i8 %41 to i32
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %42)
  %44 = getelementptr inbounds i8, ptr %4, i64 9
  %45 = load i8, ptr %44, align 1, !tbaa !5
  %46 = zext i8 %45 to i32
  %47 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %46)
  %48 = getelementptr inbounds i8, ptr %4, i64 10
  %49 = load i8, ptr %48, align 2, !tbaa !5
  %50 = zext i8 %49 to i32
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %50)
  %52 = getelementptr inbounds i8, ptr %4, i64 11
  %53 = load i8, ptr %52, align 1, !tbaa !5
  %54 = zext i8 %53 to i32
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %54)
  %56 = getelementptr inbounds i8, ptr %4, i64 12
  %57 = load i8, ptr %56, align 4, !tbaa !5
  %58 = zext i8 %57 to i32
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %58)
  %60 = getelementptr inbounds i8, ptr %4, i64 13
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = zext i8 %61 to i32
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %62)
  %64 = getelementptr inbounds i8, ptr %4, i64 14
  %65 = load i8, ptr %64, align 2, !tbaa !5
  %66 = zext i8 %65 to i32
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %66)
  %68 = getelementptr inbounds i8, ptr %4, i64 15
  %69 = load i8, ptr %68, align 1, !tbaa !5
  %70 = zext i8 %69 to i32
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %70)
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  call void @aes_key_schedule_128(ptr noundef nonnull %3, ptr noundef nonnull %6) #5
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %.preheader35

.preheader35:                                     ; preds = %2, %.preheader35
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %.preheader35 ]
  %74 = shl nuw i64 %indvars.iv, 4
  %75 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %74
  %76 = load i8, ptr %75, align 16, !tbaa !5
  %77 = zext i8 %76 to i32
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %77)
  %79 = or disjoint i64 %74, 1
  %80 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %79
  %81 = load i8, ptr %80, align 1, !tbaa !5
  %82 = zext i8 %81 to i32
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %82)
  %84 = or disjoint i64 %74, 2
  %85 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %84
  %86 = load i8, ptr %85, align 2, !tbaa !5
  %87 = zext i8 %86 to i32
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %87)
  %89 = or disjoint i64 %74, 3
  %90 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %89
  %91 = load i8, ptr %90, align 1, !tbaa !5
  %92 = zext i8 %91 to i32
  %93 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %92)
  %94 = or disjoint i64 %74, 4
  %95 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %94
  %96 = load i8, ptr %95, align 4, !tbaa !5
  %97 = zext i8 %96 to i32
  %98 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %97)
  %99 = or disjoint i64 %74, 5
  %100 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %99
  %101 = load i8, ptr %100, align 1, !tbaa !5
  %102 = zext i8 %101 to i32
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %102)
  %104 = or disjoint i64 %74, 6
  %105 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %104
  %106 = load i8, ptr %105, align 2, !tbaa !5
  %107 = zext i8 %106 to i32
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %107)
  %109 = or disjoint i64 %74, 7
  %110 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !5
  %112 = zext i8 %111 to i32
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %112)
  %114 = or disjoint i64 %74, 8
  %115 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %114
  %116 = load i8, ptr %115, align 8, !tbaa !5
  %117 = zext i8 %116 to i32
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %117)
  %119 = or disjoint i64 %74, 9
  %120 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %119
  %121 = load i8, ptr %120, align 1, !tbaa !5
  %122 = zext i8 %121 to i32
  %123 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %122)
  %124 = or disjoint i64 %74, 10
  %125 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %124
  %126 = load i8, ptr %125, align 2, !tbaa !5
  %127 = zext i8 %126 to i32
  %128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %127)
  %129 = or disjoint i64 %74, 11
  %130 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %129
  %131 = load i8, ptr %130, align 1, !tbaa !5
  %132 = zext i8 %131 to i32
  %133 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %132)
  %134 = or disjoint i64 %74, 12
  %135 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %134
  %136 = load i8, ptr %135, align 4, !tbaa !5
  %137 = zext i8 %136 to i32
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %137)
  %139 = or disjoint i64 %74, 13
  %140 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %139
  %141 = load i8, ptr %140, align 1, !tbaa !5
  %142 = zext i8 %141 to i32
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %142)
  %144 = or disjoint i64 %74, 14
  %145 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %144
  %146 = load i8, ptr %145, align 2, !tbaa !5
  %147 = zext i8 %146 to i32
  %148 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %147)
  %149 = or disjoint i64 %74, 15
  %150 = getelementptr inbounds [176 x i8], ptr %6, i64 0, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !5
  %152 = zext i8 %151 to i32
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %152)
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 11
  br i1 %exitcond.not, label %.preheader34.preheader, label %.preheader35, !llvm.loop !8

.preheader34.preheader:                           ; preds = %.preheader35
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  call void @aes_encrypt_128(ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #5
  %156 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %157 = load i8, ptr %5, align 16, !tbaa !5
  %158 = zext i8 %157 to i32
  %159 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %158)
  %160 = getelementptr inbounds i8, ptr %5, i64 1
  %161 = load i8, ptr %160, align 1, !tbaa !5
  %162 = zext i8 %161 to i32
  %163 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %162)
  %164 = getelementptr inbounds i8, ptr %5, i64 2
  %165 = load i8, ptr %164, align 2, !tbaa !5
  %166 = zext i8 %165 to i32
  %167 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %166)
  %168 = getelementptr inbounds i8, ptr %5, i64 3
  %169 = load i8, ptr %168, align 1, !tbaa !5
  %170 = zext i8 %169 to i32
  %171 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %170)
  %172 = getelementptr inbounds i8, ptr %5, i64 4
  %173 = load i8, ptr %172, align 4, !tbaa !5
  %174 = zext i8 %173 to i32
  %175 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %174)
  %176 = getelementptr inbounds i8, ptr %5, i64 5
  %177 = load i8, ptr %176, align 1, !tbaa !5
  %178 = zext i8 %177 to i32
  %179 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %178)
  %180 = getelementptr inbounds i8, ptr %5, i64 6
  %181 = load i8, ptr %180, align 2, !tbaa !5
  %182 = zext i8 %181 to i32
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %182)
  %184 = getelementptr inbounds i8, ptr %5, i64 7
  %185 = load i8, ptr %184, align 1, !tbaa !5
  %186 = zext i8 %185 to i32
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %186)
  %188 = getelementptr inbounds i8, ptr %5, i64 8
  %189 = load i8, ptr %188, align 8, !tbaa !5
  %190 = zext i8 %189 to i32
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %190)
  %192 = getelementptr inbounds i8, ptr %5, i64 9
  %193 = load i8, ptr %192, align 1, !tbaa !5
  %194 = zext i8 %193 to i32
  %195 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %194)
  %196 = getelementptr inbounds i8, ptr %5, i64 10
  %197 = load i8, ptr %196, align 2, !tbaa !5
  %198 = zext i8 %197 to i32
  %199 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %198)
  %200 = getelementptr inbounds i8, ptr %5, i64 11
  %201 = load i8, ptr %200, align 1, !tbaa !5
  %202 = zext i8 %201 to i32
  %203 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %202)
  %204 = getelementptr inbounds i8, ptr %5, i64 12
  %205 = load i8, ptr %204, align 4, !tbaa !5
  %206 = zext i8 %205 to i32
  %207 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %206)
  %208 = getelementptr inbounds i8, ptr %5, i64 13
  %209 = load i8, ptr %208, align 1, !tbaa !5
  %210 = zext i8 %209 to i32
  %211 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %210)
  %212 = getelementptr inbounds i8, ptr %5, i64 14
  %213 = load i8, ptr %212, align 2, !tbaa !5
  %214 = zext i8 %213 to i32
  %215 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %214)
  %216 = getelementptr inbounds i8, ptr %5, i64 15
  %217 = load i8, ptr %216, align 1, !tbaa !5
  %218 = zext i8 %217 to i32
  %219 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %218)
  %220 = load i8, ptr %5, align 16, !tbaa !5
  %221 = load i8, ptr @__const.main.const_cipher, align 16, !tbaa !5
  %.not = icmp eq i8 %220, %221
  br i1 %.not, label %.preheader34.1, label %.preheader.preheader

.preheader34.1:                                   ; preds = %.preheader34.preheader
  %222 = load i8, ptr %160, align 1, !tbaa !5
  %223 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 1), align 1, !tbaa !5
  %.not.1 = icmp eq i8 %222, %223
  br i1 %.not.1, label %.preheader34.2, label %.preheader.preheader

.preheader34.2:                                   ; preds = %.preheader34.1
  %224 = load i8, ptr %164, align 2, !tbaa !5
  %225 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 2), align 2, !tbaa !5
  %.not.2 = icmp eq i8 %224, %225
  br i1 %.not.2, label %.preheader34.3, label %.preheader.preheader

.preheader34.3:                                   ; preds = %.preheader34.2
  %226 = load i8, ptr %168, align 1, !tbaa !5
  %227 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 3), align 1, !tbaa !5
  %.not.3 = icmp eq i8 %226, %227
  br i1 %.not.3, label %.preheader34.4, label %.preheader.preheader

.preheader34.4:                                   ; preds = %.preheader34.3
  %228 = load i8, ptr %172, align 4, !tbaa !5
  %229 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 4), align 4, !tbaa !5
  %.not.4 = icmp eq i8 %228, %229
  br i1 %.not.4, label %.preheader34.5, label %.preheader.preheader

.preheader34.5:                                   ; preds = %.preheader34.4
  %230 = load i8, ptr %176, align 1, !tbaa !5
  %231 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 5), align 1, !tbaa !5
  %.not.5 = icmp eq i8 %230, %231
  br i1 %.not.5, label %.preheader34.6, label %.preheader.preheader

.preheader34.6:                                   ; preds = %.preheader34.5
  %232 = load i8, ptr %180, align 2, !tbaa !5
  %233 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 6), align 2, !tbaa !5
  %.not.6 = icmp eq i8 %232, %233
  br i1 %.not.6, label %.preheader34.7, label %.preheader.preheader

.preheader34.7:                                   ; preds = %.preheader34.6
  %234 = load i8, ptr %184, align 1, !tbaa !5
  %235 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 7), align 1, !tbaa !5
  %.not.7 = icmp eq i8 %234, %235
  br i1 %.not.7, label %.preheader34.8, label %.preheader.preheader

.preheader34.8:                                   ; preds = %.preheader34.7
  %236 = load i8, ptr %188, align 8, !tbaa !5
  %237 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 8), align 8, !tbaa !5
  %.not.8 = icmp eq i8 %236, %237
  br i1 %.not.8, label %.preheader34.9, label %.preheader.preheader

.preheader34.9:                                   ; preds = %.preheader34.8
  %238 = load i8, ptr %192, align 1, !tbaa !5
  %239 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 9), align 1, !tbaa !5
  %.not.9 = icmp eq i8 %238, %239
  br i1 %.not.9, label %.preheader34.10, label %.preheader.preheader

.preheader34.10:                                  ; preds = %.preheader34.9
  %240 = load i8, ptr %196, align 2, !tbaa !5
  %241 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 10), align 2, !tbaa !5
  %.not.10 = icmp eq i8 %240, %241
  br i1 %.not.10, label %.preheader34.11, label %.preheader.preheader

.preheader34.11:                                  ; preds = %.preheader34.10
  %242 = load i8, ptr %200, align 1, !tbaa !5
  %243 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 11), align 1, !tbaa !5
  %.not.11 = icmp eq i8 %242, %243
  br i1 %.not.11, label %.preheader34.12, label %.preheader.preheader

.preheader34.12:                                  ; preds = %.preheader34.11
  %244 = load i8, ptr %204, align 4, !tbaa !5
  %245 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 12), align 4, !tbaa !5
  %.not.12 = icmp eq i8 %244, %245
  br i1 %.not.12, label %.preheader34.13, label %.preheader.preheader

.preheader34.13:                                  ; preds = %.preheader34.12
  %246 = load i8, ptr %208, align 1, !tbaa !5
  %247 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 13), align 1, !tbaa !5
  %.not.13 = icmp eq i8 %246, %247
  br i1 %.not.13, label %.preheader34.14, label %.preheader.preheader

.preheader34.14:                                  ; preds = %.preheader34.13
  %248 = load i8, ptr %212, align 2, !tbaa !5
  %249 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 14), align 2, !tbaa !5
  %.not.14 = icmp eq i8 %248, %249
  br i1 %.not.14, label %.preheader34.15, label %.preheader.preheader

.preheader34.15:                                  ; preds = %.preheader34.14
  %250 = load i8, ptr %216, align 1, !tbaa !5
  %251 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.const_cipher, i64 15), align 1, !tbaa !5
  %.not.15 = icmp eq i8 %250, %251
  %spec.select = select i1 %.not.15, ptr @.str.8, ptr @.str.7
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader34.15, %.preheader34.14, %.preheader34.13, %.preheader34.12, %.preheader34.11, %.preheader34.10, %.preheader34.9, %.preheader34.8, %.preheader34.7, %.preheader34.6, %.preheader34.5, %.preheader34.4, %.preheader34.3, %.preheader34.2, %.preheader34.1, %.preheader34.preheader
  %.str.8.sink = phi ptr [ @.str.7, %.preheader34.preheader ], [ @.str.7, %.preheader34.1 ], [ @.str.7, %.preheader34.2 ], [ @.str.7, %.preheader34.3 ], [ @.str.7, %.preheader34.4 ], [ @.str.7, %.preheader34.5 ], [ @.str.7, %.preheader34.6 ], [ @.str.7, %.preheader34.7 ], [ @.str.7, %.preheader34.8 ], [ @.str.7, %.preheader34.9 ], [ @.str.7, %.preheader34.10 ], [ @.str.7, %.preheader34.11 ], [ @.str.7, %.preheader34.12 ], [ @.str.7, %.preheader34.13 ], [ @.str.7, %.preheader34.14 ], [ %spec.select, %.preheader34.15 ]
  %252 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.8.sink)
  call void @aes_decrypt_128(ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef nonnull %5) #5
  %253 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %254 = load i8, ptr %5, align 16, !tbaa !5
  %255 = zext i8 %254 to i32
  %256 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %255)
  %257 = load i8, ptr %160, align 1, !tbaa !5
  %258 = zext i8 %257 to i32
  %259 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %258)
  %260 = load i8, ptr %164, align 2, !tbaa !5
  %261 = zext i8 %260 to i32
  %262 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %261)
  %263 = load i8, ptr %168, align 1, !tbaa !5
  %264 = zext i8 %263 to i32
  %265 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %264)
  %266 = load i8, ptr %172, align 4, !tbaa !5
  %267 = zext i8 %266 to i32
  %268 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %267)
  %269 = load i8, ptr %176, align 1, !tbaa !5
  %270 = zext i8 %269 to i32
  %271 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %270)
  %272 = load i8, ptr %180, align 2, !tbaa !5
  %273 = zext i8 %272 to i32
  %274 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %273)
  %275 = load i8, ptr %184, align 1, !tbaa !5
  %276 = zext i8 %275 to i32
  %277 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %276)
  %278 = load i8, ptr %188, align 8, !tbaa !5
  %279 = zext i8 %278 to i32
  %280 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %279)
  %281 = load i8, ptr %192, align 1, !tbaa !5
  %282 = zext i8 %281 to i32
  %283 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %282)
  %284 = load i8, ptr %196, align 2, !tbaa !5
  %285 = zext i8 %284 to i32
  %286 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %285)
  %287 = load i8, ptr %200, align 1, !tbaa !5
  %288 = zext i8 %287 to i32
  %289 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %288)
  %290 = load i8, ptr %204, align 4, !tbaa !5
  %291 = zext i8 %290 to i32
  %292 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %291)
  %293 = load i8, ptr %208, align 1, !tbaa !5
  %294 = zext i8 %293 to i32
  %295 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %294)
  %296 = load i8, ptr %212, align 2, !tbaa !5
  %297 = zext i8 %296 to i32
  %298 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %297)
  %299 = load i8, ptr %216, align 1, !tbaa !5
  %300 = zext i8 %299 to i32
  %301 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %300)
  %302 = load i8, ptr %5, align 16, !tbaa !5
  %303 = load i8, ptr %4, align 16, !tbaa !5
  %.not29 = icmp eq i8 %302, %303
  br i1 %.not29, label %.preheader.1, label %.thread32

.preheader.1:                                     ; preds = %.preheader.preheader
  %304 = load i8, ptr %160, align 1, !tbaa !5
  %305 = load i8, ptr %12, align 1, !tbaa !5
  %.not29.1 = icmp eq i8 %304, %305
  br i1 %.not29.1, label %.preheader.2, label %.thread32

.preheader.2:                                     ; preds = %.preheader.1
  %306 = load i8, ptr %164, align 2, !tbaa !5
  %307 = load i8, ptr %16, align 2, !tbaa !5
  %.not29.2 = icmp eq i8 %306, %307
  br i1 %.not29.2, label %.preheader.3, label %.thread32

.preheader.3:                                     ; preds = %.preheader.2
  %308 = load i8, ptr %168, align 1, !tbaa !5
  %309 = load i8, ptr %20, align 1, !tbaa !5
  %.not29.3 = icmp eq i8 %308, %309
  br i1 %.not29.3, label %.preheader.4, label %.thread32

.preheader.4:                                     ; preds = %.preheader.3
  %310 = load i8, ptr %172, align 4, !tbaa !5
  %311 = load i8, ptr %24, align 4, !tbaa !5
  %.not29.4 = icmp eq i8 %310, %311
  br i1 %.not29.4, label %.preheader.5, label %.thread32

.preheader.5:                                     ; preds = %.preheader.4
  %312 = load i8, ptr %176, align 1, !tbaa !5
  %313 = load i8, ptr %28, align 1, !tbaa !5
  %.not29.5 = icmp eq i8 %312, %313
  br i1 %.not29.5, label %.preheader.6, label %.thread32

.preheader.6:                                     ; preds = %.preheader.5
  %314 = load i8, ptr %180, align 2, !tbaa !5
  %315 = load i8, ptr %32, align 2, !tbaa !5
  %.not29.6 = icmp eq i8 %314, %315
  br i1 %.not29.6, label %.preheader.7, label %.thread32

.preheader.7:                                     ; preds = %.preheader.6
  %316 = load i8, ptr %184, align 1, !tbaa !5
  %317 = load i8, ptr %36, align 1, !tbaa !5
  %.not29.7 = icmp eq i8 %316, %317
  br i1 %.not29.7, label %.preheader.8, label %.thread32

.preheader.8:                                     ; preds = %.preheader.7
  %318 = load i8, ptr %188, align 8, !tbaa !5
  %319 = load i8, ptr %40, align 8, !tbaa !5
  %.not29.8 = icmp eq i8 %318, %319
  br i1 %.not29.8, label %.preheader.9, label %.thread32

.preheader.9:                                     ; preds = %.preheader.8
  %320 = load i8, ptr %192, align 1, !tbaa !5
  %321 = load i8, ptr %44, align 1, !tbaa !5
  %.not29.9 = icmp eq i8 %320, %321
  br i1 %.not29.9, label %.preheader.10, label %.thread32

.preheader.10:                                    ; preds = %.preheader.9
  %322 = load i8, ptr %196, align 2, !tbaa !5
  %323 = load i8, ptr %48, align 2, !tbaa !5
  %.not29.10 = icmp eq i8 %322, %323
  br i1 %.not29.10, label %.preheader.11, label %.thread32

.preheader.11:                                    ; preds = %.preheader.10
  %324 = load i8, ptr %200, align 1, !tbaa !5
  %325 = load i8, ptr %52, align 1, !tbaa !5
  %.not29.11 = icmp eq i8 %324, %325
  br i1 %.not29.11, label %.preheader.12, label %.thread32

.preheader.12:                                    ; preds = %.preheader.11
  %326 = load i8, ptr %204, align 4, !tbaa !5
  %327 = load i8, ptr %56, align 4, !tbaa !5
  %.not29.12 = icmp eq i8 %326, %327
  br i1 %.not29.12, label %.preheader.13, label %.thread32

.preheader.13:                                    ; preds = %.preheader.12
  %328 = load i8, ptr %208, align 1, !tbaa !5
  %329 = load i8, ptr %60, align 1, !tbaa !5
  %.not29.13 = icmp eq i8 %328, %329
  br i1 %.not29.13, label %.preheader.14, label %.thread32

.preheader.14:                                    ; preds = %.preheader.13
  %330 = load i8, ptr %212, align 2, !tbaa !5
  %331 = load i8, ptr %64, align 2, !tbaa !5
  %.not29.14 = icmp eq i8 %330, %331
  br i1 %.not29.14, label %.preheader.15, label %.thread32

.preheader.15:                                    ; preds = %.preheader.14
  %332 = load i8, ptr %216, align 1, !tbaa !5
  %333 = load i8, ptr %68, align 1, !tbaa !5
  %.not29.15 = icmp eq i8 %332, %333
  %spec.select65 = select i1 %.not29.15, ptr @.str.10, ptr @.str.9
  br label %.thread32

.thread32:                                        ; preds = %.preheader.15, %.preheader.14, %.preheader.13, %.preheader.12, %.preheader.11, %.preheader.10, %.preheader.9, %.preheader.8, %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %.str.10.sink = phi ptr [ @.str.9, %.preheader.preheader ], [ @.str.9, %.preheader.1 ], [ @.str.9, %.preheader.2 ], [ @.str.9, %.preheader.3 ], [ @.str.9, %.preheader.4 ], [ @.str.9, %.preheader.5 ], [ @.str.9, %.preheader.6 ], [ @.str.9, %.preheader.7 ], [ @.str.9, %.preheader.8 ], [ @.str.9, %.preheader.9 ], [ @.str.9, %.preheader.10 ], [ @.str.9, %.preheader.11 ], [ @.str.9, %.preheader.12 ], [ @.str.9, %.preheader.13 ], [ @.str.9, %.preheader.14 ], [ %spec.select65, %.preheader.15 ]
  %334 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.10.sink)
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  ret i32 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare void @aes_key_schedule_128(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @aes_encrypt_128(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @aes_decrypt_128(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree nounwind "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 #4 = { "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 #5 = { 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"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass