; LLVM IR from Serpent27/Wyndhim :: src (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"

%struct.timeval = type { i64, i64 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@stdin = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [16 x i8], align 1

; 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: nounwind uwtable
declare dso_local void @enc(ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @to_hex(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @from_hex(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local double @timediff(i64, i64, i64, i64) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca [17 x i8], align 16
  %3 = alloca [33 x i8], align 16
  %4 = alloca [34 x i8], align 16
  %5 = alloca [66 x i8], align 16
  %6 = alloca [16 x i8], align 16
  %7 = alloca [33 x i8], align 16
  %8 = alloca [33 x i8], align 16
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca [528 x i8], align 16
  %12 = alloca [16 x i8], align 16
  %13 = alloca %struct.timeval, align 8
  %14 = alloca %struct.timeval, align 8
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  br label %16

16:                                               ; preds = %617, %0
  call void @llvm.lifetime.start.p0(i64 17, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 33, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 34, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 66, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 33, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 33, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 528, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %24

24:                                               ; preds = %25, %16
  br i1 false, label %25, label %26

25:                                               ; preds = %24
  br label %24

26:                                               ; preds = %24
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %34, %26
  %29 = load i64, ptr %9, align 8, !tbaa !5
  %30 = icmp ult i64 %29, 34
  br i1 %30, label %31, label %37

31:                                               ; preds = %28
  %32 = load i64, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 %32
  store i8 0, ptr %33, align 1, !tbaa !9
  br label %34

34:                                               ; preds = %31
  %35 = load i64, ptr %9, align 8, !tbaa !5
  %36 = add i64 %35, 1
  store i64 %36, ptr %9, align 8, !tbaa !5
  br label %28, !llvm.loop !10

37:                                               ; preds = %28
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %39 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
  %40 = load ptr, ptr @stdin, align 8, !tbaa !12
  %41 = call ptr @fgets(ptr noundef %39, i32 noundef 34, ptr noundef %40)
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %43 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 33
  store i8 0, ptr %43, align 1, !tbaa !9
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %50, %37
  %45 = load i64, ptr %9, align 8, !tbaa !5
  %46 = icmp ult i64 %45, 66
  br i1 %46, label %47, label %53

47:                                               ; preds = %44
  %48 = load i64, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 %48
  store i8 0, ptr %49, align 1, !tbaa !9
  br label %50

50:                                               ; preds = %47
  %51 = load i64, ptr %9, align 8, !tbaa !5
  %52 = add i64 %51, 1
  store i64 %52, ptr %9, align 8, !tbaa !5
  br label %44, !llvm.loop !14

53:                                               ; preds = %44
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %55 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 0
  %56 = load ptr, ptr @stdin, align 8, !tbaa !12
  %57 = call ptr @fgets(ptr noundef %55, i32 noundef 66, ptr noundef %56)
  %58 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %59 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 65
  store i8 0, ptr %59, align 1, !tbaa !9
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %69, %53
  %64 = load i64, ptr %9, align 8, !tbaa !5
  %65 = icmp ult i64 %64, 16
  br i1 %65, label %66, label %72

66:                                               ; preds = %63
  %67 = load i64, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %67
  store i8 0, ptr %68, align 1, !tbaa !9
  br label %69

69:                                               ; preds = %66
  %70 = load i64, ptr %9, align 8, !tbaa !5
  %71 = add i64 %70, 1
  store i64 %71, ptr %9, align 8, !tbaa !5
  br label %63, !llvm.loop !15

72:                                               ; preds = %63
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %74 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %75 = load ptr, ptr @stdin, align 8, !tbaa !12
  %76 = call ptr @fgets(ptr noundef %74, i32 noundef 16, ptr noundef %75)
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %78 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 0
  %79 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  call void @from_hex(ptr noundef %78, ptr noundef %79, i64 noundef 32)
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %81 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %82 = load i8, ptr %81, align 16, !tbaa !9
  %83 = zext i8 %82 to i32
  %84 = icmp eq i32 %83, 101
  br i1 %84, label %90, label %85

85:                                               ; preds = %72
  %86 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %87 = load i8, ptr %86, align 16, !tbaa !9
  %88 = zext i8 %87 to i32
  %89 = icmp eq i32 %88, 69
  br i1 %89, label %90, label %118

90:                                               ; preds = %85, %72
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %91

91:                                               ; preds = %100, %90
  %92 = load i64, ptr %9, align 8, !tbaa !5
  %93 = icmp ult i64 %92, 16
  br i1 %93, label %94, label %103

94:                                               ; preds = %91
  %95 = load i64, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 %95
  %97 = load i8, ptr %96, align 1, !tbaa !9
  %98 = load i64, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 %98
  store i8 %97, ptr %99, align 1, !tbaa !9
  br label %100

100:                                              ; preds = %94
  %101 = load i64, ptr %9, align 8, !tbaa !5
  %102 = add i64 %101, 1
  store i64 %102, ptr %9, align 8, !tbaa !5
  br label %91, !llvm.loop !16

103:                                              ; preds = %91
  %104 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %105 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  call void @encrypt(ptr noundef %104, ptr noundef %105)
  %106 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %107 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0
  call void @to_hex(ptr noundef %106, ptr noundef %107, i64 noundef 16)
  %108 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 32
  store i8 0, ptr %108, align 16, !tbaa !9
  %109 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0
  %110 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0
  %111 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %109, ptr noundef @.str.14, ptr noundef %110) #4
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %113 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0
  %114 = call i32 (ptr, ...) @printf(ptr noundef %113)
  br label %115

115:                                              ; preds = %116, %103
  br i1 false, label %116, label %117

116:                                              ; preds = %115
  br label %115

117:                                              ; preds = %115
  br label %118

118:                                              ; preds = %117, %85
  %119 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %120 = load i8, ptr %119, align 16, !tbaa !9
  %121 = zext i8 %120 to i32
  %122 = icmp eq i32 %121, 100
  br i1 %122, label %128, label %123

123:                                              ; preds = %118
  %124 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %125 = load i8, ptr %124, align 16, !tbaa !9
  %126 = zext i8 %125 to i32
  %127 = icmp eq i32 %126, 68
  br i1 %127, label %128, label %158

128:                                              ; preds = %123, %118
  %129 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
  %130 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  call void @from_hex(ptr noundef %129, ptr noundef %130, i64 noundef 16)
  %131 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %132 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  call void @decrypt(ptr noundef %131, ptr noundef %132)
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %133

133:                                              ; preds = %145, %128
  %134 = load i64, ptr %9, align 8, !tbaa !5
  %135 = icmp ult i64 %134, 16
  br i1 %135, label %136, label %148

136:                                              ; preds = %133
  %137 = load i64, ptr %9, align 8, !tbaa !5
  %138 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 %137
  %139 = load i8, ptr %138, align 1, !tbaa !9
  %140 = load i64, ptr %9, align 8, !tbaa !5
  %141 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %140
  store i8 %139, ptr %141, align 1, !tbaa !9
  %142 = load i64, ptr %9, align 8, !tbaa !5
  %143 = add i64 %142, 16
  %144 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %143
  store i8 0, ptr %144, align 1, !tbaa !9
  br label %145

145:                                              ; preds = %136
  %146 = load i64, ptr %9, align 8, !tbaa !5
  %147 = add i64 %146, 1
  store i64 %147, ptr %9, align 8, !tbaa !5
  br label %133, !llvm.loop !17

148:                                              ; preds = %133
  %149 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0
  %150 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0
  %151 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %149, ptr noundef @.str.14, ptr noundef %150) #4
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %153 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0
  %154 = call i32 (ptr, ...) @printf(ptr noundef %153)
  br label %155

155:                                              ; preds = %156, %148
  br i1 false, label %156, label %157

156:                                              ; preds = %155
  br label %155

157:                                              ; preds = %155
  br label %158

158:                                              ; preds = %157, %123
  %159 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %160 = load i8, ptr %159, align 16, !tbaa !9
  %161 = zext i8 %160 to i32
  %162 = icmp eq i32 %161, 116
  br i1 %162, label %168, label %163

163:                                              ; preds = %158
  %164 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %165 = load i8, ptr %164, align 16, !tbaa !9
  %166 = zext i8 %165 to i32
  %167 = icmp eq i32 %166, 84
  br i1 %167, label %168, label %326

168:                                              ; preds = %163, %158
  %169 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
  %170 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  call void @from_hex(ptr noundef %169, ptr noundef %170, i64 noundef 16)
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %172 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  %173 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  call void @expand_key(ptr noundef %172, ptr noundef %173)
  %174 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null) #4
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %175

175:                                              ; preds = %182, %168
  %176 = load i64, ptr %9, align 8, !tbaa !5
  %177 = icmp ult i64 %176, 100000
  br i1 %177, label %178, label %185

178:                                              ; preds = %175
  %179 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %180 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  %181 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
  call void @enc(ptr noundef %179, ptr noundef %180, ptr noundef %181)
  br label %182

182:                                              ; preds = %178
  %183 = load i64, ptr %9, align 8, !tbaa !5
  %184 = add i64 %183, 1
  store i64 %184, ptr %9, align 8, !tbaa !5
  br label %175, !llvm.loop !18

185:                                              ; preds = %175
  %186 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null) #4
  %187 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %188 = load i64, ptr %187, align 8
  %189 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %190 = load i64, ptr %189, align 8
  %191 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %192 = load i64, ptr %191, align 8
  %193 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %194 = load i64, ptr %193, align 8
  %195 = call double @timediff(i64 %188, i64 %190, i64 %192, i64 %194)
  %196 = fdiv double %195, 1.000000e+06
  %197 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %198 = load i64, ptr %197, align 8
  %199 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %200 = load i64, ptr %199, align 8
  %201 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %202 = load i64, ptr %201, align 8
  %203 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %204 = load i64, ptr %203, align 8
  %205 = call double @timediff(i64 %198, i64 %200, i64 %202, i64 %204)
  %206 = fdiv double 1.600000e+06, %205
  %207 = fmul double %206, 1.000000e+06
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %196, i32 noundef 100000, i32 noundef 1600000, double noundef %207)
  %209 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  %210 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  call void @expand_key(ptr noundef %209, ptr noundef %210)
  %211 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null) #4
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %212

