; LLVM IR from guanzhi/GmSSL :: tools (gmssl)

; 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 = external hidden unnamed_addr constant [14 x i8], align 1
@options = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [13 x i8], align 1
@stderr = external global ptr, align 8
@.str.49 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %9 = load ptr, ptr %5, align 8, !tbaa !9
  %10 = getelementptr inbounds ptr, ptr %9, i64 0
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %11, ptr %7, align 8, !tbaa !9
  %12 = load i32, ptr %4, align 4, !tbaa !5
  %13 = add nsw i32 %12, -1
  store i32 %13, ptr %4, align 4, !tbaa !5
  %14 = load ptr, ptr %5, align 8, !tbaa !9
  %15 = getelementptr inbounds ptr, ptr %14, i32 1
  store ptr %15, ptr %5, align 8, !tbaa !9
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = icmp slt i32 %16, 1
  br i1 %17, label %18, label %22

18:                                               ; preds = %2
  %19 = load ptr, ptr %7, align 8, !tbaa !9
  %20 = load ptr, ptr @options, align 8, !tbaa !9
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19, ptr noundef %20)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

22:                                               ; preds = %2
  br label %23

23:                                               ; preds = %22
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %26, label %459

26:                                               ; preds = %23
  %27 = load ptr, ptr %5, align 8, !tbaa !9
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.1) #6
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %35, label %31

31:                                               ; preds = %26
  %32 = load ptr, ptr %7, align 8, !tbaa !9
  %33 = load ptr, ptr @options, align 8, !tbaa !9
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %32, ptr noundef %33)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

35:                                               ; preds = %26
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.3) #6
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %44, label %40

40:                                               ; preds = %35
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = call i32 @version_main(i32 noundef %41, ptr noundef %42)
  store i32 %43, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

44:                                               ; preds = %35
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.4) #6
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %53, label %49

49:                                               ; preds = %44
  %50 = load i32, ptr %4, align 4, !tbaa !5
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = call i32 @rand_main(i32 noundef %50, ptr noundef %51)
  store i32 %52, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

53:                                               ; preds = %44
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = call i32 @strcmp(ptr noundef %55, ptr noundef @.str.5) #6
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %62, label %58

58:                                               ; preds = %53
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = load ptr, ptr %5, align 8, !tbaa !9
  %61 = call i32 @certgen_main(i32 noundef %59, ptr noundef %60)
  store i32 %61, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

62:                                               ; preds = %53
  %63 = load ptr, ptr %5, align 8, !tbaa !9
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.6) #6
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %71, label %67

67:                                               ; preds = %62
  %68 = load i32, ptr %4, align 4, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !9
  %70 = call i32 @certparse_main(i32 noundef %68, ptr noundef %69)
  store i32 %70, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

71:                                               ; preds = %62
  %72 = load ptr, ptr %5, align 8, !tbaa !9
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  %74 = call i32 @strcmp(ptr noundef %73, ptr noundef @.str.7) #6
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %80, label %76

76:                                               ; preds = %71
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = load ptr, ptr %5, align 8, !tbaa !9
  %79 = call i32 @certverify_main(i32 noundef %77, ptr noundef %78)
  store i32 %79, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

80:                                               ; preds = %71
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = call i32 @strcmp(ptr noundef %82, ptr noundef @.str.8) #6
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %89, label %85

85:                                               ; preds = %80
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = load ptr, ptr %5, align 8, !tbaa !9
  %88 = call i32 @certrevoke_main(i32 noundef %86, ptr noundef %87)
  store i32 %88, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

89:                                               ; preds = %80
  %90 = load ptr, ptr %5, align 8, !tbaa !9
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.9) #6
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %98, label %94

94:                                               ; preds = %89
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = load ptr, ptr %5, align 8, !tbaa !9
  %97 = call i32 @crlget_main(i32 noundef %95, ptr noundef %96)
  store i32 %97, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

98:                                               ; preds = %89
  %99 = load ptr, ptr %5, align 8, !tbaa !9
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = call i32 @strcmp(ptr noundef %100, ptr noundef @.str.10) #6
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %107, label %103

103:                                              ; preds = %98
  %104 = load i32, ptr %4, align 4, !tbaa !5
  %105 = load ptr, ptr %5, align 8, !tbaa !9
  %106 = call i32 @crlgen_main(i32 noundef %104, ptr noundef %105)
  store i32 %106, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

107:                                              ; preds = %98
  %108 = load ptr, ptr %5, align 8, !tbaa !9
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  %110 = call i32 @strcmp(ptr noundef %109, ptr noundef @.str.11) #6
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %116, label %112

112:                                              ; preds = %107
  %113 = load i32, ptr %4, align 4, !tbaa !5
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = call i32 @crlparse_main(i32 noundef %113, ptr noundef %114)
  store i32 %115, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

116:                                              ; preds = %107
  %117 = load ptr, ptr %5, align 8, !tbaa !9
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = call i32 @strcmp(ptr noundef %118, ptr noundef @.str.12) #6
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %125, label %121

121:                                              ; preds = %116
  %122 = load i32, ptr %4, align 4, !tbaa !5
  %123 = load ptr, ptr %5, align 8, !tbaa !9
  %124 = call i32 @crlverify_main(i32 noundef %122, ptr noundef %123)
  store i32 %124, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

