; LLVM IR from dynexcoin/Dynex :: src/crypto (crypto-ops)

; 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.ge_p2 = type { [10 x i32], [10 x i32], [10 x i32] }

@fe_d = external constant [10 x i32], align 16
@fe_sqrtm1 = external constant [10 x i32], align 16
@fe_ma2 = external constant [10 x i32], align 16
@fe_ma = external constant [10 x i32], align 16
@fe_fffb1 = external constant [10 x i32], align 16
@fe_fffb2 = external constant [10 x i32], align 16
@.str = external hidden unnamed_addr constant [36 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime = external hidden unnamed_addr constant [65 x i8], align 1
@fe_fffb3 = external constant [10 x i32], align 16
@fe_fffb4 = external constant [10 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden void @fe_add(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_sub(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_mul(ptr noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare hidden i64 @load_4(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i64 @load_3(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_1(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_sq(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_divpowm1(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @fe_isnonzero(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @fe_isnegative(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_neg(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_sq2(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_copy(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_invert(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @ge_fromfe_frombytes_vartime(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [10 x i32], align 16
  %6 = alloca [10 x i32], align 16
  %7 = alloca [10 x i32], align 16
  %8 = alloca [10 x i32], align 16
  %9 = alloca [10 x i32], align 16
  %10 = alloca [10 x i32], align 16
  %11 = alloca i8, align 1
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca [10 x i32], align 16
  %33 = alloca [10 x i32], align 16
  %34 = alloca [10 x i32], align 16
  %35 = alloca [10 x i32], align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = call i64 @load_4(ptr noundef %36)
  store i64 %37, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 4
  %40 = call i64 @load_3(ptr noundef %39)
  %41 = shl i64 %40, 6
  store i64 %41, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 7
  %44 = call i64 @load_3(ptr noundef %43)
  %45 = shl i64 %44, 5
  store i64 %45, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 10
  %48 = call i64 @load_3(ptr noundef %47)
  %49 = shl i64 %48, 3
  store i64 %49, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 13
  %52 = call i64 @load_3(ptr noundef %51)
  %53 = shl i64 %52, 2
  store i64 %53, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 16
  %56 = call i64 @load_4(ptr noundef %55)
  store i64 %56, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 20
  %59 = call i64 @load_3(ptr noundef %58)
  %60 = shl i64 %59, 7
  store i64 %60, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 23
  %63 = call i64 @load_3(ptr noundef %62)
  %64 = shl i64 %63, 5
  store i64 %64, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 26
  %67 = call i64 @load_3(ptr noundef %66)
  %68 = shl i64 %67, 4
  store i64 %68, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 29
  %71 = call i64 @load_3(ptr noundef %70)
  %72 = shl i64 %71, 2
  store i64 %72, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  %73 = load i64, ptr %21, align 8, !tbaa !9
  %74 = add nsw i64 %73, 16777216
  %75 = ashr i64 %74, 25
  store i64 %75, ptr %31, align 8, !tbaa !9
  %76 = load i64, ptr %31, align 8, !tbaa !9
  %77 = mul nsw i64 %76, 19
  %78 = load i64, ptr %12, align 8, !tbaa !9
  %79 = add nsw i64 %78, %77
  store i64 %79, ptr %12, align 8, !tbaa !9
  %80 = load i64, ptr %31, align 8, !tbaa !9
  %81 = shl i64 %80, 25
  %82 = load i64, ptr %21, align 8, !tbaa !9
  %83 = sub nsw i64 %82, %81
  store i64 %83, ptr %21, align 8, !tbaa !9
  %84 = load i64, ptr %13, align 8, !tbaa !9
  %85 = add nsw i64 %84, 16777216
  %86 = ashr i64 %85, 25
  store i64 %86, ptr %23, align 8, !tbaa !9
  %87 = load i64, ptr %23, align 8, !tbaa !9
  %88 = load i64, ptr %14, align 8, !tbaa !9
  %89 = add nsw i64 %88, %87
  store i64 %89, ptr %14, align 8, !tbaa !9
  %90 = load i64, ptr %23, align 8, !tbaa !9
  %91 = shl i64 %90, 25
  %92 = load i64, ptr %13, align 8, !tbaa !9
  %93 = sub nsw i64 %92, %91
  store i64 %93, ptr %13, align 8, !tbaa !9
  %94 = load i64, ptr %15, align 8, !tbaa !9
  %95 = add nsw i64 %94, 16777216
  %96 = ashr i64 %95, 25
  store i64 %96, ptr %25, align 8, !tbaa !9
  %97 = load i64, ptr %25, align 8, !tbaa !9
  %98 = load i64, ptr %16, align 8, !tbaa !9
  %99 = add nsw i64 %98, %97
  store i64 %99, ptr %16, align 8, !tbaa !9
  %100 = load i64, ptr %25, align 8, !tbaa !9
  %101 = shl i64 %100, 25
  %102 = load i64, ptr %15, align 8, !tbaa !9
  %103 = sub nsw i64 %102, %101
  store i64 %103, ptr %15, align 8, !tbaa !9
  %104 = load i64, ptr %17, align 8, !tbaa !9
  %105 = add nsw i64 %104, 16777216
  %106 = ashr i64 %105, 25
  store i64 %106, ptr %27, align 8, !tbaa !9
  %107 = load i64, ptr %27, align 8, !tbaa !9
  %108 = load i64, ptr %18, align 8, !tbaa !9
  %109 = add nsw i64 %108, %107
  store i64 %109, ptr %18, align 8, !tbaa !9
  %110 = load i64, ptr %27, align 8, !tbaa !9
  %111 = shl i64 %110, 25
  %112 = load i64, ptr %17, align 8, !tbaa !9
  %113 = sub nsw i64 %112, %111
  store i64 %113, ptr %17, align 8, !tbaa !9
  %114 = load i64, ptr %19, align 8, !tbaa !9
  %115 = add nsw i64 %114, 16777216
  %116 = ashr i64 %115, 25
  store i64 %116, ptr %29, align 8, !tbaa !9
  %117 = load i64, ptr %29, align 8, !tbaa !9
  %118 = load i64, ptr %20, align 8, !tbaa !9
  %119 = add nsw i64 %118, %117
  store i64 %119, ptr %20, align 8, !tbaa !9
  %120 = load i64, ptr %29, align 8, !tbaa !9
  %121 = shl i64 %120, 25
  %122 = load i64, ptr %19, align 8, !tbaa !9
  %123 = sub nsw i64 %122, %121
  store i64 %123, ptr %19, align 8, !tbaa !9
  %124 = load i64, ptr %12, align 8, !tbaa !9
  %125 = add nsw i64 %124, 33554432
  %126 = ashr i64 %125, 26
  store i64 %126, ptr %22, align 8, !tbaa !9
  %127 = load i64, ptr %22, align 8, !tbaa !9
  %128 = load i64, ptr %13, align 8, !tbaa !9
  %129 = add nsw i64 %128, %127
  store i64 %129, ptr %13, align 8, !tbaa !9
  %130 = load i64, ptr %22, align 8, !tbaa !9
  %131 = shl i64 %130, 26
  %132 = load i64, ptr %12, align 8, !tbaa !9
  %133 = sub nsw i64 %132, %131
  store i64 %133, ptr %12, align 8, !tbaa !9
  %134 = load i64, ptr %14, align 8, !tbaa !9
  %135 = add nsw i64 %134, 33554432
  %136 = ashr i64 %135, 26
  store i64 %136, ptr %24, align 8, !tbaa !9
  %137 = load i64, ptr %24, align 8, !tbaa !9
  %138 = load i64, ptr %15, align 8, !tbaa !9
  %139 = add nsw i64 %138, %137
  store i64 %139, ptr %15, align 8, !tbaa !9
  %140 = load i64, ptr %24, align 8, !tbaa !9
  %141 = shl i64 %140, 26
  %142 = load i64, ptr %14, align 8, !tbaa !9
  %143 = sub nsw i64 %142, %141
  store i64 %143, ptr %14, align 8, !tbaa !9
  %144 = load i64, ptr %16, align 8, !tbaa !9
  %145 = add nsw i64 %144, 33554432
  %146 = ashr i64 %145, 26
  store i64 %146, ptr %26, align 8, !tbaa !9
  %147 = load i64, ptr %26, align 8, !tbaa !9
  %148 = load i64, ptr %17, align 8, !tbaa !9
  %149 = add nsw i64 %148, %147
  store i64 %149, ptr %17, align 8, !tbaa !9
  %150 = load i64, ptr %26, align 8, !tbaa !9
  %151 = shl i64 %150, 26
  %152 = load i64, ptr %16, align 8, !tbaa !9
  %153 = sub nsw i64 %152, %151
  store i64 %153, ptr %16, align 8, !tbaa !9
  %154 = load i64, ptr %18, align 8, !tbaa !9
  %155 = add nsw i64 %154, 33554432
  %156 = ashr i64 %155, 26
  store i64 %156, ptr %28, align 8, !tbaa !9
  %157 = load i64, ptr %28, align 8, !tbaa !9
  %158 = load i64, ptr %19, align 8, !tbaa !9
  %159 = add nsw i64 %158, %157
  store i64 %159, ptr %19, align 8, !tbaa !9
  %160 = load i64, ptr %28, align 8, !tbaa !9
  %161 = shl i64 %160, 26
  %162 = load i64, ptr %18, align 8, !tbaa !9
  %163 = sub nsw i64 %162, %161
  store i64 %163, ptr %18, align 8, !tbaa !9
  %164 = load i64, ptr %20, align 8, !tbaa !9
  %165 = add nsw i64 %164, 33554432
  %166 = ashr i64 %165, 26
  store i64 %166, ptr %30, align 8, !tbaa !9
  %167 = load i64, ptr %30, align 8, !tbaa !9
  %168 = load i64, ptr %21, align 8, !tbaa !9
  %169 = add nsw i64 %168, %167
  store i64 %169, ptr %21, align 8, !tbaa !9
  %170 = load i64, ptr %30, align 8, !tbaa !9
  %171 = shl i64 %170, 26
  %172 = load i64, ptr %20, align 8, !tbaa !9
  %173 = sub nsw i64 %172, %171
  store i64 %173, ptr %20, align 8, !tbaa !9
  %174 = load i64, ptr %12, align 8, !tbaa !9
  %175 = trunc i64 %174 to i32
  %176 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0
  store i32 %175, ptr %176, align 16, !tbaa !11
  %177 = load i64, ptr %13, align 8, !tbaa !9
  %178 = trunc i64 %177 to i32
  %179 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 1
  store i32 %178, ptr %179, align 4, !tbaa !11
  %180 = load i64, ptr %14, align 8, !tbaa !9
  %181 = trunc i64 %180 to i32
  %182 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 2
  store i32 %181, ptr %182, align 8, !tbaa !11
  %183 = load i64, ptr %15, align 8, !tbaa !9
  %184 = trunc i64 %183 to i32
  %185 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 3
  store i32 %184, ptr %185, align 4, !tbaa !11
  %186 = load i64, ptr %16, align 8, !tbaa !9
  %187 = trunc i64 %186 to i32
  %188 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 4
  store i32 %187, ptr %188, align 16, !tbaa !11
  %189 = load i64, ptr %17, align 8, !tbaa !9
  %190 = trunc i64 %189 to i32
  %191 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 5
  store i32 %190, ptr %191, align 4, !tbaa !11
  %192 = load i64, ptr %18, align 8, !tbaa !9
  %193 = trunc i64 %192 to i32
  %194 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 6
  store i32 %193, ptr %194, align 8, !tbaa !11
  %195 = load i64, ptr %19, align 8, !tbaa !9
  %196 = trunc i64 %195 to i32
  %197 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 7
  store i32 %196, ptr %197, align 4, !tbaa !11
  %198 = load i64, ptr %20, align 8, !tbaa !9
  %199 = trunc i64 %198 to i32
  %200 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 8
  store i32 %199, ptr %200, align 16, !tbaa !11
  %201 = load i64, ptr %21, align 8, !tbaa !9
  %202 = trunc i64 %201 to i32
  %203 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 9
  store i32 %202, ptr %203, align 4, !tbaa !11
  %204 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
  %205 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0
  call void @fe_sq2(ptr noundef %204, ptr noundef %205)
  %206 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  call void @fe_1(ptr noundef %206)
  %207 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  %208 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
  %209 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  call void @fe_add(ptr noundef %207, ptr noundef %208, ptr noundef %209)
  %210 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  %211 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  call void @fe_sq(ptr noundef %210, ptr noundef %211)
  %212 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %213 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
  call void @fe_mul(ptr noundef %212, ptr noundef @fe_ma2, ptr noundef %213)
  %214 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  %215 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  %216 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  call void @fe_add(ptr noundef %214, ptr noundef %215, ptr noundef %216)
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ge_p2, ptr %217, i32 0, i32 0
  %219 = getelementptr inbounds [10 x i32], ptr %218, i64 0, i64 0
  %220 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  %221 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_divpowm1(ptr noundef %219, ptr noundef %220, ptr noundef %221)
  %222 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ge_p2, ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds [10 x i32], ptr %224, i64 0, i64 0
  call void @fe_sq(ptr noundef %222, ptr noundef %225)
  %226 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  %227 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %228 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_mul(ptr noundef %226, ptr noundef %227, ptr noundef %228)
  %229 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %230 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  %231 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_sub(ptr noundef %229, ptr noundef %230, ptr noundef %231)
  %232 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
  call void @fe_copy(ptr noundef %232, ptr noundef @fe_ma)
  %233 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %234 = call i32 @fe_isnonzero(ptr noundef %233)
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %252

236:                                              ; preds = %2
  %237 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %238 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  %239 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_add(ptr noundef %237, ptr noundef %238, ptr noundef %239)
  %240 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %241 = call i32 @fe_isnonzero(ptr noundef %240)
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %244

243:                                              ; preds = %236
  br label %270

244:                                              ; preds = %236
  %245 = load ptr, ptr %3, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ge_p2, ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds [10 x i32], ptr %246, i64 0, i64 0
  %248 = load ptr, ptr %3, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ge_p2, ptr %248, i32 0, i32 0
  %250 = getelementptr inbounds [10 x i32], ptr %249, i64 0, i64 0
  call void @fe_mul(ptr noundef %247, ptr noundef %250, ptr noundef @fe_fffb1)
  br label %251

251:                                              ; preds = %244
  br label %259

252:                                              ; preds = %2
  %253 = load ptr, ptr %3, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ge_p2, ptr %253, i32 0, i32 0
  %255 = getelementptr inbounds [10 x i32], ptr %254, i64 0, i64 0
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.ge_p2, ptr %256, i32 0, i32 0
  %258 = getelementptr inbounds [10 x i32], ptr %257, i64 0, i64 0
  call void @fe_mul(ptr noundef %255, ptr noundef %258, ptr noundef @fe_fffb2)
  br label %259

259:                                              ; preds = %252, %251
  %260 = load ptr, ptr %3, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ge_p2, ptr %260, i32 0, i32 0
  %262 = getelementptr inbounds [10 x i32], ptr %261, i64 0, i64 0
  %263 = load ptr, ptr %3, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.ge_p2, ptr %263, i32 0, i32 0
  %265 = getelementptr inbounds [10 x i32], ptr %264, i64 0, i64 0
  %266 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0
  call void @fe_mul(ptr noundef %262, ptr noundef %265, ptr noundef %266)
  %267 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
  %268 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
  %269 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
  call void @fe_mul(ptr noundef %267, ptr noundef %268, ptr noundef %269)
  store i8 0, ptr %11, align 1, !tbaa !13
  br label %304

270:                                              ; preds = %243
  %271 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  %272 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_mul(ptr noundef %271, ptr noundef %272, ptr noundef @fe_sqrtm1)
  %273 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %274 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  %275 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_sub(ptr noundef %273, ptr noundef %274, ptr noundef %275)
  %276 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %277 = call i32 @fe_isnonzero(ptr noundef %276)
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %296

279:                                              ; preds = %270
  %280 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %281 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  %282 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
  call void @fe_add(ptr noundef %280, ptr noundef %281, ptr noundef %282)
  %283 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
  %284 = call i32 @fe_isnonzero(ptr noundef %283)
  %285 = icmp ne i32 %284, 0
  %286 = xor i1 %285, true
  br i1 %286, label %287, label %288

287:                                              ; preds = %279
  br label %289

288:                                              ; preds = %279
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2139, ptr noundef @__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime) #4
  unreachable

289:                                              ; preds = %287
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.ge_p2, ptr %290, i32 0, i32 0
  %292 = getelementptr inbounds [10 x i32], ptr %291, i64 0, i64 0
  %293 = load ptr, ptr %3, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ge_p2, ptr %293, i32 0, i32 0
  %295 = getelementptr inbounds [10 x i32], ptr %294, i64 0, i64 0
  call void @fe_mul(ptr noundef %292, ptr noundef %295, ptr noundef @fe_fffb3)
  br label %303

296:                                              ; preds = %270
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ge_p2, ptr %297, i32 0, i32 0
  %299 = getelementptr inbounds [10 x i32], ptr %298, i64 0, i64 0
  %300 = load ptr, ptr %3, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.ge_p2, ptr %300, i32 0, i32 0
  %302 = getelementptr inbounds [10 x i32], ptr %301, i64 0, i64 0
  call void @fe_mul(ptr noundef %299, ptr noundef %302, ptr noundef @fe_fffb4)
  br label %303

303:                                              ; preds = %296, %289
  store i8 1, ptr %11, align 1, !tbaa !13
  br label %304

304:                                              ; preds = %303, %259
  %305 = load ptr, ptr %3, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ge_p2, ptr %305, i32 0, i32 0
  %307 = getelementptr inbounds [10 x i32], ptr %306, i64 0, i64 0
  %308 = call i32 @fe_isnegative(ptr noundef %307)
  %309 = load i8, ptr %11, align 1, !tbaa !13
  %310 = zext i8 %309 to i32
  %311 = icmp ne i32 %308, %310
  br i1 %311, label %312, label %327

312:                                              ; preds = %304
  %313 = load ptr, ptr %3, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.ge_p2, ptr %313, i32 0, i32 0
  %315 = getelementptr inbounds [10 x i32], ptr %314, i64 0, i64 0
  %316 = call i32 @fe_isnonzero(ptr noundef %315)
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %319

318:                                              ; preds = %312
  br label %320

319:                                              ; preds = %312
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 2149, ptr noundef @__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime) #4
  unreachable

320:                                              ; preds = %318
  %321 = load ptr, ptr %3, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ge_p2, ptr %321, i32 0, i32 0
  %323 = getelementptr inbounds [10 x i32], ptr %322, i64 0, i64 0
  %324 = load ptr, ptr %3, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ge_p2, ptr %324, i32 0, i32 0
  %326 = getelementptr inbounds [10 x i32], ptr %325, i64 0, i64 0
  call void @fe_neg(ptr noundef %323, ptr noundef %326)
  br label %327

327:                                              ; preds = %320, %304
  %328 = load ptr, ptr %3, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.ge_p2, ptr %328, i32 0, i32 2
  %330 = getelementptr inbounds [10 x i32], ptr %329, i64 0, i64 0
  %331 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
  %332 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  call void @fe_add(ptr noundef %330, ptr noundef %331, ptr noundef %332)
  %333 = load ptr, ptr %3, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.ge_p2, ptr %333, i32 0, i32 1
  %335 = getelementptr inbounds [10 x i32], ptr %334, i64 0, i64 0
  %336 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
  %337 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
  call void @fe_sub(ptr noundef %335, ptr noundef %336, ptr noundef %337)
  %338 = load ptr, ptr %3, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.ge_p2, ptr %338, i32 0, i32 0
  %340 = getelementptr inbounds [10 x i32], ptr %339, i64 0, i64 0
  %341 = load ptr, ptr %3, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ge_p2, ptr %341, i32 0, i32 0
  %343 = getelementptr inbounds [10 x i32], ptr %342, i64 0, i64 0
  %344 = load ptr, ptr %3, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ge_p2, ptr %344, i32 0, i32 2
  %346 = getelementptr inbounds [10 x i32], ptr %345, i64 0, i64 0
  call void @fe_mul(ptr noundef %340, ptr noundef %343, ptr noundef %346)
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #3
  %347 = getelementptr inbounds [10 x i32], ptr %34, i64 0, i64 0
  %348 = load ptr, ptr %3, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.ge_p2, ptr %348, i32 0, i32 2
  %350 = getelementptr inbounds [10 x i32], ptr %349, i64 0, i64 0
  call void @fe_invert(ptr noundef %347, ptr noundef %350)
  %351 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ge_p2, ptr %352, i32 0, i32 0
  %354 = getelementptr inbounds [10 x i32], ptr %353, i64 0, i64 0
  %355 = getelementptr inbounds [10 x i32], ptr %34, i64 0, i64 0
  call void @fe_mul(ptr noundef %351, ptr noundef %354, ptr noundef %355)
  %356 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 0
  %357 = load ptr, ptr %3, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ge_p2, ptr %357, i32 0, i32 1
  %359 = getelementptr inbounds [10 x i32], ptr %358, i64 0, i64 0
  %360 = getelementptr inbounds [10 x i32], ptr %34, i64 0, i64 0
  call void @fe_mul(ptr noundef %356, ptr noundef %359, ptr noundef %360)
  %361 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  %362 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  call void @fe_sq(ptr noundef %361, ptr noundef %362)
  %363 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 0
  %364 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 0
  call void @fe_sq(ptr noundef %363, ptr noundef %364)
  %365 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %366 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  %367 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 0
  call void @fe_mul(ptr noundef %365, ptr noundef %366, ptr noundef %367)
  %368 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %369 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  call void @fe_mul(ptr noundef %368, ptr noundef @fe_d, ptr noundef %369)
  %370 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %371 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %372 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  call void @fe_add(ptr noundef %370, ptr noundef %371, ptr noundef %372)
  %373 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %374 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %375 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 0
  call void @fe_sub(ptr noundef %373, ptr noundef %374, ptr noundef %375)
  %376 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  call void @fe_1(ptr noundef %376)
  %377 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %378 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %379 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0
  call void @fe_add(ptr noundef %377, ptr noundef %378, ptr noundef %379)
  %380 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 0
  %381 = call i32 @fe_isnonzero(ptr noundef %380)
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %384, label %383

383:                                              ; preds = %327
  br label %385

384:                                              ; preds = %327
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 2169, ptr noundef @__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime) #4
  unreachable

385:                                              ; preds = %383
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #3
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@fe_d = external constant [10 x i32], align 16
@fe_sqrtm1 = external constant [10 x i32], align 16
@fe_ma2 = external constant [10 x i32], align 16
@fe_ma = external constant [10 x i32], align 16
@fe_fffb1 = external constant [10 x i32], align 16
@fe_fffb2 = external constant [10 x i32], align 16
@.str = external hidden unnamed_addr constant [36 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime = external hidden unnamed_addr constant [65 x i8], align 1
@fe_fffb3 = external constant [10 x i32], align 16
@fe_fffb4 = external constant [10 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden void @fe_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_sub(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_mul(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare hidden i64 @load_4(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i64 @load_3(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_1(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_sq(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_divpowm1(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @fe_isnonzero(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @fe_isnegative(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_neg(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_sq2(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_copy(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @fe_invert(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @ge_fromfe_frombytes_vartime(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca [10 x i32], align 16
  %4 = alloca [10 x i32], align 16
  %5 = alloca [10 x i32], align 16
  %6 = alloca [10 x i32], align 16
  %7 = alloca [10 x i32], align 16
  %8 = alloca [10 x i32], align 16
  %9 = alloca [10 x i32], align 16
  %10 = alloca [10 x i32], align 16
  %11 = alloca [10 x i32], align 16
  %12 = alloca [10 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #3
  %13 = tail call i64 @load_4(ptr noundef %1)
  %14 = getelementptr inbounds i8, ptr %1, i64 4
  %15 = tail call i64 @load_3(ptr noundef nonnull %14)
  %16 = shl i64 %15, 6
  %17 = getelementptr inbounds i8, ptr %1, i64 7
  %18 = tail call i64 @load_3(ptr noundef nonnull %17)
  %19 = shl i64 %18, 5
  %20 = getelementptr inbounds i8, ptr %1, i64 10
  %21 = tail call i64 @load_3(ptr noundef nonnull %20)
  %22 = shl i64 %21, 3
  %23 = getelementptr inbounds i8, ptr %1, i64 13
  %24 = tail call i64 @load_3(ptr noundef nonnull %23)
  %25 = shl i64 %24, 2
  %26 = getelementptr inbounds i8, ptr %1, i64 16
  %27 = tail call i64 @load_4(ptr noundef nonnull %26)
  %28 = getelementptr inbounds i8, ptr %1, i64 20
  %29 = tail call i64 @load_3(ptr noundef nonnull %28)
  %30 = shl i64 %29, 7
  %31 = getelementptr inbounds i8, ptr %1, i64 23
  %32 = tail call i64 @load_3(ptr noundef nonnull %31)
  %33 = shl i64 %32, 5
  %34 = getelementptr inbounds i8, ptr %1, i64 26
  %35 = tail call i64 @load_3(ptr noundef nonnull %34)
  %36 = shl i64 %35, 4
  %37 = getelementptr inbounds i8, ptr %1, i64 29
  %38 = tail call i64 @load_3(ptr noundef nonnull %37)
  %39 = shl i64 %38, 2
  %40 = add nsw i64 %39, 16777216
  %41 = ashr i64 %40, 25
  %42 = mul nsw i64 %41, 19
  %43 = add nsw i64 %42, %13
  %44 = and i64 %40, 4261412864
  %45 = sub i64 %39, %44
  %46 = add nsw i64 %16, 16777216
  %47 = ashr i64 %46, 25
  %48 = add nsw i64 %47, %19
  %49 = and i64 %46, 4261412864
  %50 = sub i64 %16, %49
  %51 = add nsw i64 %22, 16777216
  %52 = ashr i64 %51, 25
  %53 = add nsw i64 %52, %25
  %54 = and i64 %51, 4261412864
  %55 = sub i64 %22, %54
  %56 = add nsw i64 %27, 16777216
  %57 = ashr i64 %56, 25
  %58 = add nsw i64 %30, %57
  %59 = and i64 %56, 4261412864
  %60 = sub i64 %27, %59
  %61 = add nsw i64 %33, 16777216
  %62 = ashr i64 %61, 25
  %63 = add nsw i64 %62, %36
  %64 = and i64 %61, 4261412864
  %65 = sub i64 %33, %64
  %66 = add nsw i64 %43, 33554432
  %67 = lshr i64 %66, 26
  %68 = add i64 %50, %67
  %69 = and i64 %66, 4227858432
  %70 = sub i64 %43, %69
  %71 = add nsw i64 %48, 33554432
  %72 = lshr i64 %71, 26
  %73 = add i64 %55, %72
  %74 = and i64 %71, 4227858432
  %75 = sub i64 %48, %74
  %76 = add nsw i64 %53, 33554432
  %77 = lshr i64 %76, 26
  %78 = add i64 %60, %77
  %79 = and i64 %76, 4227858432
  %80 = sub i64 %53, %79
  %81 = add nsw i64 %58, 33554432
  %82 = lshr i64 %81, 26
  %83 = add i64 %65, %82
  %84 = and i64 %81, 4227858432
  %85 = sub i64 %58, %84
  %86 = add nsw i64 %63, 33554432
  %87 = lshr i64 %86, 26
  %88 = add i64 %45, %87
  %89 = and i64 %86, 4227858432
  %90 = sub i64 %63, %89
  %91 = trunc i64 %70 to i32
  store i32 %91, ptr %3, align 16, !tbaa !5
  %92 = trunc i64 %68 to i32
  %93 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %92, ptr %93, align 4, !tbaa !5
  %94 = trunc i64 %75 to i32
  %95 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 %94, ptr %95, align 8, !tbaa !5
  %96 = trunc i64 %73 to i32
  %97 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 %96, ptr %97, align 4, !tbaa !5
  %98 = trunc i64 %80 to i32
  %99 = getelementptr inbounds i8, ptr %3, i64 16
  store i32 %98, ptr %99, align 16, !tbaa !5
  %100 = trunc i64 %78 to i32
  %101 = getelementptr inbounds i8, ptr %3, i64 20
  store i32 %100, ptr %101, align 4, !tbaa !5
  %102 = trunc i64 %85 to i32
  %103 = getelementptr inbounds i8, ptr %3, i64 24
  store i32 %102, ptr %103, align 8, !tbaa !5
  %104 = trunc i64 %83 to i32
  %105 = getelementptr inbounds i8, ptr %3, i64 28
  store i32 %104, ptr %105, align 4, !tbaa !5
  %106 = trunc i64 %90 to i32
  %107 = getelementptr inbounds i8, ptr %3, i64 32
  store i32 %106, ptr %107, align 16, !tbaa !5
  %108 = trunc i64 %88 to i32
  %109 = getelementptr inbounds i8, ptr %3, i64 36
  store i32 %108, ptr %109, align 4, !tbaa !5
  call void @fe_sq2(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @fe_1(ptr noundef nonnull %5)
  call void @fe_add(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %5)
  call void @fe_sq(ptr noundef nonnull %6, ptr noundef nonnull %5)
  call void @fe_mul(ptr noundef nonnull %7, ptr noundef nonnull @fe_ma2, ptr noundef nonnull %4)
  call void @fe_add(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %7)
  call void @fe_divpowm1(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6)
  call void @fe_sq(ptr noundef nonnull %7, ptr noundef %0)
  call void @fe_mul(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %6)
  call void @fe_sub(ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6)
  call void @fe_copy(ptr noundef nonnull %8, ptr noundef nonnull @fe_ma)
  %110 = call i32 @fe_isnonzero(ptr noundef nonnull %7)
  %.not = icmp eq i32 %110, 0
  br i1 %.not, label %113, label %111

111:                                              ; preds = %2
  call void @fe_add(ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6)
  %112 = call i32 @fe_isnonzero(ptr noundef nonnull %7)
  %.not94 = icmp eq i32 %112, 0
  br i1 %.not94, label %113, label %114

113:                                              ; preds = %2, %111
  %fe_fffb2.sink = phi ptr [ @fe_fffb1, %111 ], [ @fe_fffb2, %2 ]
  call void @fe_mul(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %fe_fffb2.sink)
  call void @fe_mul(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %3)
  call void @fe_mul(ptr noundef nonnull %8, ptr noundef nonnull %8, ptr noundef nonnull %4)
  br label %121

114:                                              ; preds = %111
  call void @fe_mul(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull @fe_sqrtm1)
  call void @fe_sub(ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6)
  %115 = call i32 @fe_isnonzero(ptr noundef nonnull %7)
  %.not95 = icmp eq i32 %115, 0
  br i1 %.not95, label %120, label %116

116:                                              ; preds = %114
  call void @fe_add(ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6)
  %117 = call i32 @fe_isnonzero(ptr noundef nonnull %7)
  %.not96 = icmp eq i32 %117, 0
  br i1 %.not96, label %119, label %118

118:                                              ; preds = %116
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 2139, ptr noundef nonnull @__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime) #4
  unreachable

119:                                              ; preds = %116
  call void @fe_mul(ptr noundef %0, ptr noundef %0, ptr noundef nonnull @fe_fffb3)
  br label %121

120:                                              ; preds = %114
  call void @fe_mul(ptr noundef %0, ptr noundef %0, ptr noundef nonnull @fe_fffb4)
  br label %121

121:                                              ; preds = %119, %120, %113
  %.0 = phi i32 [ 0, %113 ], [ 1, %120 ], [ 1, %119 ]
  %122 = call i32 @fe_isnegative(ptr noundef %0)
  %.not97 = icmp eq i32 %122, %.0
  br i1 %.not97, label %127, label %123

123:                                              ; preds = %121
  %124 = call i32 @fe_isnonzero(ptr noundef %0)
  %.not98 = icmp eq i32 %124, 0
  br i1 %.not98, label %125, label %126

125:                                              ; preds = %123
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 2149, ptr noundef nonnull @__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime) #4
  unreachable

126:                                              ; preds = %123
  call void @fe_neg(ptr noundef %0, ptr noundef %0)
  br label %127

127:                                              ; preds = %126, %121
  %128 = getelementptr inbounds i8, ptr %0, i64 80
  call void @fe_add(ptr noundef nonnull %128, ptr noundef nonnull %8, ptr noundef nonnull %5)
  %129 = getelementptr inbounds i8, ptr %0, i64 40
  call void @fe_sub(ptr noundef nonnull %129, ptr noundef nonnull %8, ptr noundef nonnull %5)
  call void @fe_mul(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %128)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #3
  call void @fe_invert(ptr noundef nonnull %11, ptr noundef nonnull %128)
  call void @fe_mul(ptr noundef nonnull %9, ptr noundef %0, ptr noundef nonnull %11)
  call void @fe_mul(ptr noundef nonnull %10, ptr noundef nonnull %129, ptr noundef nonnull %11)
  call void @fe_sq(ptr noundef nonnull %9, ptr noundef nonnull %9)
  call void @fe_sq(ptr noundef nonnull %10, ptr noundef nonnull %10)
  call void @fe_mul(ptr noundef nonnull %12, ptr noundef nonnull %9, ptr noundef nonnull %10)
  call void @fe_mul(ptr noundef nonnull %12, ptr noundef nonnull @fe_d, ptr noundef nonnull %12)
  call void @fe_add(ptr noundef nonnull %12, ptr noundef nonnull %12, ptr noundef nonnull %9)
  call void @fe_sub(ptr noundef nonnull %12, ptr noundef nonnull %12, ptr noundef nonnull %10)
  call void @fe_1(ptr noundef nonnull %9)
  call void @fe_add(ptr noundef nonnull %12, ptr noundef nonnull %12, ptr noundef nonnull %9)
  %130 = call i32 @fe_isnonzero(ptr noundef nonnull %12)
  %.not99 = icmp eq i32 %130, 0
  br i1 %.not99, label %132, label %131

131:                                              ; preds = %127
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 2169, ptr noundef nonnull @__PRETTY_FUNCTION__.ge_fromfe_frombytes_vartime) #4
  unreachable

132:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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