212:                                              ; preds = %219, %185
  %213 = load i64, ptr %9, align 8, !tbaa !5
  %214 = icmp ult i64 %213, 100000
  br i1 %214, label %215, label %222

215:                                              ; preds = %212
  %216 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %217 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  %218 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
  call void @dec(ptr noundef %216, ptr noundef %217, ptr noundef %218)
  br label %219

219:                                              ; preds = %215
  %220 = load i64, ptr %9, align 8, !tbaa !5
  %221 = add i64 %220, 1
  store i64 %221, ptr %9, align 8, !tbaa !5
  br label %212, !llvm.loop !19

222:                                              ; preds = %212
  %223 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null) #4
  %224 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %225 = load i64, ptr %224, align 8
  %226 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %227 = load i64, ptr %226, align 8
  %228 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %229 = load i64, ptr %228, align 8
  %230 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %231 = load i64, ptr %230, align 8
  %232 = call double @timediff(i64 %225, i64 %227, i64 %229, i64 %231)
  %233 = fdiv double %232, 1.000000e+06
  %234 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %235 = load i64, ptr %234, align 8
  %236 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %237 = load i64, ptr %236, align 8
  %238 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %239 = load i64, ptr %238, align 8
  %240 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %241 = load i64, ptr %240, align 8
  %242 = call double @timediff(i64 %235, i64 %237, i64 %239, i64 %241)
  %243 = fdiv double 1.600000e+06, %242
  %244 = fmul double %243, 1.000000e+06
  %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %233, i32 noundef 100000, i32 noundef 1600000, double noundef %244)
  %246 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null) #4
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %247

247:                                              ; preds = %256, %222
  %248 = load i64, ptr %9, align 8, !tbaa !5
  %249 = icmp ult i64 %248, 100000
  br i1 %249, label %250, label %259

250:                                              ; preds = %247
  %251 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  %252 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  call void @expand_key(ptr noundef %251, ptr noundef %252)
  %253 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %254 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  %255 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
  call void @enc(ptr noundef %253, ptr noundef %254, ptr noundef %255)
  br label %256

256:                                              ; preds = %250
  %257 = load i64, ptr %9, align 8, !tbaa !5
  %258 = add i64 %257, 1
  store i64 %258, ptr %9, align 8, !tbaa !5
  br label %247, !llvm.loop !20

259:                                              ; preds = %247
  %260 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null) #4
  %261 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %262 = load i64, ptr %261, align 8
  %263 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %264 = load i64, ptr %263, align 8
  %265 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %266 = load i64, ptr %265, align 8
  %267 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %268 = load i64, ptr %267, align 8
  %269 = call double @timediff(i64 %262, i64 %264, i64 %266, i64 %268)
  %270 = fdiv double %269, 1.000000e+06
  %271 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %272 = load i64, ptr %271, align 8
  %273 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %274 = load i64, ptr %273, align 8
  %275 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %276 = load i64, ptr %275, align 8
  %277 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %278 = load i64, ptr %277, align 8
  %279 = call double @timediff(i64 %272, i64 %274, i64 %276, i64 %278)
  %280 = fdiv double 1.600000e+06, %279
  %281 = fmul double %280, 1.000000e+06
  %282 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %270, i32 noundef 100000, i32 noundef 1600000, double noundef %281)
  %283 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null) #4
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %284

284:                                              ; preds = %293, %259
  %285 = load i64, ptr %9, align 8, !tbaa !5
  %286 = icmp ult i64 %285, 100000
  br i1 %286, label %287, label %296

287:                                              ; preds = %284
  %288 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  %289 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  call void @expand_key(ptr noundef %288, ptr noundef %289)
  %290 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %291 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 0
  %292 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
  call void @dec(ptr noundef %290, ptr noundef %291, ptr noundef %292)
  br label %293

293:                                              ; preds = %287
  %294 = load i64, ptr %9, align 8, !tbaa !5
  %295 = add i64 %294, 1
  store i64 %295, ptr %9, align 8, !tbaa !5
  br label %284, !llvm.loop !21

296:                                              ; preds = %284
  %297 = call i32 @gettimeofday(ptr noundef %14, ptr noundef null) #4
  %298 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %299 = load i64, ptr %298, align 8
  %300 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %301 = load i64, ptr %300, align 8
  %302 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %303 = load i64, ptr %302, align 8
  %304 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %305 = load i64, ptr %304, align 8
  %306 = call double @timediff(i64 %299, i64 %301, i64 %303, i64 %305)
  %307 = fdiv double %306, 1.000000e+06
  %308 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %309 = load i64, ptr %308, align 8
  %310 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %311 = load i64, ptr %310, align 8
  %312 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %313 = load i64, ptr %312, align 8
  %314 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %315 = load i64, ptr %314, align 8
  %316 = call double @timediff(i64 %309, i64 %311, i64 %313, i64 %315)
  %317 = fdiv double 1.600000e+06, %316
  %318 = fmul double %317, 1.000000e+06
  %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %307, i32 noundef 100000, i32 noundef 1600000, double noundef %318)
  %320 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %321 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 0
  %322 = call i32 (ptr, ...) @printf(ptr noundef %321)
  br label %323

323:                                              ; preds = %324, %296
  br i1 false, label %324, label %325

324:                                              ; preds = %323
  br label %323

325:                                              ; preds = %323
  br label %326

326:                                              ; preds = %325, %163
  %327 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %328 = load i8, ptr %327, align 16, !tbaa !9
  %329 = zext i8 %328 to i32
  %330 = icmp eq i32 %329, 120
  br i1 %330, label %336, label %331

331:                                              ; preds = %326
  %332 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %333 = load i8, ptr %332, align 16, !tbaa !9
  %334 = zext i8 %333 to i32
  %335 = icmp eq i32 %334, 88
  br i1 %335, label %336, label %430

336:                                              ; preds = %331, %326
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %337

337:                                              ; preds = %346, %336
  %338 = load i64, ptr %9, align 8, !tbaa !5
  %339 = icmp ult i64 %338, 16
  br i1 %339, label %340, label %349

340:                                              ; preds = %337
  %341 = load i64, ptr %9, align 8, !tbaa !5
  %342 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 %341
  %343 = load i8, ptr %342, align 1, !tbaa !9
  %344 = load i64, ptr %9, align 8, !tbaa !5
  %345 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 %344
  store i8 %343, ptr %345, align 1, !tbaa !9
  br label %346

346:                                              ; preds = %340
  %347 = load i64, ptr %9, align 8, !tbaa !5
  %348 = add i64 %347, 1
  store i64 %348, ptr %9, align 8, !tbaa !5
  br label %337, !llvm.loop !22

349:                                              ; preds = %337
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %350

350:                                              ; preds = %359, %349
  %351 = load i64, ptr %9, align 8, !tbaa !5
  %352 = icmp ult i64 %351, 32
  br i1 %352, label %353, label %362

353:                                              ; preds = %350
  %354 = load i64, ptr %9, align 8, !tbaa !5
  %355 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 %354
  %356 = load i8, ptr %355, align 1, !tbaa !9
  %357 = load i64, ptr %9, align 8, !tbaa !5
  %358 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 %357
  store i8 %356, ptr %358, align 1, !tbaa !9
  br label %359

359:                                              ; preds = %353
  %360 = load i64, ptr %9, align 8, !tbaa !5
  %361 = add i64 %360, 1
  store i64 %361, ptr %9, align 8, !tbaa !5
  br label %350, !llvm.loop !23

362:                                              ; preds = %350
  %363 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 32
  store i8 0, ptr %363, align 16, !tbaa !9
  %364 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %365 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
  call void @to_hex(ptr noundef %364, ptr noundef %365, i64 noundef 16)
  %366 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  %367 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 0
  call void @to_hex(ptr noundef %366, ptr noundef %367, i64 noundef 32)
  %368 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %369

369:                                              ; preds = %375, %362
  %370 = load i64, ptr %9, align 8, !tbaa !5
  %371 = icmp ult i64 %370, 32
  br i1 %371, label %372, label %378

372:                                              ; preds = %369
  %373 = load i64, ptr %9, align 8, !tbaa !5
  %374 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 %373
  store i8 0, ptr %374, align 1, !tbaa !9
  br label %375

375:                                              ; preds = %372
  %376 = load i64, ptr %9, align 8, !tbaa !5
  %377 = add i64 %376, 1
  store i64 %377, ptr %9, align 8, !tbaa !5
  br label %369, !llvm.loop !24

378:                                              ; preds = %369
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %379

379:                                              ; preds = %385, %378
  %380 = load i64, ptr %9, align 8, !tbaa !5
  %381 = icmp ult i64 %380, 16
  br i1 %381, label %382, label %388

382:                                              ; preds = %379
  %383 = load i64, ptr %9, align 8, !tbaa !5
  %384 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 %383
  store i8 0, ptr %384, align 1, !tbaa !9
  br label %385

385:                                              ; preds = %382
  %386 = load i64, ptr %9, align 8, !tbaa !5
  %387 = add i64 %386, 1
  store i64 %387, ptr %9, align 8, !tbaa !5
  br label %379, !llvm.loop !25

388:                                              ; preds = %379
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %389

389:                                              ; preds = %395, %388
  %390 = load i64, ptr %9, align 8, !tbaa !5
  %391 = icmp ult i64 %390, 16
  br i1 %391, label %392, label %398

392:                                              ; preds = %389
  %393 = load i64, ptr %9, align 8, !tbaa !5
  %394 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %393
  store i8 0, ptr %394, align 1, !tbaa !9
  br label %395

395:                                              ; preds = %392
  %396 = load i64, ptr %9, align 8, !tbaa !5
  %397 = add i64 %396, 1
  store i64 %397, ptr %9, align 8, !tbaa !5
  br label %389, !llvm.loop !26

398:                                              ; preds = %389
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %399

399:                                              ; preds = %405, %398
  %400 = load i64, ptr %9, align 8, !tbaa !5
  %401 = icmp ult i64 %400, 33
  br i1 %401, label %402, label %408

402:                                              ; preds = %399
  %403 = load i64, ptr %9, align 8, !tbaa !5
  %404 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %403
  store i8 0, ptr %404, align 1, !tbaa !9
  br label %405

405:                                              ; preds = %402
  %406 = load i64, ptr %9, align 8, !tbaa !5
  %407 = add i64 %406, 1
  store i64 %407, ptr %9, align 8, !tbaa !5
  br label %399, !llvm.loop !27

408:                                              ; preds = %399
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %409

409:                                              ; preds = %415, %408
  %410 = load i64, ptr %9, align 8, !tbaa !5
  %411 = icmp ult i64 %410, 33
  br i1 %411, label %412, label %418

412:                                              ; preds = %409
  %413 = load i64, ptr %9, align 8, !tbaa !5
  %414 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %413
  store i8 0, ptr %414, align 1, !tbaa !9
  br label %415

415:                                              ; preds = %412
  %416 = load i64, ptr %9, align 8, !tbaa !5
  %417 = add i64 %416, 1
  store i64 %417, ptr %9, align 8, !tbaa !5
  br label %409, !llvm.loop !28

418:                                              ; preds = %409
  %419 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
  %420 = call i32 (ptr, ...) @printf(ptr noundef %419)
  br label %421

421:                                              ; preds = %422, %418
  br i1 false, label %422, label %423

422:                                              ; preds = %421
  br label %421

423:                                              ; preds = %421
  %424 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %425 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 0
  %426 = call i32 (ptr, ...) @printf(ptr noundef %425)
  br label %427

427:                                              ; preds = %428, %423
  br i1 false, label %428, label %429

428:                                              ; preds = %427
  br label %427

429:                                              ; preds = %427
  br label %430

430:                                              ; preds = %429, %331
  %431 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %432 = load i8, ptr %431, align 16, !tbaa !9
  %433 = zext i8 %432 to i32
  %434 = icmp eq i32 %433, 117
  br i1 %434, label %440, label %435

435:                                              ; preds = %430
  %436 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %437 = load i8, ptr %436, align 16, !tbaa !9
  %438 = zext i8 %437 to i32
  %439 = icmp eq i32 %438, 85
  br i1 %439, label %440, label %514

440:                                              ; preds = %435, %430
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %441

441:                                              ; preds = %450, %440
  %442 = load i64, ptr %9, align 8, !tbaa !5
  %443 = icmp ult i64 %442, 16
  br i1 %443, label %444, label %453

444:                                              ; preds = %441
  %445 = load i64, ptr %9, align 8, !tbaa !5
  %446 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 %445
  %447 = load i8, ptr %446, align 1, !tbaa !9
  %448 = load i64, ptr %9, align 8, !tbaa !5
  %449 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 %448
  store i8 %447, ptr %449, align 1, !tbaa !9
  br label %450

450:                                              ; preds = %444
  %451 = load i64, ptr %9, align 8, !tbaa !5
  %452 = add i64 %451, 1
  store i64 %452, ptr %9, align 8, !tbaa !5
  br label %441, !llvm.loop !29

453:                                              ; preds = %441
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %454

454:                                              ; preds = %463, %453
  %455 = load i64, ptr %9, align 8, !tbaa !5
  %456 = icmp ult i64 %455, 32
  br i1 %456, label %457, label %466

457:                                              ; preds = %454
  %458 = load i64, ptr %9, align 8, !tbaa !5
  %459 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 %458
  %460 = load i8, ptr %459, align 1, !tbaa !9
  %461 = load i64, ptr %9, align 8, !tbaa !5
  %462 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 %461
  store i8 %460, ptr %462, align 1, !tbaa !9
  br label %463

463:                                              ; preds = %457
  %464 = load i64, ptr %9, align 8, !tbaa !5
  %465 = add i64 %464, 1
  store i64 %465, ptr %9, align 8, !tbaa !5
  br label %454, !llvm.loop !30

466:                                              ; preds = %454
  %467 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 32
  store i8 0, ptr %467, align 16, !tbaa !9
  %468 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
  %469 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  call void @from_hex(ptr noundef %468, ptr noundef %469, i64 noundef 16)
  %470 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 0
  %471 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  call void @from_hex(ptr noundef %470, ptr noundef %471, i64 noundef 32)
  %472 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %473

473:                                              ; preds = %479, %466
  %474 = load i64, ptr %9, align 8, !tbaa !5
  %475 = icmp ult i64 %474, 16
  br i1 %475, label %476, label %482

476:                                              ; preds = %473
  %477 = load i64, ptr %9, align 8, !tbaa !5
  %478 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %477
  store i8 0, ptr %478, align 1, !tbaa !9
  br label %479

479:                                              ; preds = %476
  %480 = load i64, ptr %9, align 8, !tbaa !5
  %481 = add i64 %480, 1
  store i64 %481, ptr %9, align 8, !tbaa !5
  br label %473, !llvm.loop !31

482:                                              ; preds = %473
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %483

483:                                              ; preds = %489, %482
  %484 = load i64, ptr %9, align 8, !tbaa !5
  %485 = icmp ult i64 %484, 33
  br i1 %485, label %486, label %492

486:                                              ; preds = %483
  %487 = load i64, ptr %9, align 8, !tbaa !5
  %488 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %487
  store i8 0, ptr %488, align 1, !tbaa !9
  br label %489

489:                                              ; preds = %486
  %490 = load i64, ptr %9, align 8, !tbaa !5
  %491 = add i64 %490, 1
  store i64 %491, ptr %9, align 8, !tbaa !5
  br label %483, !llvm.loop !32

492:                                              ; preds = %483
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %493

493:                                              ; preds = %499, %492
  %494 = load i64, ptr %9, align 8, !tbaa !5
  %495 = icmp ult i64 %494, 33
  br i1 %495, label %496, label %502

496:                                              ; preds = %493
  %497 = load i64, ptr %9, align 8, !tbaa !5
  %498 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %497
  store i8 0, ptr %498, align 1, !tbaa !9
  br label %499

499:                                              ; preds = %496
  %500 = load i64, ptr %9, align 8, !tbaa !5
  %501 = add i64 %500, 1
  store i64 %501, ptr %9, align 8, !tbaa !5
  br label %493, !llvm.loop !33

502:                                              ; preds = %493
  %503 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 0
  %504 = call i32 (ptr, ...) @printf(ptr noundef %503)
  br label %505

505:                                              ; preds = %506, %502
  br i1 false, label %506, label %507

506:                                              ; preds = %505
  br label %505

507:                                              ; preds = %505
  %508 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %509 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 0
  %510 = call i32 (ptr, ...) @printf(ptr noundef %509)
  br label %511

511:                                              ; preds = %512, %507
  br i1 false, label %512, label %513

512:                                              ; preds = %511
  br label %511

513:                                              ; preds = %511
  br label %514

514:                                              ; preds = %513, %435
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %515

515:                                              ; preds = %521, %514
  %516 = load i64, ptr %9, align 8, !tbaa !5
  %517 = icmp ult i64 %516, 32
  br i1 %517, label %518, label %524

518:                                              ; preds = %515
  %519 = load i64, ptr %9, align 8, !tbaa !5
  %520 = getelementptr inbounds [33 x i8], ptr %3, i64 0, i64 %519
  store i8 0, ptr %520, align 1, !tbaa !9
  br label %521

521:                                              ; preds = %518
  %522 = load i64, ptr %9, align 8, !tbaa !5
  %523 = add i64 %522, 1
  store i64 %523, ptr %9, align 8, !tbaa !5
  br label %515, !llvm.loop !34

524:                                              ; preds = %515
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %525

525:                                              ; preds = %533, %524
  %526 = load i64, ptr %9, align 8, !tbaa !5
  %527 = icmp ult i64 %526, 16
  br i1 %527, label %528, label %536

528:                                              ; preds = %525
  %529 = load i64, ptr %9, align 8, !tbaa !5
  %530 = getelementptr inbounds [17 x i8], ptr %2, i64 0, i64 %529
  store i8 0, ptr %530, align 1, !tbaa !9
  %531 = load i64, ptr %9, align 8, !tbaa !5
  %532 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %531
  store i8 0, ptr %532, align 1, !tbaa !9
  br label %533

533:                                              ; preds = %528
  %534 = load i64, ptr %9, align 8, !tbaa !5
  %535 = add i64 %534, 1
  store i64 %535, ptr %9, align 8, !tbaa !5
  br label %525, !llvm.loop !35

536:                                              ; preds = %525
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %537

537:                                              ; preds = %543, %536
  %538 = load i64, ptr %9, align 8, !tbaa !5
  %539 = icmp ult i64 %538, 66
  br i1 %539, label %540, label %546

540:                                              ; preds = %537
  %541 = load i64, ptr %9, align 8, !tbaa !5
  %542 = getelementptr inbounds [66 x i8], ptr %5, i64 0, i64 %541
  store i8 0, ptr %542, align 1, !tbaa !9
  br label %543

543:                                              ; preds = %540
  %544 = load i64, ptr %9, align 8, !tbaa !5
  %545 = add i64 %544, 1
  store i64 %545, ptr %9, align 8, !tbaa !5
  br label %537, !llvm.loop !36

546:                                              ; preds = %537
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %547

547:                                              ; preds = %553, %546
  %548 = load i64, ptr %9, align 8, !tbaa !5
  %549 = icmp ult i64 %548, 34
  br i1 %549, label %550, label %556

550:                                              ; preds = %547
  %551 = load i64, ptr %9, align 8, !tbaa !5
  %552 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 %551
  store i8 0, ptr %552, align 1, !tbaa !9
  br label %553

553:                                              ; preds = %550
  %554 = load i64, ptr %9, align 8, !tbaa !5
  %555 = add i64 %554, 1
  store i64 %555, ptr %9, align 8, !tbaa !5
  br label %547, !llvm.loop !37

556:                                              ; preds = %547
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %557

557:                                              ; preds = %563, %556
  %558 = load i64, ptr %9, align 8, !tbaa !5
  %559 = icmp ult i64 %558, 16
  br i1 %559, label %560, label %566

560:                                              ; preds = %557
  %561 = load i64, ptr %9, align 8, !tbaa !5
  %562 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %561
  store i8 0, ptr %562, align 1, !tbaa !9
  br label %563

563:                                              ; preds = %560
  %564 = load i64, ptr %9, align 8, !tbaa !5
  %565 = add i64 %564, 1
  store i64 %565, ptr %9, align 8, !tbaa !5
  br label %557, !llvm.loop !38

566:                                              ; preds = %557
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %567

567:                                              ; preds = %575, %566
  %568 = load i64, ptr %9, align 8, !tbaa !5
  %569 = icmp ult i64 %568, 33
  br i1 %569, label %570, label %578

570:                                              ; preds = %567
  %571 = load i64, ptr %9, align 8, !tbaa !5
  %572 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %571
  store i8 0, ptr %572, align 1, !tbaa !9
  %573 = load i64, ptr %9, align 8, !tbaa !5
  %574 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %573
  store i8 0, ptr %574, align 1, !tbaa !9
  br label %575

575:                                              ; preds = %570
  %576 = load i64, ptr %9, align 8, !tbaa !5
  %577 = add i64 %576, 1
  store i64 %577, ptr %9, align 8, !tbaa !5
  br label %567, !llvm.loop !39

578:                                              ; preds = %567
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %579

579:                                              ; preds = %585, %578
  %580 = load i64, ptr %9, align 8, !tbaa !5
  %581 = icmp ult i64 %580, 528
  br i1 %581, label %582, label %588

582:                                              ; preds = %579
  %583 = load i64, ptr %9, align 8, !tbaa !5
  %584 = getelementptr inbounds [528 x i8], ptr %11, i64 0, i64 %583
  store i8 0, ptr %584, align 1, !tbaa !9
  br label %585

585:                                              ; preds = %582
  %586 = load i64, ptr %9, align 8, !tbaa !5
  %587 = add i64 %586, 1
  store i64 %587, ptr %9, align 8, !tbaa !5
  br label %579, !llvm.loop !40

588:                                              ; preds = %579
  store i64 0, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %10, align 8, !tbaa !5
  %589 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %590 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  %591 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %592 = load ptr, ptr @stdin, align 8, !tbaa !12
  %593 = call ptr @fgets(ptr noundef %591, i32 noundef 16, ptr noundef %592)
  %594 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %595 = load i8, ptr %594, align 16, !tbaa !9
  %596 = zext i8 %595 to i32
  %597 = icmp ne i32 %596, 121
  br i1 %597, label %598, label %614

598:                                              ; preds = %588
  %599 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %600 = load i8, ptr %599, align 16, !tbaa !9
  %601 = zext i8 %600 to i32
  %602 = icmp ne i32 %601, 89
  br i1 %602, label %603, label %614

603:                                              ; preds = %598
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %604

604:                                              ; preds = %610, %603
  %605 = load i64, ptr %9, align 8, !tbaa !5
  %606 = icmp ult i64 %605, 16
  br i1 %606, label %607, label %613

607:                                              ; preds = %604
  %608 = load i64, ptr %9, align 8, !tbaa !5
  %609 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %608
  store i8 0, ptr %609, align 1, !tbaa !9
  br label %610

610:                                              ; preds = %607
  %611 = load i64, ptr %9, align 8, !tbaa !5
  %612 = add i64 %611, 1
  store i64 %612, ptr %9, align 8, !tbaa !5
  br label %604, !llvm.loop !41

613:                                              ; preds = %604
  store i64 0, ptr %9, align 8, !tbaa !5
  store i32 2, ptr %15, align 4
  br label %615

614:                                              ; preds = %598, %588
  store i32 0, ptr %15, align 4
  br label %615

615:                                              ; preds = %614, %613
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 528, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 33, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 33, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 66, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 34, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 33, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 17, ptr %2) #4
  %616 = load i32, ptr %15, align 4
  switch i32 %616, label %619 [
    i32 0, label %617
    i32 2, label %618
  ]

617:                                              ; preds = %615
  br label %16

618:                                              ; preds = %615
  ret i32 0

619:                                              ; preds = %615
  unreachable
}

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

declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind
declare i32 @gettimeofday(ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 "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 = !{!"long", !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 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11}
!21 = distinct !{!21, !11}
!22 = distinct !{!22, !11}
!23 = distinct !{!23, !11}
!24 = distinct !{!24, !11}
!25 = distinct !{!25, !11}
!26 = distinct !{!26, !11}
!27 = distinct !{!27, !11}
!28 = distinct !{!28, !11}
!29 = distinct !{!29, !11}
!30 = distinct !{!30, !11}
!31 = distinct !{!31, !11}
!32 = distinct !{!32, !11}
!33 = distinct !{!33, !11}
!34 = distinct !{!34, !11}
!35 = distinct !{!35, !11}
!36 = distinct !{!36, !11}
!37 = distinct !{!37, !11}
!38 = distinct !{!38, !11}
!39 = distinct !{!39, !11}
!40 = distinct !{!40, !11}
!41 = distinct !{!41, !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"

%struct.timeval = type { i64, i64 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @to_hex(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @from_hex(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local double @timediff(i64, i64, i64, i64) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca [17 x i8], align 16
  %2 = alloca [33 x i8], align 16
  %3 = alloca [34 x i8], align 16
  %4 = alloca [66 x i8], align 16
  %5 = alloca [16 x i8], align 16
  %6 = alloca [33 x i8], align 16
  %7 = alloca [33 x i8], align 16
  %8 = alloca [528 x i8], align 16
  %9 = alloca [16 x i8], align 16
  %10 = alloca %struct.timeval, align 8
  %11 = alloca %struct.timeval, align 8
  %12 = getelementptr inbounds i8, ptr %3, i64 33
  %13 = getelementptr inbounds i8, ptr %4, i64 65
  %14 = getelementptr inbounds i8, ptr %7, i64 32
  %15 = getelementptr inbounds i8, ptr %10, i64 8
  %16 = getelementptr inbounds i8, ptr %11, i64 8
  %17 = getelementptr inbounds i8, ptr %2, i64 32
  %18 = getelementptr inbounds i8, ptr %7, i64 16
  br label %19

19:                                               ; preds = %.preheader124.preheader, %0
  call void @llvm.lifetime.start.p0(i64 17, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 34, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 66, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 528, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(34) %3, i8 0, i64 34, i1 false), !tbaa !5
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %29 = load ptr, ptr @stdin, align 8, !tbaa !8
  %30 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 34, ptr noundef %29)
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  store i8 0, ptr %12, align 1, !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(66) %4, i8 0, i64 66, i1 false), !tbaa !5
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %33 = load ptr, ptr @stdin, align 8, !tbaa !8
  %34 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef 66, ptr noundef %33)
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  store i8 0, ptr %13, align 1, !tbaa !5
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false), !tbaa !5
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %40 = load ptr, ptr @stdin, align 8, !tbaa !8
  %41 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 16, ptr noundef %40)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @from_hex(ptr noundef nonnull %4, ptr noundef nonnull %2, i64 noundef 32)
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %44 = load i8, ptr %5, align 16
  %45 = and i8 %44, -33
  %or.cond = icmp eq i8 %45, 69
  br i1 %or.cond, label %.preheader135.preheader, label %49

.preheader135.preheader:                          ; preds = %19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %3, i64 16, i1 false), !tbaa !5
  call void @encrypt(ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @to_hex(ptr noundef nonnull %1, ptr noundef nonnull %7, i64 noundef 16)
  store i8 0, ptr %14, align 16, !tbaa !5
  %46 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull %7) #5
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %6)
  %.pre = load i8, ptr %5, align 16
  br label %49

49:                                               ; preds = %19, %.preheader135.preheader
  %50 = phi i8 [ %44, %19 ], [ %.pre, %.preheader135.preheader ]
  %51 = and i8 %50, -33
  %or.cond7 = icmp eq i8 %51, 68
  br i1 %or.cond7, label %52, label %56

52:                                               ; preds = %49
  call void @from_hex(ptr noundef nonnull %3, ptr noundef nonnull %1, i64 noundef 16)
  call void @decrypt(ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %18, i8 0, i64 16, i1 false)
  %53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull %7) #5
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %6)
  %.pre168 = load i8, ptr %5, align 16
  br label %56

56:                                               ; preds = %49, %52
  %57 = phi i8 [ %50, %49 ], [ %.pre168, %52 ]
  %58 = and i8 %57, -33
  %or.cond11 = icmp eq i8 %58, 84
  br i1 %or.cond11, label %59, label %123

59:                                               ; preds = %56
  call void @from_hex(ptr noundef nonnull %3, ptr noundef nonnull %1, i64 noundef 16)
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @expand_key(ptr noundef nonnull %2, ptr noundef nonnull %8)
  %61 = call i32 @gettimeofday(ptr noundef nonnull %10, ptr noundef null) #5
  br label %62

62:                                               ; preds = %59, %62
  %.5141 = phi i64 [ 0, %59 ], [ %63, %62 ]
  call void @enc(ptr noundef nonnull %1, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %63 = add nuw nsw i64 %.5141, 1
  %exitcond.not = icmp eq i64 %63, 100000
  br i1 %exitcond.not, label %64, label %62, !llvm.loop !10

64:                                               ; preds = %62
  %65 = call i32 @gettimeofday(ptr noundef nonnull %11, ptr noundef null) #5
  %66 = load i64, ptr %10, align 8
  %67 = load i64, ptr %15, align 8
  %68 = load i64, ptr %11, align 8
  %69 = load i64, ptr %16, align 8
  %70 = call double @timediff(i64 %66, i64 %67, i64 %68, i64 %69)
  %71 = fdiv double %70, 1.000000e+06
  %72 = call double @timediff(i64 %66, i64 %67, i64 %68, i64 %69)
  %73 = fdiv double 1.600000e+06, %72
  %74 = fmul double %73, 1.000000e+06
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %71, i32 noundef 100000, i32 noundef 1600000, double noundef %74)
  call void @expand_key(ptr noundef nonnull %2, ptr noundef nonnull %8)
  %76 = call i32 @gettimeofday(ptr noundef nonnull %10, ptr noundef null) #5
  br label %77

77:                                               ; preds = %64, %77
  %.6142 = phi i64 [ 0, %64 ], [ %78, %77 ]
  call void @dec(ptr noundef nonnull %1, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %78 = add nuw nsw i64 %.6142, 1
  %exitcond165.not = icmp eq i64 %78, 100000
  br i1 %exitcond165.not, label %79, label %77, !llvm.loop !12

79:                                               ; preds = %77
  %80 = call i32 @gettimeofday(ptr noundef nonnull %11, ptr noundef null) #5
  %81 = load i64, ptr %10, align 8
  %82 = load i64, ptr %15, align 8
  %83 = load i64, ptr %11, align 8
  %84 = load i64, ptr %16, align 8
  %85 = call double @timediff(i64 %81, i64 %82, i64 %83, i64 %84)
  %86 = fdiv double %85, 1.000000e+06
  %87 = call double @timediff(i64 %81, i64 %82, i64 %83, i64 %84)
  %88 = fdiv double 1.600000e+06, %87
  %89 = fmul double %88, 1.000000e+06
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef %86, i32 noundef 100000, i32 noundef 1600000, double noundef %89)
  %91 = call i32 @gettimeofday(ptr noundef nonnull %10, ptr noundef null) #5
  br label %92

92:                                               ; preds = %79, %92
  %.7143 = phi i64 [ 0, %79 ], [ %93, %92 ]
  call void @expand_key(ptr noundef nonnull %2, ptr noundef nonnull %8)
  call void @enc(ptr noundef nonnull %1, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %93 = add nuw nsw i64 %.7143, 1
  %exitcond166.not = icmp eq i64 %93, 100000
  br i1 %exitcond166.not, label %94, label %92, !llvm.loop !13

94:                                               ; preds = %92
  %95 = call i32 @gettimeofday(ptr noundef nonnull %11, ptr noundef null) #5
  %96 = load i64, ptr %10, align 8
  %97 = load i64, ptr %15, align 8
  %98 = load i64, ptr %11, align 8
  %99 = load i64, ptr %16, align 8
  %100 = call double @timediff(i64 %96, i64 %97, i64 %98, i64 %99)
  %101 = fdiv double %100, 1.000000e+06
  %102 = call double @timediff(i64 %96, i64 %97, i64 %98, i64 %99)
  %103 = fdiv double 1.600000e+06, %102
  %104 = fmul double %103, 1.000000e+06
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, double noundef %101, i32 noundef 100000, i32 noundef 1600000, double noundef %104)
  %106 = call i32 @gettimeofday(ptr noundef nonnull %10, ptr noundef null) #5
  br label %107

107:                                              ; preds = %94, %107
  %.8144 = phi i64 [ 0, %94 ], [ %108, %107 ]
  call void @expand_key(ptr noundef nonnull %2, ptr noundef nonnull %8)
  call void @dec(ptr noundef nonnull %1, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %108 = add nuw nsw i64 %.8144, 1
  %exitcond167.not = icmp eq i64 %108, 100000
  br i1 %exitcond167.not, label %109, label %107, !llvm.loop !14

109:                                              ; preds = %107
  %110 = call i32 @gettimeofday(ptr noundef nonnull %11, ptr noundef null) #5
  %111 = load i64, ptr %10, align 8
  %112 = load i64, ptr %15, align 8
  %113 = load i64, ptr %11, align 8
  %114 = load i64, ptr %16, align 8
  %115 = call double @timediff(i64 %111, i64 %112, i64 %113, i64 %114)
  %116 = fdiv double %115, 1.000000e+06
  %117 = call double @timediff(i64 %111, i64 %112, i64 %113, i64 %114)
  %118 = fdiv double 1.600000e+06, %117
  %119 = fmul double %118, 1.000000e+06
  %120 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %116, i32 noundef 100000, i32 noundef 1600000, double noundef %119)
  %121 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %6)
  %.pre169 = load i8, ptr %5, align 16
  br label %123

123:                                              ; preds = %56, %109
  %124 = phi i8 [ %57, %56 ], [ %.pre169, %109 ]
  %125 = and i8 %124, -33
  %or.cond15 = icmp eq i8 %125, 88
  br i1 %or.cond15, label %.preheader134.preheader, label %130

.preheader134.preheader:                          ; preds = %123
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %3, i64 16, i1 false), !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %4, i64 32, i1 false), !tbaa !5
  store i8 0, ptr %17, align 16, !tbaa !5
  call void @to_hex(ptr noundef nonnull %1, ptr noundef nonnull %3, i64 noundef 16)
  call void @to_hex(ptr noundef nonnull %2, ptr noundef nonnull %4, i64 noundef 32)
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, i8 0, i64 32, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, i8 0, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(33) %7, i8 0, i64 33, i1 false), !tbaa !5
  %127 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %3)
  %128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %4)
  %.pre170 = load i8, ptr %5, align 16
  br label %130

130:                                              ; preds = %123, %.preheader134.preheader
  %131 = phi i8 [ %124, %123 ], [ %.pre170, %.preheader134.preheader ]
  %132 = and i8 %131, -33
  %or.cond19 = icmp eq i8 %132, 85
  br i1 %or.cond19, label %.preheader128.preheader, label %.preheader124.preheader

.preheader128.preheader:                          ; preds = %130
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %3, i64 16, i1 false), !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %4, i64 32, i1 false), !tbaa !5
  store i8 0, ptr %17, align 16, !tbaa !5
  call void @from_hex(ptr noundef nonnull %3, ptr noundef nonnull %1, i64 noundef 16)
  call void @from_hex(ptr noundef nonnull %4, ptr noundef nonnull %2, i64 noundef 32)
  %133 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(33) %7, i8 0, i64 33, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(33) %6, i8 0, i64 33, i1 false), !tbaa !5
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %1)
  %135 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %2)
  br label %.preheader124.preheader

.preheader124.preheader:                          ; preds = %130, %.preheader128.preheader
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, i8 0, i64 32, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, i8 0, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, i8 0, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(66) %4, i8 0, i64 66, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(34) %3, i8 0, i64 34, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(33) %7, i8 0, i64 33, i1 false), !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(528) %8, i8 0, i64 528, i1 false), !tbaa !5
  %137 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  %139 = load ptr, ptr @stdin, align 8, !tbaa !8
  %140 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 16, ptr noundef %139)
  %141 = load i8, ptr %5, align 16
  %142 = and i8 %141, -33
  %or.cond23.not = icmp eq i8 %142, 89
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 528, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 66, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 34, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 17, ptr nonnull %1) #5
  br i1 %or.cond23.not, label %19, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader124.preheader
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; 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) #4

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


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