; LLVM IR from jim-b/ECCSI-SAKKE :: es-demo-1 (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"

@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [63 x i8], align 1
@stdout = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [33 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local signext i16 @main_addExampleCommunity() #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 noalias ptr @strdup(ptr noundef) #2

declare signext i16 @utils_convertHexStringToOctetString(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local signext i16 @main_addExampleUser() #0

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #6

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #2

; 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 ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i8, align 1
  %25 = alloca [1200 x i8], align 16
  %26 = alloca [1200 x i8], align 16
  %27 = alloca [1200 x i8], align 16
  %28 = alloca [1200 x i8], align 16
  %29 = alloca [1200 x i8], align 16
  %30 = alloca [1200 x i8], align 16
  %31 = alloca [1200 x i8], align 16
  %32 = alloca [1200 x i8], align 16
  %33 = alloca [1200 x i8], align 16
  %34 = alloca [1200 x i8], align 16
  %35 = alloca [1200 x i8], align 16
  %36 = alloca [1200 x i8], align 16
  %37 = alloca [1200 x i8], align 16
  %38 = alloca [1200 x i8], align 16
  %39 = alloca [1200 x i8], align 16
  %40 = alloca [1200 x i8], align 16
  %41 = alloca [1200 x i8], align 16
  %42 = alloca [1200 x i8], align 16
  %43 = alloca [1200 x i8], align 16
  %44 = alloca [1200 x i8], align 16
  %45 = alloca [1200 x i8], align 16
  %46 = alloca [1200 x i8], align 16
  %47 = alloca [1200 x i8], align 16
  %48 = alloca [1200 x i8], align 16
  %49 = alloca [1200 x i8], align 16
  %50 = alloca [1200 x i8], align 16
  %51 = alloca [1200 x i8], align 16
  %52 = alloca [1200 x i8], align 16
  %53 = alloca [1200 x i8], align 16
  %54 = alloca [1200 x i8], align 16
  %55 = alloca [1200 x i8], align 16
  %56 = alloca [1200 x i8], align 16
  %57 = alloca [1200 x i8], align 16
  %58 = alloca [1200 x i8], align 16
  %59 = alloca [1200 x i8], align 16
  %60 = alloca [1200 x i8], align 16
  %61 = alloca [1200 x i8], align 16
  %62 = alloca [1200 x i8], align 16
  %63 = alloca [1200 x i8], align 16
  %64 = alloca [1200 x i8], align 16
  %65 = alloca [1200 x i8], align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store i64 0, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store ptr null, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store i64 0, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store ptr null, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store ptr null, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store ptr null, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store i64 16, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  store ptr null, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store i64 0, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store ptr null, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store i64 0, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store ptr null, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  store i64 32, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  store i8 0, ptr %24, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1200, ptr %25) #8
  %66 = getelementptr inbounds [1200 x i8], ptr %25, i64 0, i64 0
  %67 = call ptr @softwareVersion()
  %68 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %66, i64 noundef 1200, ptr noundef @.str.18, ptr noundef %67) #8
  %69 = load ptr, ptr @stdout, align 8, !tbaa !9
  %70 = getelementptr inbounds [1200 x i8], ptr %25, i64 0, i64 0
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.19, ptr noundef %70) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %26) #8
  %72 = getelementptr inbounds [1200 x i8], ptr %26, i64 0, i64 0
  %73 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %72, i64 noundef 1200, ptr noundef @.str.20, ptr noundef @.str.21) #8
  %74 = load ptr, ptr @stdout, align 8, !tbaa !9
  %75 = getelementptr inbounds [1200 x i8], ptr %26, i64 0, i64 0
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.22, ptr noundef %75) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %27) #8
  %77 = getelementptr inbounds [1200 x i8], ptr %27, i64 0, i64 0
  %78 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %77, i64 noundef 1200, ptr noundef @.str.20, ptr noundef @.str.23) #8
  %79 = load ptr, ptr @stdout, align 8, !tbaa !9
  %80 = getelementptr inbounds [1200 x i8], ptr %27, i64 0, i64 0
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.22, ptr noundef %80) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %27) #8
  %82 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 255) #9
  store ptr %82, ptr %6, align 8, !tbaa !9
  %83 = load ptr, ptr %6, align 8, !tbaa !9
  %84 = call ptr @strcpy(ptr noundef %83, ptr noundef @.str.12) #8
  %85 = load ptr, ptr %6, align 8, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !9
  %87 = call i64 @strlen(ptr noundef %86) #10
  %88 = getelementptr inbounds i8, ptr %85, i64 %87
  %89 = getelementptr inbounds i8, ptr %88, i64 1
  %90 = call ptr @strcat(ptr noundef %89, ptr noundef @.str.13) #8
  %91 = load ptr, ptr %6, align 8, !tbaa !9
  %92 = call i64 @strlen(ptr noundef %91) #10
  %93 = load ptr, ptr %6, align 8, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !9
  %95 = call i64 @strlen(ptr noundef %94) #10
  %96 = add i64 %95, 1
  %97 = getelementptr inbounds i8, ptr %93, i64 %96
  %98 = call i64 @strlen(ptr noundef %97) #10
  %99 = add i64 %92, %98
  %100 = add i64 %99, 2
  store i64 %100, ptr %7, align 8, !tbaa !11
  %101 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 255) #9
  store ptr %101, ptr %8, align 8, !tbaa !9
  %102 = load ptr, ptr %8, align 8, !tbaa !9
  %103 = call ptr @strcpy(ptr noundef %102, ptr noundef @.str.12) #8
  %104 = load ptr, ptr %8, align 8, !tbaa !9
  %105 = load ptr, ptr %8, align 8, !tbaa !9
  %106 = call i64 @strlen(ptr noundef %105) #10
  %107 = getelementptr inbounds i8, ptr %104, i64 %106
  %108 = getelementptr inbounds i8, ptr %107, i64 1
  %109 = call ptr @strcat(ptr noundef %108, ptr noundef @.str.13) #8
  %110 = load ptr, ptr %8, align 8, !tbaa !9
  %111 = call i64 @strlen(ptr noundef %110) #10
  %112 = load ptr, ptr %8, align 8, !tbaa !9
  %113 = load ptr, ptr %8, align 8, !tbaa !9
  %114 = call i64 @strlen(ptr noundef %113) #10
  %115 = add i64 %114, 1
  %116 = getelementptr inbounds i8, ptr %112, i64 %115
  %117 = call i64 @strlen(ptr noundef %116) #10
  %118 = add i64 %111, %117
  %119 = add i64 %118, 2
  store i64 %119, ptr %9, align 8, !tbaa !11
  %120 = call noalias ptr @strdup(ptr noundef @.str.3) #8
  store ptr %120, ptr %10, align 8, !tbaa !9
  %121 = call signext i16 @main_initialiseMSInCorrectOrder()
  %122 = call signext i16 @main_addExampleCommunity()
  %123 = sext i16 %122 to i32
  %124 = icmp ne i32 0, %123
  br i1 %124, label %125, label %126

125:                                              ; preds = %2
  call void @exit(i32 noundef 1) #11
  unreachable

126:                                              ; preds = %2
  %127 = call signext i16 @main_addExampleUser()
  %128 = sext i16 %127 to i32
  %129 = icmp ne i32 0, %128
  br i1 %129, label %130, label %131

130:                                              ; preds = %126
  call void @exit(i32 noundef 1) #11
  unreachable

131:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 1200, ptr %28) #8
  %132 = getelementptr inbounds [1200 x i8], ptr %28, i64 0, i64 0
  %133 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %132, i64 noundef 1200, ptr noundef @.str.20, ptr noundef @.str.24) #8
  %134 = load ptr, ptr @stdout, align 8, !tbaa !9
  %135 = getelementptr inbounds [1200 x i8], ptr %28, i64 0, i64 0
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str.22, ptr noundef %135) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %29) #8
  %137 = getelementptr inbounds [1200 x i8], ptr %29, i64 0, i64 0
  %138 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %137, i64 noundef 1200, ptr noundef @.str.25, ptr noundef @.str.24) #8
  %139 = load ptr, ptr @stdout, align 8, !tbaa !9
  %140 = getelementptr inbounds [1200 x i8], ptr %29, i64 0, i64 0
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef @.str.22, ptr noundef %140) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %30) #8
  %142 = getelementptr inbounds [1200 x i8], ptr %30, i64 0, i64 0
  %143 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %142, i64 noundef 1200, ptr noundef @.str.26, ptr noundef @.str.24) #8
  %144 = load ptr, ptr @stdout, align 8, !tbaa !9
  %145 = getelementptr inbounds [1200 x i8], ptr %30, i64 0, i64 0
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.22, ptr noundef %145) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %31) #8
  %147 = getelementptr inbounds [1200 x i8], ptr %31, i64 0, i64 0
  %148 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %147, i64 noundef 1200, ptr noundef @.str.20, ptr noundef @.str.24) #8
  %149 = load ptr, ptr @stdout, align 8, !tbaa !9
  %150 = getelementptr inbounds [1200 x i8], ptr %31, i64 0, i64 0
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.22, ptr noundef %150) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %32) #8
  %152 = getelementptr inbounds [1200 x i8], ptr %32, i64 0, i64 0
  %153 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %152, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %154 = load ptr, ptr @stdout, align 8, !tbaa !9
  %155 = getelementptr inbounds [1200 x i8], ptr %32, i64 0, i64 0
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef @.str.22, ptr noundef %155) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %33) #8
  %157 = getelementptr inbounds [1200 x i8], ptr %33, i64 0, i64 0
  %158 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %157, i64 noundef 1200, ptr noundef @.str.28, ptr noundef @.str.24) #8
  %159 = load ptr, ptr @stdout, align 8, !tbaa !9
  %160 = getelementptr inbounds [1200 x i8], ptr %33, i64 0, i64 0
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.22, ptr noundef %160) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %34) #8
  %162 = getelementptr inbounds [1200 x i8], ptr %34, i64 0, i64 0
  %163 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %162, i64 noundef 1200, ptr noundef @.str.29, ptr noundef @.str.24) #8
  %164 = load ptr, ptr @stdout, align 8, !tbaa !9
  %165 = getelementptr inbounds [1200 x i8], ptr %34, i64 0, i64 0
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.22, ptr noundef %165) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %35) #8
  %167 = getelementptr inbounds [1200 x i8], ptr %35, i64 0, i64 0
  %168 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %167, i64 noundef 1200, ptr noundef @.str.30, ptr noundef @.str.24) #8
  %169 = load ptr, ptr @stdout, align 8, !tbaa !9
  %170 = getelementptr inbounds [1200 x i8], ptr %35, i64 0, i64 0
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.22, ptr noundef %170) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %36) #8
  %172 = getelementptr inbounds [1200 x i8], ptr %36, i64 0, i64 0
  %173 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %172, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %174 = load ptr, ptr @stdout, align 8, !tbaa !9
  %175 = getelementptr inbounds [1200 x i8], ptr %36, i64 0, i64 0
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.22, ptr noundef %175) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %37) #8
  %177 = getelementptr inbounds [1200 x i8], ptr %37, i64 0, i64 0
  %178 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %177, i64 noundef 1200, ptr noundef @.str.20, ptr noundef @.str.24) #8
  %179 = load ptr, ptr @stdout, align 8, !tbaa !9
  %180 = getelementptr inbounds [1200 x i8], ptr %37, i64 0, i64 0
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.22, ptr noundef %180) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %38) #8
  %182 = getelementptr inbounds [1200 x i8], ptr %38, i64 0, i64 0
  %183 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %182, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %184 = load ptr, ptr @stdout, align 8, !tbaa !9
  %185 = getelementptr inbounds [1200 x i8], ptr %38, i64 0, i64 0
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.22, ptr noundef %185) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %39) #8
  %187 = getelementptr inbounds [1200 x i8], ptr %39, i64 0, i64 0
  %188 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %187, i64 noundef 1200, ptr noundef @.str.31, ptr noundef @.str.24) #8
  %189 = load ptr, ptr @stdout, align 8, !tbaa !9
  %190 = getelementptr inbounds [1200 x i8], ptr %39, i64 0, i64 0
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.22, ptr noundef %190) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %40) #8
  %192 = getelementptr inbounds [1200 x i8], ptr %40, i64 0, i64 0
  %193 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %192, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %194 = load ptr, ptr @stdout, align 8, !tbaa !9
  %195 = getelementptr inbounds [1200 x i8], ptr %40, i64 0, i64 0
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.22, ptr noundef %195) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %40) #8
  %197 = call noalias ptr @strdup(ptr noundef @.str.32) #8
  store ptr %197, ptr %17, align 8, !tbaa !9
  %198 = load ptr, ptr %17, align 8, !tbaa !9
  %199 = call i64 @strlen(ptr noundef %198) #10
  %200 = add i64 %199, 1
  store i64 %200, ptr %18, align 8, !tbaa !11
  store ptr null, ptr %19, align 8, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %201

201:                                              ; preds = %434, %131
  %202 = load i32, ptr %21, align 4, !tbaa !5
  %203 = icmp ult i32 %202, 1
  br i1 %203, label %204, label %437

204:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 1200, ptr %41) #8
  %205 = getelementptr inbounds [1200 x i8], ptr %41, i64 0, i64 0
  %206 = load i32, ptr %21, align 4, !tbaa !5
  %207 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %205, i64 noundef 1200, ptr noundef @.str.33, ptr noundef @.str.24, i32 noundef %206) #8
  %208 = load ptr, ptr @stdout, align 8, !tbaa !9
  %209 = getelementptr inbounds [1200 x i8], ptr %41, i64 0, i64 0
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.19, ptr noundef %209) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %41) #8
  %211 = load ptr, ptr %17, align 8, !tbaa !9
  %212 = load i64, ptr %18, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef @.str.24, ptr noundef @.str.34, i8 noundef zeroext 8, ptr noundef %211, i64 noundef %212)
  %213 = load i64, ptr %23, align 8, !tbaa !11
  %214 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef @.str.35, i64 noundef %213, ptr noundef %22, ptr noundef %23)
  %215 = load ptr, ptr %22, align 8, !tbaa !9
  %216 = load i64, ptr %23, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 3, ptr noundef @.str.24, ptr noundef @.str.36, i8 noundef zeroext 7, ptr noundef %215, i64 noundef %216)
  br label %217

217:                                              ; preds = %241, %204
  %218 = load ptr, ptr %17, align 8, !tbaa !9
  %219 = load i64, ptr %18, align 8, !tbaa !11
  %220 = load ptr, ptr %6, align 8, !tbaa !9
  %221 = load i64, ptr %7, align 8, !tbaa !11
  %222 = load ptr, ptr %10, align 8, !tbaa !9
  %223 = load ptr, ptr %22, align 8, !tbaa !9
  %224 = load i64, ptr %23, align 8, !tbaa !11
  %225 = call zeroext i8 @eccsi_sign(ptr noundef %218, i64 noundef %219, ptr noundef %220, i64 noundef %221, ptr noundef %222, ptr noundef %223, i64 noundef %224, ptr noundef %19, ptr noundef %20)
  store i8 %225, ptr %24, align 1, !tbaa !13
  %226 = icmp ne i8 %225, 0
  br i1 %226, label %227, label %253

227:                                              ; preds = %217
  %228 = load i8, ptr %24, align 1, !tbaa !13
  %229 = zext i8 %228 to i32
  %230 = icmp ne i32 %229, 11
  br i1 %230, label %231, label %241

231:                                              ; preds = %227
  %232 = load i8, ptr %24, align 1, !tbaa !13
  %233 = zext i8 %232 to i32
  %234 = icmp ne i32 %233, 12
  br i1 %234, label %235, label %241

235:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 1200, ptr %42) #8
  %236 = getelementptr inbounds [1200 x i8], ptr %42, i64 0, i64 0
  %237 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %236, i64 noundef 1200, ptr noundef @.str.37, ptr noundef @.str.10, ptr noundef @__func__.main, i32 noundef 522) #8
  %238 = load ptr, ptr @stdout, align 8, !tbaa !9
  %239 = getelementptr inbounds [1200 x i8], ptr %42, i64 0, i64 0
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.11, ptr noundef %239) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %42) #8
  call void @exit(i32 noundef 1) #11
  unreachable

241:                                              ; preds = %231, %227
  call void @llvm.lifetime.start.p0(i64 1200, ptr %43) #8
  %242 = getelementptr inbounds [1200 x i8], ptr %43, i64 0, i64 0
  %243 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %242, i64 noundef 1200, ptr noundef @.str.38, ptr noundef @.str.24) #8
  %244 = load ptr, ptr @stdout, align 8, !tbaa !9
  %245 = getelementptr inbounds [1200 x i8], ptr %43, i64 0, i64 0
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.22, ptr noundef %245) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %43) #8
  %247 = load ptr, ptr %22, align 8, !tbaa !9
  call void @free(ptr noundef %247) #8
  store ptr null, ptr %22, align 8, !tbaa !9
  %248 = load i64, ptr %23, align 8, !tbaa !11
  %249 = trunc i64 %248 to i8
  %250 = call signext i16 @ES_PRNG(ptr noundef %22, i8 noundef zeroext %249)
  %251 = load ptr, ptr %22, align 8, !tbaa !9
  %252 = load i64, ptr %23, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef @.str.24, ptr noundef @.str.39, i8 noundef zeroext 8, ptr noundef %251, i64 noundef %252)
  br label %217, !llvm.loop !14

253:                                              ; preds = %217
  %254 = load ptr, ptr %22, align 8, !tbaa !9
  %255 = icmp ne ptr %254, null
  br i1 %255, label %256, label %260

256:                                              ; preds = %253
  %257 = load ptr, ptr %22, align 8, !tbaa !9
  %258 = load i64, ptr %23, align 8, !tbaa !11
  call void @llvm.memset.p0.i64(ptr align 1 %257, i8 0, i64 %258, i1 false)
  %259 = load ptr, ptr %22, align 8, !tbaa !9
  call void @free(ptr noundef %259) #8
  store ptr null, ptr %22, align 8, !tbaa !9
  br label %260

260:                                              ; preds = %256, %253
  call void @llvm.lifetime.start.p0(i64 1200, ptr %44) #8
  %261 = getelementptr inbounds [1200 x i8], ptr %44, i64 0, i64 0
  %262 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %261, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %263 = load ptr, ptr @stdout, align 8, !tbaa !9
  %264 = getelementptr inbounds [1200 x i8], ptr %44, i64 0, i64 0
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.22, ptr noundef %264) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %45) #8
  %266 = getelementptr inbounds [1200 x i8], ptr %45, i64 0, i64 0
  %267 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %266, i64 noundef 1200, ptr noundef @.str.40, ptr noundef @.str.24) #8
  %268 = load ptr, ptr @stdout, align 8, !tbaa !9
  %269 = getelementptr inbounds [1200 x i8], ptr %45, i64 0, i64 0
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef @.str.22, ptr noundef %269) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %46) #8
  %271 = getelementptr inbounds [1200 x i8], ptr %46, i64 0, i64 0
  %272 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %271, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %273 = load ptr, ptr @stdout, align 8, !tbaa !9
  %274 = getelementptr inbounds [1200 x i8], ptr %46, i64 0, i64 0
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.22, ptr noundef %274) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %46) #8
  %276 = load ptr, ptr %19, align 8, !tbaa !9
  %277 = load i64, ptr %20, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef @.str.24, ptr noundef @.str.41, i8 noundef zeroext 6, ptr noundef %276, i64 noundef %277)
  call void @llvm.lifetime.start.p0(i64 1200, ptr %47) #8
  %278 = getelementptr inbounds [1200 x i8], ptr %47, i64 0, i64 0
  %279 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %278, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %280 = load ptr, ptr @stdout, align 8, !tbaa !9
  %281 = getelementptr inbounds [1200 x i8], ptr %47, i64 0, i64 0
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.22, ptr noundef %281) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %48) #8
  %283 = getelementptr inbounds [1200 x i8], ptr %48, i64 0, i64 0
  %284 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %283, i64 noundef 1200, ptr noundef @.str.42, ptr noundef @.str.24) #8
  %285 = load ptr, ptr @stdout, align 8, !tbaa !9
  %286 = getelementptr inbounds [1200 x i8], ptr %48, i64 0, i64 0
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.22, ptr noundef %286) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %48) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %49) #8
  %288 = getelementptr inbounds [1200 x i8], ptr %49, i64 0, i64 0
  %289 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %288, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %290 = load ptr, ptr @stdout, align 8, !tbaa !9
  %291 = getelementptr inbounds [1200 x i8], ptr %49, i64 0, i64 0
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef @.str.22, ptr noundef %291) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %49) #8
  %293 = load ptr, ptr %17, align 8, !tbaa !9
  %294 = load i64, ptr %18, align 8, !tbaa !11
  %295 = load ptr, ptr %19, align 8, !tbaa !9
  %296 = load i64, ptr %20, align 8, !tbaa !11
  %297 = load ptr, ptr %6, align 8, !tbaa !9
  %298 = load i64, ptr %7, align 8, !tbaa !11
  %299 = load ptr, ptr %10, align 8, !tbaa !9
  %300 = call zeroext i8 @eccsi_verify(ptr noundef %293, i64 noundef %294, ptr noundef %295, i64 noundef %296, ptr noundef %297, i64 noundef %298, ptr noundef %299)
  %301 = icmp ne i8 %300, 0
  br i1 %301, label %302, label %313

302:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 1200, ptr %50) #8
  %303 = getelementptr inbounds [1200 x i8], ptr %50, i64 0, i64 0
  %304 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %303, i64 noundef 1200, ptr noundef @.str.43, ptr noundef @.str.10, ptr noundef @__func__.main, i32 noundef 554) #8
  %305 = load ptr, ptr @stdout, align 8, !tbaa !9
  %306 = getelementptr inbounds [1200 x i8], ptr %50, i64 0, i64 0
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.11, ptr noundef %306) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %51) #8
  %308 = getelementptr inbounds [1200 x i8], ptr %51, i64 0, i64 0
  %309 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %308, i64 noundef 1200, ptr noundef @.str.44, ptr noundef @.str.24) #8
  %310 = load ptr, ptr @stdout, align 8, !tbaa !9
  %311 = getelementptr inbounds [1200 x i8], ptr %51, i64 0, i64 0
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %310, ptr noundef @.str.22, ptr noundef %311) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %51) #8
  call void @exit(i32 noundef 1) #11
  unreachable

313:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 1200, ptr %52) #8
  %314 = getelementptr inbounds [1200 x i8], ptr %52, i64 0, i64 0
  %315 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %314, i64 noundef 1200, ptr noundef @.str.45, ptr noundef @.str.24) #8
  %316 = load ptr, ptr @stdout, align 8, !tbaa !9
  %317 = getelementptr inbounds [1200 x i8], ptr %52, i64 0, i64 0
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef @.str.19, ptr noundef %317) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %53) #8
  %319 = getelementptr inbounds [1200 x i8], ptr %53, i64 0, i64 0
  %320 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %319, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %321 = load ptr, ptr @stdout, align 8, !tbaa !9
  %322 = getelementptr inbounds [1200 x i8], ptr %53, i64 0, i64 0
  %323 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.22, ptr noundef %322) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %53) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %54) #8
  %324 = getelementptr inbounds [1200 x i8], ptr %54, i64 0, i64 0
  %325 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %324, i64 noundef 1200, ptr noundef @.str.46, ptr noundef @.str.24) #8
  %326 = load ptr, ptr @stdout, align 8, !tbaa !9
  %327 = getelementptr inbounds [1200 x i8], ptr %54, i64 0, i64 0
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef @.str.22, ptr noundef %327) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %54) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %55) #8
  %329 = getelementptr inbounds [1200 x i8], ptr %55, i64 0, i64 0
  %330 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %329, i64 noundef 1200, ptr noundef @.str.47, ptr noundef @.str.24) #8
  %331 = load ptr, ptr @stdout, align 8, !tbaa !9
  %332 = getelementptr inbounds [1200 x i8], ptr %55, i64 0, i64 0
  %333 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.22, ptr noundef %332) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %55) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %56) #8
  %334 = getelementptr inbounds [1200 x i8], ptr %56, i64 0, i64 0
  %335 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %334, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %336 = load ptr, ptr @stdout, align 8, !tbaa !9
  %337 = getelementptr inbounds [1200 x i8], ptr %56, i64 0, i64 0
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %336, ptr noundef @.str.22, ptr noundef %337) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %56) #8
  %339 = load ptr, ptr %19, align 8, !tbaa !9
  %340 = icmp ne ptr null, %339
  br i1 %340, label %341, label %343

341:                                              ; preds = %313
  %342 = load ptr, ptr %19, align 8, !tbaa !9
  call void @free(ptr noundef %342) #8
  store ptr null, ptr %19, align 8, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !11
  br label %343

343:                                              ; preds = %341, %313
  %344 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef @.str.48, i64 noundef 16, ptr noundef %15, ptr noundef %16)
  %345 = load ptr, ptr %15, align 8, !tbaa !9
  %346 = load i64, ptr %16, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 3, ptr noundef @.str.24, ptr noundef @.str.49, i8 noundef zeroext 7, ptr noundef %345, i64 noundef %346)
  %347 = load ptr, ptr %8, align 8, !tbaa !9
  %348 = load i64, ptr %9, align 8, !tbaa !11
  %349 = load ptr, ptr %10, align 8, !tbaa !9
  %350 = load ptr, ptr %15, align 8, !tbaa !9
  %351 = load i64, ptr %16, align 8, !tbaa !11
  %352 = call zeroext i8 @sakke_generateSakkeEncapsulatedData(ptr noundef %13, ptr noundef %14, ptr noundef %347, i64 noundef %348, ptr noundef %349, ptr noundef %350, i64 noundef %351)
  %353 = icmp ne i8 %352, 0
  br i1 %353, label %354, label %360

354:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 1200, ptr %57) #8
  %355 = getelementptr inbounds [1200 x i8], ptr %57, i64 0, i64 0
  %356 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %355, i64 noundef 1200, ptr noundef @.str.50, ptr noundef @.str.10, ptr noundef @__func__.main, i32 noundef 587) #8
  %357 = load ptr, ptr @stdout, align 8, !tbaa !9
  %358 = getelementptr inbounds [1200 x i8], ptr %57, i64 0, i64 0
  %359 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %357, ptr noundef @.str.11, ptr noundef %358) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %57) #8
  call void @exit(i32 noundef 1) #11
  unreachable

360:                                              ; preds = %343
  %361 = load ptr, ptr %15, align 8, !tbaa !9
  %362 = load i64, ptr %16, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef @.str.24, ptr noundef @.str.51, i8 noundef zeroext 6, ptr noundef %361, i64 noundef %362)
  call void @llvm.lifetime.start.p0(i64 1200, ptr %58) #8
  %363 = getelementptr inbounds [1200 x i8], ptr %58, i64 0, i64 0
  %364 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %363, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %365 = load ptr, ptr @stdout, align 8, !tbaa !9
  %366 = getelementptr inbounds [1200 x i8], ptr %58, i64 0, i64 0
  %367 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %365, ptr noundef @.str.22, ptr noundef %366) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %59) #8
  %368 = getelementptr inbounds [1200 x i8], ptr %59, i64 0, i64 0
  %369 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %368, i64 noundef 1200, ptr noundef @.str.52, ptr noundef @.str.24) #8
  %370 = load ptr, ptr @stdout, align 8, !tbaa !9
  %371 = getelementptr inbounds [1200 x i8], ptr %59, i64 0, i64 0
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %370, ptr noundef @.str.22, ptr noundef %371) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %59) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %60) #8
  %373 = getelementptr inbounds [1200 x i8], ptr %60, i64 0, i64 0
  %374 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %373, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %375 = load ptr, ptr @stdout, align 8, !tbaa !9
  %376 = getelementptr inbounds [1200 x i8], ptr %60, i64 0, i64 0
  %377 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %375, ptr noundef @.str.22, ptr noundef %376) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %60) #8
  %378 = load ptr, ptr %13, align 8, !tbaa !9
  %379 = load i64, ptr %14, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef @.str.24, ptr noundef @.str.53, i8 noundef zeroext 6, ptr noundef %378, i64 noundef %379)
  br label %380

380:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 1200, ptr %61) #8
  %381 = getelementptr inbounds [1200 x i8], ptr %61, i64 0, i64 0
  %382 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %381, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %383 = load ptr, ptr @stdout, align 8, !tbaa !9
  %384 = getelementptr inbounds [1200 x i8], ptr %61, i64 0, i64 0
  %385 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %383, ptr noundef @.str.22, ptr noundef %384) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %61) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %62) #8
  %386 = getelementptr inbounds [1200 x i8], ptr %62, i64 0, i64 0
  %387 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %386, i64 noundef 1200, ptr noundef @.str.54, ptr noundef @.str.24) #8
  %388 = load ptr, ptr @stdout, align 8, !tbaa !9
  %389 = getelementptr inbounds [1200 x i8], ptr %62, i64 0, i64 0
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %388, ptr noundef @.str.22, ptr noundef %389) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %62) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %63) #8
  %391 = getelementptr inbounds [1200 x i8], ptr %63, i64 0, i64 0
  %392 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %391, i64 noundef 1200, ptr noundef @.str.55, ptr noundef @.str.24) #8
  %393 = load ptr, ptr @stdout, align 8, !tbaa !9
  %394 = getelementptr inbounds [1200 x i8], ptr %63, i64 0, i64 0
  %395 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %393, ptr noundef @.str.22, ptr noundef %394) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %63) #8
  call void @llvm.lifetime.start.p0(i64 1200, ptr %64) #8
  %396 = getelementptr inbounds [1200 x i8], ptr %64, i64 0, i64 0
  %397 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %396, i64 noundef 1200, ptr noundef @.str.27, ptr noundef @.str.24) #8
  %398 = load ptr, ptr @stdout, align 8, !tbaa !9
  %399 = getelementptr inbounds [1200 x i8], ptr %64, i64 0, i64 0
  %400 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %398, ptr noundef @.str.22, ptr noundef %399) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %64) #8
  store ptr null, ptr %11, align 8, !tbaa !9
  %401 = load ptr, ptr %13, align 8, !tbaa !9
  %402 = load i64, ptr %14, align 8, !tbaa !11
  %403 = load ptr, ptr %8, align 8, !tbaa !9
  %404 = load i64, ptr %9, align 8, !tbaa !11
  %405 = load ptr, ptr %10, align 8, !tbaa !9
  %406 = call zeroext i8 @sakke_extractSharedSecret(ptr noundef %401, i64 noundef %402, ptr noundef %403, i64 noundef %404, ptr noundef %405, ptr noundef %11, ptr noundef %12)
  %407 = zext i8 %406 to i32
  %408 = icmp eq i32 %407, 0
  br i1 %408, label %409, label %412

409:                                              ; preds = %380
  %410 = load ptr, ptr %11, align 8, !tbaa !9
  %411 = load i64, ptr %12, align 8, !tbaa !11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 3, ptr noundef @.str.24, ptr noundef @.str.56, i8 noundef zeroext 7, ptr noundef %410, i64 noundef %411)
  br label %418

412:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 1200, ptr %65) #8
  %413 = getelementptr inbounds [1200 x i8], ptr %65, i64 0, i64 0
  %414 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %413, i64 noundef 1200, ptr noundef @.str.57, ptr noundef @.str.24) #8
  %415 = load ptr, ptr @stdout, align 8, !tbaa !9
  %416 = getelementptr inbounds [1200 x i8], ptr %65, i64 0, i64 0
  %417 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %415, ptr noundef @.str.22, ptr noundef %416) #8
  call void @llvm.lifetime.end.p0(i64 1200, ptr %65) #8
  call void @exit(i32 noundef 1) #11
  unreachable

418:                                              ; preds = %409
  %419 = load ptr, ptr %15, align 8, !tbaa !9
  %420 = icmp ne ptr null, %419
  br i1 %420, label %421, label %423

421:                                              ; preds = %418
  %422 = load ptr, ptr %15, align 8, !tbaa !9
  call void @free(ptr noundef %422) #8
  store ptr null, ptr %15, align 8, !tbaa !9
  br label %423

423:                                              ; preds = %421, %418
  %424 = load ptr, ptr %11, align 8, !tbaa !9
  %425 = icmp ne ptr null, %424
  br i1 %425, label %426, label %428

426:                                              ; preds = %423
  %427 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %427) #8
  store ptr null, ptr %11, align 8, !tbaa !9
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %428

428:                                              ; preds = %426, %423
  %429 = load ptr, ptr %13, align 8, !tbaa !9
  %430 = icmp ne ptr null, %429
  br i1 %430, label %431, label %433

431:                                              ; preds = %428
  %432 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free(ptr noundef %432) #8
  store ptr null, ptr %13, align 8, !tbaa !9
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %433

433:                                              ; preds = %431, %428
  br label %434

434:                                              ; preds = %433
  %435 = load i32, ptr %21, align 4, !tbaa !5
  %436 = add i32 %435, 1
  store i32 %436, ptr %21, align 4, !tbaa !5
  br label %201, !llvm.loop !16

437:                                              ; preds = %201
  call void (...) @community_deleteStorage()
  call void @ms_deleteParameterSets()
  %438 = load ptr, ptr %6, align 8, !tbaa !9
  call void @free(ptr noundef %438) #8
  %439 = load ptr, ptr %8, align 8, !tbaa !9
  call void @free(ptr noundef %439) #8
  %440 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %440) #8
  %441 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free(ptr noundef %441) #8
  %442 = load ptr, ptr %19, align 8, !tbaa !9
  call void @free(ptr noundef %442) #8
  %443 = load ptr, ptr %17, align 8, !tbaa !9
  call void @free(ptr noundef %443) #8
  %444 = load ptr, ptr %10, align 8, !tbaa !9
  call void @free(ptr noundef %444) #8
  %445 = load ptr, ptr %15, align 8, !tbaa !9
  call void @free(ptr noundef %445) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  ret i32 0
}

declare ptr @softwareVersion() #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #7

declare void @utils_printFormattedOctetString(i8 noundef zeroext, ptr noundef, ptr noundef, i8 noundef zeroext, ptr noundef, i64 noundef) #3

declare zeroext i8 @eccsi_sign(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

declare signext i16 @ES_PRNG(ptr noundef, i8 noundef zeroext) #3

declare zeroext i8 @eccsi_verify(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #3

declare zeroext i8 @sakke_generateSakkeEncapsulatedData(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) #3

declare zeroext i8 @sakke_extractSharedSecret(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare void @community_deleteStorage(...) #3

declare void @ms_deleteParameterSets() #3

; Function Attrs: nounwind uwtable
declare hidden signext i16 @main_initialiseMSInCorrectOrder() #0

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 willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind allocsize(0,1) "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 #7 = { noreturn 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 #8 = { nounwind }
attributes #9 = { nounwind allocsize(0,1) }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn 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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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

@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [63 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [33 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local signext i16 @main_addExampleCommunity() local_unnamed_addr #0

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2

declare signext i16 @utils_convertHexStringToOctetString(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
declare dso_local signext i16 @main_addExampleUser() local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #9

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly) local_unnamed_addr #9

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca [1200 x i8], align 16
  %14 = alloca [1200 x i8], align 16
  %15 = alloca [1200 x i8], align 16
  %16 = alloca [1200 x i8], align 16
  %17 = alloca [1200 x i8], align 16
  %18 = alloca [1200 x i8], align 16
  %19 = alloca [1200 x i8], align 16
  %20 = alloca [1200 x i8], align 16
  %21 = alloca [1200 x i8], align 16
  %22 = alloca [1200 x i8], align 16
  %23 = alloca [1200 x i8], align 16
  %24 = alloca [1200 x i8], align 16
  %25 = alloca [1200 x i8], align 16
  %26 = alloca [1200 x i8], align 16
  %27 = alloca [1200 x i8], align 16
  %28 = alloca [1200 x i8], align 16
  %29 = alloca [1200 x i8], align 16
  %30 = alloca [1200 x i8], align 16
  %31 = alloca [1200 x i8], align 16
  %32 = alloca [1200 x i8], align 16
  %33 = alloca [1200 x i8], align 16
  %34 = alloca [1200 x i8], align 16
  %35 = alloca [1200 x i8], align 16
  %36 = alloca [1200 x i8], align 16
  %37 = alloca [1200 x i8], align 16
  %38 = alloca [1200 x i8], align 16
  %39 = alloca [1200 x i8], align 16
  %40 = alloca [1200 x i8], align 16
  %41 = alloca [1200 x i8], align 16
  %42 = alloca [1200 x i8], align 16
  %43 = alloca [1200 x i8], align 16
  %44 = alloca [1200 x i8], align 16
  %45 = alloca [1200 x i8], align 16
  %46 = alloca [1200 x i8], align 16
  %47 = alloca [1200 x i8], align 16
  %48 = alloca [1200 x i8], align 16
  %49 = alloca [1200 x i8], align 16
  %50 = alloca [1200 x i8], align 16
  %51 = alloca [1200 x i8], align 16
  %52 = alloca [1200 x i8], align 16
  %53 = alloca [1200 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #11
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #11
  store i64 0, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  store i64 16, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  store i64 0, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  store i64 32, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %13) #11
  %54 = tail call ptr @softwareVersion() #11
  %55 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %13, i64 noundef 1200, ptr noundef nonnull @.str.18, ptr noundef %54) #11
  %56 = load ptr, ptr @stdout, align 8, !tbaa !5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.19, ptr noundef nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %14) #11
  %58 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %14, i64 noundef 1200, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21) #11
  %59 = load ptr, ptr @stdout, align 8, !tbaa !5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.22, ptr noundef nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %14) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %15) #11
  %61 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %15, i64 noundef 1200, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.23) #11
  %62 = load ptr, ptr @stdout, align 8, !tbaa !5
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.22, ptr noundef nonnull %15) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %15) #11
  %64 = call noalias dereferenceable_or_null(255) ptr @calloc(i64 noundef 1, i64 noundef 255) #12
  %65 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %64, ptr noundef nonnull dereferenceable(1) @.str.12) #11
  %66 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %64) #13
  %67 = getelementptr inbounds i8, ptr %64, i64 %66
  %68 = getelementptr inbounds i8, ptr %67, i64 1
  %69 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %68, ptr noundef nonnull dereferenceable(1) @.str.13) #11
  %70 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %64) #13
  %71 = getelementptr i8, ptr %64, i64 %70
  %72 = getelementptr i8, ptr %71, i64 1
  %73 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %72) #13
  %74 = add i64 %70, 2
  %75 = add i64 %74, %73
  %76 = call noalias dereferenceable_or_null(255) ptr @calloc(i64 noundef 1, i64 noundef 255) #12
  %77 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %76, ptr noundef nonnull dereferenceable(1) @.str.12) #11
  %78 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %76) #13
  %79 = getelementptr inbounds i8, ptr %76, i64 %78
  %80 = getelementptr inbounds i8, ptr %79, i64 1
  %81 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %80, ptr noundef nonnull dereferenceable(1) @.str.13) #11
  %82 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %76) #13
  %83 = getelementptr i8, ptr %76, i64 %82
  %84 = getelementptr i8, ptr %83, i64 1
  %85 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %84) #13
  %86 = add i64 %82, 2
  %87 = add i64 %86, %85
  %88 = call noalias ptr @strdup(ptr noundef nonnull @.str.3) #11
  %89 = call signext i16 @main_initialiseMSInCorrectOrder()
  %90 = call signext i16 @main_addExampleCommunity()
  %.not = icmp eq i16 %90, 0
  br i1 %.not, label %92, label %91

91:                                               ; preds = %2
  call void @exit(i32 noundef 1) #14
  unreachable

92:                                               ; preds = %2
  %93 = call signext i16 @main_addExampleUser()
  %.not47 = icmp eq i16 %93, 0
  br i1 %.not47, label %.critedge, label %94

94:                                               ; preds = %92
  call void @exit(i32 noundef 1) #14
  unreachable

.critedge:                                        ; preds = %92
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %16) #11
  %95 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %16, i64 noundef 1200, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.24) #11
  %96 = load ptr, ptr @stdout, align 8, !tbaa !5
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str.22, ptr noundef nonnull %16) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %17) #11
  %98 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %17, i64 noundef 1200, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.24) #11
  %99 = load ptr, ptr @stdout, align 8, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.22, ptr noundef nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %17) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %18) #11
  %101 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %18, i64 noundef 1200, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.24) #11
  %102 = load ptr, ptr @stdout, align 8, !tbaa !5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef nonnull @.str.22, ptr noundef nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %18) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %19) #11
  %104 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %19, i64 noundef 1200, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.24) #11
  %105 = load ptr, ptr @stdout, align 8, !tbaa !5
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef nonnull @.str.22, ptr noundef nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %19) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %20) #11
  %107 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %20, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %108 = load ptr, ptr @stdout, align 8, !tbaa !5
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.22, ptr noundef nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %20) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %21) #11
  %110 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %21, i64 noundef 1200, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.24) #11
  %111 = load ptr, ptr @stdout, align 8, !tbaa !5
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef nonnull @.str.22, ptr noundef nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %21) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %22) #11
  %113 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %22, i64 noundef 1200, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.24) #11
  %114 = load ptr, ptr @stdout, align 8, !tbaa !5
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef nonnull @.str.22, ptr noundef nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %22) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %23) #11
  %116 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %23, i64 noundef 1200, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.24) #11
  %117 = load ptr, ptr @stdout, align 8, !tbaa !5
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef nonnull @.str.22, ptr noundef nonnull %23) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %23) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %24) #11
  %119 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %24, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %120 = load ptr, ptr @stdout, align 8, !tbaa !5
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef nonnull @.str.22, ptr noundef nonnull %24) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %24) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %25) #11
  %122 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %25, i64 noundef 1200, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.24) #11
  %123 = load ptr, ptr @stdout, align 8, !tbaa !5
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef nonnull @.str.22, ptr noundef nonnull %25) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %25) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %26) #11
  %125 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %26, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %126 = load ptr, ptr @stdout, align 8, !tbaa !5
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef nonnull @.str.22, ptr noundef nonnull %26) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %26) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %27) #11
  %128 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %27, i64 noundef 1200, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.24) #11
  %129 = load ptr, ptr @stdout, align 8, !tbaa !5
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef nonnull @.str.22, ptr noundef nonnull %27) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %27) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %28) #11
  %131 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %28, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %132 = load ptr, ptr @stdout, align 8, !tbaa !5
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef nonnull @.str.22, ptr noundef nonnull %28) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %28) #11
  %134 = call noalias ptr @strdup(ptr noundef nonnull @.str.32) #11
  %135 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %134) #13
  %136 = add i64 %135, 1
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %29) #11
  %137 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %29, i64 noundef 1200, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.24, i32 noundef 0) #11
  %138 = load ptr, ptr @stdout, align 8, !tbaa !5
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef nonnull @.str.19, ptr noundef nonnull %29) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %29) #11
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.34, i8 noundef zeroext 8, ptr noundef %134, i64 noundef %136) #11
  %140 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef nonnull @.str.35, i64 noundef 32, ptr noundef nonnull %11, ptr noundef nonnull %12) #11
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = load i64, ptr %12, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 3, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.36, i8 noundef zeroext 7, ptr noundef %141, i64 noundef %142) #11
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = load i64, ptr %12, align 8, !tbaa !9
  %145 = call zeroext i8 @eccsi_sign(ptr noundef %134, i64 noundef %136, ptr noundef %64, i64 noundef %75, ptr noundef %88, ptr noundef %143, i64 noundef %144, ptr noundef nonnull %9, ptr noundef nonnull %10) #11
  %.not4856 = icmp eq i8 %145, 0
  br i1 %.not4856, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.critedge, %152
  %146 = phi i8 [ %164, %152 ], [ %145, %.critedge ]
  %147 = add i8 %146, -13
  %or.cond = icmp ult i8 %147, -2
  br i1 %or.cond, label %148, label %152

148:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %30) #11
  %149 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %30, i64 noundef 1200, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.10, ptr noundef nonnull @__func__.main, i32 noundef 522) #11
  %150 = load ptr, ptr @stdout, align 8, !tbaa !5
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %150, ptr noundef nonnull @.str.11, ptr noundef nonnull %30) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %30) #11
  call void @exit(i32 noundef 1) #14
  unreachable

152:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %31) #11
  %153 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %31, i64 noundef 1200, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.24) #11
  %154 = load ptr, ptr @stdout, align 8, !tbaa !5
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef nonnull @.str.22, ptr noundef nonnull %31) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %31) #11
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %156) #11
  store ptr null, ptr %11, align 8, !tbaa !5
  %157 = load i64, ptr %12, align 8, !tbaa !9
  %158 = trunc i64 %157 to i8
  %159 = call signext i16 @ES_PRNG(ptr noundef nonnull %11, i8 noundef zeroext %158) #11
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = load i64, ptr %12, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.39, i8 noundef zeroext 8, ptr noundef %160, i64 noundef %161) #11
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = load i64, ptr %12, align 8, !tbaa !9
  %164 = call zeroext i8 @eccsi_sign(ptr noundef %134, i64 noundef %136, ptr noundef %64, i64 noundef %75, ptr noundef %88, ptr noundef %162, i64 noundef %163, ptr noundef nonnull %9, ptr noundef nonnull %10) #11
  %.not48 = icmp eq i8 %164, 0
  br i1 %.not48, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %152, %.critedge
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %.not49 = icmp eq ptr %165, null
  br i1 %.not49, label %169, label %166

166:                                              ; preds = %._crit_edge
  %167 = load i64, ptr %12, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %165, i8 0, i64 %167, i1 false)
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %168) #11
  store ptr null, ptr %11, align 8, !tbaa !5
  br label %169

169:                                              ; preds = %166, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %32) #11
  %170 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %32, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %171 = load ptr, ptr @stdout, align 8, !tbaa !5
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef nonnull @.str.22, ptr noundef nonnull %32) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %32) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %33) #11
  %173 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %33, i64 noundef 1200, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.24) #11
  %174 = load ptr, ptr @stdout, align 8, !tbaa !5
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef nonnull @.str.22, ptr noundef nonnull %33) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %33) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %34) #11
  %176 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %34, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %177 = load ptr, ptr @stdout, align 8, !tbaa !5
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef nonnull @.str.22, ptr noundef nonnull %34) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %34) #11
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = load i64, ptr %10, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.41, i8 noundef zeroext 6, ptr noundef %179, i64 noundef %180) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %35) #11
  %181 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %35, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %182 = load ptr, ptr @stdout, align 8, !tbaa !5
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef nonnull @.str.22, ptr noundef nonnull %35) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %35) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %36) #11
  %184 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %36, i64 noundef 1200, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.24) #11
  %185 = load ptr, ptr @stdout, align 8, !tbaa !5
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef nonnull @.str.22, ptr noundef nonnull %36) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %36) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %37) #11
  %187 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %37, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %188 = load ptr, ptr @stdout, align 8, !tbaa !5
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %188, ptr noundef nonnull @.str.22, ptr noundef nonnull %37) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %37) #11
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load i64, ptr %10, align 8, !tbaa !9
  %192 = call zeroext i8 @eccsi_verify(ptr noundef %134, i64 noundef %136, ptr noundef %190, i64 noundef %191, ptr noundef %64, i64 noundef %75, ptr noundef %88) #11
  %.not50 = icmp eq i8 %192, 0
  br i1 %.not50, label %200, label %193

193:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %38) #11
  %194 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %38, i64 noundef 1200, ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.10, ptr noundef nonnull @__func__.main, i32 noundef 554) #11
  %195 = load ptr, ptr @stdout, align 8, !tbaa !5
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef nonnull @.str.11, ptr noundef nonnull %38) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %38) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %39) #11
  %197 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %39, i64 noundef 1200, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.24) #11
  %198 = load ptr, ptr @stdout, align 8, !tbaa !5
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %198, ptr noundef nonnull @.str.22, ptr noundef nonnull %39) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %39) #11
  call void @exit(i32 noundef 1) #14
  unreachable

200:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %40) #11
  %201 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %40, i64 noundef 1200, ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.24) #11
  %202 = load ptr, ptr @stdout, align 8, !tbaa !5
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef nonnull @.str.19, ptr noundef nonnull %40) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %40) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %41) #11
  %204 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %41, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %205 = load ptr, ptr @stdout, align 8, !tbaa !5
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef nonnull @.str.22, ptr noundef nonnull %41) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %41) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %42) #11
  %207 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %42, i64 noundef 1200, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.24) #11
  %208 = load ptr, ptr @stdout, align 8, !tbaa !5
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef nonnull @.str.22, ptr noundef nonnull %42) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %42) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %43) #11
  %210 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %43, i64 noundef 1200, ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.24) #11
  %211 = load ptr, ptr @stdout, align 8, !tbaa !5
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef nonnull @.str.22, ptr noundef nonnull %43) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %43) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %44) #11
  %213 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %44, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %214 = load ptr, ptr @stdout, align 8, !tbaa !5
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef nonnull @.str.22, ptr noundef nonnull %44) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %44) #11
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %.not51 = icmp eq ptr %216, null
  br i1 %.not51, label %218, label %217

217:                                              ; preds = %200
  call void @free(ptr noundef nonnull %216) #11
  store ptr null, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %218

218:                                              ; preds = %217, %200
  %219 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef nonnull @.str.48, i64 noundef 16, ptr noundef nonnull %7, ptr noundef nonnull %8) #11
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = load i64, ptr %8, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 3, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.49, i8 noundef zeroext 7, ptr noundef %220, i64 noundef %221) #11
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = load i64, ptr %8, align 8, !tbaa !9
  %224 = call zeroext i8 @sakke_generateSakkeEncapsulatedData(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %76, i64 noundef %87, ptr noundef %88, ptr noundef %222, i64 noundef %223) #11
  %.not52 = icmp eq i8 %224, 0
  br i1 %.not52, label %229, label %225

225:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %45) #11
  %226 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %45, i64 noundef 1200, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.10, ptr noundef nonnull @__func__.main, i32 noundef 587) #11
  %227 = load ptr, ptr @stdout, align 8, !tbaa !5
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef nonnull @.str.11, ptr noundef nonnull %45) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %45) #11
  call void @exit(i32 noundef 1) #14
  unreachable

229:                                              ; preds = %218
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = load i64, ptr %8, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.51, i8 noundef zeroext 6, ptr noundef %230, i64 noundef %231) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %46) #11
  %232 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %46, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %233 = load ptr, ptr @stdout, align 8, !tbaa !5
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef nonnull @.str.22, ptr noundef nonnull %46) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %46) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %47) #11
  %235 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %47, i64 noundef 1200, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.24) #11
  %236 = load ptr, ptr @stdout, align 8, !tbaa !5
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %236, ptr noundef nonnull @.str.22, ptr noundef nonnull %47) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %47) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %48) #11
  %238 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %48, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %239 = load ptr, ptr @stdout, align 8, !tbaa !5
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef nonnull @.str.22, ptr noundef nonnull %48) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %48) #11
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = load i64, ptr %6, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 4, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.53, i8 noundef zeroext 6, ptr noundef %241, i64 noundef %242) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %49) #11
  %243 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %49, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %244 = load ptr, ptr @stdout, align 8, !tbaa !5
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef nonnull @.str.22, ptr noundef nonnull %49) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %49) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %50) #11
  %246 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %50, i64 noundef 1200, ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.24) #11
  %247 = load ptr, ptr @stdout, align 8, !tbaa !5
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef nonnull @.str.22, ptr noundef nonnull %50) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %50) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %51) #11
  %249 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %51, i64 noundef 1200, ptr noundef nonnull @.str.55, ptr noundef nonnull @.str.24) #11
  %250 = load ptr, ptr @stdout, align 8, !tbaa !5
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %250, ptr noundef nonnull @.str.22, ptr noundef nonnull %51) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %51) #11
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %52) #11
  %252 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %52, i64 noundef 1200, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24) #11
  %253 = load ptr, ptr @stdout, align 8, !tbaa !5
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef nonnull @.str.22, ptr noundef nonnull %52) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %52) #11
  store ptr null, ptr %3, align 8, !tbaa !5
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = load i64, ptr %6, align 8, !tbaa !9
  %257 = call zeroext i8 @sakke_extractSharedSecret(ptr noundef %255, i64 noundef %256, ptr noundef %76, i64 noundef %87, ptr noundef %88, ptr noundef nonnull %3, ptr noundef nonnull %4) #11
  %258 = icmp eq i8 %257, 0
  br i1 %258, label %259, label %263

259:                                              ; preds = %229
  %260 = load ptr, ptr %3, align 8, !tbaa !5
  %261 = load i64, ptr %4, align 8, !tbaa !9
  call void @utils_printFormattedOctetString(i8 noundef zeroext 3, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.56, i8 noundef zeroext 7, ptr noundef %260, i64 noundef %261) #11
  %262 = load ptr, ptr %7, align 8, !tbaa !5
  %.not53 = icmp eq ptr %262, null
  br i1 %.not53, label %268, label %267

263:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %53) #11
  %264 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %53, i64 noundef 1200, ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.24) #11
  %265 = load ptr, ptr @stdout, align 8, !tbaa !5
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef nonnull @.str.22, ptr noundef nonnull %53) #11
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %53) #11
  call void @exit(i32 noundef 1) #14
  unreachable

267:                                              ; preds = %259
  call void @free(ptr noundef nonnull %262) #11
  store ptr null, ptr %7, align 8, !tbaa !5
  br label %268

268:                                              ; preds = %267, %259
  %269 = load ptr, ptr %3, align 8, !tbaa !5
  %.not54 = icmp eq ptr %269, null
  br i1 %.not54, label %271, label %270

270:                                              ; preds = %268
  call void @free(ptr noundef nonnull %269) #11
  store ptr null, ptr %3, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !9
  br label %271

271:                                              ; preds = %270, %268
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %.not55 = icmp eq ptr %272, null
  br i1 %.not55, label %274, label %273

273:                                              ; preds = %271
  call void @free(ptr noundef nonnull %272) #11
  store ptr null, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %6, align 8, !tbaa !9
  br label %274

274:                                              ; preds = %273, %271
  call void (...) @community_deleteStorage() #11
  call void @ms_deleteParameterSets() #11
  call void @free(ptr noundef %64) #11
  call void @free(ptr noundef %76) #11
  %275 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %275) #11
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %276) #11
  %277 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %277) #11
  call void @free(ptr noundef %134) #11
  call void @free(ptr noundef %88) #11
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %278) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  ret i32 0
}

declare ptr @softwareVersion() local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #10

declare void @utils_printFormattedOctetString(i8 noundef zeroext, ptr noundef, ptr noundef, i8 noundef zeroext, ptr noundef, i64 noundef) local_unnamed_addr #3

declare zeroext i8 @eccsi_sign(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare signext i16 @ES_PRNG(ptr noundef, i8 noundef zeroext) local_unnamed_addr #3

declare zeroext i8 @eccsi_verify(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare zeroext i8 @sakke_generateSakkeEncapsulatedData(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare zeroext i8 @sakke_extractSharedSecret(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @community_deleteStorage(...) local_unnamed_addr #3

declare void @ms_deleteParameterSets() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden signext i16 @main_initialiseMSInCorrectOrder() local_unnamed_addr #0

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass