; LLVM IR from intel/cryptography-primitives :: sources/ippcp/gfpec (pcpgfpecverifynr)

; 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._cpGFpECPoint = type { i32, i32, i32, ptr }
%struct._cpGFpEC = type { i32, i32, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._cpGFp = type { i32, i32, ptr }
%struct._gsModEngine = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr, i32, i32, ptr }
%struct._cpBigNum = type { i32, i32, i32, i32, ptr, ptr }
%struct._gsModMethod = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

34:                                               ; preds = %7
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

35:                                               ; preds = %7
  %36 = load ptr, ptr %15, align 8, !tbaa !5
  %37 = icmp eq ptr null, %36
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

39:                                               ; preds = %35
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._cpGFpEC, ptr %40, i32 0, i32 0
  %42 = load i32, ptr %41, align 8, !tbaa !9
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = call i64 @IPP_UINT_PTR(ptr noundef %43)
  %45 = trunc i64 %44 to i32
  %46 = xor i32 %42, %45
  %47 = icmp eq i32 %46, 1129136461
  br i1 %47, label %49, label %48

48:                                               ; preds = %39
  store i32 -13, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

49:                                               ; preds = %39
  %50 = load ptr, ptr %14, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._cpGFpEC, ptr %50, i32 0, i32 3
  %52 = load i32, ptr %51, align 8, !tbaa !12
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %55, label %54

54:                                               ; preds = %49
  store i32 -13, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

55:                                               ; preds = %49
  %56 = load ptr, ptr %14, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._cpGFpEC, ptr %56, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  store ptr %58, ptr %16, align 8, !tbaa !5
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._cpGFp, ptr %59, i32 0, i32 2
  %61 = load ptr, ptr %60, align 8, !tbaa !14
  store ptr %61, ptr %17, align 8, !tbaa !5
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct._gsModEngine, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 8, !tbaa !16
  %65 = icmp slt i32 1, %64
  br i1 %65, label %66, label %67

66:                                               ; preds = %55
  store i32 -14, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

67:                                               ; preds = %55
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = icmp eq ptr null, %68
  br i1 %69, label %70, label %71

70:                                               ; preds = %67
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

71:                                               ; preds = %67
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._cpBigNum, ptr %72, i32 0, i32 0
  %74 = load i32, ptr %73, align 8, !tbaa !19
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = call i64 @IPP_UINT_PTR(ptr noundef %75)
  %77 = trunc i64 %76 to i32
  %78 = xor i32 %74, %77
  %79 = icmp eq i32 %78, 1112098638
  br i1 %79, label %81, label %80

80:                                               ; preds = %71
  store i32 -13, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

81:                                               ; preds = %71
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct._cpBigNum, ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !21
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %81
  store i32 -1010, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

87:                                               ; preds = %81
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = icmp eq ptr null, %88
  br i1 %89, label %90, label %91

90:                                               ; preds = %87
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

91:                                               ; preds = %87
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._cpGFpECPoint, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 8, !tbaa !22
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = call i64 @IPP_UINT_PTR(ptr noundef %95)
  %97 = trunc i64 %96 to i32
  %98 = xor i32 %94, %97
  %99 = icmp eq i32 %98, 1129136462
  br i1 %99, label %101, label %100

100:                                              ; preds = %91
  store i32 -13, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

101:                                              ; preds = %91
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._cpGFpECPoint, ptr %102, i32 0, i32 2
  %104 = load i32, ptr %103, align 8, !tbaa !24
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._gsModEngine, ptr %105, i32 0, i32 3
  %107 = load i32, ptr %106, align 8, !tbaa !25
  %108 = icmp ne i32 %104, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %101
  store i32 -11, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

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

113:                                              ; preds = %110
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

114:                                              ; preds = %110
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = icmp eq ptr null, %115
  br i1 %116, label %117, label %118

117:                                              ; preds = %114
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

118:                                              ; preds = %114
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._cpBigNum, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 8, !tbaa !19
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = call i64 @IPP_UINT_PTR(ptr noundef %122)
  %124 = trunc i64 %123 to i32
  %125 = xor i32 %121, %124
  %126 = icmp eq i32 %125, 1112098638
  br i1 %126, label %128, label %127

127:                                              ; preds = %118
  store i32 -13, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

128:                                              ; preds = %118
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct._cpBigNum, ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 8, !tbaa !19
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = call i64 @IPP_UINT_PTR(ptr noundef %132)
  %134 = trunc i64 %133 to i32
  %135 = xor i32 %131, %134
  %136 = icmp eq i32 %135, 1112098638
  br i1 %136, label %138, label %137

137:                                              ; preds = %128
  store i32 -13, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

138:                                              ; preds = %128
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct._cpBigNum, ptr %139, i32 0, i32 1
  %141 = load i32, ptr %140, align 4, !tbaa !21
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %138
  store i32 -7, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

144:                                              ; preds = %138
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct._cpBigNum, ptr %145, i32 0, i32 1
  %147 = load i32, ptr %146, align 4, !tbaa !21
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %144
  store i32 -7, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

150:                                              ; preds = %144
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = icmp eq ptr null, %151
  br i1 %152, label %153, label %154

153:                                              ; preds = %150
  store i32 -8, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %399

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 17, ptr %19, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct._cpGFpEC, ptr %155, i32 0, i32 13
  %157 = load ptr, ptr %156, align 8, !tbaa !27
  store ptr %157, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %158 = load ptr, ptr %20, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct._gsModEngine, ptr %158, i32 0, i32 8
  %160 = load ptr, ptr %159, align 8, !tbaa !28
  store ptr %160, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %161 = load ptr, ptr %20, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._gsModEngine, ptr %161, i32 0, i32 3
  %163 = load i32, ptr %162, align 8, !tbaa !25
  store i32 %163, ptr %22, align 4, !tbaa !26
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct._cpBigNum, ptr %164, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !29
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct._cpBigNum, ptr %167, i32 0, i32 2
  %169 = load i32, ptr %168, align 8, !tbaa !30
  %170 = load ptr, ptr %21, align 8, !tbaa !5
  %171 = load i32, ptr %22, align 4, !tbaa !26
  %172 = call i32 @cpCmp_BNU(ptr noundef %166, i32 noundef %169, ptr noundef %170, i32 noundef %171)
  %173 = icmp sle i32 0, %172
  br i1 %173, label %174, label %175

174:                                              ; preds = %154
  store i32 -1010, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %398

175:                                              ; preds = %154
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct._cpBigNum, ptr %176, i32 0, i32 4
  %178 = load ptr, ptr %177, align 8, !tbaa !29
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct._cpBigNum, ptr %179, i32 0, i32 2
  %181 = load i32, ptr %180, align 8, !tbaa !30
  %182 = call i32 @cpEqu_BNU_CHUNK(ptr noundef %178, i32 noundef %181, i64 noundef 0)
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %395, label %184

184:                                              ; preds = %175
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct._cpBigNum, ptr %185, i32 0, i32 4
  %187 = load ptr, ptr %186, align 8, !tbaa !29
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct._cpBigNum, ptr %188, i32 0, i32 2
  %190 = load i32, ptr %189, align 8, !tbaa !30
  %191 = call i32 @cpEqu_BNU_CHUNK(ptr noundef %187, i32 noundef %190, i64 noundef 0)
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %395, label %193

193:                                              ; preds = %184
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct._cpBigNum, ptr %194, i32 0, i32 4
  %196 = load ptr, ptr %195, align 8, !tbaa !29
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct._cpBigNum, ptr %197, i32 0, i32 2
  %199 = load i32, ptr %198, align 8, !tbaa !30
  %200 = load ptr, ptr %21, align 8, !tbaa !5
  %201 = load i32, ptr %22, align 4, !tbaa !26
  %202 = call i32 @cpCmp_BNU(ptr noundef %196, i32 noundef %199, ptr noundef %200, i32 noundef %201)
  %203 = icmp sgt i32 0, %202
  br i1 %203, label %204, label %395

204:                                              ; preds = %193
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct._cpBigNum, ptr %205, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !29
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct._cpBigNum, ptr %208, i32 0, i32 2
  %210 = load i32, ptr %209, align 8, !tbaa !30
  %211 = load ptr, ptr %21, align 8, !tbaa !5
  %212 = load i32, ptr %22, align 4, !tbaa !26
  %213 = call i32 @cpCmp_BNU(ptr noundef %207, i32 noundef %210, ptr noundef %211, i32 noundef %212)
  %214 = icmp sgt i32 0, %213
  br i1 %214, label %215, label %395

215:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %216 = load ptr, ptr %17, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct._gsModEngine, ptr %216, i32 0, i32 3
  %218 = load i32, ptr %217, align 8, !tbaa !25
  store i32 %218, ptr %23, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %219 = load ptr, ptr %17, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct._gsModEngine, ptr %219, i32 0, i32 5
  %221 = load i32, ptr %220, align 8, !tbaa !31
  store i32 %221, ptr %24, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %222 = load ptr, ptr %17, align 8, !tbaa !5
  %223 = call ptr @gsModPoolAlloc(ptr noundef %222, i32 noundef 3)
  store ptr %223, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %224 = load ptr, ptr %25, align 8, !tbaa !5
  %225 = load i32, ptr %24, align 4, !tbaa !26
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds i64, ptr %224, i64 %226
  store ptr %227, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %228 = load ptr, ptr %26, align 8, !tbaa !5
  %229 = load i32, ptr %24, align 4, !tbaa !26
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds i64, ptr %228, i64 %230
  store ptr %231, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #4
  %232 = load ptr, ptr %14, align 8, !tbaa !5
  %233 = call ptr @cpEcGFpGetPool(i32 noundef 1, ptr noundef %232)
  %234 = load ptr, ptr %14, align 8, !tbaa !5
  %235 = call ptr @cpEcGFpInitPoint(ptr noundef %28, ptr noundef %233, i32 noundef 0, ptr noundef %234)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  store i32 0, ptr %29, align 4, !tbaa !26
  br label %236

236:                                              ; preds = %254, %215
  %237 = load i32, ptr %29, align 4, !tbaa !26
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct._cpBigNum, ptr %238, i32 0, i32 2
  %240 = load i32, ptr %239, align 8, !tbaa !30
  %241 = icmp slt i32 %237, %240
  br i1 %241, label %242, label %257

242:                                              ; preds = %236
  %243 = load ptr, ptr %12, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct._cpBigNum, ptr %243, i32 0, i32 4
  %245 = load ptr, ptr %244, align 8, !tbaa !29
  %246 = load i32, ptr %29, align 4, !tbaa !26
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds i64, ptr %245, i64 %247
  %249 = load i64, ptr %248, align 8, !tbaa !32
  %250 = load ptr, ptr %25, align 8, !tbaa !5
  %251 = load i32, ptr %29, align 4, !tbaa !26
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds i64, ptr %250, i64 %252
  store i64 %249, ptr %253, align 8, !tbaa !32
  br label %254

254:                                              ; preds = %242
  %255 = load i32, ptr %29, align 4, !tbaa !26
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %29, align 4, !tbaa !26
  br label %236, !llvm.loop !33

257:                                              ; preds = %236
  br label %258

258:                                              ; preds = %267, %257
  %259 = load i32, ptr %29, align 4, !tbaa !26
  %260 = load i32, ptr %22, align 4, !tbaa !26
  %261 = icmp slt i32 %259, %260
  br i1 %261, label %262, label %270

262:                                              ; preds = %258
  %263 = load ptr, ptr %25, align 8, !tbaa !5
  %264 = load i32, ptr %29, align 4, !tbaa !26
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds i64, ptr %263, i64 %265
  store i64 0, ptr %266, align 8, !tbaa !32
  br label %267

267:                                              ; preds = %262
  %268 = load i32, ptr %29, align 4, !tbaa !26
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %29, align 4, !tbaa !26
  br label %258, !llvm.loop !35

270:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  store i32 0, ptr %30, align 4, !tbaa !26
  br label %271

271:                                              ; preds = %289, %270
  %272 = load i32, ptr %30, align 4, !tbaa !26
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct._cpBigNum, ptr %273, i32 0, i32 2
  %275 = load i32, ptr %274, align 8, !tbaa !30
  %276 = icmp slt i32 %272, %275
  br i1 %276, label %277, label %292

277:                                              ; preds = %271
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct._cpBigNum, ptr %278, i32 0, i32 4
  %280 = load ptr, ptr %279, align 8, !tbaa !29
  %281 = load i32, ptr %30, align 4, !tbaa !26
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds i64, ptr %280, i64 %282
  %284 = load i64, ptr %283, align 8, !tbaa !32
  %285 = load ptr, ptr %26, align 8, !tbaa !5
  %286 = load i32, ptr %30, align 4, !tbaa !26
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds i64, ptr %285, i64 %287
  store i64 %284, ptr %288, align 8, !tbaa !32
  br label %289

289:                                              ; preds = %277
  %290 = load i32, ptr %30, align 4, !tbaa !26
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %30, align 4, !tbaa !26
  br label %271, !llvm.loop !36

292:                                              ; preds = %271
  br label %293

293:                                              ; preds = %302, %292
  %294 = load i32, ptr %30, align 4, !tbaa !26
  %295 = load i32, ptr %22, align 4, !tbaa !26
  %296 = icmp slt i32 %294, %295
  br i1 %296, label %297, label %305

297:                                              ; preds = %293
  %298 = load ptr, ptr %26, align 8, !tbaa !5
  %299 = load i32, ptr %30, align 4, !tbaa !26
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds i64, ptr %298, i64 %300
  store i64 0, ptr %301, align 8, !tbaa !32
  br label %302

302:                                              ; preds = %297
  %303 = load i32, ptr %30, align 4, !tbaa !26
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr %30, align 4, !tbaa !26
  br label %293, !llvm.loop !37

305:                                              ; preds = %293
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  %306 = load ptr, ptr %25, align 8, !tbaa !5
  %307 = load i32, ptr %22, align 4, !tbaa !26
  %308 = load ptr, ptr %10, align 8, !tbaa !5
  %309 = load ptr, ptr %26, align 8, !tbaa !5
  %310 = load i32, ptr %22, align 4, !tbaa !26
  %311 = load ptr, ptr %14, align 8, !tbaa !5
  %312 = load ptr, ptr %15, align 8, !tbaa !5
  %313 = call ptr @gfec_BasePointProduct(ptr noundef %28, ptr noundef %306, i32 noundef %307, ptr noundef %308, ptr noundef %309, i32 noundef %310, ptr noundef %311, ptr noundef %312)
  %314 = call i32 @gfec_IsPointAtInfinity(ptr noundef %28)
  %315 = icmp ne i32 %314, 0
  br i1 %315, label %392, label %316

316:                                              ; preds = %305
  %317 = load ptr, ptr %25, align 8, !tbaa !5
  %318 = load ptr, ptr %14, align 8, !tbaa !5
  %319 = call i32 @gfec_GetPoint(ptr noundef %317, ptr noundef null, ptr noundef %28, ptr noundef %318)
  %320 = load ptr, ptr %17, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct._gsModEngine, ptr %320, i32 0, i32 6
  %322 = load ptr, ptr %321, align 8, !tbaa !38
  %323 = getelementptr inbounds %struct._gsModMethod, ptr %322, i32 0, i32 1
  %324 = load ptr, ptr %323, align 8, !tbaa !39
  %325 = load ptr, ptr %25, align 8, !tbaa !5
  %326 = load ptr, ptr %25, align 8, !tbaa !5
  %327 = load ptr, ptr %17, align 8, !tbaa !5
  %328 = call ptr %324(ptr noundef %325, ptr noundef %326, ptr noundef %327)
  %329 = load ptr, ptr %25, align 8, !tbaa !5
  %330 = load i32, ptr %23, align 4, !tbaa !26
  %331 = load ptr, ptr %21, align 8, !tbaa !5
  %332 = load i32, ptr %22, align 4, !tbaa !26
  %333 = call i32 @cpMod_BNU(ptr noundef %329, i32 noundef %330, ptr noundef %331, i32 noundef %332)
  store i32 %333, ptr %23, align 4, !tbaa !26
  %334 = load ptr, ptr %25, align 8, !tbaa !5
  %335 = load i32, ptr %23, align 4, !tbaa !26
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds i64, ptr %334, i64 %336
  %338 = load i32, ptr %22, align 4, !tbaa !26
  %339 = load i32, ptr %23, align 4, !tbaa !26
  %340 = sub nsw i32 %338, %339
  %341 = call ptr @cpGFpElementPad(ptr noundef %337, i32 noundef %340, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  store i32 0, ptr %31, align 4, !tbaa !26
  br label %342

342:                                              ; preds = %360, %316
  %343 = load i32, ptr %31, align 4, !tbaa !26
  %344 = load ptr, ptr %9, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct._cpBigNum, ptr %344, i32 0, i32 2
  %346 = load i32, ptr %345, align 8, !tbaa !30
  %347 = icmp slt i32 %343, %346
  br i1 %347, label %348, label %363

348:                                              ; preds = %342
  %349 = load ptr, ptr %9, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct._cpBigNum, ptr %349, i32 0, i32 4
  %351 = load ptr, ptr %350, align 8, !tbaa !29
  %352 = load i32, ptr %31, align 4, !tbaa !26
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds i64, ptr %351, i64 %353
  %355 = load i64, ptr %354, align 8, !tbaa !32
  %356 = load ptr, ptr %27, align 8, !tbaa !5
  %357 = load i32, ptr %31, align 4, !tbaa !26
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds i64, ptr %356, i64 %358
  store i64 %355, ptr %359, align 8, !tbaa !32
  br label %360

360:                                              ; preds = %348
  %361 = load i32, ptr %31, align 4, !tbaa !26
  %362 = add nsw i32 %361, 1
  store i32 %362, ptr %31, align 4, !tbaa !26
  br label %342, !llvm.loop !41

363:                                              ; preds = %342
  br label %364

364:                                              ; preds = %373, %363
  %365 = load i32, ptr %31, align 4, !tbaa !26
  %366 = load i32, ptr %22, align 4, !tbaa !26
  %367 = icmp slt i32 %365, %366
  br i1 %367, label %368, label %376

368:                                              ; preds = %364
  %369 = load ptr, ptr %27, align 8, !tbaa !5
  %370 = load i32, ptr %31, align 4, !tbaa !26
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds i64, ptr %369, i64 %371
  store i64 0, ptr %372, align 8, !tbaa !32
  br label %373

373:                                              ; preds = %368
  %374 = load i32, ptr %31, align 4, !tbaa !26
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %31, align 4, !tbaa !26
  br label %364, !llvm.loop !42

376:                                              ; preds = %364
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  %377 = load ptr, ptr %25, align 8, !tbaa !5
  %378 = load ptr, ptr %26, align 8, !tbaa !5
  %379 = load ptr, ptr %25, align 8, !tbaa !5
  %380 = load ptr, ptr %21, align 8, !tbaa !5
  %381 = load i32, ptr %22, align 4, !tbaa !26
  %382 = load ptr, ptr %26, align 8, !tbaa !5
  %383 = call ptr @cpModSub_BNU(ptr noundef %377, ptr noundef %378, ptr noundef %379, ptr noundef %380, i32 noundef %381, ptr noundef %382)
  %384 = load ptr, ptr %27, align 8, !tbaa !5
  %385 = load i32, ptr %22, align 4, !tbaa !26
  %386 = load ptr, ptr %25, align 8, !tbaa !5
  %387 = load i32, ptr %22, align 4, !tbaa !26
  %388 = call i32 @cpCmp_BNU(ptr noundef %384, i32 noundef %385, ptr noundef %386, i32 noundef %387)
  %389 = icmp eq i32 0, %388
  br i1 %389, label %390, label %391

390:                                              ; preds = %376
  store i32 0, ptr %19, align 4, !tbaa !26
  br label %391

391:                                              ; preds = %390, %376
  br label %392

392:                                              ; preds = %391, %305
  %393 = load ptr, ptr %14, align 8, !tbaa !5
  call void @cpEcGFpReleasePool(i32 noundef 1, ptr noundef %393)
  %394 = load ptr, ptr %17, align 8, !tbaa !5
  call void @gsModPoolFree(ptr noundef %394, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %395

395:                                              ; preds = %392, %204, %193, %184, %175
  %396 = load i32, ptr %19, align 4, !tbaa !26
  %397 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 %396, ptr %397, align 4, !tbaa !26
  store i32 0, ptr %8, align 4
  store i32 1, ptr %18, align 4
  br label %398

398:                                              ; preds = %395, %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %399

399:                                              ; preds = %398, %153, %149, %143, %137, %127, %117, %113, %109, %100, %90, %86, %80, %70, %66, %54, %48, %38, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  %400 = load i32, ptr %8, align 4
  ret i32 %400
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @IPP_UINT_PTR(ptr noundef) #2

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpEcGFpGetPool(i32 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

declare ptr @gfec_BasePointProduct(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3

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

declare i32 @gfec_GetPoint(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

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

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

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

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 = { inlinehint 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 = { "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, !11, i64 0}
!10 = !{!"_cpGFpEC", !11, i64 0, !11, i64 4, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !11, i64 68, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !6, i64 8}
!15 = !{!"_cpGFp", !11, i64 0, !11, i64 4, !6, i64 8}
!16 = !{!17, !11, i64 8}
!17 = !{!"_gsModEngine", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !6, i64 104}
!18 = !{!"long long", !7, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"_cpBigNum", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24}
!21 = !{!20, !11, i64 4}
!22 = !{!23, !11, i64 0}
!23 = !{!"_cpGFpECPoint", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16}
!24 = !{!23, !11, i64 8}
!25 = !{!17, !11, i64 16}
!26 = !{!11, !11, i64 0}
!27 = !{!10, !6, i64 80}
!28 = !{!17, !6, i64 48}
!29 = !{!20, !6, i64 16}
!30 = !{!20, !11, i64 8}
!31 = !{!17, !11, i64 24}
!32 = !{!18, !18, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = distinct !{!36, !34}
!37 = distinct !{!37, !34}
!38 = !{!17, !6, i64 32}
!39 = !{!40, !6, i64 8}
!40 = !{!"_gsModMethod", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80}
!41 = distinct !{!41, !34}
!42 = distinct !{!42, !34}


; 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._cpGFpECPoint = type { i32, i32, i32, ptr }

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1010, 1) i32 @ippsGFpECVerifyNR(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef writeonly %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
  %8 = alloca %struct._cpGFpECPoint, align 8
  %9 = icmp eq ptr %5, null
  %10 = icmp eq ptr %6, null
  %or.cond = or i1 %9, %10
  br i1 %or.cond, label %255, label %11

11:                                               ; preds = %7
  %12 = load i32, ptr %5, align 8, !tbaa !5
  %13 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %5)
  %14 = trunc i64 %13 to i32
  %15 = xor i32 %12, %14
  %16 = icmp eq i32 %15, 1129136461
  br i1 %16, label %17, label %255

17:                                               ; preds = %11
  %18 = getelementptr inbounds i8, ptr %5, i64 16
  %19 = load i32, ptr %18, align 8, !tbaa !11
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %255, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %5, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !12
  %23 = getelementptr inbounds i8, ptr %22, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  %25 = getelementptr inbounds i8, ptr %24, i64 8
  %26 = load i32, ptr %25, align 8, !tbaa !15
  %27 = icmp sgt i32 %26, 1
  br i1 %27, label %255, label %28

28:                                               ; preds = %20
  %29 = icmp eq ptr %0, null
  br i1 %29, label %255, label %30

30:                                               ; preds = %28
  %31 = load i32, ptr %0, align 8, !tbaa !18
  %32 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %0)
  %33 = trunc i64 %32 to i32
  %34 = xor i32 %31, %33
  %35 = icmp eq i32 %34, 1112098638
  br i1 %35, label %36, label %255

36:                                               ; preds = %30
  %37 = getelementptr inbounds i8, ptr %0, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !20
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %255, label %40

40:                                               ; preds = %36
  %41 = icmp eq ptr %1, null
  br i1 %41, label %255, label %42

42:                                               ; preds = %40
  %43 = load i32, ptr %1, align 8, !tbaa !21
  %44 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %1)
  %45 = trunc i64 %44 to i32
  %46 = xor i32 %43, %45
  %47 = icmp eq i32 %46, 1129136462
  br i1 %47, label %48, label %255

48:                                               ; preds = %42
  %49 = getelementptr inbounds i8, ptr %1, i64 8
  %50 = load i32, ptr %49, align 8, !tbaa !23
  %51 = getelementptr inbounds i8, ptr %24, i64 16
  %52 = load i32, ptr %51, align 8, !tbaa !24
  %.not141 = icmp eq i32 %50, %52
  br i1 %.not141, label %53, label %255

53:                                               ; preds = %48
  %54 = icmp eq ptr %2, null
  %55 = icmp eq ptr %3, null
  %or.cond145 = or i1 %54, %55
  br i1 %or.cond145, label %255, label %56

56:                                               ; preds = %53
  %57 = load i32, ptr %2, align 8, !tbaa !18
  %58 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %2)
  %59 = trunc i64 %58 to i32
  %60 = xor i32 %57, %59
  %61 = icmp eq i32 %60, 1112098638
  br i1 %61, label %62, label %255

62:                                               ; preds = %56
  %63 = load i32, ptr %3, align 8, !tbaa !18
  %64 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %3)
  %65 = trunc i64 %64 to i32
  %66 = xor i32 %63, %65
  %67 = icmp eq i32 %66, 1112098638
  br i1 %67, label %68, label %255

68:                                               ; preds = %62
  %69 = getelementptr inbounds i8, ptr %2, i64 4
  %70 = load i32, ptr %69, align 4, !tbaa !20
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %255, label %72

72:                                               ; preds = %68
  %73 = getelementptr inbounds i8, ptr %3, i64 4
  %74 = load i32, ptr %73, align 4, !tbaa !20
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %255, label %76

76:                                               ; preds = %72
  %77 = icmp eq ptr %4, null
  br i1 %77, label %255, label %78

78:                                               ; preds = %76
  %79 = getelementptr inbounds i8, ptr %5, i64 80
  %80 = load ptr, ptr %79, align 8, !tbaa !25
  %81 = getelementptr inbounds i8, ptr %80, i64 48
  %82 = load ptr, ptr %81, align 8, !tbaa !26
  %83 = getelementptr inbounds i8, ptr %80, i64 16
  %84 = load i32, ptr %83, align 8, !tbaa !24
  %85 = getelementptr inbounds i8, ptr %0, i64 16
  %86 = load ptr, ptr %85, align 8, !tbaa !27
  %87 = getelementptr inbounds i8, ptr %0, i64 8
  %88 = load i32, ptr %87, align 8, !tbaa !28
  %89 = tail call i32 @cpCmp_BNU(ptr noundef %86, i32 noundef %88, ptr noundef %82, i32 noundef %84)
  %90 = icmp sgt i32 %89, -1
  br i1 %90, label %255, label %91

91:                                               ; preds = %78
  %92 = getelementptr inbounds i8, ptr %2, i64 16
  %93 = load ptr, ptr %92, align 8, !tbaa !27
  %94 = getelementptr inbounds i8, ptr %2, i64 8
  %95 = load i32, ptr %94, align 8, !tbaa !28
  %96 = tail call i32 @cpEqu_BNU_CHUNK(ptr noundef %93, i32 noundef %95, i64 noundef 0)
  %.not142 = icmp eq i32 %96, 0
  br i1 %.not142, label %97, label %254

97:                                               ; preds = %91
  %98 = getelementptr inbounds i8, ptr %3, i64 16
  %99 = load ptr, ptr %98, align 8, !tbaa !27
  %100 = getelementptr inbounds i8, ptr %3, i64 8
  %101 = load i32, ptr %100, align 8, !tbaa !28
  %102 = tail call i32 @cpEqu_BNU_CHUNK(ptr noundef %99, i32 noundef %101, i64 noundef 0)
  %.not143 = icmp eq i32 %102, 0
  br i1 %.not143, label %103, label %254

103:                                              ; preds = %97
  %104 = load ptr, ptr %92, align 8, !tbaa !27
  %105 = load i32, ptr %94, align 8, !tbaa !28
  %106 = tail call i32 @cpCmp_BNU(ptr noundef %104, i32 noundef %105, ptr noundef %82, i32 noundef %84)
  %107 = icmp slt i32 %106, 0
  br i1 %107, label %108, label %254

108:                                              ; preds = %103
  %109 = load ptr, ptr %98, align 8, !tbaa !27
  %110 = load i32, ptr %100, align 8, !tbaa !28
  %111 = tail call i32 @cpCmp_BNU(ptr noundef %109, i32 noundef %110, ptr noundef %82, i32 noundef %84)
  %112 = icmp slt i32 %111, 0
  br i1 %112, label %113, label %254

113:                                              ; preds = %108
  %114 = load i32, ptr %51, align 8, !tbaa !24
  %115 = getelementptr inbounds i8, ptr %24, i64 24
  %116 = load i32, ptr %115, align 8, !tbaa !29
  %117 = tail call ptr @gsModPoolAlloc(ptr noundef nonnull %24, i32 noundef 3)
  %118 = ptrtoint ptr %117 to i64
  %119 = sext i32 %116 to i64
  %120 = getelementptr i64, ptr %117, i64 %119
  %121 = getelementptr i64, ptr %120, i64 %119
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  %122 = tail call ptr @cpEcGFpGetPool(i32 noundef 1, ptr noundef nonnull %5)
  %123 = call ptr @cpEcGFpInitPoint(ptr noundef nonnull %8, ptr noundef %122, i32 noundef 0, ptr noundef nonnull %5)
  %124 = load i32, ptr %100, align 8, !tbaa !28
  %125 = icmp sgt i32 %124, 0
  br i1 %125, label %.lr.ph, label %.preheader148

.lr.ph:                                           ; preds = %113
  %126 = load ptr, ptr %98, align 8, !tbaa !27
  %wide.trip.count = zext nneg i32 %124 to i64
  %min.iters.check = icmp ult i32 %124, 6
  %127 = ptrtoint ptr %126 to i64
  %128 = sub i64 %118, %127
  %diff.check = icmp ult i64 %128, 32
  %or.cond220 = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond220, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %129 = getelementptr inbounds i64, ptr %126, i64 %indvars.iv.prol
  %130 = load i64, ptr %129, align 8, !tbaa !30
  %131 = getelementptr inbounds i64, ptr %117, i64 %indvars.iv.prol
  store i64 %130, ptr %131, align 8, !tbaa !30
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !31

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %132 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %133 = icmp ugt i64 %132, -4
  br i1 %133, label %.preheader148, label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %134 = getelementptr inbounds i64, ptr %126, i64 %index
  %135 = getelementptr inbounds i8, ptr %134, i64 16
  %wide.load = load <2 x i64>, ptr %134, align 8, !tbaa !30
  %wide.load188 = load <2 x i64>, ptr %135, align 8, !tbaa !30
  %136 = getelementptr inbounds i64, ptr %117, i64 %index
  %137 = getelementptr inbounds i8, ptr %136, i64 16
  store <2 x i64> %wide.load, ptr %136, align 8, !tbaa !30
  store <2 x i64> %wide.load188, ptr %137, align 8, !tbaa !30
  %index.next = add nuw i64 %index, 4
  %138 = icmp eq i64 %index.next, %n.vec
  br i1 %138, label %middle.block, label %vector.body, !llvm.loop !33

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader148, label %scalar.ph.preheader

.preheader148:                                    ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %113
  %.0127.lcssa = phi i32 [ 0, %113 ], [ %124, %middle.block ], [ %124, %scalar.ph ], [ %124, %scalar.ph.prol.loopexit ]
  %139 = icmp slt i32 %.0127.lcssa, %84
  br i1 %139, label %.lr.ph151.preheader, label %.preheader147

.lr.ph151.preheader:                              ; preds = %.preheader148
  %140 = zext nneg i32 %.0127.lcssa to i64
  %141 = shl nuw nsw i64 %140, 3
  %scevgep = getelementptr i8, ptr %117, i64 %141
  %142 = xor i32 %.0127.lcssa, -1
  %143 = add i32 %84, %142
  %144 = zext i32 %143 to i64
  %145 = shl nuw nsw i64 %144, 3
  %146 = add nuw nsw i64 %145, 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep, i8 0, i64 %146, i1 false), !tbaa !30
  br label %.preheader147

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %147 = getelementptr inbounds i64, ptr %126, i64 %indvars.iv
  %148 = load i64, ptr %147, align 8, !tbaa !30
  %149 = getelementptr inbounds i64, ptr %117, i64 %indvars.iv
  store i64 %148, ptr %149, align 8, !tbaa !30
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %150 = getelementptr inbounds i64, ptr %126, i64 %indvars.iv.next
  %151 = load i64, ptr %150, align 8, !tbaa !30
  %152 = getelementptr inbounds i64, ptr %117, i64 %indvars.iv.next
  store i64 %151, ptr %152, align 8, !tbaa !30
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %153 = getelementptr inbounds i64, ptr %126, i64 %indvars.iv.next.1
  %154 = load i64, ptr %153, align 8, !tbaa !30
  %155 = getelementptr inbounds i64, ptr %117, i64 %indvars.iv.next.1
  store i64 %154, ptr %155, align 8, !tbaa !30
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %156 = getelementptr inbounds i64, ptr %126, i64 %indvars.iv.next.2
  %157 = load i64, ptr %156, align 8, !tbaa !30
  %158 = getelementptr inbounds i64, ptr %117, i64 %indvars.iv.next.2
  store i64 %157, ptr %158, align 8, !tbaa !30
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.preheader148, label %scalar.ph, !llvm.loop !37

.preheader147:                                    ; preds = %.lr.ph151.preheader, %.preheader148
  %159 = load i32, ptr %94, align 8, !tbaa !28
  %160 = icmp sgt i32 %159, 0
  br i1 %160, label %.lr.ph153, label %.preheader146

.lr.ph153:                                        ; preds = %.preheader147
  %161 = load ptr, ptr %92, align 8, !tbaa !27
  %wide.trip.count173 = zext nneg i32 %159 to i64
  %min.iters.check193 = icmp ult i32 %159, 10
  br i1 %min.iters.check193, label %scalar.ph192.preheader, label %vector.memcheck189

scalar.ph192.preheader:                           ; preds = %middle.block191, %vector.memcheck189, %.lr.ph153
  %indvars.iv170.ph = phi i64 [ 0, %vector.memcheck189 ], [ 0, %.lr.ph153 ], [ %n.vec196, %middle.block191 ]
  %xtraiter221 = and i64 %wide.trip.count173, 3
  %lcmp.mod222.not = icmp eq i64 %xtraiter221, 0
  br i1 %lcmp.mod222.not, label %scalar.ph192.prol.loopexit, label %scalar.ph192.prol

scalar.ph192.prol:                                ; preds = %scalar.ph192.preheader, %scalar.ph192.prol
  %indvars.iv170.prol = phi i64 [ %indvars.iv.next171.prol, %scalar.ph192.prol ], [ %indvars.iv170.ph, %scalar.ph192.preheader ]
  %prol.iter223 = phi i64 [ %prol.iter223.next, %scalar.ph192.prol ], [ 0, %scalar.ph192.preheader ]
  %162 = getelementptr inbounds i64, ptr %161, i64 %indvars.iv170.prol
  %163 = load i64, ptr %162, align 8, !tbaa !30
  %164 = getelementptr inbounds i64, ptr %120, i64 %indvars.iv170.prol
  store i64 %163, ptr %164, align 8, !tbaa !30
  %indvars.iv.next171.prol = add nuw nsw i64 %indvars.iv170.prol, 1
  %prol.iter223.next = add i64 %prol.iter223, 1
  %prol.iter223.cmp.not = icmp eq i64 %prol.iter223.next, %xtraiter221
  br i1 %prol.iter223.cmp.not, label %scalar.ph192.prol.loopexit, label %scalar.ph192.prol, !llvm.loop !38

scalar.ph192.prol.loopexit:                       ; preds = %scalar.ph192.prol, %scalar.ph192.preheader
  %indvars.iv170.unr = phi i64 [ %indvars.iv170.ph, %scalar.ph192.preheader ], [ %indvars.iv.next171.prol, %scalar.ph192.prol ]
  %165 = sub nsw i64 %indvars.iv170.ph, %wide.trip.count173
  %166 = icmp ugt i64 %165, -4
  br i1 %166, label %.preheader146, label %scalar.ph192

vector.memcheck189:                               ; preds = %.lr.ph153
  %167 = ptrtoint ptr %161 to i64
  %168 = shl nsw i64 %119, 3
  %169 = add i64 %168, %118
  %170 = sub i64 %169, %167
  %diff.check190 = icmp ult i64 %170, 32
  br i1 %diff.check190, label %scalar.ph192.preheader, label %vector.ph194

vector.ph194:                                     ; preds = %vector.memcheck189
  %n.vec196 = and i64 %wide.trip.count173, 2147483644
  br label %vector.body198

vector.body198:                                   ; preds = %vector.body198, %vector.ph194
  %index199 = phi i64 [ 0, %vector.ph194 ], [ %index.next202, %vector.body198 ]
  %171 = getelementptr inbounds i64, ptr %161, i64 %index199
  %172 = getelementptr inbounds i8, ptr %171, i64 16
  %wide.load200 = load <2 x i64>, ptr %171, align 8, !tbaa !30
  %wide.load201 = load <2 x i64>, ptr %172, align 8, !tbaa !30
  %173 = getelementptr inbounds i64, ptr %120, i64 %index199
  %174 = getelementptr inbounds i8, ptr %173, i64 16
  store <2 x i64> %wide.load200, ptr %173, align 8, !tbaa !30
  store <2 x i64> %wide.load201, ptr %174, align 8, !tbaa !30
  %index.next202 = add nuw i64 %index199, 4
  %175 = icmp eq i64 %index.next202, %n.vec196
  br i1 %175, label %middle.block191, label %vector.body198, !llvm.loop !39

middle.block191:                                  ; preds = %vector.body198
  %cmp.n203 = icmp eq i64 %n.vec196, %wide.trip.count173
  br i1 %cmp.n203, label %.preheader146, label %scalar.ph192.preheader

.preheader146:                                    ; preds = %scalar.ph192.prol.loopexit, %scalar.ph192, %middle.block191, %.preheader147
  %.0125.lcssa = phi i32 [ 0, %.preheader147 ], [ %159, %middle.block191 ], [ %159, %scalar.ph192 ], [ %159, %scalar.ph192.prol.loopexit ]
  %176 = icmp slt i32 %.0125.lcssa, %84
  br i1 %176, label %.lr.ph156.preheader, label %._crit_edge

.lr.ph156.preheader:                              ; preds = %.preheader146
  %177 = zext nneg i32 %.0125.lcssa to i64
  %178 = add nsw i64 %119, %177
  %179 = shl nsw i64 %178, 3
  %scevgep175 = getelementptr i8, ptr %117, i64 %179
  %180 = xor i32 %.0125.lcssa, -1
  %181 = add i32 %84, %180
  %182 = zext i32 %181 to i64
  %183 = shl nuw nsw i64 %182, 3
  %184 = add nuw nsw i64 %183, 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep175, i8 0, i64 %184, i1 false), !tbaa !30
  br label %._crit_edge

scalar.ph192:                                     ; preds = %scalar.ph192.prol.loopexit, %scalar.ph192
  %indvars.iv170 = phi i64 [ %indvars.iv.next171.3, %scalar.ph192 ], [ %indvars.iv170.unr, %scalar.ph192.prol.loopexit ]
  %185 = getelementptr inbounds i64, ptr %161, i64 %indvars.iv170
  %186 = load i64, ptr %185, align 8, !tbaa !30
  %187 = getelementptr inbounds i64, ptr %120, i64 %indvars.iv170
  store i64 %186, ptr %187, align 8, !tbaa !30
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %188 = getelementptr inbounds i64, ptr %161, i64 %indvars.iv.next171
  %189 = load i64, ptr %188, align 8, !tbaa !30
  %190 = getelementptr inbounds i64, ptr %120, i64 %indvars.iv.next171
  store i64 %189, ptr %190, align 8, !tbaa !30
  %indvars.iv.next171.1 = add nuw nsw i64 %indvars.iv170, 2
  %191 = getelementptr inbounds i64, ptr %161, i64 %indvars.iv.next171.1
  %192 = load i64, ptr %191, align 8, !tbaa !30
  %193 = getelementptr inbounds i64, ptr %120, i64 %indvars.iv.next171.1
  store i64 %192, ptr %193, align 8, !tbaa !30
  %indvars.iv.next171.2 = add nuw nsw i64 %indvars.iv170, 3
  %194 = getelementptr inbounds i64, ptr %161, i64 %indvars.iv.next171.2
  %195 = load i64, ptr %194, align 8, !tbaa !30
  %196 = getelementptr inbounds i64, ptr %120, i64 %indvars.iv.next171.2
  store i64 %195, ptr %196, align 8, !tbaa !30
  %indvars.iv.next171.3 = add nuw nsw i64 %indvars.iv170, 4
  %exitcond174.not.3 = icmp eq i64 %indvars.iv.next171.3, %wide.trip.count173
  br i1 %exitcond174.not.3, label %.preheader146, label %scalar.ph192, !llvm.loop !40

._crit_edge:                                      ; preds = %.lr.ph156.preheader, %.preheader146
  %197 = call ptr @gfec_BasePointProduct(ptr noundef nonnull %8, ptr noundef %117, i32 noundef %84, ptr noundef nonnull %1, ptr noundef %120, i32 noundef %84, ptr noundef nonnull %5, ptr noundef nonnull %6) #5
  %198 = call i32 @gfec_IsPointAtInfinity(ptr noundef nonnull %8)
  %.not144 = icmp eq i32 %198, 0
  br i1 %.not144, label %199, label %253

199:                                              ; preds = %._crit_edge
  %200 = call i32 @gfec_GetPoint(ptr noundef %117, ptr noundef null, ptr noundef nonnull %8, ptr noundef nonnull %5) #5
  %201 = getelementptr inbounds i8, ptr %24, i64 32
  %202 = load ptr, ptr %201, align 8, !tbaa !41
  %203 = getelementptr inbounds i8, ptr %202, i64 8
  %204 = load ptr, ptr %203, align 8, !tbaa !42
  %205 = call ptr %204(ptr noundef %117, ptr noundef %117, ptr noundef %24) #5
  %206 = call i32 @cpMod_BNU(ptr noundef %117, i32 noundef %114, ptr noundef %82, i32 noundef %84)
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds i64, ptr %117, i64 %207
  %209 = sub nsw i32 %84, %206
  %210 = call ptr @cpGFpElementPad(ptr noundef %208, i32 noundef %209, i64 noundef 0)
  %211 = load i32, ptr %87, align 8, !tbaa !28
  %212 = icmp sgt i32 %211, 0
  br i1 %212, label %.lr.ph159, label %.preheader

.lr.ph159:                                        ; preds = %199
  %213 = load ptr, ptr %85, align 8, !tbaa !27
  %wide.trip.count182 = zext nneg i32 %211 to i64
  %min.iters.check208 = icmp ult i32 %211, 10
  br i1 %min.iters.check208, label %scalar.ph207.preheader, label %vector.memcheck204

scalar.ph207.preheader:                           ; preds = %middle.block206, %vector.memcheck204, %.lr.ph159
  %indvars.iv179.ph = phi i64 [ 0, %vector.memcheck204 ], [ 0, %.lr.ph159 ], [ %n.vec211, %middle.block206 ]
  %xtraiter224 = and i64 %wide.trip.count182, 3
  %lcmp.mod225.not = icmp eq i64 %xtraiter224, 0
  br i1 %lcmp.mod225.not, label %scalar.ph207.prol.loopexit, label %scalar.ph207.prol

scalar.ph207.prol:                                ; preds = %scalar.ph207.preheader, %scalar.ph207.prol
  %indvars.iv179.prol = phi i64 [ %indvars.iv.next180.prol, %scalar.ph207.prol ], [ %indvars.iv179.ph, %scalar.ph207.preheader ]
  %prol.iter226 = phi i64 [ %prol.iter226.next, %scalar.ph207.prol ], [ 0, %scalar.ph207.preheader ]
  %214 = getelementptr inbounds i64, ptr %213, i64 %indvars.iv179.prol
  %215 = load i64, ptr %214, align 8, !tbaa !30
  %216 = getelementptr inbounds i64, ptr %121, i64 %indvars.iv179.prol
  store i64 %215, ptr %216, align 8, !tbaa !30
  %indvars.iv.next180.prol = add nuw nsw i64 %indvars.iv179.prol, 1
  %prol.iter226.next = add i64 %prol.iter226, 1
  %prol.iter226.cmp.not = icmp eq i64 %prol.iter226.next, %xtraiter224
  br i1 %prol.iter226.cmp.not, label %scalar.ph207.prol.loopexit, label %scalar.ph207.prol, !llvm.loop !44

scalar.ph207.prol.loopexit:                       ; preds = %scalar.ph207.prol, %scalar.ph207.preheader
  %indvars.iv179.unr = phi i64 [ %indvars.iv179.ph, %scalar.ph207.preheader ], [ %indvars.iv.next180.prol, %scalar.ph207.prol ]
  %217 = sub nsw i64 %indvars.iv179.ph, %wide.trip.count182
  %218 = icmp ugt i64 %217, -4
  br i1 %218, label %.preheader, label %scalar.ph207

vector.memcheck204:                               ; preds = %.lr.ph159
  %219 = ptrtoint ptr %213 to i64
  %220 = shl nsw i64 %119, 4
  %221 = add i64 %220, %118
  %222 = sub i64 %221, %219
  %diff.check205 = icmp ult i64 %222, 32
  br i1 %diff.check205, label %scalar.ph207.preheader, label %vector.ph209

vector.ph209:                                     ; preds = %vector.memcheck204
  %n.vec211 = and i64 %wide.trip.count182, 2147483644
  br label %vector.body213

vector.body213:                                   ; preds = %vector.body213, %vector.ph209
  %index214 = phi i64 [ 0, %vector.ph209 ], [ %index.next217, %vector.body213 ]
  %223 = getelementptr inbounds i64, ptr %213, i64 %index214
  %224 = getelementptr inbounds i8, ptr %223, i64 16
  %wide.load215 = load <2 x i64>, ptr %223, align 8, !tbaa !30
  %wide.load216 = load <2 x i64>, ptr %224, align 8, !tbaa !30
  %225 = getelementptr inbounds i64, ptr %121, i64 %index214
  %226 = getelementptr inbounds i8, ptr %225, i64 16
  store <2 x i64> %wide.load215, ptr %225, align 8, !tbaa !30
  store <2 x i64> %wide.load216, ptr %226, align 8, !tbaa !30
  %index.next217 = add nuw i64 %index214, 4
  %227 = icmp eq i64 %index.next217, %n.vec211
  br i1 %227, label %middle.block206, label %vector.body213, !llvm.loop !45

middle.block206:                                  ; preds = %vector.body213
  %cmp.n218 = icmp eq i64 %n.vec211, %wide.trip.count182
  br i1 %cmp.n218, label %.preheader, label %scalar.ph207.preheader

.preheader:                                       ; preds = %scalar.ph207.prol.loopexit, %scalar.ph207, %middle.block206, %199
  %.0.lcssa = phi i32 [ 0, %199 ], [ %211, %middle.block206 ], [ %211, %scalar.ph207 ], [ %211, %scalar.ph207.prol.loopexit ]
  %228 = icmp slt i32 %.0.lcssa, %84
  br i1 %228, label %.lr.ph162.preheader, label %._crit_edge163

.lr.ph162.preheader:                              ; preds = %.preheader
  %229 = shl nsw i64 %119, 4
  %230 = zext nneg i32 %.0.lcssa to i64
  %231 = shl nuw nsw i64 %230, 3
  %232 = getelementptr i8, ptr %117, i64 %229
  %scevgep184 = getelementptr i8, ptr %232, i64 %231
  %233 = xor i32 %.0.lcssa, -1
  %234 = add i32 %84, %233
  %235 = zext i32 %234 to i64
  %236 = shl nuw nsw i64 %235, 3
  %237 = add nuw nsw i64 %236, 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep184, i8 0, i64 %237, i1 false), !tbaa !30
  br label %._crit_edge163

scalar.ph207:                                     ; preds = %scalar.ph207.prol.loopexit, %scalar.ph207
  %indvars.iv179 = phi i64 [ %indvars.iv.next180.3, %scalar.ph207 ], [ %indvars.iv179.unr, %scalar.ph207.prol.loopexit ]
  %238 = getelementptr inbounds i64, ptr %213, i64 %indvars.iv179
  %239 = load i64, ptr %238, align 8, !tbaa !30
  %240 = getelementptr inbounds i64, ptr %121, i64 %indvars.iv179
  store i64 %239, ptr %240, align 8, !tbaa !30
  %indvars.iv.next180 = add nuw nsw i64 %indvars.iv179, 1
  %241 = getelementptr inbounds i64, ptr %213, i64 %indvars.iv.next180
  %242 = load i64, ptr %241, align 8, !tbaa !30
  %243 = getelementptr inbounds i64, ptr %121, i64 %indvars.iv.next180
  store i64 %242, ptr %243, align 8, !tbaa !30
  %indvars.iv.next180.1 = add nuw nsw i64 %indvars.iv179, 2
  %244 = getelementptr inbounds i64, ptr %213, i64 %indvars.iv.next180.1
  %245 = load i64, ptr %244, align 8, !tbaa !30
  %246 = getelementptr inbounds i64, ptr %121, i64 %indvars.iv.next180.1
  store i64 %245, ptr %246, align 8, !tbaa !30
  %indvars.iv.next180.2 = add nuw nsw i64 %indvars.iv179, 3
  %247 = getelementptr inbounds i64, ptr %213, i64 %indvars.iv.next180.2
  %248 = load i64, ptr %247, align 8, !tbaa !30
  %249 = getelementptr inbounds i64, ptr %121, i64 %indvars.iv.next180.2
  store i64 %248, ptr %249, align 8, !tbaa !30
  %indvars.iv.next180.3 = add nuw nsw i64 %indvars.iv179, 4
  %exitcond183.not.3 = icmp eq i64 %indvars.iv.next180.3, %wide.trip.count182
  br i1 %exitcond183.not.3, label %.preheader, label %scalar.ph207, !llvm.loop !46

._crit_edge163:                                   ; preds = %.lr.ph162.preheader, %.preheader
  %250 = call ptr @cpModSub_BNU(ptr noundef %117, ptr noundef %120, ptr noundef %117, ptr noundef %82, i32 noundef %84, ptr noundef %120)
  %251 = call i32 @cpCmp_BNU(ptr noundef %121, i32 noundef %84, ptr noundef %117, i32 noundef %84)
  %252 = icmp eq i32 %251, 0
  %spec.select = select i1 %252, i32 0, i32 17
  br label %253

253:                                              ; preds = %._crit_edge163, %._crit_edge
  %.0131 = phi i32 [ 17, %._crit_edge ], [ %spec.select, %._crit_edge163 ]
  call void @cpEcGFpReleasePool(i32 noundef 1, ptr noundef nonnull %5)
  call void @gsModPoolFree(ptr noundef %24, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %254

254:                                              ; preds = %253, %108, %103, %97, %91
  %.1132 = phi i32 [ 17, %91 ], [ 17, %97 ], [ %.0131, %253 ], [ 17, %108 ], [ 17, %103 ]
  store i32 %.1132, ptr %4, align 4, !tbaa !47
  br label %255

255:                                              ; preds = %254, %78, %76, %72, %68, %62, %56, %53, %48, %42, %40, %36, %30, %28, %20, %17, %11, %7
  %.1130 = phi i32 [ -8, %7 ], [ -13, %11 ], [ -13, %17 ], [ -14, %20 ], [ -8, %28 ], [ -13, %30 ], [ -1010, %36 ], [ -8, %40 ], [ -13, %42 ], [ -11, %48 ], [ -8, %53 ], [ -13, %56 ], [ -13, %62 ], [ -7, %68 ], [ -7, %72 ], [ -8, %76 ], [ 0, %254 ], [ -1010, %78 ]
  ret i32 %.1130
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @IPP_UINT_PTR(ptr noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpEcGFpGetPool(i32 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

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { inlinehint 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !7, i64 0}
!6 = !{!"_cpGFpEC", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 8}
!14 = !{!"_cpGFp", !7, i64 0, !7, i64 4, !10, i64 8}
!15 = !{!16, !7, i64 8}
!16 = !{!"_gsModEngine", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !17, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !7, i64 100, !10, i64 104}
!17 = !{!"long long", !8, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"_cpBigNum", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24}
!20 = !{!19, !7, i64 4}
!21 = !{!22, !7, i64 0}
!22 = !{!"_cpGFpECPoint", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!23 = !{!22, !7, i64 8}
!24 = !{!16, !7, i64 16}
!25 = !{!6, !10, i64 80}
!26 = !{!16, !10, i64 48}
!27 = !{!19, !10, i64 16}
!28 = !{!19, !7, i64 8}
!29 = !{!16, !7, i64 24}
!30 = !{!17, !17, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.unroll.disable"}
!33 = distinct !{!33, !34, !35, !36}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!"llvm.loop.isvectorized", i32 1}
!36 = !{!"llvm.loop.unroll.runtime.disable"}
!37 = distinct !{!37, !34, !35}
!38 = distinct !{!38, !32}
!39 = distinct !{!39, !34, !35, !36}
!40 = distinct !{!40, !34, !35}
!41 = !{!16, !10, i64 32}
!42 = !{!43, !10, i64 8}
!43 = !{!"_gsModMethod", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80}
!44 = distinct !{!44, !32}
!45 = distinct !{!45, !34, !35, !36}
!46 = distinct !{!46, !34, !35}
!47 = !{!7, !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass