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

; 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._cpGFp = type { i32, i32, ptr }
%struct._cpGFpElement = 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 @ippsGFpMultiExp(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca [6 x ptr], align 16
  %22 = alloca [6 x ptr], align 16
  %23 = alloca [6 x i32], align 16
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = icmp eq ptr null, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %6
  store i32 -8, ptr %7, align 4
  br label %286

27:                                               ; preds = %6
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = icmp eq ptr null, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %27
  store i32 -8, ptr %7, align 4
  br label %286

31:                                               ; preds = %27
  %32 = load i32, ptr %10, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 1
  br i1 %33, label %34, label %45

34:                                               ; preds = %31
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds ptr, ptr %35, i64 0
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds ptr, ptr %38, i64 0
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = load ptr, ptr %13, align 8, !tbaa !5
  %44 = call i32 @ippsGFpExp(ptr noundef %37, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43)
  store i32 %44, ptr %7, align 4
  br label %286

45:                                               ; preds = %31
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = icmp sgt i32 1, %46
  br i1 %47, label %51, label %48

48:                                               ; preds = %45
  %49 = load i32, ptr %10, align 4, !tbaa !9
  %50 = icmp sgt i32 %49, 6
  br i1 %50, label %51, label %52

51:                                               ; preds = %48, %45
  store i32 -5, ptr %7, align 4
  br label %286

52:                                               ; preds = %48
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = icmp eq ptr null, %53
  br i1 %54, label %55, label %56

55:                                               ; preds = %52
  store i32 -8, ptr %7, align 4
  br label %286

56:                                               ; preds = %52
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = icmp eq ptr null, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %56
  store i32 -8, ptr %7, align 4
  br label %286

60:                                               ; preds = %56
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._cpGFp, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !11
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = call i64 @IPP_UINT_PTR(ptr noundef %64)
  %66 = trunc i64 %65 to i32
  %67 = xor i32 %63, %66
  %68 = icmp eq i32 %67, 1129136455
  br i1 %68, label %70, label %69

69:                                               ; preds = %60
  store i32 -13, ptr %7, align 4
  br label %286

70:                                               ; preds = %60
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._cpGFpElement, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !13
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = call i64 @IPP_UINT_PTR(ptr noundef %74)
  %76 = trunc i64 %75 to i32
  %77 = xor i32 %73, %76
  %78 = icmp eq i32 %77, 1129136456
  br i1 %78, label %80, label %79

79:                                               ; preds = %70
  store i32 -13, ptr %7, align 4
  br label %286

80:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._cpGFp, ptr %81, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !15
  store ptr %83, ptr %15, align 8, !tbaa !5
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._cpGFpElement, ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !16
  %87 = load ptr, ptr %15, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._gsModEngine, ptr %87, i32 0, i32 3
  %89 = load i32, ptr %88, align 8, !tbaa !17
  %90 = icmp ne i32 %86, %89
  br i1 %90, label %91, label %92

91:                                               ; preds = %80
  store i32 -11, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %285

92:                                               ; preds = %80
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %156, %92
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = load i32, ptr %10, align 4, !tbaa !9
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %97, label %159

97:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds ptr, ptr %98, i64 %100
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  store ptr %102, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = load i32, ptr %14, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds ptr, ptr %103, i64 %105
  %107 = load ptr, ptr %106, align 8, !tbaa !5
  store ptr %107, ptr %18, align 8, !tbaa !5
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = icmp eq ptr null, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %97
  store i32 -8, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %153

111:                                              ; preds = %97
  %112 = load ptr, ptr %18, align 8, !tbaa !5
  %113 = icmp eq ptr null, %112
  br i1 %113, label %114, label %115

114:                                              ; preds = %111
  store i32 -8, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %153

115:                                              ; preds = %111
  %116 = load ptr, ptr %17, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._cpGFpElement, ptr %116, i32 0, i32 0
  %118 = load i32, ptr %117, align 8, !tbaa !13
  %119 = load ptr, ptr %17, align 8, !tbaa !5
  %120 = call i64 @IPP_UINT_PTR(ptr noundef %119)
  %121 = trunc i64 %120 to i32
  %122 = xor i32 %118, %121
  %123 = icmp eq i32 %122, 1129136456
  br i1 %123, label %125, label %124

124:                                              ; preds = %115
  store i32 -13, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %153

125:                                              ; preds = %115
  %126 = load ptr, ptr %18, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct._cpBigNum, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 8, !tbaa !20
  %129 = load ptr, ptr %18, align 8, !tbaa !5
  %130 = call i64 @IPP_UINT_PTR(ptr noundef %129)
  %131 = trunc i64 %130 to i32
  %132 = xor i32 %128, %131
  %133 = icmp eq i32 %132, 1112098638
  br i1 %133, label %135, label %134

134:                                              ; preds = %125
  store i32 -13, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %153

135:                                              ; preds = %125
  %136 = load ptr, ptr %17, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct._cpGFpElement, ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 4, !tbaa !16
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct._gsModEngine, ptr %139, i32 0, i32 3
  %141 = load i32, ptr %140, align 8, !tbaa !17
  %142 = icmp ne i32 %138, %141
  br i1 %142, label %151, label %143

143:                                              ; preds = %135
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct._cpGFpElement, ptr %144, i32 0, i32 1
  %146 = load i32, ptr %145, align 4, !tbaa !16
  %147 = load ptr, ptr %15, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct._gsModEngine, ptr %147, i32 0, i32 3
  %149 = load i32, ptr %148, align 8, !tbaa !17
  %150 = icmp ne i32 %146, %149
  br i1 %150, label %151, label %152

151:                                              ; preds = %143, %135
  store i32 -11, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %153

152:                                              ; preds = %143
  store i32 0, ptr %16, align 4
  br label %153

153:                                              ; preds = %152, %151, %134, %124, %114, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  %154 = load i32, ptr %16, align 4
  switch i32 %154, label %285 [
    i32 0, label %155
  ]

155:                                              ; preds = %153
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %14, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %14, align 4, !tbaa !9
  br label %93, !llvm.loop !22

159:                                              ; preds = %93
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = icmp eq ptr null, %160
  br i1 %161, label %162, label %234

162:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %163 = load ptr, ptr %15, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct._gsModEngine, ptr %163, i32 0, i32 6
  %165 = load ptr, ptr %164, align 8, !tbaa !24
  %166 = getelementptr inbounds %struct._gsModMethod, ptr %165, i32 0, i32 2
  %167 = load ptr, ptr %166, align 8, !tbaa !25
  store ptr %167, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = call ptr @gsModPoolAlloc(ptr noundef %168, i32 noundef 1)
  store ptr %169, ptr %20, align 8, !tbaa !5
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct._cpGFpElement, ptr %170, i32 0, i32 2
  %172 = load ptr, ptr %171, align 8, !tbaa !27
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = getelementptr inbounds ptr, ptr %173, i64 0
  %175 = load ptr, ptr %174, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct._cpGFpElement, ptr %175, i32 0, i32 2
  %177 = load ptr, ptr %176, align 8, !tbaa !27
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = getelementptr inbounds ptr, ptr %178, i64 0
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct._cpBigNum, ptr %180, i32 0, i32 4
  %182 = load ptr, ptr %181, align 8, !tbaa !28
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds ptr, ptr %183, i64 0
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct._cpBigNum, ptr %185, i32 0, i32 2
  %187 = load i32, ptr %186, align 8, !tbaa !29
  %188 = load ptr, ptr %15, align 8, !tbaa !5
  %189 = call ptr @cpGFpxExp(ptr noundef %172, ptr noundef %177, ptr noundef %182, i32 noundef %187, ptr noundef %188, ptr noundef null)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %229, %162
  %191 = load i32, ptr %14, align 4, !tbaa !9
  %192 = load i32, ptr %10, align 4, !tbaa !9
  %193 = icmp slt i32 %191, %192
  br i1 %193, label %194, label %232

194:                                              ; preds = %190
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = load ptr, ptr %8, align 8, !tbaa !5
  %197 = load i32, ptr %14, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds ptr, ptr %196, i64 %198
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct._cpGFpElement, ptr %200, i32 0, i32 2
  %202 = load ptr, ptr %201, align 8, !tbaa !27
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  %204 = load i32, ptr %14, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds ptr, ptr %203, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct._cpBigNum, ptr %207, i32 0, i32 4
  %209 = load ptr, ptr %208, align 8, !tbaa !28
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds ptr, ptr %210, i64 %212
  %214 = load ptr, ptr %213, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct._cpBigNum, ptr %214, i32 0, i32 2
  %216 = load i32, ptr %215, align 8, !tbaa !29
  %217 = load ptr, ptr %15, align 8, !tbaa !5
  %218 = call ptr @cpGFpxExp(ptr noundef %195, ptr noundef %202, ptr noundef %209, i32 noundef %216, ptr noundef %217, ptr noundef null)
  %219 = load ptr, ptr %19, align 8, !tbaa !5
  %220 = load ptr, ptr %11, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct._cpGFpElement, ptr %220, i32 0, i32 2
  %222 = load ptr, ptr %221, align 8, !tbaa !27
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct._cpGFpElement, ptr %223, i32 0, i32 2
  %225 = load ptr, ptr %224, align 8, !tbaa !27
  %226 = load ptr, ptr %20, align 8, !tbaa !5
  %227 = load ptr, ptr %15, align 8, !tbaa !5
  %228 = call ptr %219(ptr noundef %222, ptr noundef %225, ptr noundef %226, ptr noundef %227)
  br label %229

229:                                              ; preds = %194
  %230 = load i32, ptr %14, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %14, align 4, !tbaa !9
  br label %190, !llvm.loop !30

232:                                              ; preds = %190
  %233 = load ptr, ptr %15, align 8, !tbaa !5
  call void @gsModPoolFree(ptr noundef %233, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %284

234:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %235

235:                                              ; preds = %270, %234
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %10, align 4, !tbaa !9
  %238 = icmp slt i32 %236, %237
  br i1 %238, label %239, label %273

239:                                              ; preds = %235
  %240 = load ptr, ptr %8, align 8, !tbaa !5
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds ptr, ptr %240, i64 %242
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct._cpGFpElement, ptr %244, i32 0, i32 2
  %246 = load ptr, ptr %245, align 8, !tbaa !27
  %247 = load i32, ptr %14, align 4, !tbaa !9
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [6 x ptr], ptr %21, i64 0, i64 %248
  store ptr %246, ptr %249, align 8, !tbaa !5
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds ptr, ptr %250, i64 %252
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct._cpBigNum, ptr %254, i32 0, i32 4
  %256 = load ptr, ptr %255, align 8, !tbaa !28
  %257 = load i32, ptr %14, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [6 x ptr], ptr %22, i64 0, i64 %258
  store ptr %256, ptr %259, align 8, !tbaa !5
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds ptr, ptr %260, i64 %262
  %264 = load ptr, ptr %263, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct._cpBigNum, ptr %264, i32 0, i32 2
  %266 = load i32, ptr %265, align 8, !tbaa !29
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [6 x i32], ptr %23, i64 0, i64 %268
  store i32 %266, ptr %269, align 4, !tbaa !9
  br label %270

270:                                              ; preds = %239
  %271 = load i32, ptr %14, align 4, !tbaa !9
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %14, align 4, !tbaa !9
  br label %235, !llvm.loop !31

273:                                              ; preds = %235
  %274 = load ptr, ptr %11, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct._cpGFpElement, ptr %274, i32 0, i32 2
  %276 = load ptr, ptr %275, align 8, !tbaa !27
  %277 = getelementptr inbounds [6 x ptr], ptr %21, i64 0, i64 0
  %278 = getelementptr inbounds [6 x ptr], ptr %22, i64 0, i64 0
  %279 = getelementptr inbounds [6 x i32], ptr %23, i64 0, i64 0
  %280 = load i32, ptr %10, align 4, !tbaa !9
  %281 = load ptr, ptr %15, align 8, !tbaa !5
  %282 = load ptr, ptr %13, align 8, !tbaa !5
  %283 = call ptr @cpGFpxMultiExp(ptr noundef %276, ptr noundef %277, ptr noundef %278, ptr noundef %279, i32 noundef %280, ptr noundef %281, ptr noundef %282)
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #4
  br label %284

284:                                              ; preds = %273, %232
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %285

285:                                              ; preds = %284, %153, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %286

286:                                              ; preds = %285, %79, %69, %59, %55, %51, %34, %30, %26
  %287 = load i32, ptr %7, align 4
  ret i32 %287
}

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_cpGFp", !10, i64 0, !10, i64 4, !6, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"_cpGFpElement", !10, i64 0, !10, i64 4, !6, i64 8}
!15 = !{!12, !6, i64 8}
!16 = !{!14, !10, i64 4}
!17 = !{!18, !10, i64 16}
!18 = !{!"_gsModEngine", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !19, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !10, i64 96, !10, i64 100, !6, i64 104}
!19 = !{!"long long", !7, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"_cpBigNum", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!18, !6, i64 32}
!25 = !{!26, !6, i64 16}
!26 = !{!"_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}
!27 = !{!14, !6, i64 8}
!28 = !{!21, !6, i64 16}
!29 = !{!21, !10, i64 8}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}


; 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"

; Function Attrs: nounwind uwtable
define dso_local i32 @ippsGFpMultiExp(ptr noundef readonly %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
  %7 = alloca [6 x ptr], align 16
  %8 = alloca [6 x ptr], align 16
  %9 = alloca [6 x i32], align 16
  %10 = icmp eq ptr %0, null
  %11 = icmp eq ptr %1, null
  %or.cond94 = or i1 %10, %11
  br i1 %or.cond94, label %.thread, label %12

12:                                               ; preds = %6
  %13 = icmp eq i32 %2, 1
  br i1 %13, label %14, label %18

14:                                               ; preds = %12
  %15 = load ptr, ptr %0, align 8, !tbaa !5
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = tail call i32 @ippsGFpExp(ptr noundef %15, ptr noundef %16, ptr noundef %3, ptr noundef %4, ptr noundef %5) #4
  br label %.thread

18:                                               ; preds = %12
  %19 = add i32 %2, -7
  %or.cond = icmp ult i32 %19, -6
  br i1 %or.cond, label %.thread, label %20

20:                                               ; preds = %18
  %21 = icmp eq ptr %3, null
  %22 = icmp eq ptr %4, null
  %or.cond95 = or i1 %21, %22
  br i1 %or.cond95, label %.thread, label %23

23:                                               ; preds = %20
  %24 = load i32, ptr %4, align 8, !tbaa !9
  %25 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %4)
  %26 = trunc i64 %25 to i32
  %27 = xor i32 %24, %26
  %28 = icmp eq i32 %27, 1129136455
  br i1 %28, label %29, label %.thread

29:                                               ; preds = %23
  %30 = load i32, ptr %3, align 8, !tbaa !12
  %31 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %3)
  %32 = trunc i64 %31 to i32
  %33 = xor i32 %30, %32
  %34 = icmp eq i32 %33, 1129136456
  br i1 %34, label %35, label %.thread

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %4, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  %38 = getelementptr inbounds i8, ptr %3, i64 4
  %39 = load i32, ptr %38, align 4, !tbaa !15
  %40 = getelementptr inbounds i8, ptr %37, i64 16
  %41 = load i32, ptr %40, align 8, !tbaa !16
  %.not = icmp eq i32 %39, %41
  br i1 %.not, label %.lr.ph.preheader, label %.thread

.lr.ph.preheader:                                 ; preds = %35
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %.lr.ph

42:                                               ; preds = %65
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !19

.lr.ph:                                           ; preds = %.lr.ph.preheader, %42
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %42 ]
  %43 = getelementptr inbounds ptr, ptr %0, i64 %indvars.iv
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = icmp eq ptr %44, null
  %48 = icmp eq ptr %46, null
  %or.cond96 = select i1 %47, i1 true, i1 %48
  br i1 %or.cond96, label %.thread, label %49

49:                                               ; preds = %.lr.ph
  %50 = load i32, ptr %44, align 8, !tbaa !12
  %51 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %44)
  %52 = trunc i64 %51 to i32
  %53 = xor i32 %50, %52
  %54 = icmp eq i32 %53, 1129136456
  br i1 %54, label %55, label %.thread

55:                                               ; preds = %49
  %56 = load i32, ptr %46, align 8, !tbaa !21
  %57 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %46)
  %58 = trunc i64 %57 to i32
  %59 = xor i32 %56, %58
  %60 = icmp eq i32 %59, 1112098638
  br i1 %60, label %61, label %.thread

61:                                               ; preds = %55
  %62 = getelementptr inbounds i8, ptr %44, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !15
  %64 = load i32, ptr %40, align 8, !tbaa !16
  %.not92 = icmp eq i32 %63, %64
  br i1 %.not92, label %65, label %.thread

65:                                               ; preds = %61
  %66 = load i32, ptr %38, align 4, !tbaa !15
  %.not93 = icmp eq i32 %66, %63
  br i1 %.not93, label %42, label %.thread

._crit_edge:                                      ; preds = %42
  %67 = icmp eq ptr %5, null
  br i1 %67, label %68, label %.lr.ph103.preheader

68:                                               ; preds = %._crit_edge
  %69 = getelementptr inbounds i8, ptr %37, i64 32
  %70 = load ptr, ptr %69, align 8, !tbaa !23
  %71 = getelementptr inbounds i8, ptr %70, i64 16
  %72 = load ptr, ptr %71, align 8, !tbaa !24
  %73 = tail call ptr @gsModPoolAlloc(ptr noundef nonnull %37, i32 noundef 1)
  %74 = getelementptr inbounds i8, ptr %3, i64 8
  %75 = load ptr, ptr %74, align 8, !tbaa !26
  %76 = load ptr, ptr %0, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = load ptr, ptr %77, align 8, !tbaa !26
  %79 = load ptr, ptr %1, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 16
  %81 = load ptr, ptr %80, align 8, !tbaa !27
  %82 = getelementptr inbounds i8, ptr %79, i64 8
  %83 = load i32, ptr %82, align 8, !tbaa !28
  %84 = tail call ptr @cpGFpxExp(ptr noundef %75, ptr noundef %78, ptr noundef %81, i32 noundef %83, ptr noundef nonnull %37, ptr noundef null) #4
  %85 = icmp sgt i32 %2, 1
  br i1 %85, label %.lr.ph107.preheader, label %._crit_edge108

.lr.ph107.preheader:                              ; preds = %68
  %wide.trip.count118 = zext nneg i32 %2 to i64
  br label %.lr.ph107

.lr.ph107:                                        ; preds = %.lr.ph107.preheader, %.lr.ph107
  %indvars.iv115 = phi i64 [ 1, %.lr.ph107.preheader ], [ %indvars.iv.next116, %.lr.ph107 ]
  %86 = getelementptr inbounds ptr, ptr %0, i64 %indvars.iv115
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  %89 = load ptr, ptr %88, align 8, !tbaa !26
  %90 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv115
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 16
  %93 = load ptr, ptr %92, align 8, !tbaa !27
  %94 = getelementptr inbounds i8, ptr %91, i64 8
  %95 = load i32, ptr %94, align 8, !tbaa !28
  %96 = tail call ptr @cpGFpxExp(ptr noundef %73, ptr noundef %89, ptr noundef %93, i32 noundef %95, ptr noundef %37, ptr noundef null) #4
  %97 = load ptr, ptr %74, align 8, !tbaa !26
  %98 = tail call ptr %72(ptr noundef %97, ptr noundef %97, ptr noundef %73, ptr noundef %37) #4
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %exitcond119.not = icmp eq i64 %indvars.iv.next116, %wide.trip.count118
  br i1 %exitcond119.not, label %._crit_edge108, label %.lr.ph107, !llvm.loop !29

._crit_edge108:                                   ; preds = %.lr.ph107, %68
  tail call void @gsModPoolFree(ptr noundef %37, i32 noundef 1)
  br label %.thread

.lr.ph103.preheader:                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  %99 = load ptr, ptr %0, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load ptr, ptr %100, align 8, !tbaa !26
  store ptr %101, ptr %7, align 16, !tbaa !5
  %102 = load ptr, ptr %1, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 16
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  store ptr %104, ptr %8, align 16, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %102, i64 8
  %106 = load i32, ptr %105, align 8, !tbaa !28
  store i32 %106, ptr %9, align 16, !tbaa !30
  %107 = getelementptr inbounds i8, ptr %0, i64 8
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 8
  %110 = load ptr, ptr %109, align 8, !tbaa !26
  %111 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %110, ptr %111, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %1, i64 8
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 16
  %115 = load ptr, ptr %114, align 8, !tbaa !27
  %116 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %115, ptr %116, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %113, i64 8
  %118 = load i32, ptr %117, align 8, !tbaa !28
  %119 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 %118, ptr %119, align 4, !tbaa !30
  %exitcond114.not.1 = icmp eq i32 %2, 2
  br i1 %exitcond114.not.1, label %._crit_edge104, label %.lr.ph103.2, !llvm.loop !31

.lr.ph103.2:                                      ; preds = %.lr.ph103.preheader
  %120 = getelementptr inbounds i8, ptr %0, i64 16
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = load ptr, ptr %122, align 8, !tbaa !26
  %124 = getelementptr inbounds i8, ptr %7, i64 16
  store ptr %123, ptr %124, align 16, !tbaa !5
  %125 = getelementptr inbounds i8, ptr %1, i64 16
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %126, i64 16
  %128 = load ptr, ptr %127, align 8, !tbaa !27
  %129 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %128, ptr %129, align 16, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %126, i64 8
  %131 = load i32, ptr %130, align 8, !tbaa !28
  %132 = getelementptr inbounds i8, ptr %9, i64 8
  store i32 %131, ptr %132, align 8, !tbaa !30
  %exitcond114.not.2 = icmp eq i32 %2, 3
  br i1 %exitcond114.not.2, label %._crit_edge104, label %.lr.ph103.3, !llvm.loop !31

.lr.ph103.3:                                      ; preds = %.lr.ph103.2
  %133 = getelementptr inbounds i8, ptr %0, i64 24
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i64 8
  %136 = load ptr, ptr %135, align 8, !tbaa !26
  %137 = getelementptr inbounds i8, ptr %7, i64 24
  store ptr %136, ptr %137, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %1, i64 24
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 16
  %141 = load ptr, ptr %140, align 8, !tbaa !27
  %142 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr %141, ptr %142, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %139, i64 8
  %144 = load i32, ptr %143, align 8, !tbaa !28
  %145 = getelementptr inbounds i8, ptr %9, i64 12
  store i32 %144, ptr %145, align 4, !tbaa !30
  %exitcond114.not.3 = icmp eq i32 %2, 4
  br i1 %exitcond114.not.3, label %._crit_edge104, label %.lr.ph103.4, !llvm.loop !31

.lr.ph103.4:                                      ; preds = %.lr.ph103.3
  %146 = getelementptr inbounds i8, ptr %0, i64 32
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %147, i64 8
  %149 = load ptr, ptr %148, align 8, !tbaa !26
  %150 = getelementptr inbounds i8, ptr %7, i64 32
  store ptr %149, ptr %150, align 16, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %1, i64 32
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds i8, ptr %152, i64 16
  %154 = load ptr, ptr %153, align 8, !tbaa !27
  %155 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %154, ptr %155, align 16, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %152, i64 8
  %157 = load i32, ptr %156, align 8, !tbaa !28
  %158 = getelementptr inbounds i8, ptr %9, i64 16
  store i32 %157, ptr %158, align 16, !tbaa !30
  %exitcond114.not.4 = icmp eq i32 %2, 5
  br i1 %exitcond114.not.4, label %._crit_edge104, label %.lr.ph103.5, !llvm.loop !31

.lr.ph103.5:                                      ; preds = %.lr.ph103.4
  %159 = getelementptr inbounds i8, ptr %0, i64 40
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  %161 = getelementptr inbounds i8, ptr %160, i64 8
  %162 = load ptr, ptr %161, align 8, !tbaa !26
  %163 = getelementptr inbounds i8, ptr %7, i64 40
  store ptr %162, ptr %163, align 8, !tbaa !5
  %164 = getelementptr inbounds i8, ptr %1, i64 40
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i64 16
  %167 = load ptr, ptr %166, align 8, !tbaa !27
  %168 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr %167, ptr %168, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %165, i64 8
  %170 = load i32, ptr %169, align 8, !tbaa !28
  %171 = getelementptr inbounds i8, ptr %9, i64 20
  store i32 %170, ptr %171, align 4, !tbaa !30
  br label %._crit_edge104

._crit_edge104:                                   ; preds = %.lr.ph103.5, %.lr.ph103.4, %.lr.ph103.3, %.lr.ph103.2, %.lr.ph103.preheader
  %172 = getelementptr inbounds i8, ptr %3, i64 8
  %173 = load ptr, ptr %172, align 8, !tbaa !26
  %174 = call ptr @cpGFpxMultiExp(ptr noundef %173, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef %2, ptr noundef %37, ptr noundef nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4
  br label %.thread

.thread:                                          ; preds = %61, %55, %49, %.lr.ph, %65, %35, %._crit_edge104, %._crit_edge108, %29, %23, %20, %18, %6, %14
  %.3 = phi i32 [ %17, %14 ], [ -8, %6 ], [ -5, %18 ], [ -8, %20 ], [ -13, %23 ], [ -13, %29 ], [ -11, %35 ], [ 0, %._crit_edge104 ], [ 0, %._crit_edge108 ], [ -8, %.lr.ph ], [ -13, %49 ], [ -13, %55 ], [ -11, %61 ], [ -11, %65 ]
  ret i32 %.3
}

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

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

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

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

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"_cpGFp", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"_cpGFpElement", !11, i64 0, !11, i64 4, !6, i64 8}
!14 = !{!10, !6, i64 8}
!15 = !{!13, !11, i64 4}
!16 = !{!17, !11, i64 16}
!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 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !11, i64 0}
!22 = !{!"_cpBigNum", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24}
!23 = !{!17, !6, i64 32}
!24 = !{!25, !6, i64 16}
!25 = !{!"_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}
!26 = !{!13, !6, i64 8}
!27 = !{!22, !6, i64 16}
!28 = !{!22, !11, i64 8}
!29 = distinct !{!29, !20}
!30 = !{!11, !11, i64 0}
!31 = distinct !{!31, !20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass