; LLVM IR from ARMmbed/mbed-crypto :: library (rsa)

; 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.mbedtls_mpi = type { i32, i64, ptr }
%struct.mbedtls_rsa_context = type { i32, i64, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, %struct.mbedtls_mpi, i32, i32 }

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

declare i32 @mbedtls_mpi_copy(ptr noundef, ptr noundef) #1

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

declare i32 @mbedtls_mpi_read_binary(ptr noundef, ptr noundef, i64 noundef) #1

declare i32 @mbedtls_mpi_mul_mpi(ptr noundef, ptr noundef, ptr noundef) #1

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

declare i32 @mbedtls_mpi_write_binary(ptr noundef, ptr noundef, i64 noundef) #1

declare void @mbedtls_mpi_init(ptr noundef) #1

declare i32 @mbedtls_mpi_sub_mpi(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @mbedtls_mpi_sub_int(ptr noundef, ptr noundef, i64 noundef) #1

declare void @mbedtls_mpi_free(ptr noundef) #1

declare i32 @mbedtls_mpi_cmp_mpi(ptr noundef, ptr noundef) #1

declare i32 @mbedtls_mpi_exp_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_rsa_private(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %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 i64, align 8
  %14 = alloca %struct.mbedtls_mpi, align 8
  %15 = alloca %struct.mbedtls_mpi, align 8
  %16 = alloca %struct.mbedtls_mpi, align 8
  %17 = alloca %struct.mbedtls_mpi, align 8
  %18 = alloca %struct.mbedtls_mpi, align 8
  %19 = alloca %struct.mbedtls_mpi, align 8
  %20 = alloca %struct.mbedtls_mpi, align 8
  %21 = alloca %struct.mbedtls_mpi, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.mbedtls_mpi, align 8
  %25 = alloca %struct.mbedtls_mpi, align 8
  %26 = 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) #3
  store i32 -110, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %27, i32 0, i32 7
  store ptr %28, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %29, i32 0, i32 8
  store ptr %30, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #3
  br label %31

31:                                               ; preds = %5
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  %43 = zext i1 %42 to i32
  %44 = call i32 @rsa_check_context(ptr noundef %40, i32 noundef 1, i32 noundef %43)
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %39
  store i32 -16512, ptr %6, align 4
  store i32 1, ptr %26, align 4
  br label %303

47:                                               ; preds = %39
  call void @mbedtls_mpi_init(ptr noundef %14)
  call void @mbedtls_mpi_init(ptr noundef %15)
  call void @mbedtls_mpi_init(ptr noundef %16)
  call void @mbedtls_mpi_init(ptr noundef %17)
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  call void @mbedtls_mpi_init(ptr noundef %20)
  call void @mbedtls_mpi_init(ptr noundef %21)
  br label %51

51:                                               ; preds = %50, %47
  call void @mbedtls_mpi_init(ptr noundef %18)
  call void @mbedtls_mpi_init(ptr noundef %19)
  call void @mbedtls_mpi_init(ptr noundef %24)
  call void @mbedtls_mpi_init(ptr noundef %25)
  br label %52

52:                                               ; preds = %51
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %54, i32 0, i32 1
  %56 = load i64, ptr %55, align 8, !tbaa !11
  %57 = call i32 @mbedtls_mpi_read_binary(ptr noundef %14, ptr noundef %53, i64 noundef %56)
  store i32 %57, ptr %12, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %52
  br label %292

60:                                               ; preds = %52
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %63, i32 0, i32 2
  %65 = call i32 @mbedtls_mpi_cmp_mpi(ptr noundef %14, ptr noundef %64)
  %66 = icmp sge i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %62
  store i32 -4, ptr %12, align 4, !tbaa !9
  br label %292

68:                                               ; preds = %62
  br label %69

69:                                               ; preds = %68
  %70 = call i32 @mbedtls_mpi_copy(ptr noundef %24, ptr noundef %14)
  store i32 %70, ptr %12, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %69
  br label %292

73:                                               ; preds = %69
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %175

78:                                               ; preds = %75
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = call i32 @rsa_prepare_blinding(ptr noundef %80, ptr noundef %81, ptr noundef %82)
  store i32 %83, ptr %12, align 4, !tbaa !9
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %86

85:                                               ; preds = %79
  br label %292

86:                                               ; preds = %79
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %90, i32 0, i32 13
  %92 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %14, ptr noundef %14, ptr noundef %91)
  store i32 %92, ptr %12, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %89
  br label %292

95:                                               ; preds = %89
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  br label %98

98:                                               ; preds = %97
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %99, i32 0, i32 2
  %101 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef %14, ptr noundef %14, ptr noundef %100)
  store i32 %101, ptr %12, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %98
  br label %292

104:                                              ; preds = %98
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %108, i32 0, i32 5
  %110 = call i32 @mbedtls_mpi_sub_int(ptr noundef %15, ptr noundef %109, i64 noundef 1)
  store i32 %110, ptr %12, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %107
  br label %292

113:                                              ; preds = %107
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %117, i32 0, i32 6
  %119 = call i32 @mbedtls_mpi_sub_int(ptr noundef %16, ptr noundef %118, i64 noundef 1)
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %116
  br label %292

122:                                              ; preds = %116
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = call i32 @mbedtls_mpi_fill_random(ptr noundef %17, i64 noundef 28, ptr noundef %126, ptr noundef %127)
  store i32 %128, ptr %12, align 4, !tbaa !9
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %125
  br label %292

131:                                              ; preds = %125
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  br label %134

134:                                              ; preds = %133
  %135 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %20, ptr noundef %15, ptr noundef %17)
  store i32 %135, ptr %12, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %134
  br label %292

138:                                              ; preds = %134
  br label %139

139:                                              ; preds = %138
  br label %140

140:                                              ; preds = %139
  br label %141

141:                                              ; preds = %140
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %142, i32 0, i32 7
  %144 = call i32 @mbedtls_mpi_add_mpi(ptr noundef %20, ptr noundef %20, ptr noundef %143)
  store i32 %144, ptr %12, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %141
  br label %292

147:                                              ; preds = %141
  br label %148

148:                                              ; preds = %147
  br label %149

149:                                              ; preds = %148
  store ptr %20, ptr %22, align 8, !tbaa !5
  br label %150

150:                                              ; preds = %149
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = call i32 @mbedtls_mpi_fill_random(ptr noundef %17, i64 noundef 28, ptr noundef %151, ptr noundef %152)
  store i32 %153, ptr %12, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %156

155:                                              ; preds = %150
  br label %292

156:                                              ; preds = %150
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  br label %159

159:                                              ; preds = %158
  %160 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %21, ptr noundef %16, ptr noundef %17)
  store i32 %160, ptr %12, align 4, !tbaa !9
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %163

162:                                              ; preds = %159
  br label %292

163:                                              ; preds = %159
  br label %164

164:                                              ; preds = %163
  br label %165

165:                                              ; preds = %164
  br label %166

166:                                              ; preds = %165
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %167, i32 0, i32 8
  %169 = call i32 @mbedtls_mpi_add_mpi(ptr noundef %21, ptr noundef %21, ptr noundef %168)
  store i32 %169, ptr %12, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %166
  br label %292

172:                                              ; preds = %166
  br label %173

173:                                              ; preds = %172
  br label %174

174:                                              ; preds = %173
  store ptr %21, ptr %23, align 8, !tbaa !5
  br label %175

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

176:                                              ; preds = %175
  %177 = load ptr, ptr %22, align 8, !tbaa !5
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %178, i32 0, i32 5
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %180, i32 0, i32 11
  %182 = call i32 @mbedtls_mpi_exp_mod(ptr noundef %18, ptr noundef %14, ptr noundef %177, ptr noundef %179, ptr noundef %181)
  store i32 %182, ptr %12, align 4, !tbaa !9
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %185

184:                                              ; preds = %176
  br label %292

185:                                              ; preds = %176
  br label %186

186:                                              ; preds = %185
  br label %187

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187
  %189 = load ptr, ptr %23, align 8, !tbaa !5
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %190, i32 0, i32 6
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %192, i32 0, i32 12
  %194 = call i32 @mbedtls_mpi_exp_mod(ptr noundef %19, ptr noundef %14, ptr noundef %189, ptr noundef %191, ptr noundef %193)
  store i32 %194, ptr %12, align 4, !tbaa !9
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %197

196:                                              ; preds = %188
  br label %292

197:                                              ; preds = %188
  br label %198

198:                                              ; preds = %197
  br label %199

199:                                              ; preds = %198
  br label %200

200:                                              ; preds = %199
  %201 = call i32 @mbedtls_mpi_sub_mpi(ptr noundef %14, ptr noundef %18, ptr noundef %19)
  store i32 %201, ptr %12, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %204

203:                                              ; preds = %200
  br label %292

204:                                              ; preds = %200
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  br label %207

207:                                              ; preds = %206
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %208, i32 0, i32 9
  %210 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %18, ptr noundef %14, ptr noundef %209)
  store i32 %210, ptr %12, align 4, !tbaa !9
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %207
  br label %292

213:                                              ; preds = %207
  br label %214

214:                                              ; preds = %213
  br label %215

215:                                              ; preds = %214
  br label %216

216:                                              ; preds = %215
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %217, i32 0, i32 5
  %219 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef %14, ptr noundef %18, ptr noundef %218)
  store i32 %219, ptr %12, align 4, !tbaa !9
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %216
  br label %292

222:                                              ; preds = %216
  br label %223

223:                                              ; preds = %222
  br label %224

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224
  %226 = load ptr, ptr %7, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %226, i32 0, i32 6
  %228 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %18, ptr noundef %14, ptr noundef %227)
  store i32 %228, ptr %12, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %231

230:                                              ; preds = %225
  br label %292

231:                                              ; preds = %225
  br label %232

232:                                              ; preds = %231
  br label %233

233:                                              ; preds = %232
  br label %234

234:                                              ; preds = %233
  %235 = call i32 @mbedtls_mpi_add_mpi(ptr noundef %14, ptr noundef %19, ptr noundef %18)
  store i32 %235, ptr %12, align 4, !tbaa !9
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %238

237:                                              ; preds = %234
  br label %292

238:                                              ; preds = %234
  br label %239

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = icmp ne ptr %241, null
  br i1 %242, label %243, label %262

243:                                              ; preds = %240
  br label %244

244:                                              ; preds = %243
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %245, i32 0, i32 14
  %247 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef %14, ptr noundef %14, ptr noundef %246)
  store i32 %247, ptr %12, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %250

249:                                              ; preds = %244
  br label %292

250:                                              ; preds = %244
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251
  br label %253

253:                                              ; preds = %252
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %254, i32 0, i32 2
  %256 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef %14, ptr noundef %14, ptr noundef %255)
  store i32 %256, ptr %12, align 4, !tbaa !9
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %259

258:                                              ; preds = %253
  br label %292

259:                                              ; preds = %253
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261, %240
  br label %263

263:                                              ; preds = %262
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %264, i32 0, i32 3
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %266, i32 0, i32 2
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %268, i32 0, i32 10
  %270 = call i32 @mbedtls_mpi_exp_mod(ptr noundef %25, ptr noundef %14, ptr noundef %265, ptr noundef %267, ptr noundef %269)
  store i32 %270, ptr %12, align 4, !tbaa !9
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %273

272:                                              ; preds = %263
  br label %292

273:                                              ; preds = %263
  br label %274

274:                                              ; preds = %273
  br label %275

275:                                              ; preds = %274
  %276 = call i32 @mbedtls_mpi_cmp_mpi(ptr noundef %25, ptr noundef %24)
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %279

278:                                              ; preds = %275
  store i32 -17280, ptr %12, align 4, !tbaa !9
  br label %292

279:                                              ; preds = %275
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.mbedtls_rsa_context, ptr %280, i32 0, i32 1
  %282 = load i64, ptr %281, align 8, !tbaa !11
  store i64 %282, ptr %13, align 8, !tbaa !15
  br label %283

283:                                              ; preds = %279
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = load i64, ptr %13, align 8, !tbaa !15
  %286 = call i32 @mbedtls_mpi_write_binary(ptr noundef %14, ptr noundef %284, i64 noundef %285)
  store i32 %286, ptr %12, align 4, !tbaa !9
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %289

288:                                              ; preds = %283
  br label %292

289:                                              ; preds = %283
  br label %290

290:                                              ; preds = %289
  br label %291

291:                                              ; preds = %290
  br label %292

292:                                              ; preds = %291, %288, %278, %272, %258, %249, %237, %230, %221, %212, %203, %196, %184, %171, %162, %155, %146, %137, %130, %121, %112, %103, %94, %85, %72, %67, %59
  call void @mbedtls_mpi_free(ptr noundef %15)
  call void @mbedtls_mpi_free(ptr noundef %16)
  call void @mbedtls_mpi_free(ptr noundef %17)
  %293 = load ptr, ptr %8, align 8, !tbaa !5
  %294 = icmp ne ptr %293, null
  br i1 %294, label %295, label %296

295:                                              ; preds = %292
  call void @mbedtls_mpi_free(ptr noundef %20)
  call void @mbedtls_mpi_free(ptr noundef %21)
  br label %296

296:                                              ; preds = %295, %292
  call void @mbedtls_mpi_free(ptr noundef %14)
  call void @mbedtls_mpi_free(ptr noundef %18)
  call void @mbedtls_mpi_free(ptr noundef %19)
  call void @mbedtls_mpi_free(ptr noundef %25)
  call void @mbedtls_mpi_free(ptr noundef %24)
  %297 = load i32, ptr %12, align 4, !tbaa !9
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %299, label %302

299:                                              ; preds = %296
  %300 = load i32, ptr %12, align 4, !tbaa !9
  %301 = add nsw i32 -17152, %300
  store i32 %301, ptr %6, align 4
  store i32 1, ptr %26, align 4
  br label %303

302:                                              ; preds = %296
  store i32 0, ptr %6, align 4
  store i32 1, ptr %26, align 4
  br label %303

303:                                              ; preds = %302, %299, %46
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #3
  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 24, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  %304 = load i32, ptr %6, align 4
  ret i32 %304
}

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

declare i32 @mbedtls_mpi_mod_mpi(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @mbedtls_mpi_fill_random(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare i32 @mbedtls_mpi_add_mpi(ptr noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !13, i64 8}
!12 = !{!"mbedtls_rsa_context", !10, i64 0, !13, i64 8, !14, i64 16, !14, i64 40, !14, i64 64, !14, i64 88, !14, i64 112, !14, i64 136, !14, i64 160, !14, i64 184, !14, i64 208, !14, i64 232, !14, i64 256, !14, i64 280, !14, i64 304, !10, i64 328, !10, i64 332}
!13 = !{!"long", !7, i64 0}
!14 = !{!"mbedtls_mpi", !10, i64 0, !13, i64 8, !6, i64 16}
!15 = !{!13, !13, 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"

%struct.mbedtls_mpi = type { i32, i64, ptr }

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

declare i32 @mbedtls_mpi_copy(ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @mbedtls_mpi_read_binary(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_mul_mpi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @mbedtls_mpi_write_binary(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @mbedtls_mpi_init(ptr noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_sub_mpi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_sub_int(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @mbedtls_mpi_free(ptr noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_cmp_mpi(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_exp_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -2147483648, 2147466496) i32 @mbedtls_rsa_private(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = alloca %struct.mbedtls_mpi, align 8
  %7 = alloca %struct.mbedtls_mpi, align 8
  %8 = alloca %struct.mbedtls_mpi, align 8
  %9 = alloca %struct.mbedtls_mpi, align 8
  %10 = alloca %struct.mbedtls_mpi, align 8
  %11 = alloca %struct.mbedtls_mpi, align 8
  %12 = alloca %struct.mbedtls_mpi, align 8
  %13 = alloca %struct.mbedtls_mpi, align 8
  %14 = alloca %struct.mbedtls_mpi, align 8
  %15 = alloca %struct.mbedtls_mpi, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #3
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  %17 = getelementptr inbounds i8, ptr %0, i64 160
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #3
  %18 = icmp ne ptr %1, null
  %19 = zext i1 %18 to i32
  %20 = tail call i32 @rsa_check_context(ptr noundef %0, i32 noundef 1, i32 noundef %19)
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %21, label %97

21:                                               ; preds = %5
  call void @mbedtls_mpi_init(ptr noundef nonnull %6) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %7) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %8) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %9) #3
  br i1 %18, label %22, label %23

22:                                               ; preds = %21
  call void @mbedtls_mpi_init(ptr noundef nonnull %12) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %13) #3
  br label %23

23:                                               ; preds = %22, %21
  call void @mbedtls_mpi_init(ptr noundef nonnull %10) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %11) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %14) #3
  call void @mbedtls_mpi_init(ptr noundef nonnull %15) #3
  %24 = getelementptr inbounds i8, ptr %0, i64 8
  %25 = load i64, ptr %24, align 8, !tbaa !5
  %26 = call i32 @mbedtls_mpi_read_binary(ptr noundef nonnull %6, ptr noundef %3, i64 noundef %25) #3
  %.not70 = icmp eq i32 %26, 0
  br i1 %.not70, label %27, label %93

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = call i32 @mbedtls_mpi_cmp_mpi(ptr noundef nonnull %6, ptr noundef nonnull %28) #3
  %30 = icmp sgt i32 %29, -1
  br i1 %30, label %93, label %31

31:                                               ; preds = %27
  %32 = call i32 @mbedtls_mpi_copy(ptr noundef nonnull %14, ptr noundef nonnull %6) #3
  %.not71 = icmp eq i32 %32, 0
  br i1 %.not71, label %33, label %93

33:                                               ; preds = %31
  br i1 %18, label %34, label %59

34:                                               ; preds = %33
  %35 = call i32 @rsa_prepare_blinding(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2)
  %.not72 = icmp eq i32 %35, 0
  br i1 %.not72, label %36, label %93

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %0, i64 280
  %38 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %37) #3
  %.not73 = icmp eq i32 %38, 0
  br i1 %.not73, label %39, label %93

39:                                               ; preds = %36
  %40 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %28) #3
  %.not74 = icmp eq i32 %40, 0
  br i1 %.not74, label %41, label %93

41:                                               ; preds = %39
  %42 = getelementptr inbounds i8, ptr %0, i64 88
  %43 = call i32 @mbedtls_mpi_sub_int(ptr noundef nonnull %7, ptr noundef nonnull %42, i64 noundef 1) #3
  %.not75 = icmp eq i32 %43, 0
  br i1 %.not75, label %44, label %93

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %0, i64 112
  %46 = call i32 @mbedtls_mpi_sub_int(ptr noundef nonnull %8, ptr noundef nonnull %45, i64 noundef 1) #3
  %.not76 = icmp eq i32 %46, 0
  br i1 %.not76, label %47, label %93

47:                                               ; preds = %44
  %48 = call i32 @mbedtls_mpi_fill_random(ptr noundef nonnull %9, i64 noundef 28, ptr noundef nonnull %1, ptr noundef %2) #3
  %.not77 = icmp eq i32 %48, 0
  br i1 %.not77, label %49, label %93

49:                                               ; preds = %47
  %50 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %12, ptr noundef nonnull %7, ptr noundef nonnull %9) #3
  %.not78 = icmp eq i32 %50, 0
  br i1 %.not78, label %51, label %93

51:                                               ; preds = %49
  %52 = call i32 @mbedtls_mpi_add_mpi(ptr noundef nonnull %12, ptr noundef nonnull %12, ptr noundef nonnull %16) #3
  %.not79 = icmp eq i32 %52, 0
  br i1 %.not79, label %53, label %93

53:                                               ; preds = %51
  %54 = call i32 @mbedtls_mpi_fill_random(ptr noundef nonnull %9, i64 noundef 28, ptr noundef nonnull %1, ptr noundef %2) #3
  %.not80 = icmp eq i32 %54, 0
  br i1 %.not80, label %55, label %93

55:                                               ; preds = %53
  %56 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %13, ptr noundef nonnull %8, ptr noundef nonnull %9) #3
  %.not81 = icmp eq i32 %56, 0
  br i1 %.not81, label %57, label %93

57:                                               ; preds = %55
  %58 = call i32 @mbedtls_mpi_add_mpi(ptr noundef nonnull %13, ptr noundef nonnull %13, ptr noundef nonnull %17) #3
  %.not82 = icmp eq i32 %58, 0
  br i1 %.not82, label %59, label %93

59:                                               ; preds = %57, %33
  %.043 = phi ptr [ %16, %33 ], [ %12, %57 ]
  %.0 = phi ptr [ %17, %33 ], [ %13, %57 ]
  %60 = getelementptr inbounds i8, ptr %0, i64 88
  %61 = getelementptr inbounds i8, ptr %0, i64 232
  %62 = call i32 @mbedtls_mpi_exp_mod(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %.043, ptr noundef nonnull %60, ptr noundef nonnull %61) #3
  %.not83 = icmp eq i32 %62, 0
  br i1 %.not83, label %63, label %93

63:                                               ; preds = %59
  %64 = getelementptr inbounds i8, ptr %0, i64 112
  %65 = getelementptr inbounds i8, ptr %0, i64 256
  %66 = call i32 @mbedtls_mpi_exp_mod(ptr noundef nonnull %11, ptr noundef nonnull %6, ptr noundef nonnull %.0, ptr noundef nonnull %64, ptr noundef nonnull %65) #3
  %.not84 = icmp eq i32 %66, 0
  br i1 %.not84, label %67, label %93

67:                                               ; preds = %63
  %68 = call i32 @mbedtls_mpi_sub_mpi(ptr noundef nonnull %6, ptr noundef nonnull %10, ptr noundef nonnull %11) #3
  %.not85 = icmp eq i32 %68, 0
  br i1 %.not85, label %69, label %93

69:                                               ; preds = %67
  %70 = getelementptr inbounds i8, ptr %0, i64 184
  %71 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %70) #3
  %.not86 = icmp eq i32 %71, 0
  br i1 %.not86, label %72, label %93

72:                                               ; preds = %69
  %73 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef nonnull %6, ptr noundef nonnull %10, ptr noundef nonnull %60) #3
  %.not87 = icmp eq i32 %73, 0
  br i1 %.not87, label %74, label %93

74:                                               ; preds = %72
  %75 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %64) #3
  %.not88 = icmp eq i32 %75, 0
  br i1 %.not88, label %76, label %93

76:                                               ; preds = %74
  %77 = call i32 @mbedtls_mpi_add_mpi(ptr noundef nonnull %6, ptr noundef nonnull %11, ptr noundef nonnull %10) #3
  %.not89 = icmp eq i32 %77, 0
  br i1 %.not89, label %78, label %93

78:                                               ; preds = %76
  br i1 %18, label %79, label %84

79:                                               ; preds = %78
  %80 = getelementptr inbounds i8, ptr %0, i64 304
  %81 = call i32 @mbedtls_mpi_mul_mpi(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %80) #3
  %.not90 = icmp eq i32 %81, 0
  br i1 %.not90, label %82, label %93

82:                                               ; preds = %79
  %83 = call i32 @mbedtls_mpi_mod_mpi(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %28) #3
  %.not91 = icmp eq i32 %83, 0
  br i1 %.not91, label %84, label %93

84:                                               ; preds = %78, %82
  %85 = getelementptr inbounds i8, ptr %0, i64 40
  %86 = getelementptr inbounds i8, ptr %0, i64 208
  %87 = call i32 @mbedtls_mpi_exp_mod(ptr noundef nonnull %15, ptr noundef nonnull %6, ptr noundef nonnull %85, ptr noundef nonnull %28, ptr noundef nonnull %86) #3
  %.not92 = icmp eq i32 %87, 0
  br i1 %.not92, label %88, label %93

88:                                               ; preds = %84
  %89 = call i32 @mbedtls_mpi_cmp_mpi(ptr noundef nonnull %15, ptr noundef nonnull %14) #3
  %.not93 = icmp eq i32 %89, 0
  br i1 %.not93, label %90, label %93

90:                                               ; preds = %88
  %91 = load i64, ptr %24, align 8, !tbaa !5
  %92 = call i32 @mbedtls_mpi_write_binary(ptr noundef nonnull %6, ptr noundef %4, i64 noundef %91) #3
  br label %93

93:                                               ; preds = %88, %27, %90, %84, %82, %79, %76, %74, %72, %69, %67, %63, %59, %57, %55, %53, %51, %49, %47, %44, %41, %39, %36, %34, %31, %23
  %.045 = phi i32 [ %26, %23 ], [ %32, %31 ], [ %35, %34 ], [ %38, %36 ], [ %40, %39 ], [ %43, %41 ], [ %46, %44 ], [ %48, %47 ], [ %50, %49 ], [ %52, %51 ], [ %54, %53 ], [ %56, %55 ], [ %58, %57 ], [ %62, %59 ], [ %66, %63 ], [ %68, %67 ], [ %71, %69 ], [ %73, %72 ], [ %75, %74 ], [ %77, %76 ], [ %81, %79 ], [ %83, %82 ], [ %87, %84 ], [ %92, %90 ], [ -4, %27 ], [ -17280, %88 ]
  call void @mbedtls_mpi_free(ptr noundef nonnull %7) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %8) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %9) #3
  br i1 %18, label %94, label %95

94:                                               ; preds = %93
  call void @mbedtls_mpi_free(ptr noundef nonnull %12) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %13) #3
  br label %95

95:                                               ; preds = %94, %93
  call void @mbedtls_mpi_free(ptr noundef nonnull %6) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %10) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %11) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %15) #3
  call void @mbedtls_mpi_free(ptr noundef nonnull %14) #3
  %.not94 = icmp eq i32 %.045, 0
  %96 = add nsw i32 %.045, -17152
  %spec.select = select i1 %.not94, i32 0, i32 %96
  br label %97

97:                                               ; preds = %95, %5
  %.044 = phi i32 [ -16512, %5 ], [ %spec.select, %95 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
  ret i32 %.044
}

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

declare i32 @mbedtls_mpi_mod_mpi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_fill_random(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @mbedtls_mpi_add_mpi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !10, i64 8}
!6 = !{!"mbedtls_rsa_context", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 40, !11, i64 64, !11, i64 88, !11, i64 112, !11, i64 136, !11, i64 160, !11, i64 184, !11, i64 208, !11, i64 232, !11, i64 256, !11, i64 280, !11, i64 304, !7, i64 328, !7, i64 332}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"mbedtls_mpi", !7, i64 0, !10, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}


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