; LLVM IR from yourtion/LearningMasteringAlgorithms-C :: Example/encryption (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.RsaPubKey_ = type { i64, i64 }
%struct.RsaPriKey_ = type { i64, i64 }

@stdout = external global ptr, align 8
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 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 [8 x i8], align 1
  %7 = alloca [8 x i8], align 1
  %8 = alloca [8 x i8], align 1
  %9 = alloca [8 x i8], align 1
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca %struct.RsaPubKey_, align 8
  %14 = alloca %struct.RsaPriKey_, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  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 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !5
  %17 = load ptr, ptr @stdout, align 8, !tbaa !9
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str) #4
  %19 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
  store i8 -87, ptr %19, align 1, !tbaa !11
  %20 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1
  store i8 16, ptr %20, align 1, !tbaa !11
  %21 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2
  store i8 17, ptr %21, align 1, !tbaa !11
  %22 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3
  store i8 56, ptr %22, align 1, !tbaa !11
  %23 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4
  store i8 -109, ptr %23, align 1, !tbaa !11
  %24 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5
  store i8 -54, ptr %24, align 1, !tbaa !11
  %25 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6
  store i8 -76, ptr %25, align 1, !tbaa !11
  %26 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7
  store i8 -95, ptr %26, align 1, !tbaa !11
  %27 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
  store i8 1, ptr %27, align 1, !tbaa !11
  %28 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1
  store i8 31, ptr %28, align 1, !tbaa !11
  %29 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2
  store i8 1, ptr %29, align 1, !tbaa !11
  %30 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3
  store i8 31, ptr %30, align 1, !tbaa !11
  %31 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4
  store i8 1, ptr %31, align 1, !tbaa !11
  %32 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5
  store i8 14, ptr %32, align 1, !tbaa !11
  %33 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6
  store i8 1, ptr %33, align 1, !tbaa !11
  %34 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7
  store i8 14, ptr %34, align 1, !tbaa !11
  %35 = load ptr, ptr @stdout, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.1) #4
  %37 = load ptr, ptr @stdout, align 8, !tbaa !9
  %38 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
  %39 = load i8, ptr %38, align 1, !tbaa !11
  %40 = zext i8 %39 to i32
  %41 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1
  %42 = load i8, ptr %41, align 1, !tbaa !11
  %43 = zext i8 %42 to i32
  %44 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2
  %45 = load i8, ptr %44, align 1, !tbaa !11
  %46 = zext i8 %45 to i32
  %47 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3
  %48 = load i8, ptr %47, align 1, !tbaa !11
  %49 = zext i8 %48 to i32
  %50 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4
  %51 = load i8, ptr %50, align 1, !tbaa !11
  %52 = zext i8 %51 to i32
  %53 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5
  %54 = load i8, ptr %53, align 1, !tbaa !11
  %55 = zext i8 %54 to i32
  %56 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6
  %57 = load i8, ptr %56, align 1, !tbaa !11
  %58 = zext i8 %57 to i32
  %59 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7
  %60 = load i8, ptr %59, align 1, !tbaa !11
  %61 = zext i8 %60 to i32
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.2, i32 noundef %40, i32 noundef %43, i32 noundef %46, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %58, i32 noundef %61) #4
  %63 = load ptr, ptr @stdout, align 8, !tbaa !9
  %64 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
  %65 = load i8, ptr %64, align 1, !tbaa !11
  %66 = zext i8 %65 to i32
  %67 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1
  %68 = load i8, ptr %67, align 1, !tbaa !11
  %69 = zext i8 %68 to i32
  %70 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2
  %71 = load i8, ptr %70, align 1, !tbaa !11
  %72 = zext i8 %71 to i32
  %73 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3
  %74 = load i8, ptr %73, align 1, !tbaa !11
  %75 = zext i8 %74 to i32
  %76 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4
  %77 = load i8, ptr %76, align 1, !tbaa !11
  %78 = zext i8 %77 to i32
  %79 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5
  %80 = load i8, ptr %79, align 1, !tbaa !11
  %81 = zext i8 %80 to i32
  %82 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6
  %83 = load i8, ptr %82, align 1, !tbaa !11
  %84 = zext i8 %83 to i32
  %85 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7
  %86 = load i8, ptr %85, align 1, !tbaa !11
  %87 = zext i8 %86 to i32
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.3, i32 noundef %66, i32 noundef %69, i32 noundef %72, i32 noundef %75, i32 noundef %78, i32 noundef %81, i32 noundef %84, i32 noundef %87) #4
  %89 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
  %90 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
  %91 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
  call void @des_encipher(ptr noundef %89, ptr noundef %90, ptr noundef %91)
  %92 = load ptr, ptr @stdout, align 8, !tbaa !9
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.4) #4
  %94 = load ptr, ptr @stdout, align 8, !tbaa !9
  %95 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
  %96 = load i8, ptr %95, align 1, !tbaa !11
  %97 = zext i8 %96 to i32
  %98 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1
  %99 = load i8, ptr %98, align 1, !tbaa !11
  %100 = zext i8 %99 to i32
  %101 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2
  %102 = load i8, ptr %101, align 1, !tbaa !11
  %103 = zext i8 %102 to i32
  %104 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3
  %105 = load i8, ptr %104, align 1, !tbaa !11
  %106 = zext i8 %105 to i32
  %107 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4
  %108 = load i8, ptr %107, align 1, !tbaa !11
  %109 = zext i8 %108 to i32
  %110 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5
  %111 = load i8, ptr %110, align 1, !tbaa !11
  %112 = zext i8 %111 to i32
  %113 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6
  %114 = load i8, ptr %113, align 1, !tbaa !11
  %115 = zext i8 %114 to i32
  %116 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7
  %117 = load i8, ptr %116, align 1, !tbaa !11
  %118 = zext i8 %117 to i32
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.2, i32 noundef %97, i32 noundef %100, i32 noundef %103, i32 noundef %106, i32 noundef %109, i32 noundef %112, i32 noundef %115, i32 noundef %118) #4
  %120 = load ptr, ptr @stdout, align 8, !tbaa !9
  %121 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
  %122 = load i8, ptr %121, align 1, !tbaa !11
  %123 = zext i8 %122 to i32
  %124 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
  %125 = load i8, ptr %124, align 1, !tbaa !11
  %126 = zext i8 %125 to i32
  %127 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
  %128 = load i8, ptr %127, align 1, !tbaa !11
  %129 = zext i8 %128 to i32
  %130 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
  %131 = load i8, ptr %130, align 1, !tbaa !11
  %132 = zext i8 %131 to i32
  %133 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
  %134 = load i8, ptr %133, align 1, !tbaa !11
  %135 = zext i8 %134 to i32
  %136 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
  %137 = load i8, ptr %136, align 1, !tbaa !11
  %138 = zext i8 %137 to i32
  %139 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
  %140 = load i8, ptr %139, align 1, !tbaa !11
  %141 = zext i8 %140 to i32
  %142 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
  %143 = load i8, ptr %142, align 1, !tbaa !11
  %144 = zext i8 %143 to i32
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.5, i32 noundef %123, i32 noundef %126, i32 noundef %129, i32 noundef %132, i32 noundef %135, i32 noundef %138, i32 noundef %141, i32 noundef %144) #4
  %146 = load ptr, ptr @stdout, align 8, !tbaa !9
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef @.str.6) #4
  %148 = load ptr, ptr @stdout, align 8, !tbaa !9
  %149 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
  %150 = load i8, ptr %149, align 1, !tbaa !11
  %151 = zext i8 %150 to i32
  %152 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
  %153 = load i8, ptr %152, align 1, !tbaa !11
  %154 = zext i8 %153 to i32
  %155 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
  %156 = load i8, ptr %155, align 1, !tbaa !11
  %157 = zext i8 %156 to i32
  %158 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
  %159 = load i8, ptr %158, align 1, !tbaa !11
  %160 = zext i8 %159 to i32
  %161 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
  %162 = load i8, ptr %161, align 1, !tbaa !11
  %163 = zext i8 %162 to i32
  %164 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
  %165 = load i8, ptr %164, align 1, !tbaa !11
  %166 = zext i8 %165 to i32
  %167 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
  %168 = load i8, ptr %167, align 1, !tbaa !11
  %169 = zext i8 %168 to i32
  %170 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
  %171 = load i8, ptr %170, align 1, !tbaa !11
  %172 = zext i8 %171 to i32
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %148, ptr noundef @.str.5, i32 noundef %151, i32 noundef %154, i32 noundef %157, i32 noundef %160, i32 noundef %163, i32 noundef %166, i32 noundef %169, i32 noundef %172) #4
  %174 = load ptr, ptr @stdout, align 8, !tbaa !9
  %175 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
  %176 = load i8, ptr %175, align 1, !tbaa !11
  %177 = zext i8 %176 to i32
  %178 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1
  %179 = load i8, ptr %178, align 1, !tbaa !11
  %180 = zext i8 %179 to i32
  %181 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2
  %182 = load i8, ptr %181, align 1, !tbaa !11
  %183 = zext i8 %182 to i32
  %184 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3
  %185 = load i8, ptr %184, align 1, !tbaa !11
  %186 = zext i8 %185 to i32
  %187 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4
  %188 = load i8, ptr %187, align 1, !tbaa !11
  %189 = zext i8 %188 to i32
  %190 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5
  %191 = load i8, ptr %190, align 1, !tbaa !11
  %192 = zext i8 %191 to i32
  %193 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6
  %194 = load i8, ptr %193, align 1, !tbaa !11
  %195 = zext i8 %194 to i32
  %196 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7
  %197 = load i8, ptr %196, align 1, !tbaa !11
  %198 = zext i8 %197 to i32
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.3, i32 noundef %177, i32 noundef %180, i32 noundef %183, i32 noundef %186, i32 noundef %189, i32 noundef %192, i32 noundef %195, i32 noundef %198) #4
  %200 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
  %201 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
  %202 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
  call void @des_decipher(ptr noundef %200, ptr noundef %201, ptr noundef %202)
  %203 = load ptr, ptr @stdout, align 8, !tbaa !9
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.7) #4
  %205 = load ptr, ptr @stdout, align 8, !tbaa !9
  %206 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
  %207 = load i8, ptr %206, align 1, !tbaa !11
  %208 = zext i8 %207 to i32
  %209 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
  %210 = load i8, ptr %209, align 1, !tbaa !11
  %211 = zext i8 %210 to i32
  %212 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
  %213 = load i8, ptr %212, align 1, !tbaa !11
  %214 = zext i8 %213 to i32
  %215 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
  %216 = load i8, ptr %215, align 1, !tbaa !11
  %217 = zext i8 %216 to i32
  %218 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
  %219 = load i8, ptr %218, align 1, !tbaa !11
  %220 = zext i8 %219 to i32
  %221 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
  %222 = load i8, ptr %221, align 1, !tbaa !11
  %223 = zext i8 %222 to i32
  %224 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
  %225 = load i8, ptr %224, align 1, !tbaa !11
  %226 = zext i8 %225 to i32
  %227 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
  %228 = load i8, ptr %227, align 1, !tbaa !11
  %229 = zext i8 %228 to i32
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef @.str.5, i32 noundef %208, i32 noundef %211, i32 noundef %214, i32 noundef %217, i32 noundef %220, i32 noundef %223, i32 noundef %226, i32 noundef %229) #4
  %231 = load ptr, ptr @stdout, align 8, !tbaa !9
  %232 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
  %233 = load i8, ptr %232, align 1, !tbaa !11
  %234 = zext i8 %233 to i32
  %235 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 1
  %236 = load i8, ptr %235, align 1, !tbaa !11
  %237 = zext i8 %236 to i32
  %238 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 2
  %239 = load i8, ptr %238, align 1, !tbaa !11
  %240 = zext i8 %239 to i32
  %241 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 3
  %242 = load i8, ptr %241, align 1, !tbaa !11
  %243 = zext i8 %242 to i32
  %244 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 4
  %245 = load i8, ptr %244, align 1, !tbaa !11
  %246 = zext i8 %245 to i32
  %247 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 5
  %248 = load i8, ptr %247, align 1, !tbaa !11
  %249 = zext i8 %248 to i32
  %250 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 6
  %251 = load i8, ptr %250, align 1, !tbaa !11
  %252 = zext i8 %251 to i32
  %253 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 7
  %254 = load i8, ptr %253, align 1, !tbaa !11
  %255 = zext i8 %254 to i32
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.8, i32 noundef %234, i32 noundef %237, i32 noundef %240, i32 noundef %243, i32 noundef %246, i32 noundef %249, i32 noundef %252, i32 noundef %255) #4
  %257 = load ptr, ptr @stdout, align 8, !tbaa !9
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.9) #4
  %259 = getelementptr inbounds %struct.RsaPubKey_, ptr %13, i32 0, i32 0
  store i64 17, ptr %259, align 8, !tbaa !12
  %260 = getelementptr inbounds %struct.RsaPubKey_, ptr %13, i32 0, i32 1
  store i64 209, ptr %260, align 8, !tbaa !15
  %261 = getelementptr inbounds %struct.RsaPriKey_, ptr %14, i32 0, i32 0
  store i64 53, ptr %261, align 8, !tbaa !16
  %262 = getelementptr inbounds %struct.RsaPriKey_, ptr %14, i32 0, i32 1
  store i64 209, ptr %262, align 8, !tbaa !18
  %263 = load ptr, ptr @stdout, align 8, !tbaa !9
  %264 = getelementptr inbounds %struct.RsaPriKey_, ptr %14, i32 0, i32 0
  %265 = load i64, ptr %264, align 8, !tbaa !16
  %266 = getelementptr inbounds %struct.RsaPubKey_, ptr %13, i32 0, i32 0
  %267 = load i64, ptr %266, align 8, !tbaa !12
  %268 = getelementptr inbounds %struct.RsaPubKey_, ptr %13, i32 0, i32 1
  %269 = load i64, ptr %268, align 8, !tbaa !15
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.10, i64 noundef %265, i64 noundef %267, i64 noundef %269) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %271

271:                                              ; preds = %305, %2
  %272 = load i32, ptr %15, align 4, !tbaa !5
  %273 = icmp slt i32 %272, 128
  br i1 %273, label %274, label %308

274:                                              ; preds = %271
  %275 = load i32, ptr %15, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  store i64 %276, ptr %10, align 8, !tbaa !19
  %277 = load i64, ptr %10, align 8, !tbaa !19
  %278 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %279 = load i64, ptr %278, align 8
  %280 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %281 = load i64, ptr %280, align 8
  call void @rsa_encipher(i64 noundef %277, ptr noundef %12, i64 %279, i64 %281)
  %282 = load i64, ptr %12, align 8, !tbaa !19
  %283 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %284 = load i64, ptr %283, align 8
  %285 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %286 = load i64, ptr %285, align 8
  call void @rsa_decipher(i64 noundef %282, ptr noundef %11, i64 %284, i64 %286)
  %287 = load i64, ptr %10, align 8, !tbaa !19
  %288 = load i64, ptr %11, align 8, !tbaa !19
  %289 = icmp eq i64 %287, %288
  br i1 %289, label %290, label %296

290:                                              ; preds = %274
  %291 = load ptr, ptr @stdout, align 8, !tbaa !9
  %292 = load i64, ptr %10, align 8, !tbaa !19
  %293 = load i64, ptr %12, align 8, !tbaa !19
  %294 = load i64, ptr %11, align 8, !tbaa !19
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.11, i64 noundef %292, i64 noundef %293, i64 noundef %294) #4
  br label %304

296:                                              ; preds = %274
  %297 = load i32, ptr %16, align 4, !tbaa !5
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %16, align 4, !tbaa !5
  %299 = load ptr, ptr @stdout, align 8, !tbaa !9
  %300 = load i64, ptr %10, align 8, !tbaa !19
  %301 = load i64, ptr %12, align 8, !tbaa !19
  %302 = load i64, ptr %11, align 8, !tbaa !19
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.12, i64 noundef %300, i64 noundef %301, i64 noundef %302) #4
  br label %304

304:                                              ; preds = %296, %290
  br label %305

305:                                              ; preds = %304
  %306 = load i32, ptr %15, align 4, !tbaa !5
  %307 = add nsw i32 %306, 1
  store i32 %307, ptr %15, align 4, !tbaa !5
  br label %271, !llvm.loop !20

308:                                              ; preds = %271
  %309 = load i32, ptr %16, align 4, !tbaa !5
  %310 = icmp eq i32 %309, 0
  br i1 %310, label %311, label %314

311:                                              ; preds = %308
  %312 = load ptr, ptr @stdout, align 8, !tbaa !9
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %312, ptr noundef @.str.13) #4
  br label %318

314:                                              ; preds = %308
  %315 = load ptr, ptr @stdout, align 8, !tbaa !9
  %316 = load i32, ptr %16, align 4, !tbaa !5
  %317 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.14, i32 noundef %316) #4
  br label %318

