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

; 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._cpGFpEC = type { i32, i32, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._cpGFpElement = type { i32, i32, 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._gsModMethod = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local i32 @ippsGFpECSet(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %11 = load ptr, ptr %7, align 8, !tbaa !5
  %12 = icmp eq ptr null, %11
  br i1 %12, label %13, label %14

13:                                               ; preds = %3
  store i32 -8, ptr %4, align 4
  br label %167

14:                                               ; preds = %3
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct._cpGFpEC, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !9
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = call i64 @IPP_UINT_PTR(ptr noundef %18)
  %20 = trunc i64 %19 to i32
  %21 = xor i32 %17, %20
  %22 = icmp eq i32 %21, 1129136461
  br i1 %22, label %24, label %23

23:                                               ; preds = %14
  store i32 -13, ptr %4, align 4
  br label %167

24:                                               ; preds = %14
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = icmp eq ptr null, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  store i32 -8, ptr %4, align 4
  br label %167

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

31:                                               ; preds = %28
  store i32 -8, ptr %4, align 4
  br label %167

32:                                               ; preds = %28
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct._cpGFpElement, ptr %33, i32 0, i32 0
  %35 = load i32, ptr %34, align 8, !tbaa !12
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call i64 @IPP_UINT_PTR(ptr noundef %36)
  %38 = trunc i64 %37 to i32
  %39 = xor i32 %35, %38
  %40 = icmp eq i32 %39, 1129136456
  br i1 %40, label %42, label %41

41:                                               ; preds = %32
  store i32 -13, ptr %4, align 4
  br label %167

42:                                               ; preds = %32
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._cpGFpElement, ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !12
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = call i64 @IPP_UINT_PTR(ptr noundef %46)
  %48 = trunc i64 %47 to i32
  %49 = xor i32 %45, %48
  %50 = icmp eq i32 %49, 1129136456
  br i1 %50, label %52, label %51

51:                                               ; preds = %42
  store i32 -13, ptr %4, align 4
  br label %167

52:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._cpGFpEC, ptr %53, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !14
  %56 = getelementptr inbounds %struct._cpGFp, ptr %55, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !15
  store ptr %57, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._gsModEngine, ptr %58, i32 0, i32 3
  %60 = load i32, ptr %59, align 8, !tbaa !17
  store i32 %60, ptr %9, align 4, !tbaa !20
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._cpGFpElement, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !21
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._gsModEngine, ptr %64, i32 0, i32 3
  %66 = load i32, ptr %65, align 8, !tbaa !17
  %67 = icmp ne i32 %63, %66
  br i1 %67, label %68, label %69

68:                                               ; preds = %52
  store i32 -11, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %166

69:                                               ; preds = %52
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._cpGFpElement, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 4, !tbaa !21
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._gsModEngine, ptr %73, i32 0, i32 3
  %75 = load i32, ptr %74, align 8, !tbaa !17
  %76 = icmp ne i32 %72, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %69
  store i32 -11, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %166

78:                                               ; preds = %69
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._cpGFpEC, ptr %79, i32 0, i32 6
  %81 = load ptr, ptr %80, align 8, !tbaa !22
  %82 = load i32, ptr %9, align 4, !tbaa !20
  %83 = call ptr @cpGFpElementPad(ptr noundef %81, i32 noundef %82, i64 noundef 0)
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._cpGFpEC, ptr %84, i32 0, i32 6
  %86 = load ptr, ptr %85, align 8, !tbaa !22
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._cpGFpElement, ptr %87, i32 0, i32 2
  %89 = load ptr, ptr %88, align 8, !tbaa !23
  %90 = load i32, ptr %9, align 4, !tbaa !20
  %91 = call ptr @cpGFpElementCopy(ptr noundef %86, ptr noundef %89, i32 noundef %90)
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._cpGFpEC, ptr %92, i32 0, i32 6
  %94 = load ptr, ptr %93, align 8, !tbaa !22
  %95 = load i32, ptr %9, align 4, !tbaa !20
  %96 = call i32 @cpGFpElementIsEquChunk(ptr noundef %94, i32 noundef %95, i64 noundef 0)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %101

98:                                               ; preds = %78
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct._cpGFpEC, ptr %99, i32 0, i32 10
  store i32 2, ptr %100, align 8, !tbaa !24
  br label %101

101:                                              ; preds = %98, %78
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._cpGFpEC, ptr %102, i32 0, i32 7
  %104 = load ptr, ptr %103, align 8, !tbaa !25
  %105 = load i32, ptr %9, align 4, !tbaa !20
  %106 = call ptr @cpGFpElementSetChunk(ptr noundef %104, i32 noundef %105, i64 noundef 3)
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct._gsModEngine, ptr %107, i32 0, i32 6
  %109 = load ptr, ptr %108, align 8, !tbaa !26
  %110 = getelementptr inbounds %struct._gsModMethod, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !27
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._cpGFpEC, ptr %112, i32 0, i32 7
  %114 = load ptr, ptr %113, align 8, !tbaa !25
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct._cpGFpEC, ptr %115, i32 0, i32 7
  %117 = load ptr, ptr %116, align 8, !tbaa !25
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = call ptr %111(ptr noundef %114, ptr noundef %117, ptr noundef %118)
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._gsModEngine, ptr %120, i32 0, i32 6
  %122 = load ptr, ptr %121, align 8, !tbaa !26
  %123 = getelementptr inbounds %struct._gsModMethod, ptr %122, i32 0, i32 5
  %124 = load ptr, ptr %123, align 8, !tbaa !29
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct._cpGFpEC, ptr %125, i32 0, i32 7
  %127 = load ptr, ptr %126, align 8, !tbaa !25
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._cpGFpEC, ptr %128, i32 0, i32 6
  %130 = load ptr, ptr %129, align 8, !tbaa !22
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct._cpGFpEC, ptr %131, i32 0, i32 7
  %133 = load ptr, ptr %132, align 8, !tbaa !25
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = call ptr %124(ptr noundef %127, ptr noundef %130, ptr noundef %133, ptr noundef %134)
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct._cpGFpEC, ptr %136, i32 0, i32 7
  %138 = load ptr, ptr %137, align 8, !tbaa !25
  %139 = load i32, ptr %9, align 4, !tbaa !20
  %140 = call i32 @cpGFpElementIsEquChunk(ptr noundef %138, i32 noundef %139, i64 noundef 0)
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %145

142:                                              ; preds = %101
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._cpGFpEC, ptr %143, i32 0, i32 10
  store i32 1, ptr %144, align 8, !tbaa !24
  br label %145

145:                                              ; preds = %142, %101
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct._cpGFpEC, ptr %146, i32 0, i32 7
  %148 = load ptr, ptr %147, align 8, !tbaa !25
  %149 = load i32, ptr %9, align 4, !tbaa !20
  %150 = call ptr @cpGFpElementPad(ptr noundef %148, i32 noundef %149, i64 noundef 0)
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct._cpGFpEC, ptr %151, i32 0, i32 7
  %153 = load ptr, ptr %152, align 8, !tbaa !25
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct._cpGFpElement, ptr %154, i32 0, i32 2
  %156 = load ptr, ptr %155, align 8, !tbaa !23
  %157 = load i32, ptr %9, align 4, !tbaa !20
  %158 = call ptr @cpGFpElementCopy(ptr noundef %153, ptr noundef %156, i32 noundef %157)
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct._cpGFpEC, ptr %159, i32 0, i32 7
  %161 = load ptr, ptr %160, align 8, !tbaa !25
  %162 = load i32, ptr %9, align 4, !tbaa !20
  %163 = call i32 @cpGFpElementIsEquChunk(ptr noundef %161, i32 noundef %162, i64 noundef 0)
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct._cpGFpEC, ptr %164, i32 0, i32 11
  store i32 %163, ptr %165, align 4, !tbaa !30
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %166

166:                                              ; preds = %145, %77, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %167

167:                                              ; preds = %166, %51, %41, %31, %27, %23, %13
  %168 = load i32, ptr %4, align 4
  ret i32 %168
}

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }

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

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


; 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 range(i32 -13, 1) i32 @ippsGFpECSet(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = icmp eq ptr %2, null
  br i1 %4, label %79, label %5

5:                                                ; preds = %3
  %6 = load i32, ptr %2, align 8, !tbaa !5
  %7 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %2)
  %8 = trunc i64 %7 to i32
  %9 = xor i32 %6, %8
  %10 = icmp eq i32 %9, 1129136461
  br i1 %10, label %11, label %79

11:                                               ; preds = %5
  %12 = icmp eq ptr %0, null
  %13 = icmp eq ptr %1, null
  %or.cond = or i1 %12, %13
  br i1 %or.cond, label %79, label %14

14:                                               ; preds = %11
  %15 = load i32, ptr %0, align 8, !tbaa !11
  %16 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %0)
  %17 = trunc i64 %16 to i32
  %18 = xor i32 %15, %17
  %19 = icmp eq i32 %18, 1129136456
  br i1 %19, label %20, label %79

20:                                               ; preds = %14
  %21 = load i32, ptr %1, align 8, !tbaa !11
  %22 = tail call i64 @IPP_UINT_PTR(ptr noundef nonnull %1)
  %23 = trunc i64 %22 to i32
  %24 = xor i32 %21, %23
  %25 = icmp eq i32 %24, 1129136456
  br i1 %25, label %26, label %79

26:                                               ; preds = %20
  %27 = getelementptr inbounds i8, ptr %2, i64 8
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %32 = load i32, ptr %31, align 8, !tbaa !16
  %33 = getelementptr inbounds i8, ptr %0, i64 4
  %34 = load i32, ptr %33, align 4, !tbaa !19
  %.not = icmp eq i32 %34, %32
  br i1 %.not, label %35, label %79

35:                                               ; preds = %26
  %36 = getelementptr inbounds i8, ptr %1, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !19
  %.not49 = icmp eq i32 %37, %32
  br i1 %.not49, label %38, label %79

38:                                               ; preds = %35
  %39 = getelementptr inbounds i8, ptr %2, i64 32
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = tail call ptr @cpGFpElementPad(ptr noundef %40, i32 noundef %32, i64 noundef 0)
  %42 = load ptr, ptr %39, align 8, !tbaa !20
  %43 = getelementptr inbounds i8, ptr %0, i64 8
  %44 = load ptr, ptr %43, align 8, !tbaa !21
  %45 = tail call ptr @cpGFpElementCopy(ptr noundef %42, ptr noundef %44, i32 noundef %32)
  %46 = load ptr, ptr %39, align 8, !tbaa !20
  %47 = tail call i32 @cpGFpElementIsEquChunk(ptr noundef %46, i32 noundef %32, i64 noundef 0)
  %.not50 = icmp eq i32 %47, 0
  br i1 %.not50, label %50, label %48

48:                                               ; preds = %38
  %49 = getelementptr inbounds i8, ptr %2, i64 64
  store i32 2, ptr %49, align 8, !tbaa !22
  br label %50

50:                                               ; preds = %48, %38
  %51 = getelementptr inbounds i8, ptr %2, i64 40
  %52 = load ptr, ptr %51, align 8, !tbaa !23
  %53 = tail call ptr @cpGFpElementSetChunk(ptr noundef %52, i32 noundef %32, i64 noundef 3)
  %54 = getelementptr inbounds i8, ptr %30, i64 32
  %55 = load ptr, ptr %54, align 8, !tbaa !24
  %56 = load ptr, ptr %55, align 8, !tbaa !25
  %57 = load ptr, ptr %51, align 8, !tbaa !23
  %58 = tail call ptr %56(ptr noundef %57, ptr noundef %57, ptr noundef nonnull %30) #2
  %59 = load ptr, ptr %54, align 8, !tbaa !24
  %60 = getelementptr inbounds i8, ptr %59, i64 40
  %61 = load ptr, ptr %60, align 8, !tbaa !27
  %62 = load ptr, ptr %51, align 8, !tbaa !23
  %63 = load ptr, ptr %39, align 8, !tbaa !20
  %64 = tail call ptr %61(ptr noundef %62, ptr noundef %63, ptr noundef %62, ptr noundef nonnull %30) #2
  %65 = load ptr, ptr %51, align 8, !tbaa !23
  %66 = tail call i32 @cpGFpElementIsEquChunk(ptr noundef %65, i32 noundef %32, i64 noundef 0)
  %.not51 = icmp eq i32 %66, 0
  br i1 %.not51, label %69, label %67

67:                                               ; preds = %50
  %68 = getelementptr inbounds i8, ptr %2, i64 64
  store i32 1, ptr %68, align 8, !tbaa !22
  br label %69

69:                                               ; preds = %67, %50
  %70 = load ptr, ptr %51, align 8, !tbaa !23
  %71 = tail call ptr @cpGFpElementPad(ptr noundef %70, i32 noundef %32, i64 noundef 0)
  %72 = load ptr, ptr %51, align 8, !tbaa !23
  %73 = getelementptr inbounds i8, ptr %1, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !21
  %75 = tail call ptr @cpGFpElementCopy(ptr noundef %72, ptr noundef %74, i32 noundef %32)
  %76 = load ptr, ptr %51, align 8, !tbaa !23
  %77 = tail call i32 @cpGFpElementIsEquChunk(ptr noundef %76, i32 noundef %32, i64 noundef 0)
  %78 = getelementptr inbounds i8, ptr %2, i64 68
  store i32 %77, ptr %78, align 4, !tbaa !28
  br label %79

79:                                               ; preds = %69, %26, %35, %20, %14, %11, %5, %3
  %.1 = phi i32 [ -8, %3 ], [ -13, %5 ], [ -8, %11 ], [ -13, %14 ], [ -13, %20 ], [ 0, %69 ], [ -11, %26 ], [ -11, %35 ]
  ret i32 %.1
}

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementSetChunk(ptr noundef, i32 noundef, i64 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 = { 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 #2 = { 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 = !{!12, !7, i64 0}
!12 = !{!"_cpGFpElement", !7, i64 0, !7, i64 4, !10, i64 8}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !10, i64 8}
!15 = !{!"_cpGFp", !7, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!17, !7, i64 16}
!17 = !{!"_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, !18, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !7, i64 100, !10, i64 104}
!18 = !{!"long long", !8, i64 0}
!19 = !{!12, !7, i64 4}
!20 = !{!6, !10, i64 32}
!21 = !{!12, !10, i64 8}
!22 = !{!6, !7, i64 64}
!23 = !{!6, !10, i64 40}
!24 = !{!17, !10, i64 32}
!25 = !{!26, !10, i64 0}
!26 = !{!"_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}
!27 = !{!26, !10, i64 40}
!28 = !{!6, !7, i64 68}


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