; LLVM IR from specinfo-ua/UAPKI :: library/cm-pkcs12/src/crypto (pkcs5)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.EncryptedPrivateKeyInfo = type { %struct.AlgorithmIdentifier, %struct.OCTET_STRING, %struct.asn_struct_ctx_s }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.OCTET_STRING = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%struct.PBES2_params = type { %struct.PBES2_KDFs, %struct.AlgorithmIdentifier, %struct.asn_struct_ctx_s }
%struct.PBES2_KDFs = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.PBKDF2_params, %struct.asn_struct_ctx_s }
%struct.PBKDF2_params = type { %struct.PBKDF2_Salt, %struct.ASN__PRIMITIVE_TYPE_s, ptr, ptr, %struct.asn_struct_ctx_s }
%struct.PBKDF2_Salt = type { i32, %union.PBKDF2_Salt_u, %struct.asn_struct_ctx_s }
%union.PBKDF2_Salt_u = type { %struct.AlgorithmIdentifier }

@.str = external hidden unnamed_addr constant [25 x i8], align 1
@OID_PKCS5_PBKDF2 = external global ptr, align 8
@OID_PKCS5_PBES2 = external global ptr, align 8
@OID_PBE_WITH_SHA1_TDES_CBC = external global ptr, align 8
@OID_IIT_KEYSTORE = external global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local i32 @pbes2_crypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

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

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #2

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

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) #2

declare zeroext i1 @oid_is_equal(ptr noundef, ptr noundef) #2

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

declare ptr @asn_any2type(ptr noundef, ptr noundef) #2

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

declare void @ba_free(ptr noundef) #2

declare void @asn_free(ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @pbes1_crypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @pkcs8_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  store ptr null, ptr %18, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = icmp ne ptr %22, null
  br i1 %23, label %26, label %24

24:                                               ; preds = %21
  store i32 2, ptr %12, align 4, !tbaa !9
  %25 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 388, i32 noundef %25, ptr noundef null)
  br label %252

26:                                               ; preds = %21
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %34, label %32

32:                                               ; preds = %29
  store i32 2, ptr %12, align 4, !tbaa !9
  %33 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 389, i32 noundef %33, ptr noundef null)
  br label %252

34:                                               ; preds = %29
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %36
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %42, label %40

40:                                               ; preds = %37
  store i32 2, ptr %12, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 390, i32 noundef %41, ptr noundef null)
  br label %252

42:                                               ; preds = %37
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  %46 = call ptr @get_EncryptedPrivateKeyInfo_desc()
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = call ptr @asn_decode_ba_with_alloc(ptr noundef %46, ptr noundef %47)
  store ptr %48, ptr %18, align 8, !tbaa !5
  %49 = icmp eq ptr null, %48
  br i1 %49, label %50, label %52

50:                                               ; preds = %45
  store i32 2, ptr %12, align 4, !tbaa !9
  %51 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 392, i32 noundef %51)
  br label %252

52:                                               ; preds = %45
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54
  %56 = load ptr, ptr %18, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.EncryptedPrivateKeyInfo, ptr %56, i32 0, i32 1
  %58 = call i32 @asn_OCTSTRING2ba(ptr noundef %57, ptr noundef %16)
  store i32 %58, ptr %12, align 4, !tbaa !9
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %63

61:                                               ; preds = %55
  %62 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 393, i32 noundef %62)
  br label %252

63:                                               ; preds = %55
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.EncryptedPrivateKeyInfo, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %68, i32 0, i32 0
  %70 = call i32 @asn_oid_to_text(ptr noundef %69, ptr noundef %17)
  store i32 %70, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %12, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %66
  %74 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 395, i32 noundef %74)
  br label %252

75:                                               ; preds = %66
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  %78 = load ptr, ptr @OID_PKCS5_PBES2, align 8, !tbaa !5
  %79 = load ptr, ptr %17, align 8, !tbaa !5
  %80 = call zeroext i1 @oid_is_equal(ptr noundef %78, ptr noundef %79)
  br i1 %80, label %81, label %108

81:                                               ; preds = %77
  br label %82

82:                                               ; preds = %81
  %83 = load ptr, ptr %18, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.EncryptedPrivateKeyInfo, ptr %83, i32 0, i32 0
  %85 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %84, i32 0, i32 1
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = call ptr @get_PBES2_params_desc()
  %88 = call ptr @asn_any2type(ptr noundef %86, ptr noundef %87)
  store ptr %88, ptr %13, align 8, !tbaa !5
  %89 = icmp eq ptr null, %88
  br i1 %89, label %90, label %92

90:                                               ; preds = %82
  store i32 2, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 398, i32 noundef %91)
  br label %252

92:                                               ; preds = %82
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = call i32 @pbes2_crypt(i32 noundef 1, ptr noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99)
  store i32 %100, ptr %12, align 4, !tbaa !9
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %95
  %104 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 399, i32 noundef %104)
  br label %252

105:                                              ; preds = %95
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  br label %177

108:                                              ; preds = %77
  %109 = load ptr, ptr @OID_PBE_WITH_SHA1_TDES_CBC, align 8, !tbaa !5
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = call zeroext i1 @oid_is_equal(ptr noundef %109, ptr noundef %110)
  br i1 %111, label %112, label %139

112:                                              ; preds = %108
  br label %113

113:                                              ; preds = %112
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.EncryptedPrivateKeyInfo, ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %115, i32 0, i32 1
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  %118 = call ptr @get_PBKDF2_params_desc()
  %119 = call ptr @asn_any2type(ptr noundef %117, ptr noundef %118)
  store ptr %119, ptr %14, align 8, !tbaa !5
  %120 = icmp eq ptr null, %119
  br i1 %120, label %121, label %123

121:                                              ; preds = %113
  store i32 2, ptr %12, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 401, i32 noundef %122)
  br label %252

123:                                              ; preds = %113
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = load ptr, ptr %16, align 8, !tbaa !5
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = call i32 @pbes1_crypt(i32 noundef 1, ptr noundef %127, ptr noundef %128, ptr noundef %129, ptr noundef %130)
  store i32 %131, ptr %12, align 4, !tbaa !9
  %132 = load i32, ptr %12, align 4, !tbaa !9
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %136

134:                                              ; preds = %126
  %135 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 402, i32 noundef %135)
  br label %252

136:                                              ; preds = %126
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  br label %176

139:                                              ; preds = %108
  %140 = load ptr, ptr @OID_IIT_KEYSTORE, align 8, !tbaa !5
  %141 = load ptr, ptr %17, align 8, !tbaa !5
  %142 = call zeroext i1 @oid_is_equal(ptr noundef %140, ptr noundef %141)
  br i1 %142, label %143, label %170

143:                                              ; preds = %139
  br label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %18, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.EncryptedPrivateKeyInfo, ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %146, i32 0, i32 1
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = call ptr @get_IITParams_desc()
  %150 = call ptr @asn_any2type(ptr noundef %148, ptr noundef %149)
  store ptr %150, ptr %15, align 8, !tbaa !5
  %151 = icmp eq ptr null, %150
  br i1 %151, label %152, label %154

152:                                              ; preds = %144
  store i32 2, ptr %12, align 4, !tbaa !9
  %153 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 404, i32 noundef %153)
  br label %252

154:                                              ; preds = %144
  br label %155

155:                                              ; preds = %154
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  %158 = load ptr, ptr %15, align 8, !tbaa !5
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load ptr, ptr %16, align 8, !tbaa !5
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = call i32 @iit_decrypt(ptr noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161)
  store i32 %162, ptr %12, align 4, !tbaa !9
  %163 = load i32, ptr %12, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %167

165:                                              ; preds = %157
  %166 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 405, i32 noundef %166)
  br label %252

167:                                              ; preds = %157
  br label %168

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168
  br label %175

170:                                              ; preds = %139
  br label %171

171:                                              ; preds = %170
  store i32 1048, ptr %12, align 4, !tbaa !9
  %172 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 407, i32 noundef %172, ptr noundef null)
  br label %252

173:                                              ; No predecessors!
  br label %174

174:                                              ; preds = %173
  br label %175

175:                                              ; preds = %174, %169
  br label %176

176:                                              ; preds = %175, %138
  br label %177

177:                                              ; preds = %176, %107
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = icmp ne ptr %178, null
  br i1 %179, label %180, label %251

180:                                              ; preds = %177
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %251

183:                                              ; preds = %180
  %184 = load ptr, ptr @OID_PKCS5_PBES2, align 8, !tbaa !5
  %185 = load ptr, ptr %17, align 8, !tbaa !5
  %186 = call zeroext i1 @oid_is_equal(ptr noundef %184, ptr noundef %185)
  br i1 %186, label %187, label %246

187:                                              ; preds = %183
  %188 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %188) #4
  store ptr null, ptr %17, align 8, !tbaa !5
  br label %189

189:                                              ; preds = %187
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.PBES2_params, ptr %190, i32 0, i32 0
  %192 = getelementptr inbounds %struct.PBES2_KDFs, ptr %191, i32 0, i32 0
  %193 = call i32 @asn_oid_to_text(ptr noundef %192, ptr noundef %17)
  store i32 %193, ptr %12, align 4, !tbaa !9
  %194 = load i32, ptr %12, align 4, !tbaa !9
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %198

196:                                              ; preds = %189
  %197 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 414, i32 noundef %197)
  br label %252

198:                                              ; preds = %189
  br label %199

199:                                              ; preds = %198
  br label %200

200:                                              ; preds = %199
  %201 = load ptr, ptr @OID_PKCS5_PBKDF2, align 8, !tbaa !5
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = call zeroext i1 @oid_is_equal(ptr noundef %201, ptr noundef %202)
  br i1 %203, label %204, label %232

204:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %205 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %205) #4
  store ptr null, ptr %17, align 8, !tbaa !5
  %206 = load ptr, ptr %13, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.PBES2_params, ptr %206, i32 0, i32 0
  %208 = getelementptr inbounds %struct.PBES2_KDFs, ptr %207, i32 0, i32 1
  store ptr %208, ptr %19, align 8, !tbaa !5
  %209 = load ptr, ptr %19, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.PBKDF2_params, ptr %209, i32 0, i32 3
  %211 = load ptr, ptr %210, align 8, !tbaa !19
  %212 = icmp ne ptr %211, null
  br i1 %212, label %213, label %228

213:                                              ; preds = %204
  br label %214

214:                                              ; preds = %213
  %215 = load ptr, ptr %19, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.PBKDF2_params, ptr %215, i32 0, i32 3
  %217 = load ptr, ptr %216, align 8, !tbaa !19
  %218 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %217, i32 0, i32 0
  %219 = load ptr, ptr %10, align 8, !tbaa !5
  %220 = call i32 @asn_oid_to_text(ptr noundef %218, ptr noundef %219)
  store i32 %220, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %12, align 4, !tbaa !9
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %225

223:                                              ; preds = %214
  %224 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 421, i32 noundef %224)
  store i32 4, ptr %20, align 4
  br label %229

225:                                              ; preds = %214
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227, %204
  store i32 0, ptr %20, align 4
  br label %229

229:                                              ; preds = %228, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  %230 = load i32, ptr %20, align 4
  switch i32 %230, label %264 [
    i32 0, label %231
    i32 4, label %252
  ]

231:                                              ; preds = %229
  br label %232

232:                                              ; preds = %231, %200
  br label %233

233:                                              ; preds = %232
  %234 = load ptr, ptr %13, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.PBES2_params, ptr %234, i32 0, i32 1
  %236 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %235, i32 0, i32 0
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = call i32 @asn_oid_to_text(ptr noundef %236, ptr noundef %237)
  store i32 %238, ptr %12, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %243

241:                                              ; preds = %233
  %242 = load i32, ptr %12, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 424, i32 noundef %242)
  br label %252

243:                                              ; preds = %233
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  br label %250

246:                                              ; preds = %183
  %247 = load ptr, ptr %17, align 8, !tbaa !5
  %248 = call noalias ptr @strdup(ptr noundef %247) #4
  %249 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %248, ptr %249, align 8, !tbaa !5
  br label %250

250:                                              ; preds = %246, %245
  br label %251

251:                                              ; preds = %250, %180, %177
  br label %252

252:                                              ; preds = %251, %241, %229, %196, %171, %165, %152, %134, %121, %103, %90, %73, %61, %50, %40, %32, %24
  %253 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %253) #4
  %254 = load ptr, ptr %16, align 8, !tbaa !5
  call void @ba_free(ptr noundef %254)
  %255 = call ptr @get_PBES2_params_desc()
  %256 = load ptr, ptr %13, align 8, !tbaa !5
  call void @asn_free(ptr noundef %255, ptr noundef %256)
  %257 = call ptr @get_PBKDF2_params_desc()
  %258 = load ptr, ptr %14, align 8, !tbaa !5
  call void @asn_free(ptr noundef %257, ptr noundef %258)
  %259 = call ptr @get_IITParams_desc()
  %260 = load ptr, ptr %15, align 8, !tbaa !5
  call void @asn_free(ptr noundef %259, ptr noundef %260)
  %261 = call ptr @get_EncryptedPrivateKeyInfo_desc()
  %262 = load ptr, ptr %18, align 8, !tbaa !5
  call void @asn_free(ptr noundef %261, ptr noundef %262)
  %263 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %263, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %264

264:                                              ; preds = %252, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %265 = load i32, ptr %6, align 4
  ret i32 %265
}

declare ptr @asn_decode_ba_with_alloc(ptr noundef, ptr noundef) #2

declare ptr @get_EncryptedPrivateKeyInfo_desc() #2

declare ptr @get_PBES2_params_desc() #2

declare ptr @get_PBKDF2_params_desc() #2

declare ptr @get_IITParams_desc() #2

; Function Attrs: nounwind uwtable
declare hidden i32 @iit_decrypt(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #3

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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"EncryptedPrivateKeyInfo", !13, i64 0, !18, i64 48, !15, i64 88}
!13 = !{!"AlgorithmIdentifier", !14, i64 0, !6, i64 16, !15, i64 24}
!14 = !{!"ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!15 = !{!"asn_struct_ctx_s", !16, i64 0, !16, i64 2, !10, i64 4, !6, i64 8, !17, i64 16}
!16 = !{!"short", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"OCTET_STRING", !6, i64 0, !10, i64 8, !15, i64 16}
!19 = !{!20, !6, i64 104}
!20 = !{!"PBKDF2_params", !21, i64 0, !14, i64 80, !6, i64 96, !6, i64 104, !15, i64 112}
!21 = !{!"PBKDF2_Salt", !10, i64 0, !7, i64 8, !15, i64 56}


; 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 [25 x i8], align 1
@OID_PKCS5_PBKDF2 = external local_unnamed_addr global ptr, align 8
@OID_PKCS5_PBES2 = external local_unnamed_addr global ptr, align 8
@OID_PBE_WITH_SHA1_TDES_CBC = external local_unnamed_addr global ptr, align 8
@OID_IIT_KEYSTORE = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local i32 @pbes2_crypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @asn_oid_to_text(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

declare zeroext i1 @oid_is_equal(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @asn_OCTSTRING2ba(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @asn_any2type(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @ba_free(ptr noundef) local_unnamed_addr #2

declare void @asn_free(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @pbes1_crypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @pkcs8_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store ptr null, ptr %7, align 8, !tbaa !5
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %5
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 388, i32 noundef 2, ptr noundef null) #5
  br label %98

9:                                                ; preds = %5
  %.not96 = icmp eq ptr %1, null
  br i1 %.not96, label %10, label %11

10:                                               ; preds = %9
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 389, i32 noundef 2, ptr noundef null) #5
  br label %98

11:                                               ; preds = %9
  %.not97 = icmp eq ptr %2, null
  br i1 %.not97, label %12, label %13

12:                                               ; preds = %11
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 390, i32 noundef 2, ptr noundef null) #5
  br label %98

13:                                               ; preds = %11
  %14 = tail call ptr @get_EncryptedPrivateKeyInfo_desc() #5
  %15 = tail call ptr @asn_decode_ba_with_alloc(ptr noundef %14, ptr noundef nonnull %0) #5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %17, label %18

17:                                               ; preds = %13
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 392, i32 noundef 2) #5
  br label %98

18:                                               ; preds = %13
  %19 = getelementptr inbounds i8, ptr %15, i64 48
  %20 = call i32 @asn_OCTSTRING2ba(ptr noundef nonnull %19, ptr noundef nonnull %6) #5
  %.not98 = icmp eq i32 %20, 0
  br i1 %.not98, label %22, label %21

21:                                               ; preds = %18
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 393, i32 noundef %20) #5
  br label %98

22:                                               ; preds = %18
  %23 = call i32 @asn_oid_to_text(ptr noundef nonnull %15, ptr noundef nonnull %7) #5
  %.not99 = icmp eq i32 %23, 0
  br i1 %.not99, label %25, label %24

24:                                               ; preds = %22
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 395, i32 noundef %23) #5
  br label %98

25:                                               ; preds = %22
  %26 = load ptr, ptr @OID_PKCS5_PBES2, align 8, !tbaa !5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call zeroext i1 @oid_is_equal(ptr noundef %26, ptr noundef %27) #5
  br i1 %28, label %29, label %40

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %15, i64 16
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = call ptr @get_PBES2_params_desc() #5
  %33 = call ptr @asn_any2type(ptr noundef %31, ptr noundef %32) #5
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %36

35:                                               ; preds = %29
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 398, i32 noundef 2) #5
  br label %98

36:                                               ; preds = %29
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = call i32 @pbes2_crypt(i32 noundef 1, ptr noundef nonnull %33, ptr noundef nonnull %1, ptr noundef %37, ptr noundef nonnull %2)
  %.not102 = icmp eq i32 %38, 0
  br i1 %.not102, label %71, label %39

39:                                               ; preds = %36
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 399, i32 noundef %38) #5
  br label %98

40:                                               ; preds = %25
  %41 = load ptr, ptr @OID_PBE_WITH_SHA1_TDES_CBC, align 8, !tbaa !5
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call zeroext i1 @oid_is_equal(ptr noundef %41, ptr noundef %42) #5
  br i1 %43, label %44, label %55

44:                                               ; preds = %40
  %45 = getelementptr inbounds i8, ptr %15, i64 16
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = call ptr @get_PBKDF2_params_desc() #5
  %48 = call ptr @asn_any2type(ptr noundef %46, ptr noundef %47) #5
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %51

50:                                               ; preds = %44
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 401, i32 noundef 2) #5
  br label %98

51:                                               ; preds = %44
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = call i32 @pbes1_crypt(i32 noundef 1, ptr noundef nonnull %48, ptr noundef nonnull %1, ptr noundef %52, ptr noundef nonnull %2)
  %.not101 = icmp eq i32 %53, 0
  br i1 %.not101, label %71, label %54

54:                                               ; preds = %51
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 402, i32 noundef %53) #5
  br label %98

55:                                               ; preds = %40
  %56 = load ptr, ptr @OID_IIT_KEYSTORE, align 8, !tbaa !5
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = call zeroext i1 @oid_is_equal(ptr noundef %56, ptr noundef %57) #5
  br i1 %58, label %59, label %70

59:                                               ; preds = %55
  %60 = getelementptr inbounds i8, ptr %15, i64 16
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = call ptr @get_IITParams_desc() #5
  %63 = call ptr @asn_any2type(ptr noundef %61, ptr noundef %62) #5
  %64 = icmp eq ptr %63, null
  br i1 %64, label %65, label %66

65:                                               ; preds = %59
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 404, i32 noundef 2) #5
  br label %98

66:                                               ; preds = %59
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = call i32 @iit_decrypt(ptr noundef nonnull %63, ptr noundef nonnull %1, ptr noundef %67, ptr noundef nonnull %2)
  %.not100 = icmp eq i32 %68, 0
  br i1 %.not100, label %71, label %69

69:                                               ; preds = %66
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 405, i32 noundef %68) #5
  br label %98

70:                                               ; preds = %55
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 407, i32 noundef 1048, ptr noundef null) #5
  br label %98

71:                                               ; preds = %51, %66, %36
  %.064 = phi ptr [ %33, %36 ], [ null, %51 ], [ null, %66 ]
  %.062 = phi ptr [ null, %36 ], [ %48, %51 ], [ null, %66 ]
  %.061 = phi ptr [ null, %36 ], [ null, %51 ], [ %63, %66 ]
  %72 = icmp ne ptr %3, null
  %73 = icmp ne ptr %4, null
  %or.cond = and i1 %72, %73
  br i1 %or.cond, label %74, label %98

74:                                               ; preds = %71
  %75 = load ptr, ptr @OID_PKCS5_PBES2, align 8, !tbaa !5
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = call zeroext i1 @oid_is_equal(ptr noundef %75, ptr noundef %76) #5
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  br i1 %77, label %79, label %96

79:                                               ; preds = %74
  call void @free(ptr noundef %78) #5
  store ptr null, ptr %7, align 8, !tbaa !5
  %80 = call i32 @asn_oid_to_text(ptr noundef %.064, ptr noundef nonnull %7) #5
  %.not103 = icmp eq i32 %80, 0
  br i1 %.not103, label %82, label %81

81:                                               ; preds = %79
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 414, i32 noundef %80) #5
  br label %98

82:                                               ; preds = %79
  %83 = load ptr, ptr @OID_PKCS5_PBKDF2, align 8, !tbaa !5
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = call zeroext i1 @oid_is_equal(ptr noundef %83, ptr noundef %84) #5
  br i1 %85, label %86, label %.thread

86:                                               ; preds = %82
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %87) #5
  store ptr null, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %.064, i64 120
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %.not104 = icmp eq ptr %89, null
  br i1 %.not104, label %.thread, label %90

90:                                               ; preds = %86
  %91 = call i32 @asn_oid_to_text(ptr noundef nonnull %89, ptr noundef nonnull %3) #5
  %.not105 = icmp eq i32 %91, 0
  br i1 %.not105, label %.thread, label %92

92:                                               ; preds = %90
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 421, i32 noundef %91) #5
  br label %98

.thread:                                          ; preds = %86, %90, %82
  %93 = getelementptr inbounds i8, ptr %.064, i64 176
  %94 = call i32 @asn_oid_to_text(ptr noundef nonnull %93, ptr noundef nonnull %4) #5
  %.not106 = icmp eq i32 %94, 0
  br i1 %.not106, label %98, label %95

95:                                               ; preds = %.thread
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 424, i32 noundef %94) #5
  br label %98

96:                                               ; preds = %74
  %97 = call noalias ptr @strdup(ptr noundef %78) #5
  store ptr %97, ptr %4, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %92, %71, %.thread, %96, %95, %81, %70, %69, %65, %54, %50, %39, %35, %24, %21, %17, %12, %10, %8
  %.3 = phi i32 [ 2, %17 ], [ %20, %21 ], [ %23, %24 ], [ 2, %35 ], [ %38, %39 ], [ %80, %81 ], [ %91, %92 ], [ %94, %95 ], [ 0, %.thread ], [ 0, %96 ], [ 0, %71 ], [ 2, %50 ], [ %53, %54 ], [ 2, %65 ], [ %68, %69 ], [ 1048, %70 ], [ 2, %12 ], [ 2, %10 ], [ 2, %8 ]
  %.165 = phi ptr [ null, %17 ], [ null, %21 ], [ null, %24 ], [ null, %35 ], [ %33, %39 ], [ %.064, %81 ], [ %.064, %92 ], [ %.064, %95 ], [ %.064, %.thread ], [ %.064, %96 ], [ %.064, %71 ], [ null, %50 ], [ null, %54 ], [ null, %65 ], [ null, %69 ], [ null, %70 ], [ null, %12 ], [ null, %10 ], [ null, %8 ]
  %.163 = phi ptr [ null, %17 ], [ null, %21 ], [ null, %24 ], [ null, %35 ], [ null, %39 ], [ %.062, %81 ], [ %.062, %92 ], [ %.062, %95 ], [ %.062, %.thread ], [ %.062, %96 ], [ %.062, %71 ], [ null, %50 ], [ %48, %54 ], [ null, %65 ], [ null, %69 ], [ null, %70 ], [ null, %12 ], [ null, %10 ], [ null, %8 ]
  %.1 = phi ptr [ null, %17 ], [ null, %21 ], [ null, %24 ], [ null, %35 ], [ null, %39 ], [ %.061, %81 ], [ %.061, %92 ], [ %.061, %95 ], [ %.061, %.thread ], [ %.061, %96 ], [ %.061, %71 ], [ null, %50 ], [ null, %54 ], [ null, %65 ], [ %63, %69 ], [ null, %70 ], [ null, %12 ], [ null, %10 ], [ null, %8 ]
  %.060 = phi ptr [ null, %17 ], [ %15, %21 ], [ %15, %24 ], [ %15, %35 ], [ %15, %39 ], [ %15, %81 ], [ %15, %92 ], [ %15, %95 ], [ %15, %.thread ], [ %15, %96 ], [ %15, %71 ], [ %15, %50 ], [ %15, %54 ], [ %15, %65 ], [ %15, %69 ], [ %15, %70 ], [ null, %12 ], [ null, %10 ], [ null, %8 ]
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %99) #5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  call void @ba_free(ptr noundef %100) #5
  %101 = call ptr @get_PBES2_params_desc() #5
  call void @asn_free(ptr noundef %101, ptr noundef %.165) #5
  %102 = call ptr @get_PBKDF2_params_desc() #5
  call void @asn_free(ptr noundef %102, ptr noundef %.163) #5
  %103 = call ptr @get_IITParams_desc() #5
  call void @asn_free(ptr noundef %103, ptr noundef %.1) #5
  %104 = call ptr @get_EncryptedPrivateKeyInfo_desc() #5
  call void @asn_free(ptr noundef %104, ptr noundef %.060) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret i32 %.3
}

declare ptr @asn_decode_ba_with_alloc(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @get_EncryptedPrivateKeyInfo_desc() local_unnamed_addr #2

declare ptr @get_PBES2_params_desc() local_unnamed_addr #2

declare ptr @get_PBKDF2_params_desc() local_unnamed_addr #2

declare ptr @get_IITParams_desc() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @iit_decrypt(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !6, i64 16}
!10 = !{!"EncryptedPrivateKeyInfo", !11, i64 0, !17, i64 48, !14, i64 88}
!11 = !{!"AlgorithmIdentifier", !12, i64 0, !6, i64 16, !14, i64 24}
!12 = !{!"ASN__PRIMITIVE_TYPE_s", !6, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!"asn_struct_ctx_s", !15, i64 0, !15, i64 2, !13, i64 4, !6, i64 8, !16, i64 16}
!15 = !{!"short", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"OCTET_STRING", !6, i64 0, !13, i64 8, !14, i64 16}
!18 = !{!19, !6, i64 104}
!19 = !{!"PBKDF2_params", !20, i64 0, !12, i64 80, !6, i64 96, !6, i64 104, !14, i64 112}
!20 = !{!"PBKDF2_Salt", !13, i64 0, !7, i64 8, !14, i64 56}


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