318:                                              ; preds = %314, %311
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  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 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

declare void @rsa_encipher(i64 noundef, ptr noundef, i64, i64) #3

declare void @rsa_decipher(i64 noundef, ptr noundef, i64, i64) #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 = { 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 = { "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 = !{!13, !14, i64 0}
!13 = !{!"RsaPubKey_", !14, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!17, !14, i64 0}
!17 = !{!"RsaPriKey_", !14, i64 0, !14, i64 8}
!18 = !{!17, !14, i64 8}
!19 = !{!14, !14, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@stdout = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 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 [8 x i8], align 8
  %4 = alloca [8 x i8], align 1
  %5 = alloca [8 x i8], align 1
  %6 = alloca [8 x i8], align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %9 = load ptr, ptr @stdout, align 8, !tbaa !5
  %10 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str) #4
  %11 = getelementptr inbounds i8, ptr %3, i64 1
  %12 = getelementptr inbounds i8, ptr %3, i64 2
  %13 = getelementptr inbounds i8, ptr %3, i64 3
  %14 = getelementptr inbounds i8, ptr %3, i64 4
  %15 = getelementptr inbounds i8, ptr %3, i64 5
  %16 = getelementptr inbounds i8, ptr %3, i64 6
  %17 = getelementptr inbounds i8, ptr %3, i64 7
  store <8 x i8> <i8 -87, i8 16, i8 17, i8 56, i8 -109, i8 -54, i8 -76, i8 -95>, ptr %3, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %6, i64 1
  %19 = getelementptr inbounds i8, ptr %6, i64 2
  %20 = getelementptr inbounds i8, ptr %6, i64 3
  %21 = getelementptr inbounds i8, ptr %6, i64 4
  %22 = getelementptr inbounds i8, ptr %6, i64 5
  %23 = getelementptr inbounds i8, ptr %6, i64 6
  %24 = getelementptr inbounds i8, ptr %6, i64 7
  store <8 x i8> <i8 1, i8 31, i8 1, i8 31, i8 1, i8 14, i8 1, i8 14>, ptr %6, align 8, !tbaa !9
  %25 = load ptr, ptr @stdout, align 8, !tbaa !5
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.1) #4
  %27 = load ptr, ptr @stdout, align 8, !tbaa !5
  %28 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str.2, i32 noundef 169, i32 noundef 16, i32 noundef 17, i32 noundef 56, i32 noundef 147, i32 noundef 202, i32 noundef 180, i32 noundef 161) #4
  %29 = load ptr, ptr @stdout, align 8, !tbaa !5
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.3, i32 noundef 1, i32 noundef 31, i32 noundef 1, i32 noundef 31, i32 noundef 1, i32 noundef 14, i32 noundef 1, i32 noundef 14) #4
  call void @des_encipher(ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #4
  %31 = load ptr, ptr @stdout, align 8, !tbaa !5
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str.4) #4
  %33 = load ptr, ptr @stdout, align 8, !tbaa !5
  %34 = load i8, ptr %3, align 8, !tbaa !9
  %35 = zext i8 %34 to i32
  %36 = load i8, ptr %11, align 1, !tbaa !9
  %37 = zext i8 %36 to i32
  %38 = load i8, ptr %12, align 2, !tbaa !9
  %39 = zext i8 %38 to i32
  %40 = load i8, ptr %13, align 1, !tbaa !9
  %41 = zext i8 %40 to i32
  %42 = load i8, ptr %14, align 4, !tbaa !9
  %43 = zext i8 %42 to i32
  %44 = load i8, ptr %15, align 1, !tbaa !9
  %45 = zext i8 %44 to i32
  %46 = load i8, ptr %16, align 2, !tbaa !9
  %47 = zext i8 %46 to i32
  %48 = load i8, ptr %17, align 1, !tbaa !9
  %49 = zext i8 %48 to i32
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.2, i32 noundef %35, i32 noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %43, i32 noundef %45, i32 noundef %47, i32 noundef %49) #4
  %51 = load ptr, ptr @stdout, align 8, !tbaa !5
  %52 = load i8, ptr %5, align 1, !tbaa !9
  %53 = zext i8 %52 to i32
  %54 = getelementptr inbounds i8, ptr %5, i64 1
  %55 = load i8, ptr %54, align 1, !tbaa !9
  %56 = zext i8 %55 to i32
  %57 = getelementptr inbounds i8, ptr %5, i64 2
  %58 = load i8, ptr %57, align 1, !tbaa !9
  %59 = zext i8 %58 to i32
  %60 = getelementptr inbounds i8, ptr %5, i64 3
  %61 = load i8, ptr %60, align 1, !tbaa !9
  %62 = zext i8 %61 to i32
  %63 = getelementptr inbounds i8, ptr %5, i64 4
  %64 = load i8, ptr %63, align 1, !tbaa !9
  %65 = zext i8 %64 to i32
  %66 = getelementptr inbounds i8, ptr %5, i64 5
  %67 = load i8, ptr %66, align 1, !tbaa !9
  %68 = zext i8 %67 to i32
  %69 = getelementptr inbounds i8, ptr %5, i64 6
  %70 = load i8, ptr %69, align 1, !tbaa !9
  %71 = zext i8 %70 to i32
  %72 = getelementptr inbounds i8, ptr %5, i64 7
  %73 = load i8, ptr %72, align 1, !tbaa !9
  %74 = zext i8 %73 to i32
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.5, i32 noundef %53, i32 noundef %56, i32 noundef %59, i32 noundef %62, i32 noundef %65, i32 noundef %68, i32 noundef %71, i32 noundef %74) #4
  %76 = load ptr, ptr @stdout, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.6) #4
  %78 = load ptr, ptr @stdout, align 8, !tbaa !5
  %79 = load i8, ptr %5, align 1, !tbaa !9
  %80 = zext i8 %79 to i32
  %81 = load i8, ptr %54, align 1, !tbaa !9
  %82 = zext i8 %81 to i32
  %83 = load i8, ptr %57, align 1, !tbaa !9
  %84 = zext i8 %83 to i32
  %85 = load i8, ptr %60, align 1, !tbaa !9
  %86 = zext i8 %85 to i32
  %87 = load i8, ptr %63, align 1, !tbaa !9
  %88 = zext i8 %87 to i32
  %89 = load i8, ptr %66, align 1, !tbaa !9
  %90 = zext i8 %89 to i32
  %91 = load i8, ptr %69, align 1, !tbaa !9
  %92 = zext i8 %91 to i32
  %93 = load i8, ptr %72, align 1, !tbaa !9
  %94 = zext i8 %93 to i32
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.5, i32 noundef %80, i32 noundef %82, i32 noundef %84, i32 noundef %86, i32 noundef %88, i32 noundef %90, i32 noundef %92, i32 noundef %94) #4
  %96 = load ptr, ptr @stdout, align 8, !tbaa !5
  %97 = load i8, ptr %6, align 8, !tbaa !9
  %98 = zext i8 %97 to i32
  %99 = load i8, ptr %18, align 1, !tbaa !9
  %100 = zext i8 %99 to i32
  %101 = load i8, ptr %19, align 2, !tbaa !9
  %102 = zext i8 %101 to i32
  %103 = load i8, ptr %20, align 1, !tbaa !9
  %104 = zext i8 %103 to i32
  %105 = load i8, ptr %21, align 4, !tbaa !9
  %106 = zext i8 %105 to i32
  %107 = load i8, ptr %22, align 1, !tbaa !9
  %108 = zext i8 %107 to i32
  %109 = load i8, ptr %23, align 2, !tbaa !9
  %110 = zext i8 %109 to i32
  %111 = load i8, ptr %24, align 1, !tbaa !9
  %112 = zext i8 %111 to i32
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str.3, i32 noundef %98, i32 noundef %100, i32 noundef %102, i32 noundef %104, i32 noundef %106, i32 noundef %108, i32 noundef %110, i32 noundef %112) #4
  call void @des_decipher(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %6) #4
  %114 = load ptr, ptr @stdout, align 8, !tbaa !5
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef nonnull @.str.7) #4
  %116 = load ptr, ptr @stdout, align 8, !tbaa !5
  %117 = load i8, ptr %5, align 1, !tbaa !9
  %118 = zext i8 %117 to i32
  %119 = load i8, ptr %54, align 1, !tbaa !9
  %120 = zext i8 %119 to i32
  %121 = load i8, ptr %57, align 1, !tbaa !9
  %122 = zext i8 %121 to i32
  %123 = load i8, ptr %60, align 1, !tbaa !9
  %124 = zext i8 %123 to i32
  %125 = load i8, ptr %63, align 1, !tbaa !9
  %126 = zext i8 %125 to i32
  %127 = load i8, ptr %66, align 1, !tbaa !9
  %128 = zext i8 %127 to i32
  %129 = load i8, ptr %69, align 1, !tbaa !9
  %130 = zext i8 %129 to i32
  %131 = load i8, ptr %72, align 1, !tbaa !9
  %132 = zext i8 %131 to i32
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef nonnull @.str.5, i32 noundef %118, i32 noundef %120, i32 noundef %122, i32 noundef %124, i32 noundef %126, i32 noundef %128, i32 noundef %130, i32 noundef %132) #4
  %134 = load ptr, ptr @stdout, align 8, !tbaa !5
  %135 = load i8, ptr %4, align 1, !tbaa !9
  %136 = zext i8 %135 to i32
  %137 = getelementptr inbounds i8, ptr %4, i64 1
  %138 = load i8, ptr %137, align 1, !tbaa !9
  %139 = zext i8 %138 to i32
  %140 = getelementptr inbounds i8, ptr %4, i64 2
  %141 = load i8, ptr %140, align 1, !tbaa !9
  %142 = zext i8 %141 to i32
  %143 = getelementptr inbounds i8, ptr %4, i64 3
  %144 = load i8, ptr %143, align 1, !tbaa !9
  %145 = zext i8 %144 to i32
  %146 = getelementptr inbounds i8, ptr %4, i64 4
  %147 = load i8, ptr %146, align 1, !tbaa !9
  %148 = zext i8 %147 to i32
  %149 = getelementptr inbounds i8, ptr %4, i64 5
  %150 = load i8, ptr %149, align 1, !tbaa !9
  %151 = zext i8 %150 to i32
  %152 = getelementptr inbounds i8, ptr %4, i64 6
  %153 = load i8, ptr %152, align 1, !tbaa !9
  %154 = zext i8 %153 to i32
  %155 = getelementptr inbounds i8, ptr %4, i64 7
  %156 = load i8, ptr %155, align 1, !tbaa !9
  %157 = zext i8 %156 to i32
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.8, i32 noundef %136, i32 noundef %139, i32 noundef %142, i32 noundef %145, i32 noundef %148, i32 noundef %151, i32 noundef %154, i32 noundef %157) #4
  %159 = load ptr, ptr @stdout, align 8, !tbaa !5
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef nonnull @.str.9) #4
  %161 = load ptr, ptr @stdout, align 8, !tbaa !5
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef nonnull @.str.10, i64 noundef 53, i64 noundef 17, i64 noundef 209) #4
  br label %163

163:                                              ; preds = %2, %176
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %176 ]
  %.021 = phi i32 [ 0, %2 ], [ %.1, %176 ]
  call void @rsa_encipher(i64 noundef %indvars.iv, ptr noundef nonnull %8, i64 17, i64 209) #4
  %164 = load i64, ptr %8, align 8, !tbaa !10
  call void @rsa_decipher(i64 noundef %164, ptr noundef nonnull %7, i64 53, i64 209) #4
  %165 = load i64, ptr %7, align 8, !tbaa !10
  %166 = icmp eq i64 %165, %indvars.iv
  br i1 %166, label %167, label %171

167:                                              ; preds = %163
  %168 = load ptr, ptr @stdout, align 8, !tbaa !5
  %169 = load i64, ptr %8, align 8, !tbaa !10
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.11, i64 noundef %indvars.iv, i64 noundef %169, i64 noundef %indvars.iv) #4
  br label %176

171:                                              ; preds = %163
  %172 = add nsw i32 %.021, 1
  %173 = load ptr, ptr @stdout, align 8, !tbaa !5
  %174 = load i64, ptr %8, align 8, !tbaa !10
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef nonnull @.str.12, i64 noundef %indvars.iv, i64 noundef %174, i64 noundef %165) #4
  br label %176

176:                                              ; preds = %167, %171
  %.1 = phi i32 [ %.021, %167 ], [ %172, %171 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 128
  br i1 %exitcond.not, label %177, label %163, !llvm.loop !12

177:                                              ; preds = %176
  %178 = icmp eq i32 %.1, 0
  %179 = load ptr, ptr @stdout, align 8, !tbaa !5
  br i1 %178, label %180, label %182

180:                                              ; preds = %177
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef nonnull @.str.13) #4
  br label %184

182:                                              ; preds = %177
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef nonnull @.str.14, i32 noundef %.1) #4
  br label %184

184:                                              ; preds = %182, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare void @des_encipher(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @des_decipher(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @rsa_encipher(i64 noundef, ptr noundef, i64, i64) local_unnamed_addr #3

declare void @rsa_decipher(i64 noundef, ptr noundef, i64, i64) local_unnamed_addr #3

; 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 = { 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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass