; LLVM IR from jim-b/ECCSI-SAKKE :: src/data (communityParameters)

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

@stdout = external global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

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

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

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

declare signext i16 @msdb_communityGetPubAuthKey(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetPubEncKey(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @community_outputKMSCertificate(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca [1024 x i8], align 16
  %4 = alloca i16, align 2
  %5 = alloca [1200 x i8], align 16
  %6 = alloca [1200 x i8], align 16
  %7 = alloca [1200 x i8], align 16
  %8 = alloca [1200 x i8], align 16
  %9 = alloca [1200 x i8], align 16
  %10 = alloca [1200 x i8], align 16
  %11 = alloca [1200 x i8], align 16
  %12 = alloca [1200 x i8], align 16
  %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
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %4) #5
  store i16 0, ptr %4, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1200, ptr %5) #5
  %29 = getelementptr inbounds [1200 x i8], ptr %5, i64 0, i64 0
  %30 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %29, i64 noundef 1200, ptr noundef @.str.39, ptr noundef @.str.40) #5
  %31 = load ptr, ptr @stdout, align 8, !tbaa !5
  %32 = getelementptr inbounds [1200 x i8], ptr %5, i64 0, i64 0
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.41, ptr noundef %32) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 1200, ptr %6) #5
  %34 = getelementptr inbounds [1200 x i8], ptr %6, i64 0, i64 0
  %35 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %34, i64 noundef 1200, ptr noundef @.str.42, ptr noundef @.str.40) #5
  %36 = load ptr, ptr @stdout, align 8, !tbaa !5
  %37 = getelementptr inbounds [1200 x i8], ptr %6, i64 0, i64 0
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.41, ptr noundef %37) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %6) #5
  %39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %39, i8 0, i64 1024, i1 false)
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = call signext i16 @msdb_communityGetVersion(ptr noundef %40, ptr noundef %3)
  %42 = icmp ne i16 %41, 0
  br i1 %42, label %50, label %43

43:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1200, ptr %7) #5
  %44 = getelementptr inbounds [1200 x i8], ptr %7, i64 0, i64 0
  %45 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %46 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %44, i64 noundef 1200, ptr noundef @.str.43, ptr noundef @.str.40, ptr noundef %45) #5
  %47 = load ptr, ptr @stdout, align 8, !tbaa !5
  %48 = getelementptr inbounds [1200 x i8], ptr %7, i64 0, i64 0
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.41, ptr noundef %48) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %7) #5
  br label %56

50:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1200, ptr %8) #5
  %51 = getelementptr inbounds [1200 x i8], ptr %8, i64 0, i64 0
  %52 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %51, i64 noundef 1200, ptr noundef @.str.44, ptr noundef @.str.40) #5
  %53 = load ptr, ptr @stdout, align 8, !tbaa !5
  %54 = getelementptr inbounds [1200 x i8], ptr %8, i64 0, i64 0
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.41, ptr noundef %54) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %8) #5
  br label %56

56:                                               ; preds = %50, %43
  %57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %57, i8 0, i64 1024, i1 false)
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = call signext i16 @msdb_communityGetCertUri(ptr noundef %58, ptr noundef %3)
  %60 = icmp ne i16 %59, 0
  br i1 %60, label %68, label %61

61:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1200, ptr %9) #5
  %62 = getelementptr inbounds [1200 x i8], ptr %9, i64 0, i64 0
  %63 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %64 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %62, i64 noundef 1200, ptr noundef @.str.45, ptr noundef @.str.40, ptr noundef %63) #5
  %65 = load ptr, ptr @stdout, align 8, !tbaa !5
  %66 = getelementptr inbounds [1200 x i8], ptr %9, i64 0, i64 0
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.41, ptr noundef %66) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %9) #5
  br label %74

68:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1200, ptr %10) #5
  %69 = getelementptr inbounds [1200 x i8], ptr %10, i64 0, i64 0
  %70 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %69, i64 noundef 1200, ptr noundef @.str.46, ptr noundef @.str.40) #5
  %71 = load ptr, ptr @stdout, align 8, !tbaa !5
  %72 = getelementptr inbounds [1200 x i8], ptr %10, i64 0, i64 0
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.41, ptr noundef %72) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %10) #5
  br label %74

74:                                               ; preds = %68, %61
  %75 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %75, i8 0, i64 1024, i1 false)
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = call signext i16 @msdb_communityGetKmsUri(ptr noundef %76, ptr noundef %3)
  %78 = icmp ne i16 %77, 0
  br i1 %78, label %86, label %79

79:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 1200, ptr %11) #5
  %80 = getelementptr inbounds [1200 x i8], ptr %11, i64 0, i64 0
  %81 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %82 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %80, i64 noundef 1200, ptr noundef @.str.47, ptr noundef @.str.40, ptr noundef %81) #5
  %83 = load ptr, ptr @stdout, align 8, !tbaa !5
  %84 = getelementptr inbounds [1200 x i8], ptr %11, i64 0, i64 0
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.41, ptr noundef %84) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %11) #5
  br label %92

86:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 1200, ptr %12) #5
  %87 = getelementptr inbounds [1200 x i8], ptr %12, i64 0, i64 0
  %88 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %87, i64 noundef 1200, ptr noundef @.str.48, ptr noundef @.str.40) #5
  %89 = load ptr, ptr @stdout, align 8, !tbaa !5
  %90 = getelementptr inbounds [1200 x i8], ptr %12, i64 0, i64 0
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.41, ptr noundef %90) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %12) #5
  br label %92

92:                                               ; preds = %86, %79
  %93 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %93, i8 0, i64 1024, i1 false)
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = call signext i16 @msdb_communityGetIssuer(ptr noundef %94, ptr noundef %3)
  %96 = icmp ne i16 %95, 0
  br i1 %96, label %104, label %97

97:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 1200, ptr %13) #5
  %98 = getelementptr inbounds [1200 x i8], ptr %13, i64 0, i64 0
  %99 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %100 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %98, i64 noundef 1200, ptr noundef @.str.49, ptr noundef @.str.40, ptr noundef %99) #5
  %101 = load ptr, ptr @stdout, align 8, !tbaa !5
  %102 = getelementptr inbounds [1200 x i8], ptr %13, i64 0, i64 0
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.41, ptr noundef %102) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %13) #5
  br label %110

104:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 1200, ptr %14) #5
  %105 = getelementptr inbounds [1200 x i8], ptr %14, i64 0, i64 0
  %106 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %105, i64 noundef 1200, ptr noundef @.str.50, ptr noundef @.str.40) #5
  %107 = load ptr, ptr @stdout, align 8, !tbaa !5
  %108 = getelementptr inbounds [1200 x i8], ptr %14, i64 0, i64 0
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.41, ptr noundef %108) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %14) #5
  br label %110

110:                                              ; preds = %104, %97
  %111 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %111, i8 0, i64 1024, i1 false)
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = call signext i16 @msdb_communityGetValidFrom(ptr noundef %112, ptr noundef %3)
  %114 = icmp ne i16 %113, 0
  br i1 %114, label %122, label %115

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 1200, ptr %15) #5
  %116 = getelementptr inbounds [1200 x i8], ptr %15, i64 0, i64 0
  %117 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %118 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %116, i64 noundef 1200, ptr noundef @.str.51, ptr noundef @.str.40, ptr noundef %117) #5
  %119 = load ptr, ptr @stdout, align 8, !tbaa !5
  %120 = getelementptr inbounds [1200 x i8], ptr %15, i64 0, i64 0
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.41, ptr noundef %120) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %15) #5
  br label %128

122:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 1200, ptr %16) #5
  %123 = getelementptr inbounds [1200 x i8], ptr %16, i64 0, i64 0
  %124 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %123, i64 noundef 1200, ptr noundef @.str.52, ptr noundef @.str.40) #5
  %125 = load ptr, ptr @stdout, align 8, !tbaa !5
  %126 = getelementptr inbounds [1200 x i8], ptr %16, i64 0, i64 0
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.41, ptr noundef %126) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %16) #5
  br label %128

128:                                              ; preds = %122, %115
  %129 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %129, i8 0, i64 1024, i1 false)
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = call signext i16 @msdb_communityGetValidTo(ptr noundef %130, ptr noundef %3)
  %132 = icmp ne i16 %131, 0
  br i1 %132, label %140, label %133

133:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1200, ptr %17) #5
  %134 = getelementptr inbounds [1200 x i8], ptr %17, i64 0, i64 0
  %135 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %136 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %134, i64 noundef 1200, ptr noundef @.str.53, ptr noundef @.str.40, ptr noundef %135) #5
  %137 = load ptr, ptr @stdout, align 8, !tbaa !5
  %138 = getelementptr inbounds [1200 x i8], ptr %17, i64 0, i64 0
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %137, ptr noundef @.str.41, ptr noundef %138) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %17) #5
  br label %146

140:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1200, ptr %18) #5
  %141 = getelementptr inbounds [1200 x i8], ptr %18, i64 0, i64 0
  %142 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %141, i64 noundef 1200, ptr noundef @.str.54, ptr noundef @.str.40) #5
  %143 = load ptr, ptr @stdout, align 8, !tbaa !5
  %144 = getelementptr inbounds [1200 x i8], ptr %18, i64 0, i64 0
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef @.str.41, ptr noundef %144) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %18) #5
  br label %146

146:                                              ; preds = %140, %133
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  %148 = call signext i16 @msdb_communityGetRevoked(ptr noundef %147, ptr noundef %4)
  %149 = icmp ne i16 %148, 0
  br i1 %149, label %158, label %150

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 1200, ptr %19) #5
  %151 = getelementptr inbounds [1200 x i8], ptr %19, i64 0, i64 0
  %152 = load i16, ptr %4, align 2, !tbaa !9
  %153 = sext i16 %152 to i32
  %154 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %151, i64 noundef 1200, ptr noundef @.str.55, ptr noundef @.str.40, i32 noundef %153) #5
  %155 = load ptr, ptr @stdout, align 8, !tbaa !5
  %156 = getelementptr inbounds [1200 x i8], ptr %19, i64 0, i64 0
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.41, ptr noundef %156) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %19) #5
  br label %164

158:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 1200, ptr %20) #5
  %159 = getelementptr inbounds [1200 x i8], ptr %20, i64 0, i64 0
  %160 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %159, i64 noundef 1200, ptr noundef @.str.56, ptr noundef @.str.40) #5
  %161 = load ptr, ptr @stdout, align 8, !tbaa !5
  %162 = getelementptr inbounds [1200 x i8], ptr %20, i64 0, i64 0
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.41, ptr noundef %162) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %20) #5
  br label %164

164:                                              ; preds = %158, %150
  %165 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %165, i8 0, i64 1024, i1 false)
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = call signext i16 @msdb_communityGetUserIDFormat(ptr noundef %166, ptr noundef %3)
  %168 = icmp ne i16 %167, 0
  br i1 %168, label %176, label %169

169:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 1200, ptr %21) #5
  %170 = getelementptr inbounds [1200 x i8], ptr %21, i64 0, i64 0
  %171 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %172 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %170, i64 noundef 1200, ptr noundef @.str.57, ptr noundef @.str.40, ptr noundef %171) #5
  %173 = load ptr, ptr @stdout, align 8, !tbaa !5
  %174 = getelementptr inbounds [1200 x i8], ptr %21, i64 0, i64 0
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.41, ptr noundef %174) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %21) #5
  br label %182

176:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 1200, ptr %22) #5
  %177 = getelementptr inbounds [1200 x i8], ptr %22, i64 0, i64 0
  %178 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %177, i64 noundef 1200, ptr noundef @.str.58, ptr noundef @.str.40) #5
  %179 = load ptr, ptr @stdout, align 8, !tbaa !5
  %180 = getelementptr inbounds [1200 x i8], ptr %22, i64 0, i64 0
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.41, ptr noundef %180) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %22) #5
  br label %182

182:                                              ; preds = %176, %169
  %183 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %183, i8 0, i64 1024, i1 false)
  %184 = load ptr, ptr %2, align 8, !tbaa !5
  %185 = call signext i16 @msdb_communityGetPubEncKey(ptr noundef %184, ptr noundef %3)
  %186 = icmp ne i16 %185, 0
  br i1 %186, label %194, label %187

187:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 1200, ptr %23) #5
  %188 = getelementptr inbounds [1200 x i8], ptr %23, i64 0, i64 0
  %189 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %190 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %188, i64 noundef 1200, ptr noundef @.str.59, ptr noundef @.str.40, ptr noundef %189) #5
  %191 = load ptr, ptr @stdout, align 8, !tbaa !5
  %192 = getelementptr inbounds [1200 x i8], ptr %23, i64 0, i64 0
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.41, ptr noundef %192) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %23) #5
  br label %200

194:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 1200, ptr %24) #5
  %195 = getelementptr inbounds [1200 x i8], ptr %24, i64 0, i64 0
  %196 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %195, i64 noundef 1200, ptr noundef @.str.60, ptr noundef @.str.40) #5
  %197 = load ptr, ptr @stdout, align 8, !tbaa !5
  %198 = getelementptr inbounds [1200 x i8], ptr %24, i64 0, i64 0
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.41, ptr noundef %198) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %24) #5
  br label %200

200:                                              ; preds = %194, %187
  %201 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %201, i8 0, i64 1024, i1 false)
  %202 = load ptr, ptr %2, align 8, !tbaa !5
  %203 = call signext i16 @msdb_communityGetPubAuthKey(ptr noundef %202, ptr noundef %3)
  %204 = icmp ne i16 %203, 0
  br i1 %204, label %212, label %205

205:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 1200, ptr %25) #5
  %206 = getelementptr inbounds [1200 x i8], ptr %25, i64 0, i64 0
  %207 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %208 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %206, i64 noundef 1200, ptr noundef @.str.61, ptr noundef @.str.40, ptr noundef %207) #5
  %209 = load ptr, ptr @stdout, align 8, !tbaa !5
  %210 = getelementptr inbounds [1200 x i8], ptr %25, i64 0, i64 0
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.41, ptr noundef %210) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %25) #5
  br label %218

212:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 1200, ptr %26) #5
  %213 = getelementptr inbounds [1200 x i8], ptr %26, i64 0, i64 0
  %214 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %213, i64 noundef 1200, ptr noundef @.str.62, ptr noundef @.str.40) #5
  %215 = load ptr, ptr @stdout, align 8, !tbaa !5
  %216 = getelementptr inbounds [1200 x i8], ptr %26, i64 0, i64 0
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef @.str.41, ptr noundef %216) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %26) #5
  br label %218

218:                                              ; preds = %212, %205
  %219 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %219, i8 0, i64 1024, i1 false)
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = call signext i16 @msdb_communityGetKmsDomainList(ptr noundef %220, ptr noundef %3)
  %222 = icmp ne i16 %221, 0
  br i1 %222, label %230, label %223

223:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 1200, ptr %27) #5
  %224 = getelementptr inbounds [1200 x i8], ptr %27, i64 0, i64 0
  %225 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %226 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %224, i64 noundef 1200, ptr noundef @.str.63, ptr noundef @.str.40, ptr noundef %225) #5
  %227 = load ptr, ptr @stdout, align 8, !tbaa !5
  %228 = getelementptr inbounds [1200 x i8], ptr %27, i64 0, i64 0
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.41, ptr noundef %228) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %27) #5
  br label %236

230:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 1200, ptr %28) #5
  %231 = getelementptr inbounds [1200 x i8], ptr %28, i64 0, i64 0
  %232 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %231, i64 noundef 1200, ptr noundef @.str.64, ptr noundef @.str.40) #5
  %233 = load ptr, ptr @stdout, align 8, !tbaa !5
  %234 = getelementptr inbounds [1200 x i8], ptr %28, i64 0, i64 0
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.41, ptr noundef %234) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr %28) #5
  br label %236

236:                                              ; preds = %230, %223
  %237 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %237, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.end.p0(i64 2, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %3) #5
  ret void
}

declare signext i16 @msdb_communityGetVersion(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetCertUri(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetKmsUri(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetIssuer(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetValidFrom(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetValidTo(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetRevoked(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetUserIDFormat(ptr noundef, ptr noundef) #3

declare signext i16 @msdb_communityGetKmsDomainList(ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 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 #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}


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

@stdout = external local_unnamed_addr global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @community_outputKMSCertificate(ptr noundef %0) local_unnamed_addr #4 {
  %2 = alloca [1024 x i8], align 16
  %3 = alloca i16, align 2
  %4 = alloca [1200 x i8], align 16
  %5 = alloca [1200 x i8], align 16
  %6 = alloca [1200 x i8], align 16
  %7 = alloca [1200 x i8], align 16
  %8 = alloca [1200 x i8], align 16
  %9 = alloca [1200 x i8], align 16
  %10 = alloca [1200 x i8], align 16
  %11 = alloca [1200 x i8], align 16
  %12 = alloca [1200 x i8], align 16
  %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
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #5
  store i16 0, ptr %3, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %4) #5
  %28 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %4, i64 noundef 1200, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.40) #5
  %29 = load ptr, ptr @stdout, align 8, !tbaa !9
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.41, ptr noundef nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %5) #5
  %31 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %5, i64 noundef 1200, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.40) #5
  %32 = load ptr, ptr @stdout, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.41, ptr noundef nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %5) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %34 = call signext i16 @msdb_communityGetVersion(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not = icmp eq i16 %34, 0
  br i1 %.not, label %35, label %39

35:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %6) #5
  %36 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %6, i64 noundef 1200, ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %37 = load ptr, ptr @stdout, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.41, ptr noundef nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %6) #5
  br label %43

39:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %7) #5
  %40 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %7, i64 noundef 1200, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.40) #5
  %41 = load ptr, ptr @stdout, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.41, ptr noundef nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %7) #5
  br label %43

43:                                               ; preds = %39, %35
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %44 = call signext i16 @msdb_communityGetCertUri(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not11 = icmp eq i16 %44, 0
  br i1 %.not11, label %45, label %49

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %8) #5
  %46 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %8, i64 noundef 1200, ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %47 = load ptr, ptr @stdout, align 8, !tbaa !9
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.41, ptr noundef nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %8) #5
  br label %53

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %9) #5
  %50 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1200, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.40) #5
  %51 = load ptr, ptr @stdout, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.41, ptr noundef nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %9) #5
  br label %53

53:                                               ; preds = %49, %45
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %54 = call signext i16 @msdb_communityGetKmsUri(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not12 = icmp eq i16 %54, 0
  br i1 %.not12, label %55, label %59

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %10) #5
  %56 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %10, i64 noundef 1200, ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %57 = load ptr, ptr @stdout, align 8, !tbaa !9
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef nonnull @.str.41, ptr noundef nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %10) #5
  br label %63

59:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %11) #5
  %60 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %11, i64 noundef 1200, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.40) #5
  %61 = load ptr, ptr @stdout, align 8, !tbaa !9
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef nonnull @.str.41, ptr noundef nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %11) #5
  br label %63

63:                                               ; preds = %59, %55
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %64 = call signext i16 @msdb_communityGetIssuer(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not13 = icmp eq i16 %64, 0
  br i1 %.not13, label %65, label %69

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %12) #5
  %66 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %12, i64 noundef 1200, ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %67 = load ptr, ptr @stdout, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str.41, ptr noundef nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %12) #5
  br label %73

69:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %13) #5
  %70 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %13, i64 noundef 1200, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.40) #5
  %71 = load ptr, ptr @stdout, align 8, !tbaa !9
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef nonnull @.str.41, ptr noundef nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %13) #5
  br label %73

73:                                               ; preds = %69, %65
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %74 = call signext i16 @msdb_communityGetValidFrom(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not14 = icmp eq i16 %74, 0
  br i1 %.not14, label %75, label %79

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %14) #5
  %76 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %14, i64 noundef 1200, ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %77 = load ptr, ptr @stdout, align 8, !tbaa !9
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.41, ptr noundef nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %14) #5
  br label %83

79:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %15) #5
  %80 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %15, i64 noundef 1200, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.40) #5
  %81 = load ptr, ptr @stdout, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull @.str.41, ptr noundef nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %15) #5
  br label %83

83:                                               ; preds = %79, %75
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %84 = call signext i16 @msdb_communityGetValidTo(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not15 = icmp eq i16 %84, 0
  br i1 %.not15, label %85, label %89

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %16) #5
  %86 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %16, i64 noundef 1200, ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %87 = load ptr, ptr @stdout, align 8, !tbaa !9
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.41, ptr noundef nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %16) #5
  br label %93

89:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %17) #5
  %90 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %17, i64 noundef 1200, ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.40) #5
  %91 = load ptr, ptr @stdout, align 8, !tbaa !9
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef nonnull @.str.41, ptr noundef nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %17) #5
  br label %93

93:                                               ; preds = %89, %85
  %94 = call signext i16 @msdb_communityGetRevoked(ptr noundef %0, ptr noundef nonnull %3) #5
  %.not16 = icmp eq i16 %94, 0
  br i1 %.not16, label %95, label %101

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %18) #5
  %96 = load i16, ptr %3, align 2, !tbaa !5
  %97 = sext i16 %96 to i32
  %98 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %18, i64 noundef 1200, ptr noundef nonnull @.str.55, ptr noundef nonnull @.str.40, i32 noundef %97) #5
  %99 = load ptr, ptr @stdout, align 8, !tbaa !9
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.41, ptr noundef nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %18) #5
  br label %105

101:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %19) #5
  %102 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %19, i64 noundef 1200, ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.40) #5
  %103 = load ptr, ptr @stdout, align 8, !tbaa !9
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef nonnull @.str.41, ptr noundef nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %19) #5
  br label %105

105:                                              ; preds = %101, %95
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %106 = call signext i16 @msdb_communityGetUserIDFormat(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not17 = icmp eq i16 %106, 0
  br i1 %.not17, label %107, label %111

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %20) #5
  %108 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %20, i64 noundef 1200, ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %109 = load ptr, ptr @stdout, align 8, !tbaa !9
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull @.str.41, ptr noundef nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %20) #5
  br label %115

111:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %21) #5
  %112 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %21, i64 noundef 1200, ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.40) #5
  %113 = load ptr, ptr @stdout, align 8, !tbaa !9
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef nonnull @.str.41, ptr noundef nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %21) #5
  br label %115

115:                                              ; preds = %111, %107
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %116 = call signext i16 @msdb_communityGetPubEncKey(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not18 = icmp eq i16 %116, 0
  br i1 %.not18, label %117, label %121

117:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %22) #5
  %118 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %22, i64 noundef 1200, ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %119 = load ptr, ptr @stdout, align 8, !tbaa !9
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef nonnull @.str.41, ptr noundef nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %22) #5
  br label %125

121:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %23) #5
  %122 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %23, i64 noundef 1200, ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.40) #5
  %123 = load ptr, ptr @stdout, align 8, !tbaa !9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef nonnull @.str.41, ptr noundef nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %23) #5
  br label %125

125:                                              ; preds = %121, %117
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %126 = call signext i16 @msdb_communityGetPubAuthKey(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not19 = icmp eq i16 %126, 0
  br i1 %.not19, label %127, label %131

127:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %24) #5
  %128 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %24, i64 noundef 1200, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %129 = load ptr, ptr @stdout, align 8, !tbaa !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef nonnull @.str.41, ptr noundef nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %24) #5
  br label %135

131:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %25) #5
  %132 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %25, i64 noundef 1200, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.40) #5
  %133 = load ptr, ptr @stdout, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef nonnull @.str.41, ptr noundef nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %25) #5
  br label %135

135:                                              ; preds = %131, %127
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %2, i8 0, i64 1024, i1 false)
  %136 = call signext i16 @msdb_communityGetKmsDomainList(ptr noundef %0, ptr noundef nonnull %2) #5
  %.not20 = icmp eq i16 %136, 0
  br i1 %.not20, label %137, label %141

137:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %26) #5
  %138 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %26, i64 noundef 1200, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.40, ptr noundef nonnull %2) #5
  %139 = load ptr, ptr @stdout, align 8, !tbaa !9
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef nonnull @.str.41, ptr noundef nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %26) #5
  br label %145

141:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %27) #5
  %142 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %27, i64 noundef 1200, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.40) #5
  %143 = load ptr, ptr @stdout, align 8, !tbaa !9
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef nonnull @.str.41, ptr noundef nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %27) #5
  br label %145

145:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #5
  ret void
}

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 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 #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"short", !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}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass