; LLVM IR from openanolis/openssl :: crypto/ec (ecdsa_ossl)

; 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.ECDSA_SIG_st = type { ptr, ptr }
%struct.ec_key_st = type { ptr, ptr, i32, ptr, ptr, ptr, i32, i32, %struct.CRYPTO_REF_COUNT, i32, %struct.crypto_ex_data_st, ptr, ptr, i64 }
%struct.CRYPTO_REF_COUNT = type { i32 }
%struct.crypto_ex_data_st = type { ptr, ptr }
%struct.ec_group_st = type { ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, i64, ptr, [6 x i32], ptr, ptr, i32, ptr, ptr, ptr, ptr, i32, %union.anon, ptr, ptr }
%union.anon = type { ptr }

@.str = external hidden unnamed_addr constant [75 x i8], align 1
@__func__.ossl_ecdsa_simple_sign_sig = external hidden unnamed_addr constant [27 x i8], align 1

declare void @ERR_new() #0

declare void @ERR_set_debug(ptr noundef, i32 noundef, ptr noundef) #0

declare void @ERR_set_error(i32 noundef, i32 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 @ECDSA_SIG_free(ptr noundef) #0

; 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 hidden i32 @ecdsa_sign_setup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @BN_clear_free(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local ptr @ossl_ecdsa_simple_sign_sig(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %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 ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  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) #3
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = call ptr @EC_KEY_get0_group(ptr noundef %25)
  store ptr %26, ptr %21, align 8, !tbaa !5
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = call ptr @EC_KEY_get0_private_key(ptr noundef %27)
  store ptr %28, ptr %23, align 8, !tbaa !5
  %29 = load ptr, ptr %21, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %5
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 269, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 786690, ptr noundef null)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %24, align 4
  br label %220

32:                                               ; preds = %5
  %33 = load ptr, ptr %23, align 8, !tbaa !5
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %36

35:                                               ; preds = %32
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 273, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 125, ptr noundef null)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %24, align 4
  br label %220

36:                                               ; preds = %32
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = call i32 @EC_KEY_can_sign(ptr noundef %37)
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 278, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 159, ptr noundef null)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %24, align 4
  br label %220

41:                                               ; preds = %36
  %42 = call ptr @ECDSA_SIG_new()
  store ptr %42, ptr %22, align 8, !tbaa !5
  %43 = load ptr, ptr %22, align 8, !tbaa !5
  %44 = icmp eq ptr %43, null
  br i1 %44, label %45, label %46

45:                                               ; preds = %41
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 284, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524330, ptr noundef null)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %24, align 4
  br label %220

46:                                               ; preds = %41
  %47 = call ptr @BN_new()
  %48 = load ptr, ptr %22, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %48, i32 0, i32 0
  store ptr %47, ptr %49, align 8, !tbaa !11
  %50 = call ptr @BN_new()
  %51 = load ptr, ptr %22, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %51, i32 0, i32 1
  store ptr %50, ptr %52, align 8, !tbaa !13
  %53 = load ptr, ptr %22, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !11
  %56 = icmp eq ptr %55, null
  br i1 %56, label %62, label %57

57:                                               ; preds = %46
  %58 = load ptr, ptr %22, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %58, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %61 = icmp eq ptr %60, null
  br i1 %61, label %62, label %63

62:                                               ; preds = %57, %46
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 290, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

63:                                               ; preds = %57
  %64 = load ptr, ptr %22, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !13
  store ptr %66, ptr %16, align 8, !tbaa !5
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ec_key_st, ptr %67, i32 0, i32 11
  %69 = load ptr, ptr %68, align 8, !tbaa !14
  %70 = call ptr @BN_CTX_new_ex(ptr noundef %69)
  store ptr %70, ptr %20, align 8, !tbaa !5
  %71 = icmp eq ptr %70, null
  br i1 %71, label %75, label %72

72:                                               ; preds = %63
  %73 = call ptr @BN_new()
  store ptr %73, ptr %17, align 8, !tbaa !5
  %74 = icmp eq ptr %73, null
  br i1 %74, label %75, label %76

75:                                               ; preds = %72, %63
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 297, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