125:                                              ; preds = %116
  %126 = load ptr, ptr %5, align 8, !tbaa !9
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = call i32 @strcmp(ptr noundef %127, ptr noundef @.str.13) #6
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %134, label %130

130:                                              ; preds = %125
  %131 = load i32, ptr %4, align 4, !tbaa !5
  %132 = load ptr, ptr %5, align 8, !tbaa !9
  %133 = call i32 @reqgen_main(i32 noundef %131, ptr noundef %132)
  store i32 %133, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

134:                                              ; preds = %125
  %135 = load ptr, ptr %5, align 8, !tbaa !9
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = call i32 @strcmp(ptr noundef %136, ptr noundef @.str.14) #6
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %143, label %139

139:                                              ; preds = %134
  %140 = load i32, ptr %4, align 4, !tbaa !5
  %141 = load ptr, ptr %5, align 8, !tbaa !9
  %142 = call i32 @reqparse_main(i32 noundef %140, ptr noundef %141)
  store i32 %142, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

143:                                              ; preds = %134
  %144 = load ptr, ptr %5, align 8, !tbaa !9
  %145 = load ptr, ptr %144, align 8, !tbaa !9
  %146 = call i32 @strcmp(ptr noundef %145, ptr noundef @.str.15) #6
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %152, label %148

148:                                              ; preds = %143
  %149 = load i32, ptr %4, align 4, !tbaa !5
  %150 = load ptr, ptr %5, align 8, !tbaa !9
  %151 = call i32 @reqsign_main(i32 noundef %149, ptr noundef %150)
  store i32 %151, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

152:                                              ; preds = %143
  %153 = load ptr, ptr %5, align 8, !tbaa !9
  %154 = load ptr, ptr %153, align 8, !tbaa !9
  %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.16) #6
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %161, label %157

157:                                              ; preds = %152
  %158 = load i32, ptr %4, align 4, !tbaa !5
  %159 = load ptr, ptr %5, align 8, !tbaa !9
  %160 = call i32 @sm2keygen_main(i32 noundef %158, ptr noundef %159)
  store i32 %160, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

161:                                              ; preds = %152
  %162 = load ptr, ptr %5, align 8, !tbaa !9
  %163 = load ptr, ptr %162, align 8, !tbaa !9
  %164 = call i32 @strcmp(ptr noundef %163, ptr noundef @.str.17) #6
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %170, label %166

166:                                              ; preds = %161
  %167 = load i32, ptr %4, align 4, !tbaa !5
  %168 = load ptr, ptr %5, align 8, !tbaa !9
  %169 = call i32 @sm2sign_main(i32 noundef %167, ptr noundef %168)
  store i32 %169, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

170:                                              ; preds = %161
  %171 = load ptr, ptr %5, align 8, !tbaa !9
  %172 = load ptr, ptr %171, align 8, !tbaa !9
  %173 = call i32 @strcmp(ptr noundef %172, ptr noundef @.str.18) #6
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %179, label %175

175:                                              ; preds = %170
  %176 = load i32, ptr %4, align 4, !tbaa !5
  %177 = load ptr, ptr %5, align 8, !tbaa !9
  %178 = call i32 @sm2verify_main(i32 noundef %176, ptr noundef %177)
  store i32 %178, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

179:                                              ; preds = %170
  %180 = load ptr, ptr %5, align 8, !tbaa !9
  %181 = load ptr, ptr %180, align 8, !tbaa !9
  %182 = call i32 @strcmp(ptr noundef %181, ptr noundef @.str.19) #6
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %188, label %184

184:                                              ; preds = %179
  %185 = load i32, ptr %4, align 4, !tbaa !5
  %186 = load ptr, ptr %5, align 8, !tbaa !9
  %187 = call i32 @sm2encrypt_main(i32 noundef %185, ptr noundef %186)
  store i32 %187, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

188:                                              ; preds = %179
  %189 = load ptr, ptr %5, align 8, !tbaa !9
  %190 = load ptr, ptr %189, align 8, !tbaa !9
  %191 = call i32 @strcmp(ptr noundef %190, ptr noundef @.str.20) #6
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %197, label %193

193:                                              ; preds = %188
  %194 = load i32, ptr %4, align 4, !tbaa !5
  %195 = load ptr, ptr %5, align 8, !tbaa !9
  %196 = call i32 @sm2decrypt_main(i32 noundef %194, ptr noundef %195)
  store i32 %196, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

197:                                              ; preds = %188
  %198 = load ptr, ptr %5, align 8, !tbaa !9
  %199 = load ptr, ptr %198, align 8, !tbaa !9
  %200 = call i32 @strcmp(ptr noundef %199, ptr noundef @.str.21) #6
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %206, label %202

202:                                              ; preds = %197
  %203 = load i32, ptr %4, align 4, !tbaa !5
  %204 = load ptr, ptr %5, align 8, !tbaa !9
  %205 = call i32 @sm3_main(i32 noundef %203, ptr noundef %204)
  store i32 %205, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

206:                                              ; preds = %197
  %207 = load ptr, ptr %5, align 8, !tbaa !9
  %208 = load ptr, ptr %207, align 8, !tbaa !9
  %209 = call i32 @strcmp(ptr noundef %208, ptr noundef @.str.22) #6
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %215, label %211

211:                                              ; preds = %206
  %212 = load i32, ptr %4, align 4, !tbaa !5
  %213 = load ptr, ptr %5, align 8, !tbaa !9
  %214 = call i32 @sm3hmac_main(i32 noundef %212, ptr noundef %213)
  store i32 %214, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