76:                                               ; preds = %72
  %77 = load ptr, ptr %21, align 8, !tbaa !5
  %78 = call ptr @EC_GROUP_get0_order(ptr noundef %77)
  store ptr %78, ptr %18, align 8, !tbaa !5
  %79 = load ptr, ptr %18, align 8, !tbaa !5
  %80 = call i32 @BN_num_bits(ptr noundef %79)
  store i32 %80, ptr %13, align 4, !tbaa !9
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = mul nsw i32 8, %81
  %83 = load i32, ptr %13, align 4, !tbaa !9
  %84 = icmp sgt i32 %82, %83
  br i1 %84, label %85, label %89

85:                                               ; preds = %76
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = add nsw i32 %86, 7
  %88 = sdiv i32 %87, 8
  store i32 %88, ptr %8, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %85, %76
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = load i32, ptr %8, align 4, !tbaa !9
  %92 = load ptr, ptr %17, align 8, !tbaa !5
  %93 = call ptr @BN_bin2bn(ptr noundef %90, i32 noundef %91, ptr noundef %92)
  %94 = icmp ne ptr %93, null
  br i1 %94, label %96, label %95

95:                                               ; preds = %89
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 309, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

96:                                               ; preds = %89
  %97 = load i32, ptr %8, align 4, !tbaa !9
  %98 = mul nsw i32 8, %97
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = icmp sgt i32 %98, %99
  br i1 %100, label %101, label %110

101:                                              ; preds = %96
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = load i32, ptr %13, align 4, !tbaa !9
  %105 = and i32 %104, 7
  %106 = sub nsw i32 8, %105
  %107 = call i32 @BN_rshift(ptr noundef %102, ptr noundef %103, i32 noundef %106)
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %110, label %109

109:                                              ; preds = %101
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 314, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

110:                                              ; preds = %101, %96
  br label %111

111:                                              ; preds = %208, %110
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = icmp eq ptr %112, null
  br i1 %113, label %117, label %114

114:                                              ; preds = %111
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = icmp eq ptr %115, null
  br i1 %116, label %117, label %129

117:                                              ; preds = %114, %111
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = load ptr, ptr %20, align 8, !tbaa !5
  %120 = load ptr, ptr %22, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %120, i32 0, i32 0
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = load i32, ptr %8, align 4, !tbaa !9
  %124 = call i32 @ecdsa_sign_setup(ptr noundef %118, ptr noundef %119, ptr noundef %15, ptr noundef %121, ptr noundef %122, i32 noundef %123, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null)
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %127, label %126

126:                                              ; preds = %117
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 321, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524330, ptr noundef null)
  br label %210

127:                                              ; preds = %117
  %128 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %128, ptr %19, align 8, !tbaa !5
  br label %139

129:                                              ; preds = %114
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %130, ptr %19, align 8, !tbaa !5
  %131 = load ptr, ptr %22, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %131, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8, !tbaa !11
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = call ptr @BN_copy(ptr noundef %133, ptr noundef %134)
  %136 = icmp eq ptr %135, null
  br i1 %136, label %137, label %138

137:                                              ; preds = %129
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 328, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

138:                                              ; preds = %129
  br label %139

139:                                              ; preds = %138, %127
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = load ptr, ptr %22, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ECDSA_SIG_st, ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8, !tbaa !11
  %144 = load ptr, ptr %21, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ec_group_st, ptr %144, i32 0, i32 18
  %146 = load ptr, ptr %145, align 8, !tbaa !19
  %147 = load ptr, ptr %20, align 8, !tbaa !5
  %148 = call i32 @bn_to_mont_fixed_top(ptr noundef %140, ptr noundef %143, ptr noundef %146, ptr noundef %147)
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %160

150:                                              ; preds = %139
  %151 = load ptr, ptr %16, align 8, !tbaa !5
  %152 = load ptr, ptr %16, align 8, !tbaa !5
  %153 = load ptr, ptr %23, align 8, !tbaa !5
  %154 = load ptr, ptr %21, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ec_group_st, ptr %154, i32 0, i32 18
  %156 = load ptr, ptr %155, align 8, !tbaa !19
  %157 = load ptr, ptr %20, align 8, !tbaa !5
  %158 = call i32 @bn_mul_mont_fixed_top(ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %156, ptr noundef %157)
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %161, label %160

160:                                              ; preds = %150, %139
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 342, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

161:                                              ; preds = %150
  %162 = load ptr, ptr %16, align 8, !tbaa !5
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  %165 = load ptr, ptr %18, align 8, !tbaa !5
  %166 = call i32 @bn_mod_add_fixed_top(ptr noundef %162, ptr noundef %163, ptr noundef %164, ptr noundef %165)
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %169, label %168

168:                                              ; preds = %161
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 346, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

169:                                              ; preds = %161
  %170 = load ptr, ptr %16, align 8, !tbaa !5
  %171 = load ptr, ptr %16, align 8, !tbaa !5
  %172 = load ptr, ptr %21, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ec_group_st, ptr %172, i32 0, i32 18
  %174 = load ptr, ptr %173, align 8, !tbaa !19
  %175 = load ptr, ptr %20, align 8, !tbaa !5
  %176 = call i32 @bn_to_mont_fixed_top(ptr noundef %170, ptr noundef %171, ptr noundef %174, ptr noundef %175)
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %188

178:                                              ; preds = %169
  %179 = load ptr, ptr %16, align 8, !tbaa !5
  %180 = load ptr, ptr %16, align 8, !tbaa !5
  %181 = load ptr, ptr %19, align 8, !tbaa !5
  %182 = load ptr, ptr %21, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.ec_group_st, ptr %182, i32 0, i32 18
  %184 = load ptr, ptr %183, align 8, !tbaa !19
  %185 = load ptr, ptr %20, align 8, !tbaa !5
  %186 = call i32 @BN_mod_mul_montgomery(ptr noundef %179, ptr noundef %180, ptr noundef %181, ptr noundef %184, ptr noundef %185)
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %189, label %188

188:                                              ; preds = %178, %169
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 355, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null)
  br label %210

189:                                              ; preds = %178
  %190 = load ptr, ptr %16, align 8, !tbaa !5
  %191 = call i32 @BN_is_zero(ptr noundef %190)
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %206

193:                                              ; preds = %189
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = icmp ne ptr %194, null
  br i1 %195, label %196, label %200

196:                                              ; preds = %193
  %197 = load ptr, ptr %10, align 8, !tbaa !5
  %198 = icmp ne ptr %197, null
  br i1 %198, label %199, label %200

199:                                              ; preds = %196
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 365, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 157, ptr noundef null)
  br label %210

200:                                              ; preds = %196, %193
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %14, align 4, !tbaa !9
  %203 = icmp sgt i32 %201, 8
  br i1 %203, label %204, label %205

204:                                              ; preds = %200
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 370, ptr noundef @__func__.ossl_ecdsa_simple_sign_sig)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 176, ptr noundef null)
  br label %210

205:                                              ; preds = %200
  br label %207

206:                                              ; preds = %189
  br label %209

207:                                              ; preds = %205
  br label %208

208:                                              ; preds = %207
  br i1 true, label %111, label %209

209:                                              ; preds = %208, %206
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %209, %204, %199, %188, %168, %160, %137, %126, %109, %95, %75, %62
  %211 = load i32, ptr %12, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %215, label %213

213:                                              ; preds = %210
  %214 = load ptr, ptr %22, align 8, !tbaa !5
  call void @ECDSA_SIG_free(ptr noundef %214)
  store ptr null, ptr %22, align 8, !tbaa !5
  br label %215

215:                                              ; preds = %213, %210
  %216 = load ptr, ptr %20, align 8, !tbaa !5
  call void @BN_CTX_free(ptr noundef %216)
  %217 = load ptr, ptr %17, align 8, !tbaa !5
  call void @BN_clear_free(ptr noundef %217)
  %218 = load ptr, ptr %15, align 8, !tbaa !5
  call void @BN_clear_free(ptr noundef %218)
  %219 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %219, ptr %6, align 8
  store i32 1, ptr %24, align 4
  br label %220

220:                                              ; preds = %215, %45, %40, %35, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  %221 = load ptr, ptr %6, align 8
  ret ptr %221
}

declare ptr @EC_KEY_get0_group(ptr noundef) #0

declare ptr @EC_KEY_get0_private_key(ptr noundef) #0

declare i32 @EC_KEY_can_sign(ptr noundef) #0

declare ptr @ECDSA_SIG_new() #0

declare ptr @BN_new() #0

declare ptr @BN_CTX_new_ex(ptr noundef) #0

declare ptr @EC_GROUP_get0_order(ptr noundef) #0

declare i32 @BN_num_bits(ptr noundef) #0

declare ptr @BN_bin2bn(ptr noundef, i32 noundef, ptr noundef) #0

declare i32 @BN_rshift(ptr noundef, ptr noundef, i32 noundef) #0

declare ptr @BN_copy(ptr noundef, ptr noundef) #0

declare i32 @bn_to_mont_fixed_top(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @bn_mul_mont_fixed_top(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @bn_mod_add_fixed_top(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @BN_mod_mul_montgomery(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @BN_is_zero(ptr noundef) #0

declare void @BN_CTX_free(ptr noundef) #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind 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 #3 = { 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 0}
!12 = !{!"ECDSA_SIG_st", !6, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = !{!15, !6, i64 80}
!15 = !{!"ec_key_st", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !16, i64 56, !10, i64 60, !17, i64 64, !6, i64 80, !6, i64 88, !18, i64 96}
!16 = !{!"", !7, i64 0}
!17 = !{!"crypto_ex_data_st", !6, i64 0, !6, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!20, !6, i64 144}
!20 = !{!"ec_group_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !6, i64 48, !18, i64 56, !6, i64 64, !7, i64 72, !6, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !7, i64 160, !6, i64 168, !6, i64 176}


; 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 [75 x i8], align 1
@__func__.ossl_ecdsa_simple_sign_sig = external hidden unnamed_addr constant [27 x i8], align 1

declare void @ERR_new() local_unnamed_addr #0

declare void @ERR_set_debug(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare void @ERR_set_error(i32 noundef, i32 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 @ECDSA_SIG_free(ptr noundef) local_unnamed_addr #0

; 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 hidden i32 @ecdsa_sign_setup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @BN_clear_free(ptr noundef) local_unnamed_addr #0

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

10:                                               ; preds = %5
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 269, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 786690, ptr noundef null) #3
  br label %101

11:                                               ; preds = %5
  %12 = icmp eq ptr %8, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %11
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 273, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 125, ptr noundef null) #3
  br label %101

14:                                               ; preds = %11
  %15 = tail call i32 @EC_KEY_can_sign(ptr noundef %4) #3
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %17

16:                                               ; preds = %14
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 278, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 159, ptr noundef null) #3
  br label %101

17:                                               ; preds = %14
  %18 = tail call ptr @ECDSA_SIG_new() #3
  %19 = icmp eq ptr %18, null
  br i1 %19, label %20, label %21

20:                                               ; preds = %17
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 284, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524330, ptr noundef null) #3
  br label %101

21:                                               ; preds = %17
  %22 = tail call ptr @BN_new() #3
  store ptr %22, ptr %18, align 8, !tbaa !9
  %23 = tail call ptr @BN_new() #3
  %24 = getelementptr inbounds i8, ptr %18, i64 8
  store ptr %23, ptr %24, align 8, !tbaa !11
  %25 = load ptr, ptr %18, align 8, !tbaa !9
  %26 = icmp eq ptr %25, null
  %27 = icmp eq ptr %23, null
  %or.cond97 = select i1 %26, i1 true, i1 %27
  br i1 %or.cond97, label %28, label %29

28:                                               ; preds = %21
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 290, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

29:                                               ; preds = %21
  %30 = getelementptr inbounds i8, ptr %4, i64 80
  %31 = load ptr, ptr %30, align 8, !tbaa !12
  %32 = tail call ptr @BN_CTX_new_ex(ptr noundef %31) #3
  %33 = icmp eq ptr %32, null
  br i1 %33, label %37, label %34

34:                                               ; preds = %29
  %35 = tail call ptr @BN_new() #3
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %38

37:                                               ; preds = %34, %29
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 297, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

38:                                               ; preds = %34
  %39 = tail call ptr @EC_GROUP_get0_order(ptr noundef nonnull %7) #3
  %40 = tail call i32 @BN_num_bits(ptr noundef %39) #3
  %41 = shl nsw i32 %1, 3
  %42 = icmp sgt i32 %41, %40
  br i1 %42, label %43, label %46

43:                                               ; preds = %38
  %44 = add nsw i32 %40, 7
  %45 = sdiv i32 %44, 8
  br label %46

46:                                               ; preds = %43, %38
  %.070 = phi i32 [ %45, %43 ], [ %1, %38 ]
  %47 = tail call ptr @BN_bin2bn(ptr noundef %0, i32 noundef %.070, ptr noundef nonnull %35) #3
  %.not87 = icmp eq ptr %47, null
  br i1 %.not87, label %48, label %49

48:                                               ; preds = %46
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 309, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

49:                                               ; preds = %46
  %50 = shl nsw i32 %.070, 3
  %51 = icmp sgt i32 %50, %40
  br i1 %51, label %52, label %57

52:                                               ; preds = %49
  %53 = and i32 %40, 7
  %54 = sub nuw nsw i32 8, %53
  %55 = tail call i32 @BN_rshift(ptr noundef nonnull %35, ptr noundef nonnull %35, i32 noundef %54) #3
  %.not88 = icmp eq i32 %55, 0
  br i1 %.not88, label %56, label %57

56:                                               ; preds = %52
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 314, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

57:                                               ; preds = %52, %49
  %58 = icmp eq ptr %2, null
  %59 = icmp eq ptr %3, null
  %or.cond = or i1 %58, %59
  %60 = getelementptr inbounds i8, ptr %7, i64 144
  %61 = icmp ne ptr %2, null
  %62 = icmp ne ptr %3, null
  %or.cond3 = and i1 %61, %62
  br label %63

63:                                               ; preds = %96, %57
  %.075 = phi i32 [ 0, %57 ], [ %97, %96 ]
  br i1 %or.cond, label %64, label %69

64:                                               ; preds = %63
  %65 = call i32 @ecdsa_sign_setup(ptr noundef %4, ptr noundef nonnull %32, ptr noundef nonnull %6, ptr noundef nonnull %18, ptr noundef %0, i32 noundef %.070, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null)
  %.not89 = icmp eq i32 %65, 0
  br i1 %.not89, label %66, label %67

66:                                               ; preds = %64
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 321, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524330, ptr noundef null) #3
  br label %99

67:                                               ; preds = %64
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  br label %74

69:                                               ; preds = %63
  %70 = load ptr, ptr %18, align 8, !tbaa !9
  %71 = call ptr @BN_copy(ptr noundef %70, ptr noundef nonnull %3) #3
  %72 = icmp eq ptr %71, null
  br i1 %72, label %73, label %74

73:                                               ; preds = %69
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 328, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

74:                                               ; preds = %69, %67
  %.072 = phi ptr [ %68, %67 ], [ %2, %69 ]
  %75 = load ptr, ptr %18, align 8, !tbaa !9
  %76 = load ptr, ptr %60, align 8, !tbaa !18
  %77 = call i32 @bn_to_mont_fixed_top(ptr noundef nonnull %23, ptr noundef %75, ptr noundef %76, ptr noundef nonnull %32) #3
  %.not90 = icmp eq i32 %77, 0
  br i1 %.not90, label %81, label %78

78:                                               ; preds = %74
  %79 = load ptr, ptr %60, align 8, !tbaa !18
  %80 = call i32 @bn_mul_mont_fixed_top(ptr noundef nonnull %23, ptr noundef nonnull %23, ptr noundef nonnull %8, ptr noundef %79, ptr noundef nonnull %32) #3
  %.not91 = icmp eq i32 %80, 0
  br i1 %.not91, label %81, label %82

81:                                               ; preds = %78, %74
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 342, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

82:                                               ; preds = %78
  %83 = call i32 @bn_mod_add_fixed_top(ptr noundef nonnull %23, ptr noundef nonnull %23, ptr noundef nonnull %35, ptr noundef %39) #3
  %.not92 = icmp eq i32 %83, 0
  br i1 %.not92, label %84, label %85

84:                                               ; preds = %82
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 346, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

85:                                               ; preds = %82
  %86 = load ptr, ptr %60, align 8, !tbaa !18
  %87 = call i32 @bn_to_mont_fixed_top(ptr noundef nonnull %23, ptr noundef nonnull %23, ptr noundef %86, ptr noundef nonnull %32) #3
  %.not93 = icmp eq i32 %87, 0
  br i1 %.not93, label %91, label %88

88:                                               ; preds = %85
  %89 = load ptr, ptr %60, align 8, !tbaa !18
  %90 = call i32 @BN_mod_mul_montgomery(ptr noundef nonnull %23, ptr noundef nonnull %23, ptr noundef %.072, ptr noundef %89, ptr noundef nonnull %32) #3
  %.not94 = icmp eq i32 %90, 0
  br i1 %.not94, label %91, label %92

91:                                               ; preds = %88, %85
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 355, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 524291, ptr noundef null) #3
  br label %99

92:                                               ; preds = %88
  %93 = call i32 @BN_is_zero(ptr noundef nonnull %23) #3
  %.not95 = icmp eq i32 %93, 0
  br i1 %.not95, label %.loopexit, label %94

94:                                               ; preds = %92
  br i1 %or.cond3, label %95, label %96

95:                                               ; preds = %94
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 365, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 157, ptr noundef null) #3
  br label %99

96:                                               ; preds = %94
  %97 = add nuw nsw i32 %.075, 1
  %exitcond = icmp eq i32 %97, 10
  br i1 %exitcond, label %98, label %63

98:                                               ; preds = %96
  call void @ERR_new() #3
  call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 370, ptr noundef nonnull @__func__.ossl_ecdsa_simple_sign_sig) #3
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 16, i32 noundef 176, ptr noundef null) #3
  br label %99

99:                                               ; preds = %28, %37, %95, %98, %91, %84, %81, %66, %73, %56, %48
  %.1.ph = phi ptr [ %35, %48 ], [ %35, %56 ], [ %35, %73 ], [ %35, %66 ], [ %35, %81 ], [ %35, %84 ], [ %35, %91 ], [ %35, %98 ], [ %35, %95 ], [ null, %37 ], [ null, %28 ]
  %.071.ph = phi ptr [ %32, %48 ], [ %32, %56 ], [ %32, %73 ], [ %32, %66 ], [ %32, %81 ], [ %32, %84 ], [ %32, %91 ], [ %32, %98 ], [ %32, %95 ], [ %32, %37 ], [ null, %28 ]
  call void @ECDSA_SIG_free(ptr noundef nonnull %18) #3
  br label %.loopexit

.loopexit:                                        ; preds = %92, %99
  %.071103 = phi ptr [ %.071.ph, %99 ], [ %32, %92 ]
  %.1101 = phi ptr [ %.1.ph, %99 ], [ %35, %92 ]
  %.069 = phi ptr [ null, %99 ], [ %18, %92 ]
  call void @BN_CTX_free(ptr noundef %.071103) #3
  call void @BN_clear_free(ptr noundef %.1101) #3
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  call void @BN_clear_free(ptr noundef %100) #3
  br label %101

101:                                              ; preds = %.loopexit, %20, %16, %13, %10
  %.0 = phi ptr [ null, %10 ], [ null, %13 ], [ null, %20 ], [ %.069, %.loopexit ], [ null, %16 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  ret ptr %.0
}

declare ptr @EC_KEY_get0_group(ptr noundef) local_unnamed_addr #0

declare ptr @EC_KEY_get0_private_key(ptr noundef) local_unnamed_addr #0

declare i32 @EC_KEY_can_sign(ptr noundef) local_unnamed_addr #0

declare ptr @ECDSA_SIG_new() local_unnamed_addr #0

declare ptr @BN_new() local_unnamed_addr #0

declare ptr @BN_CTX_new_ex(ptr noundef) local_unnamed_addr #0

declare ptr @EC_GROUP_get0_order(ptr noundef) local_unnamed_addr #0

declare i32 @BN_num_bits(ptr noundef) local_unnamed_addr #0

declare ptr @BN_bin2bn(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare i32 @BN_rshift(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare ptr @BN_copy(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @bn_to_mont_fixed_top(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @bn_mul_mont_fixed_top(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @bn_mod_add_fixed_top(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @BN_mod_mul_montgomery(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @BN_is_zero(ptr noundef) local_unnamed_addr #0

declare void @BN_CTX_free(ptr noundef) local_unnamed_addr #0

attributes #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 = { 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 #3 = { 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 0}
!10 = !{!"ECDSA_SIG_st", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !6, i64 80}
!13 = !{!"ec_key_st", !6, i64 0, !6, i64 8, !14, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !14, i64 48, !14, i64 52, !15, i64 56, !14, i64 60, !16, i64 64, !6, i64 80, !6, i64 88, !17, i64 96}
!14 = !{!"int", !7, i64 0}
!15 = !{!"", !7, i64 0}
!16 = !{!"crypto_ex_data_st", !6, i64 0, !6, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !6, i64 144}
!19 = !{!"ec_group_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !6, i64 48, !17, i64 56, !6, i64 64, !7, i64 72, !6, i64 96, !6, i64 104, !14, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !14, i64 152, !7, i64 160, !6, i64 168, !6, i64 176}


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