215:                                              ; preds = %206
  %216 = load ptr, ptr %5, align 8, !tbaa !9
  %217 = load ptr, ptr %216, align 8, !tbaa !9
  %218 = call i32 @strcmp(ptr noundef %217, ptr noundef @.str.23) #6
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %224, label %220

220:                                              ; preds = %215
  %221 = load i32, ptr %4, align 4, !tbaa !5
  %222 = load ptr, ptr %5, align 8, !tbaa !9
  %223 = call i32 @sm3_pbkdf2_main(i32 noundef %221, ptr noundef %222)
  store i32 %223, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

224:                                              ; preds = %215
  %225 = load ptr, ptr %5, align 8, !tbaa !9
  %226 = load ptr, ptr %225, align 8, !tbaa !9
  %227 = call i32 @strcmp(ptr noundef %226, ptr noundef @.str.24) #6
  %228 = icmp ne i32 %227, 0
  br i1 %228, label %233, label %229

229:                                              ; preds = %224
  %230 = load i32, ptr %4, align 4, !tbaa !5
  %231 = load ptr, ptr %5, align 8, !tbaa !9
  %232 = call i32 @sm3xmss_keygen_main(i32 noundef %230, ptr noundef %231)
  store i32 %232, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

233:                                              ; preds = %224
  %234 = load ptr, ptr %5, align 8, !tbaa !9
  %235 = load ptr, ptr %234, align 8, !tbaa !9
  %236 = call i32 @strcmp(ptr noundef %235, ptr noundef @.str.25) #6
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %242, label %238

238:                                              ; preds = %233
  %239 = load i32, ptr %4, align 4, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !9
  %241 = call i32 @sm4_cbc_main(i32 noundef %239, ptr noundef %240)
  store i32 %241, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

242:                                              ; preds = %233
  %243 = load ptr, ptr %5, align 8, !tbaa !9
  %244 = load ptr, ptr %243, align 8, !tbaa !9
  %245 = call i32 @strcmp(ptr noundef %244, ptr noundef @.str.26) #6
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %251, label %247

247:                                              ; preds = %242
  %248 = load i32, ptr %4, align 4, !tbaa !5
  %249 = load ptr, ptr %5, align 8, !tbaa !9
  %250 = call i32 @sm4_ctr_main(i32 noundef %248, ptr noundef %249)
  store i32 %250, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

251:                                              ; preds = %242
  %252 = load ptr, ptr %5, align 8, !tbaa !9
  %253 = load ptr, ptr %252, align 8, !tbaa !9
  %254 = call i32 @strcmp(ptr noundef %253, ptr noundef @.str.27) #6
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %260, label %256

256:                                              ; preds = %251
  %257 = load i32, ptr %4, align 4, !tbaa !5
  %258 = load ptr, ptr %5, align 8, !tbaa !9
  %259 = call i32 @sm4_gcm_main(i32 noundef %257, ptr noundef %258)
  store i32 %259, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

260:                                              ; preds = %251
  %261 = load ptr, ptr %5, align 8, !tbaa !9
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  %263 = call i32 @strcmp(ptr noundef %262, ptr noundef @.str.28) #6
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %269, label %265

265:                                              ; preds = %260
  %266 = load i32, ptr %4, align 4, !tbaa !5
  %267 = load ptr, ptr %5, align 8, !tbaa !9
  %268 = call i32 @sm4_cbc_sm3_hmac_main(i32 noundef %266, ptr noundef %267)
  store i32 %268, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

269:                                              ; preds = %260
  %270 = load ptr, ptr %5, align 8, !tbaa !9
  %271 = load ptr, ptr %270, align 8, !tbaa !9
  %272 = call i32 @strcmp(ptr noundef %271, ptr noundef @.str.29) #6
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %278, label %274

274:                                              ; preds = %269
  %275 = load i32, ptr %4, align 4, !tbaa !5
  %276 = load ptr, ptr %5, align 8, !tbaa !9
  %277 = call i32 @sm4_ctr_sm3_hmac_main(i32 noundef %275, ptr noundef %276)
  store i32 %277, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

278:                                              ; preds = %269
  %279 = load ptr, ptr %5, align 8, !tbaa !9
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %281 = call i32 @strcmp(ptr noundef %280, ptr noundef @.str.30) #6
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %287, label %283

283:                                              ; preds = %278
  %284 = load i32, ptr %4, align 4, !tbaa !5
  %285 = load ptr, ptr %5, align 8, !tbaa !9
  %286 = call i32 @ghash_main(i32 noundef %284, ptr noundef %285)
  store i32 %286, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

287:                                              ; preds = %278
  %288 = load ptr, ptr %5, align 8, !tbaa !9
  %289 = load ptr, ptr %288, align 8, !tbaa !9
  %290 = call i32 @strcmp(ptr noundef %289, ptr noundef @.str.31) #6
  %291 = icmp ne i32 %290, 0
  br i1 %291, label %296, label %292

292:                                              ; preds = %287
  %293 = load i32, ptr %4, align 4, !tbaa !5
  %294 = load ptr, ptr %5, align 8, !tbaa !9
  %295 = call i32 @zuc_main(i32 noundef %293, ptr noundef %294)
  store i32 %295, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

296:                                              ; preds = %287
  %297 = load ptr, ptr %5, align 8, !tbaa !9
  %298 = load ptr, ptr %297, align 8, !tbaa !9
  %299 = call i32 @strcmp(ptr noundef %298, ptr noundef @.str.32) #6
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %305, label %301

301:                                              ; preds = %296
  %302 = load i32, ptr %4, align 4, !tbaa !5
  %303 = load ptr, ptr %5, align 8, !tbaa !9
  %304 = call i32 @sm9setup_main(i32 noundef %302, ptr noundef %303)
  store i32 %304, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

305:                                              ; preds = %296
  %306 = load ptr, ptr %5, align 8, !tbaa !9
  %307 = load ptr, ptr %306, align 8, !tbaa !9
  %308 = call i32 @strcmp(ptr noundef %307, ptr noundef @.str.33) #6
  %309 = icmp ne i32 %308, 0
  br i1 %309, label %314, label %310

310:                                              ; preds = %305
  %311 = load i32, ptr %4, align 4, !tbaa !5
  %312 = load ptr, ptr %5, align 8, !tbaa !9
  %313 = call i32 @sm9keygen_main(i32 noundef %311, ptr noundef %312)
  store i32 %313, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

314:                                              ; preds = %305
  %315 = load ptr, ptr %5, align 8, !tbaa !9
  %316 = load ptr, ptr %315, align 8, !tbaa !9
  %317 = call i32 @strcmp(ptr noundef %316, ptr noundef @.str.34) #6
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %323, label %319

319:                                              ; preds = %314
  %320 = load i32, ptr %4, align 4, !tbaa !5
  %321 = load ptr, ptr %5, align 8, !tbaa !9
  %322 = call i32 @sm9sign_main(i32 noundef %320, ptr noundef %321)
  store i32 %322, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

323:                                              ; preds = %314
  %324 = load ptr, ptr %5, align 8, !tbaa !9
  %325 = load ptr, ptr %324, align 8, !tbaa !9
  %326 = call i32 @strcmp(ptr noundef %325, ptr noundef @.str.35) #6
  %327 = icmp ne i32 %326, 0
  br i1 %327, label %332, label %328

328:                                              ; preds = %323
  %329 = load i32, ptr %4, align 4, !tbaa !5
  %330 = load ptr, ptr %5, align 8, !tbaa !9
  %331 = call i32 @sm9verify_main(i32 noundef %329, ptr noundef %330)
  store i32 %331, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

332:                                              ; preds = %323
  %333 = load ptr, ptr %5, align 8, !tbaa !9
  %334 = load ptr, ptr %333, align 8, !tbaa !9
  %335 = call i32 @strcmp(ptr noundef %334, ptr noundef @.str.36) #6
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %341, label %337

337:                                              ; preds = %332
  %338 = load i32, ptr %4, align 4, !tbaa !5
  %339 = load ptr, ptr %5, align 8, !tbaa !9
  %340 = call i32 @sm9encrypt_main(i32 noundef %338, ptr noundef %339)
  store i32 %340, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

341:                                              ; preds = %332
  %342 = load ptr, ptr %5, align 8, !tbaa !9
  %343 = load ptr, ptr %342, align 8, !tbaa !9
  %344 = call i32 @strcmp(ptr noundef %343, ptr noundef @.str.37) #6
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %350, label %346

346:                                              ; preds = %341
  %347 = load i32, ptr %4, align 4, !tbaa !5
  %348 = load ptr, ptr %5, align 8, !tbaa !9
  %349 = call i32 @sm9decrypt_main(i32 noundef %347, ptr noundef %348)
  store i32 %349, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

350:                                              ; preds = %341
  %351 = load ptr, ptr %5, align 8, !tbaa !9
  %352 = load ptr, ptr %351, align 8, !tbaa !9
  %353 = call i32 @strcmp(ptr noundef %352, ptr noundef @.str.38) #6
  %354 = icmp ne i32 %353, 0
  br i1 %354, label %359, label %355

355:                                              ; preds = %350
  %356 = load i32, ptr %4, align 4, !tbaa !5
  %357 = load ptr, ptr %5, align 8, !tbaa !9
  %358 = call i32 @cmsparse_main(i32 noundef %356, ptr noundef %357)
  store i32 %358, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

359:                                              ; preds = %350
  %360 = load ptr, ptr %5, align 8, !tbaa !9
  %361 = load ptr, ptr %360, align 8, !tbaa !9
  %362 = call i32 @strcmp(ptr noundef %361, ptr noundef @.str.39) #6
  %363 = icmp ne i32 %362, 0
  br i1 %363, label %368, label %364

364:                                              ; preds = %359
  %365 = load i32, ptr %4, align 4, !tbaa !5
  %366 = load ptr, ptr %5, align 8, !tbaa !9
  %367 = call i32 @cmsencrypt_main(i32 noundef %365, ptr noundef %366)
  store i32 %367, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

368:                                              ; preds = %359
  %369 = load ptr, ptr %5, align 8, !tbaa !9
  %370 = load ptr, ptr %369, align 8, !tbaa !9
  %371 = call i32 @strcmp(ptr noundef %370, ptr noundef @.str.40) #6
  %372 = icmp ne i32 %371, 0
  br i1 %372, label %377, label %373

373:                                              ; preds = %368
  %374 = load i32, ptr %4, align 4, !tbaa !5
  %375 = load ptr, ptr %5, align 8, !tbaa !9
  %376 = call i32 @cmsdecrypt_main(i32 noundef %374, ptr noundef %375)
  store i32 %376, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

377:                                              ; preds = %368
  %378 = load ptr, ptr %5, align 8, !tbaa !9
  %379 = load ptr, ptr %378, align 8, !tbaa !9
  %380 = call i32 @strcmp(ptr noundef %379, ptr noundef @.str.41) #6
  %381 = icmp ne i32 %380, 0
  br i1 %381, label %386, label %382

382:                                              ; preds = %377
  %383 = load i32, ptr %4, align 4, !tbaa !5
  %384 = load ptr, ptr %5, align 8, !tbaa !9
  %385 = call i32 @cmssign_main(i32 noundef %383, ptr noundef %384)
  store i32 %385, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

386:                                              ; preds = %377
  %387 = load ptr, ptr %5, align 8, !tbaa !9
  %388 = load ptr, ptr %387, align 8, !tbaa !9
  %389 = call i32 @strcmp(ptr noundef %388, ptr noundef @.str.42) #6
  %390 = icmp ne i32 %389, 0
  br i1 %390, label %395, label %391

391:                                              ; preds = %386
  %392 = load i32, ptr %4, align 4, !tbaa !5
  %393 = load ptr, ptr %5, align 8, !tbaa !9
  %394 = call i32 @cmsverify_main(i32 noundef %392, ptr noundef %393)
  store i32 %394, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

395:                                              ; preds = %386
  %396 = load ptr, ptr %5, align 8, !tbaa !9
  %397 = load ptr, ptr %396, align 8, !tbaa !9
  %398 = call i32 @strcmp(ptr noundef %397, ptr noundef @.str.43) #6
  %399 = icmp ne i32 %398, 0
  br i1 %399, label %404, label %400

400:                                              ; preds = %395
  %401 = load i32, ptr %4, align 4, !tbaa !5
  %402 = load ptr, ptr %5, align 8, !tbaa !9
  %403 = call i32 @tlcp_client_main(i32 noundef %401, ptr noundef %402)
  store i32 %403, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

404:                                              ; preds = %395
  %405 = load ptr, ptr %5, align 8, !tbaa !9
  %406 = load ptr, ptr %405, align 8, !tbaa !9
  %407 = call i32 @strcmp(ptr noundef %406, ptr noundef @.str.44) #6
  %408 = icmp ne i32 %407, 0
  br i1 %408, label %413, label %409

409:                                              ; preds = %404
  %410 = load i32, ptr %4, align 4, !tbaa !5
  %411 = load ptr, ptr %5, align 8, !tbaa !9
  %412 = call i32 @tlcp_server_main(i32 noundef %410, ptr noundef %411)
  store i32 %412, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

413:                                              ; preds = %404
  %414 = load ptr, ptr %5, align 8, !tbaa !9
  %415 = load ptr, ptr %414, align 8, !tbaa !9
  %416 = call i32 @strcmp(ptr noundef %415, ptr noundef @.str.45) #6
  %417 = icmp ne i32 %416, 0
  br i1 %417, label %422, label %418

418:                                              ; preds = %413
  %419 = load i32, ptr %4, align 4, !tbaa !5
  %420 = load ptr, ptr %5, align 8, !tbaa !9
  %421 = call i32 @tls12_client_main(i32 noundef %419, ptr noundef %420)
  store i32 %421, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

422:                                              ; preds = %413
  %423 = load ptr, ptr %5, align 8, !tbaa !9
  %424 = load ptr, ptr %423, align 8, !tbaa !9
  %425 = call i32 @strcmp(ptr noundef %424, ptr noundef @.str.46) #6
  %426 = icmp ne i32 %425, 0
  br i1 %426, label %431, label %427

427:                                              ; preds = %422
  %428 = load i32, ptr %4, align 4, !tbaa !5
  %429 = load ptr, ptr %5, align 8, !tbaa !9
  %430 = call i32 @tls12_server_main(i32 noundef %428, ptr noundef %429)
  store i32 %430, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

431:                                              ; preds = %422
  %432 = load ptr, ptr %5, align 8, !tbaa !9
  %433 = load ptr, ptr %432, align 8, !tbaa !9
  %434 = call i32 @strcmp(ptr noundef %433, ptr noundef @.str.47) #6
  %435 = icmp ne i32 %434, 0
  br i1 %435, label %440, label %436

436:                                              ; preds = %431
  %437 = load i32, ptr %4, align 4, !tbaa !5
  %438 = load ptr, ptr %5, align 8, !tbaa !9
  %439 = call i32 @tls13_client_main(i32 noundef %437, ptr noundef %438)
  store i32 %439, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

440:                                              ; preds = %431
  %441 = load ptr, ptr %5, align 8, !tbaa !9
  %442 = load ptr, ptr %441, align 8, !tbaa !9
  %443 = call i32 @strcmp(ptr noundef %442, ptr noundef @.str.48) #6
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %449, label %445

445:                                              ; preds = %440
  %446 = load i32, ptr %4, align 4, !tbaa !5
  %447 = load ptr, ptr %5, align 8, !tbaa !9
  %448 = call i32 @tls13_server_main(i32 noundef %446, ptr noundef %447)
  store i32 %448, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

449:                                              ; preds = %440
  %450 = load ptr, ptr @stderr, align 8, !tbaa !9
  %451 = load ptr, ptr %7, align 8, !tbaa !9
  %452 = load ptr, ptr %5, align 8, !tbaa !9
  %453 = load ptr, ptr %452, align 8, !tbaa !9
  %454 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %450, ptr noundef @.str.49, ptr noundef %451, ptr noundef %453) #5
  %455 = load ptr, ptr @stderr, align 8, !tbaa !9
  %456 = load ptr, ptr %7, align 8, !tbaa !9
  %457 = load ptr, ptr @options, align 8, !tbaa !9
  %458 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %455, ptr noundef @.str.2, ptr noundef %456, ptr noundef %457) #5
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

459:                                              ; preds = %23
  %460 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %460, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %461

461:                                              ; preds = %459, %449, %445, %436, %427, %418, %409, %400, %391, %382, %373, %364, %355, %346, %337, %328, %319, %310, %301, %292, %283, %274, %265, %256, %247, %238, %229, %220, %211, %202, %193, %184, %175, %166, %157, %148, %139, %130, %121, %112, %103, %94, %85, %76, %67, %58, %49, %40, %31, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %462 = load i32, ptr %3, align 4
  ret i32 %462
}

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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}


; 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 = external hidden unnamed_addr constant [14 x i8], align 1
@options = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [13 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.49 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = load ptr, ptr %1, align 8, !tbaa !5
  %4 = add nsw i32 %0, -1
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = icmp slt i32 %0, 2
  br i1 %6, label %7, label %10

7:                                                ; preds = %2
  %8 = load ptr, ptr @options, align 8, !tbaa !5
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3, ptr noundef %8)
  br label %206

10:                                               ; preds = %2
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.1) #4
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %13, label %16

13:                                               ; preds = %10
  %14 = load ptr, ptr @options, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %3, ptr noundef %14)
  br label %206

16:                                               ; preds = %10
  %17 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.3) #4
  %.not151 = icmp eq i32 %17, 0
  br i1 %.not151, label %18, label %20

18:                                               ; preds = %16
  %19 = tail call i32 @version_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

20:                                               ; preds = %16
  %21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.4) #4
  %.not152 = icmp eq i32 %21, 0
  br i1 %.not152, label %22, label %24

22:                                               ; preds = %20
  %23 = tail call i32 @rand_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

24:                                               ; preds = %20
  %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.5) #4
  %.not153 = icmp eq i32 %25, 0
  br i1 %.not153, label %26, label %28

26:                                               ; preds = %24
  %27 = tail call i32 @certgen_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

28:                                               ; preds = %24
  %29 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.6) #4
  %.not154 = icmp eq i32 %29, 0
  br i1 %.not154, label %30, label %32

30:                                               ; preds = %28
  %31 = tail call i32 @certparse_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

32:                                               ; preds = %28
  %33 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.7) #4
  %.not155 = icmp eq i32 %33, 0
  br i1 %.not155, label %34, label %36

34:                                               ; preds = %32
  %35 = tail call i32 @certverify_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

36:                                               ; preds = %32
  %37 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.8) #4
  %.not156 = icmp eq i32 %37, 0
  br i1 %.not156, label %38, label %40

38:                                               ; preds = %36
  %39 = tail call i32 @certrevoke_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

40:                                               ; preds = %36
  %41 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.9) #4
  %.not157 = icmp eq i32 %41, 0
  br i1 %.not157, label %42, label %44

42:                                               ; preds = %40
  %43 = tail call i32 @crlget_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

44:                                               ; preds = %40
  %45 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.10) #4
  %.not158 = icmp eq i32 %45, 0
  br i1 %.not158, label %46, label %48

46:                                               ; preds = %44
  %47 = tail call i32 @crlgen_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

48:                                               ; preds = %44
  %49 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.11) #4
  %.not159 = icmp eq i32 %49, 0
  br i1 %.not159, label %50, label %52

50:                                               ; preds = %48
  %51 = tail call i32 @crlparse_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

52:                                               ; preds = %48
  %53 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.12) #4
  %.not160 = icmp eq i32 %53, 0
  br i1 %.not160, label %54, label %56

54:                                               ; preds = %52
  %55 = tail call i32 @crlverify_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

56:                                               ; preds = %52
  %57 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.13) #4
  %.not161 = icmp eq i32 %57, 0
  br i1 %.not161, label %58, label %60

58:                                               ; preds = %56
  %59 = tail call i32 @reqgen_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

60:                                               ; preds = %56
  %61 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.14) #4
  %.not162 = icmp eq i32 %61, 0
  br i1 %.not162, label %62, label %64

62:                                               ; preds = %60
  %63 = tail call i32 @reqparse_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

64:                                               ; preds = %60
  %65 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.15) #4
  %.not163 = icmp eq i32 %65, 0
  br i1 %.not163, label %66, label %68

66:                                               ; preds = %64
  %67 = tail call i32 @reqsign_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

68:                                               ; preds = %64
  %69 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.16) #4
  %.not164 = icmp eq i32 %69, 0
  br i1 %.not164, label %70, label %72

70:                                               ; preds = %68
  %71 = tail call i32 @sm2keygen_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

72:                                               ; preds = %68
  %73 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.17) #4
  %.not165 = icmp eq i32 %73, 0
  br i1 %.not165, label %74, label %76

74:                                               ; preds = %72
  %75 = tail call i32 @sm2sign_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

76:                                               ; preds = %72
  %77 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.18) #4
  %.not166 = icmp eq i32 %77, 0
  br i1 %.not166, label %78, label %80

78:                                               ; preds = %76
  %79 = tail call i32 @sm2verify_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

80:                                               ; preds = %76
  %81 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.19) #4
  %.not167 = icmp eq i32 %81, 0
  br i1 %.not167, label %82, label %84

82:                                               ; preds = %80
  %83 = tail call i32 @sm2encrypt_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

84:                                               ; preds = %80
  %85 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.20) #4
  %.not168 = icmp eq i32 %85, 0
  br i1 %.not168, label %86, label %88

86:                                               ; preds = %84
  %87 = tail call i32 @sm2decrypt_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

88:                                               ; preds = %84
  %89 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.21) #4
  %.not169 = icmp eq i32 %89, 0
  br i1 %.not169, label %90, label %92

90:                                               ; preds = %88
  %91 = tail call i32 @sm3_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

92:                                               ; preds = %88
  %93 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.22) #4
  %.not170 = icmp eq i32 %93, 0
  br i1 %.not170, label %94, label %96

94:                                               ; preds = %92
  %95 = tail call i32 @sm3hmac_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

96:                                               ; preds = %92
  %97 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.23) #4
  %.not171 = icmp eq i32 %97, 0
  br i1 %.not171, label %98, label %100

98:                                               ; preds = %96
  %99 = tail call i32 @sm3_pbkdf2_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

100:                                              ; preds = %96
  %101 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.24) #4
  %.not172 = icmp eq i32 %101, 0
  br i1 %.not172, label %102, label %104

102:                                              ; preds = %100
  %103 = tail call i32 @sm3xmss_keygen_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

104:                                              ; preds = %100
  %105 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.25) #4
  %.not173 = icmp eq i32 %105, 0
  br i1 %.not173, label %106, label %108

106:                                              ; preds = %104
  %107 = tail call i32 @sm4_cbc_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

108:                                              ; preds = %104
  %109 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.26) #4
  %.not174 = icmp eq i32 %109, 0
  br i1 %.not174, label %110, label %112

110:                                              ; preds = %108
  %111 = tail call i32 @sm4_ctr_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

112:                                              ; preds = %108
  %113 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.27) #4
  %.not175 = icmp eq i32 %113, 0
  br i1 %.not175, label %114, label %116

114:                                              ; preds = %112
  %115 = tail call i32 @sm4_gcm_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

116:                                              ; preds = %112
  %117 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.28) #4
  %.not176 = icmp eq i32 %117, 0
  br i1 %.not176, label %118, label %120

118:                                              ; preds = %116
  %119 = tail call i32 @sm4_cbc_sm3_hmac_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

120:                                              ; preds = %116
  %121 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.29) #4
  %.not177 = icmp eq i32 %121, 0
  br i1 %.not177, label %122, label %124

122:                                              ; preds = %120
  %123 = tail call i32 @sm4_ctr_sm3_hmac_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

124:                                              ; preds = %120
  %125 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.30) #4
  %.not178 = icmp eq i32 %125, 0
  br i1 %.not178, label %126, label %128

126:                                              ; preds = %124
  %127 = tail call i32 @ghash_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

128:                                              ; preds = %124
  %129 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.31) #4
  %.not179 = icmp eq i32 %129, 0
  br i1 %.not179, label %130, label %132

130:                                              ; preds = %128
  %131 = tail call i32 @zuc_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

132:                                              ; preds = %128
  %133 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.32) #4
  %.not180 = icmp eq i32 %133, 0
  br i1 %.not180, label %134, label %136

134:                                              ; preds = %132
  %135 = tail call i32 @sm9setup_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

136:                                              ; preds = %132
  %137 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.33) #4
  %.not181 = icmp eq i32 %137, 0
  br i1 %.not181, label %138, label %140

138:                                              ; preds = %136
  %139 = tail call i32 @sm9keygen_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

140:                                              ; preds = %136
  %141 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.34) #4
  %.not182 = icmp eq i32 %141, 0
  br i1 %.not182, label %142, label %144

142:                                              ; preds = %140
  %143 = tail call i32 @sm9sign_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

144:                                              ; preds = %140
  %145 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.35) #4
  %.not183 = icmp eq i32 %145, 0
  br i1 %.not183, label %146, label %148

146:                                              ; preds = %144
  %147 = tail call i32 @sm9verify_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

148:                                              ; preds = %144
  %149 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.36) #4
  %.not184 = icmp eq i32 %149, 0
  br i1 %.not184, label %150, label %152

150:                                              ; preds = %148
  %151 = tail call i32 @sm9encrypt_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

152:                                              ; preds = %148
  %153 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.37) #4
  %.not185 = icmp eq i32 %153, 0
  br i1 %.not185, label %154, label %156

154:                                              ; preds = %152
  %155 = tail call i32 @sm9decrypt_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

156:                                              ; preds = %152
  %157 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.38) #4
  %.not186 = icmp eq i32 %157, 0
  br i1 %.not186, label %158, label %160

158:                                              ; preds = %156
  %159 = tail call i32 @cmsparse_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

160:                                              ; preds = %156
  %161 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.39) #4
  %.not187 = icmp eq i32 %161, 0
  br i1 %.not187, label %162, label %164

162:                                              ; preds = %160
  %163 = tail call i32 @cmsencrypt_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

164:                                              ; preds = %160
  %165 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.40) #4
  %.not188 = icmp eq i32 %165, 0
  br i1 %.not188, label %166, label %168

166:                                              ; preds = %164
  %167 = tail call i32 @cmsdecrypt_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

168:                                              ; preds = %164
  %169 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.41) #4
  %.not189 = icmp eq i32 %169, 0
  br i1 %.not189, label %170, label %172

170:                                              ; preds = %168
  %171 = tail call i32 @cmssign_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

172:                                              ; preds = %168
  %173 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.42) #4
  %.not190 = icmp eq i32 %173, 0
  br i1 %.not190, label %174, label %176

174:                                              ; preds = %172
  %175 = tail call i32 @cmsverify_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

176:                                              ; preds = %172
  %177 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.43) #4
  %.not191 = icmp eq i32 %177, 0
  br i1 %.not191, label %178, label %180

178:                                              ; preds = %176
  %179 = tail call i32 @tlcp_client_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

180:                                              ; preds = %176
  %181 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.44) #4
  %.not192 = icmp eq i32 %181, 0
  br i1 %.not192, label %182, label %184

182:                                              ; preds = %180
  %183 = tail call i32 @tlcp_server_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

184:                                              ; preds = %180
  %185 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.45) #4
  %.not193 = icmp eq i32 %185, 0
  br i1 %.not193, label %186, label %188

186:                                              ; preds = %184
  %187 = tail call i32 @tls12_client_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

188:                                              ; preds = %184
  %189 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.46) #4
  %.not194 = icmp eq i32 %189, 0
  br i1 %.not194, label %190, label %192

190:                                              ; preds = %188
  %191 = tail call i32 @tls12_server_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

192:                                              ; preds = %188
  %193 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.47) #4
  %.not195 = icmp eq i32 %193, 0
  br i1 %.not195, label %194, label %196

194:                                              ; preds = %192
  %195 = tail call i32 @tls13_client_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

196:                                              ; preds = %192
  %197 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.48) #4
  %.not196 = icmp eq i32 %197, 0
  br i1 %.not196, label %198, label %200

198:                                              ; preds = %196
  %199 = tail call i32 @tls13_server_main(i32 noundef %4, ptr noundef nonnull %5) #5
  br label %206

200:                                              ; preds = %196
  %201 = load ptr, ptr @stderr, align 8, !tbaa !5
  %202 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.49, ptr noundef %3, ptr noundef %11) #6
  %203 = load ptr, ptr @stderr, align 8, !tbaa !5
  %204 = load ptr, ptr @options, align 8, !tbaa !5
  %205 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull @.str.2, ptr noundef %3, ptr noundef %204) #6
  br label %206

206:                                              ; preds = %200, %198, %194, %190, %186, %182, %178, %174, %170, %166, %162, %158, %154, %150, %146, %142, %138, %134, %130, %126, %122, %118, %114, %110, %106, %102, %98, %94, %90, %86, %82, %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %13, %7
  %.0 = phi i32 [ 1, %7 ], [ 1, %200 ], [ %199, %198 ], [ %195, %194 ], [ %191, %190 ], [ %187, %186 ], [ %183, %182 ], [ %179, %178 ], [ %175, %174 ], [ %171, %170 ], [ %167, %166 ], [ %163, %162 ], [ %159, %158 ], [ %155, %154 ], [ %151, %150 ], [ %147, %146 ], [ %143, %142 ], [ %139, %138 ], [ %135, %134 ], [ %131, %130 ], [ %127, %126 ], [ %123, %122 ], [ %119, %118 ], [ %115, %114 ], [ %111, %110 ], [ %107, %106 ], [ %103, %102 ], [ %99, %98 ], [ %95, %94 ], [ %91, %90 ], [ %87, %86 ], [ %83, %82 ], [ %79, %78 ], [ %75, %74 ], [ %71, %70 ], [ %67, %66 ], [ %63, %62 ], [ %59, %58 ], [ %55, %54 ], [ %51, %50 ], [ %47, %46 ], [ %43, %42 ], [ %39, %38 ], [ %35, %34 ], [ %31, %30 ], [ %27, %26 ], [ %23, %22 ], [ %19, %18 ], [ 0, %13 ]
  ret i32 %.0
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

declare i32 @version_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @rand_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @certgen_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @certparse_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @certverify_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @certrevoke_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @crlget_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @crlgen_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @crlparse_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @crlverify_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @reqgen_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @reqparse_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @reqsign_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm2keygen_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm2sign_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm2verify_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm2encrypt_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm2decrypt_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm3_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm3hmac_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm3_pbkdf2_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm3xmss_keygen_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm4_cbc_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm4_ctr_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm4_gcm_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm4_cbc_sm3_hmac_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm4_ctr_sm3_hmac_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @ghash_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @zuc_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm9setup_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm9keygen_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm9sign_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm9verify_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm9encrypt_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @sm9decrypt_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @cmsparse_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @cmsencrypt_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @cmsdecrypt_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @cmssign_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @cmsverify_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @tlcp_client_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @tlcp_server_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @tls12_client_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @tls12_server_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @tls13_client_main(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @tls13_server_main(i32 noundef, ptr noundef) local_unnamed_addr #3

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 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 #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) }
attributes #5 = { nounwind }
attributes #6 = { cold 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"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass