; LLVM IR from gbanegas/CryptoSith :: gf (GFieldShiftProto)

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

%"class.galoisfield::GField" = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.galoisfield::GFieldElement" = type <{ ptr, i32, [4 x i8] }>
%"class.galoisfield::GFieldPol" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl" }
%"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl" = type { %"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@poly = external dso_local global [9 x i32], align 16
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [47 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.galoisfield::GField", align 8
  %7 = alloca [10 x %"class.galoisfield::GFieldElement"], align 16
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.galoisfield::GFieldPol", align 8
  %12 = alloca [2 x %"class.galoisfield::GFieldElement"], align 16
  %13 = alloca ptr, align 8
  %14 = alloca %"class.galoisfield::GFieldPol", align 8
  %15 = alloca [3 x %"class.galoisfield::GFieldElement"], align 16
  %16 = alloca ptr, align 8
  %17 = alloca %"class.galoisfield::GFieldPol", align 8
  %18 = alloca %"class.galoisfield::GFieldPol", align 8
  %19 = alloca %"class.galoisfield::GFieldPol", align 8
  %20 = alloca %"class.galoisfield::GFieldPol", align 8
  %21 = alloca %"class.galoisfield::GFieldPol", align 8
  %22 = alloca %"class.galoisfield::GFieldPol", align 8
  %23 = alloca %"class.galoisfield::GFieldPol", align 8
  %24 = alloca %"class.galoisfield::GFieldPol", align 8
  %25 = alloca %"class.galoisfield::GFieldPol", align 8
  %26 = alloca %"class.galoisfield::GFieldPol", align 8
  %27 = alloca %"class.galoisfield::GFieldPol", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.galoisfield::GFieldPol", align 8
  %30 = alloca %"class.galoisfield::GFieldPol", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.galoisfield::GFieldPol", align 8
  %33 = alloca i32, align 4
  %34 = alloca %"class.galoisfield::GFieldPol", align 8
  %35 = alloca %"class.galoisfield::GFieldPol", align 8
  %36 = alloca i32, align 4
  %37 = alloca %"class.galoisfield::GFieldPol", align 8
  %38 = alloca %"class.galoisfield::GFieldPol", align 8
  %39 = alloca i32, align 4
  %40 = alloca %"class.galoisfield::GFieldPol", align 8
  %41 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #6
  call void @_ZN11galoisfield6GFieldC1EiPKj(ptr noundef nonnull align 8 dereferenceable(64) %6, i32 noundef 8, ptr noundef @poly)
  call void @llvm.lifetime.start.p0(i64 160, ptr %7) #6
  store ptr %7, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef %6, i32 noundef 1)
          to label %42 unwind label %81

42:                                               ; preds = %2
  %43 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 1
  store ptr %43, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %43, ptr noundef %6, i32 noundef 2)
          to label %44 unwind label %81

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 2
  store ptr %45, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %45, ptr noundef %6, i32 noundef 3)
          to label %46 unwind label %81

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 3
  store ptr %47, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %47, ptr noundef %6, i32 noundef 4)
          to label %48 unwind label %81

48:                                               ; preds = %46
  %49 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 4
  store ptr %49, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %49, ptr noundef %6, i32 noundef 5)
          to label %50 unwind label %81

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 5
  store ptr %51, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %51, ptr noundef %6, i32 noundef 6)
          to label %52 unwind label %81

52:                                               ; preds = %50
  %53 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 6
  store ptr %53, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %53, ptr noundef %6, i32 noundef 7)
          to label %54 unwind label %81

54:                                               ; preds = %52
  %55 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 7
  store ptr %55, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %55, ptr noundef %6, i32 noundef 8)
          to label %56 unwind label %81

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 8
  store ptr %57, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %57, ptr noundef %6, i32 noundef 9)
          to label %58 unwind label %81

58:                                               ; preds = %56
  %59 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %7, i64 9
  store ptr %59, ptr %8, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %59, ptr noundef %6, i32 noundef 10)
          to label %60 unwind label %81

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  %61 = getelementptr inbounds [10 x %"class.galoisfield::GFieldElement"], ptr %7, i64 0, i64 0
  invoke void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef %6, i32 noundef 9, ptr noundef %61)
          to label %62 unwind label %92

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  store ptr %12, ptr %13, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %12, ptr noundef %6, i32 noundef 0)
          to label %63 unwind label %96

63:                                               ; preds = %62
  %64 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %12, i64 1
  store ptr %64, ptr %13, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %64, ptr noundef %6, i32 noundef 1)
          to label %65 unwind label %96

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  %66 = getelementptr inbounds [2 x %"class.galoisfield::GFieldElement"], ptr %12, i64 0, i64 0
  invoke void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef %6, i32 noundef 1, ptr noundef %66)
          to label %67 unwind label %107

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #6
  store ptr %15, ptr %16, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %15, ptr noundef %6, i32 noundef 0)
          to label %68 unwind label %111

68:                                               ; preds = %67
  %69 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %15, i64 1
  store ptr %69, ptr %16, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %69, ptr noundef %6, i32 noundef 0)
          to label %70 unwind label %111

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %15, i64 2
  store ptr %71, ptr %16, align 8
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %71, ptr noundef %6, i32 noundef 1)
          to label %72 unwind label %111

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #6
  %73 = getelementptr inbounds [3 x %"class.galoisfield::GFieldElement"], ptr %15, i64 0, i64 0
  invoke void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %6, i32 noundef 2, ptr noundef %73)
          to label %74 unwind label %122

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %75 unwind label %126

75:                                               ; preds = %74
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %76 unwind label %130

76:                                               ; preds = %75
  %77 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %78 unwind label %134

78:                                               ; preds = %76
  br i1 %77, label %79, label %80

79:                                               ; preds = %78
  br label %139

80:                                               ; preds = %78
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 52, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

81:                                               ; preds = %58, %56, %54, %52, %50, %48, %46, %44, %42, %2
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %9, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %10, align 4
  %85 = load ptr, ptr %8, align 8
  %86 = icmp eq ptr %7, %85
  br i1 %86, label %91, label %87

87:                                               ; preds = %87, %81
  %88 = phi ptr [ %85, %81 ], [ %89, %87 ]
  %89 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %88, i64 -1
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %89) #6
  %90 = icmp eq ptr %89, %7
  br i1 %90, label %91, label %87

91:                                               ; preds = %87, %81
  br label %335

92:                                               ; preds = %60
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  br label %327

96:                                               ; preds = %63, %62
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  %100 = load ptr, ptr %13, align 8
  %101 = icmp eq ptr %12, %100
  br i1 %101, label %106, label %102

102:                                              ; preds = %102, %96
  %103 = phi ptr [ %100, %96 ], [ %104, %102 ]
  %104 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %103, i64 -1
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %104) #6
  %105 = icmp eq ptr %104, %12
  br i1 %105, label %106, label %102

106:                                              ; preds = %102, %96
  br label %326

107:                                              ; preds = %65
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %9, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %10, align 4
  br label %318

111:                                              ; preds = %70, %68, %67
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  %115 = load ptr, ptr %16, align 8
  %116 = icmp eq ptr %15, %115
  br i1 %116, label %121, label %117

117:                                              ; preds = %117, %111
  %118 = phi ptr [ %115, %111 ], [ %119, %117 ]
  %119 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %118, i64 -1
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %119) #6
  %120 = icmp eq ptr %119, %15
  br i1 %120, label %121, label %117

121:                                              ; preds = %117, %111
  br label %317

122:                                              ; preds = %72
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %9, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %10, align 4
  br label %309

126:                                              ; preds = %74
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  br label %147

130:                                              ; preds = %75
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %9, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %10, align 4
  br label %146

134:                                              ; preds = %76
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %9, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %146

138:                                              ; No predecessors!
  br label %139

139:                                              ; preds = %138, %79
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %140 unwind label %148

140:                                              ; preds = %139
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %20, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %141 unwind label %152

141:                                              ; preds = %140
  %142 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %143 unwind label %156

143:                                              ; preds = %141
  br i1 %142, label %144, label %145

144:                                              ; preds = %143
  br label %161

145:                                              ; preds = %143
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 53, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

146:                                              ; preds = %134, %130
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %147

147:                                              ; preds = %146, %126
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  br label %308

148:                                              ; preds = %139
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %9, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %10, align 4
  br label %169

152:                                              ; preds = %140
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %9, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %10, align 4
  br label %168

156:                                              ; preds = %141
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %9, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %168

160:                                              ; No predecessors!
  br label %161

161:                                              ; preds = %160, %144
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %162 unwind label %170

162:                                              ; preds = %161
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %163 unwind label %174

163:                                              ; preds = %162
  %164 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %165 unwind label %178

165:                                              ; preds = %163
  br i1 %164, label %166, label %167

166:                                              ; preds = %165
  br label %183

167:                                              ; preds = %165
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 55, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

168:                                              ; preds = %156, %152
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %169

169:                                              ; preds = %168, %148
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  br label %308

170:                                              ; preds = %161
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %9, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %10, align 4
  br label %191

174:                                              ; preds = %162
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %9, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %10, align 4
  br label %190

178:                                              ; preds = %163
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %9, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %190

182:                                              ; No predecessors!
  br label %183

183:                                              ; preds = %182, %166
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %184 unwind label %192

184:                                              ; preds = %183
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %185 unwind label %196

185:                                              ; preds = %184
  %186 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %187 unwind label %200

187:                                              ; preds = %185
  br i1 %186, label %188, label %189

188:                                              ; preds = %187
  br label %205

189:                                              ; preds = %187
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 56, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

190:                                              ; preds = %178, %174
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br label %191

191:                                              ; preds = %190, %170
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %308

192:                                              ; preds = %183
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %9, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %10, align 4
  br label %213

196:                                              ; preds = %184
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %9, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %10, align 4
  br label %212

200:                                              ; preds = %185
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %9, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  br label %212

204:                                              ; No predecessors!
  br label %205

205:                                              ; preds = %204, %188
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %206 unwind label %214

206:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 1, ptr %28, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %207 unwind label %218

207:                                              ; preds = %206
  %208 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %209 unwind label %222

209:                                              ; preds = %207
  br i1 %208, label %210, label %211

210:                                              ; preds = %209
  br label %227

211:                                              ; preds = %209
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 58, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

212:                                              ; preds = %200, %196
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %213

213:                                              ; preds = %212, %192
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  br label %308

214:                                              ; preds = %205
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %9, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %10, align 4
  br label %236

218:                                              ; preds = %206
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %9, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %10, align 4
  br label %235

222:                                              ; preds = %207
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %9, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %235

226:                                              ; No predecessors!
  br label %227

227:                                              ; preds = %226, %210
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 1, ptr %31, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldlsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %228 unwind label %237

228:                                              ; preds = %227
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %29, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %229 unwind label %241

229:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store i32 2, ptr %33, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %230 unwind label %245

230:                                              ; preds = %229
  %231 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %232 unwind label %249

232:                                              ; preds = %230
  br i1 %231, label %233, label %234

233:                                              ; preds = %232
  br label %254

234:                                              ; preds = %232
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 59, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

235:                                              ; preds = %222, %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %236

236:                                              ; preds = %235, %214
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  br label %308

237:                                              ; preds = %227
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %9, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %10, align 4
  br label %263

241:                                              ; preds = %228
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %9, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %10, align 4
  br label %262

245:                                              ; preds = %229
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %9, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %10, align 4
  br label %261

249:                                              ; preds = %230
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %9, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  br label %261

253:                                              ; No predecessors!
  br label %254

254:                                              ; preds = %253, %233
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #6
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %34, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %255 unwind label %264

255:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store i32 2, ptr %36, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %256 unwind label %268

256:                                              ; preds = %255
  %257 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %258 unwind label %272

258:                                              ; preds = %256
  br i1 %257, label %259, label %260

259:                                              ; preds = %258
  br label %277

260:                                              ; preds = %258
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 61, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

261:                                              ; preds = %249, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %262

262:                                              ; preds = %261, %241
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %263

263:                                              ; preds = %262, %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #6
  br label %308

264:                                              ; preds = %254
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %9, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %10, align 4
  br label %286

268:                                              ; preds = %255
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %9, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %10, align 4
  br label %285

272:                                              ; preds = %256
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %9, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %285

276:                                              ; No predecessors!
  br label %277

277:                                              ; preds = %276, %259
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store i32 1, ptr %39, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldlsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %38, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %278 unwind label %287

278:                                              ; preds = %277
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %37, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %279 unwind label %291

279:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  store i32 3, ptr %41, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8 %40, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %280 unwind label %295

280:                                              ; preds = %279
  %281 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %282 unwind label %299

282:                                              ; preds = %280
  br i1 %281, label %283, label %284

283:                                              ; preds = %282
  br label %304

284:                                              ; preds = %282
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 62, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

285:                                              ; preds = %272, %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  br label %286

286:                                              ; preds = %285, %264
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #6
  br label %308

287:                                              ; preds = %277
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %9, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %10, align 4
  br label %307

291:                                              ; preds = %278
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %9, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %10, align 4
  br label %306

295:                                              ; preds = %279
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %9, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %10, align 4
  br label %305

299:                                              ; preds = %280
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %9, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %10, align 4
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  br label %305

303:                                              ; No predecessors!
  br label %304

304:                                              ; preds = %303, %283
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  call void @exit(i32 noundef 0) #7
  unreachable

305:                                              ; preds = %299, %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  br label %306

306:                                              ; preds = %305, %291
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #6
  br label %307

307:                                              ; preds = %306, %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  br label %308

308:                                              ; preds = %307, %286, %263, %236, %213, %191, %169, %147
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %309

309:                                              ; preds = %308, %122
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  %310 = getelementptr inbounds [3 x %"class.galoisfield::GFieldElement"], ptr %15, i32 0, i32 0
  %311 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %310, i64 3
  br label %312

312:                                              ; preds = %312, %309
  %313 = phi ptr [ %311, %309 ], [ %314, %312 ]
  %314 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %313, i64 -1
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %314) #6
  %315 = icmp eq ptr %314, %310
  br i1 %315, label %316, label %312

316:                                              ; preds = %312
  br label %317

317:                                              ; preds = %316, %121
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %318

318:                                              ; preds = %317, %107
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  %319 = getelementptr inbounds [2 x %"class.galoisfield::GFieldElement"], ptr %12, i32 0, i32 0
  %320 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %319, i64 2
  br label %321

321:                                              ; preds = %321, %318
  %322 = phi ptr [ %320, %318 ], [ %323, %321 ]
  %323 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %322, i64 -1
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %323) #6
  %324 = icmp eq ptr %323, %319
  br i1 %324, label %325, label %321

325:                                              ; preds = %321
  br label %326

326:                                              ; preds = %325, %106
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %327

327:                                              ; preds = %326, %92
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  %328 = getelementptr inbounds [10 x %"class.galoisfield::GFieldElement"], ptr %7, i32 0, i32 0
  %329 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %328, i64 10
  br label %330

330:                                              ; preds = %330, %327
  %331 = phi ptr [ %329, %327 ], [ %332, %330 ]
  %332 = getelementptr inbounds %"class.galoisfield::GFieldElement", ptr %331, i64 -1
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %332) #6
  %333 = icmp eq ptr %332, %328
  br i1 %333, label %334, label %330

334:                                              ; preds = %330
  br label %335

335:                                              ; preds = %334, %91
  call void @llvm.lifetime.end.p0(i64 160, ptr %7) #6
  call void @_ZN11galoisfield6GFieldD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #6
  br label %336

336:                                              ; preds = %335
  %337 = load ptr, ptr %9, align 8
  %338 = load i32, ptr %10, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340
}

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

declare void @_ZN11galoisfield6GFieldC1EiPKj(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef, i32 noundef) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

declare void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

declare void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) #2

declare void @_ZN11galoisfieldlsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

; Function Attrs: nounwind
declare void @_ZN11galoisfield6GFieldD1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5

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

%"class.galoisfield::GField" = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.galoisfield::GFieldElement" = type <{ ptr, i32, [4 x i8] }>
%"class.galoisfield::GFieldPol" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl" }
%"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl" = type { %"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@poly = external dso_local global [9 x i32], align 16
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [47 x i8], align 1

; Function Attrs: mustprogress norecurse noreturn uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.galoisfield::GField", align 8
  %4 = alloca [10 x %"class.galoisfield::GFieldElement"], align 16
  %5 = alloca %"class.galoisfield::GFieldPol", align 8
  %6 = alloca [2 x %"class.galoisfield::GFieldElement"], align 16
  %7 = alloca %"class.galoisfield::GFieldPol", align 8
  %8 = alloca [3 x %"class.galoisfield::GFieldElement"], align 16
  %9 = alloca %"class.galoisfield::GFieldPol", align 8
  %10 = alloca %"class.galoisfield::GFieldPol", align 8
  %11 = alloca %"class.galoisfield::GFieldPol", align 8
  %12 = alloca %"class.galoisfield::GFieldPol", align 8
  %13 = alloca %"class.galoisfield::GFieldPol", align 8
  %14 = alloca %"class.galoisfield::GFieldPol", align 8
  %15 = alloca %"class.galoisfield::GFieldPol", align 8
  %16 = alloca %"class.galoisfield::GFieldPol", align 8
  %17 = alloca %"class.galoisfield::GFieldPol", align 8
  %18 = alloca %"class.galoisfield::GFieldPol", align 8
  %19 = alloca %"class.galoisfield::GFieldPol", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.galoisfield::GFieldPol", align 8
  %22 = alloca %"class.galoisfield::GFieldPol", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.galoisfield::GFieldPol", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.galoisfield::GFieldPol", align 8
  %27 = alloca %"class.galoisfield::GFieldPol", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.galoisfield::GFieldPol", align 8
  %30 = alloca %"class.galoisfield::GFieldPol", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.galoisfield::GFieldPol", align 8
  %33 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #6
  call void @_ZN11galoisfield6GFieldC1EiPKj(ptr noundef nonnull align 8 dereferenceable(64) %3, i32 noundef 8, ptr noundef nonnull @poly)
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %4) #6
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull %3, i32 noundef 1)
          to label %35 unwind label %.thread

.thread:                                          ; preds = %2
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

35:                                               ; preds = %2
  %36 = getelementptr inbounds i8, ptr %4, i64 16
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %36, ptr noundef nonnull %3, i32 noundef 2)
          to label %37 unwind label %72

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %4, i64 32
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %38, ptr noundef nonnull %3, i32 noundef 3)
          to label %39 unwind label %72

39:                                               ; preds = %37
  %40 = getelementptr inbounds i8, ptr %4, i64 48
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %40, ptr noundef nonnull %3, i32 noundef 4)
          to label %41 unwind label %72

41:                                               ; preds = %39
  %42 = getelementptr inbounds i8, ptr %4, i64 64
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %42, ptr noundef nonnull %3, i32 noundef 5)
          to label %43 unwind label %72

43:                                               ; preds = %41
  %44 = getelementptr inbounds i8, ptr %4, i64 80
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %44, ptr noundef nonnull %3, i32 noundef 6)
          to label %45 unwind label %72

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %4, i64 96
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %46, ptr noundef nonnull %3, i32 noundef 7)
          to label %47 unwind label %72

47:                                               ; preds = %45
  %48 = getelementptr inbounds i8, ptr %4, i64 112
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %48, ptr noundef nonnull %3, i32 noundef 8)
          to label %49 unwind label %72

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %4, i64 128
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %50, ptr noundef nonnull %3, i32 noundef 9)
          to label %51 unwind label %72

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %4, i64 144
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %52, ptr noundef nonnull %3, i32 noundef 10)
          to label %53 unwind label %72

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  invoke void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %3, i32 noundef 9, ptr noundef nonnull %4)
          to label %54 unwind label %78

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull %3, i32 noundef 0)
          to label %56 unwind label %.thread68

.thread68:                                        ; preds = %54
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit72

56:                                               ; preds = %54
  %57 = getelementptr inbounds i8, ptr %6, i64 16
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %57, ptr noundef nonnull %3, i32 noundef 1)
          to label %58 unwind label %.loopexit72.loopexit78

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  invoke void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %6)
          to label %59 unwind label %81

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull %3, i32 noundef 0)
          to label %61 unwind label %.thread70

.thread70:                                        ; preds = %59
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit73

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %8, i64 16
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %62, ptr noundef nonnull %3, i32 noundef 0)
          to label %63 unwind label %83

63:                                               ; preds = %61
  %64 = getelementptr inbounds i8, ptr %8, i64 32
  invoke void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %64, ptr noundef nonnull %3, i32 noundef 1)
          to label %65 unwind label %83

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  invoke void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull %3, i32 noundef 2, ptr noundef nonnull %8)
          to label %66 unwind label %89

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %67 unwind label %91

67:                                               ; preds = %66
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %68 unwind label %93

68:                                               ; preds = %67
  %69 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %70 unwind label %95

70:                                               ; preds = %68
  br i1 %69, label %97, label %71

71:                                               ; preds = %70
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 52, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

72:                                               ; preds = %51, %49, %47, %45, %43, %41, %39, %37, %35
  %.034 = phi ptr [ %52, %51 ], [ %50, %49 ], [ %48, %47 ], [ %46, %45 ], [ %44, %43 ], [ %42, %41 ], [ %40, %39 ], [ %38, %37 ], [ %36, %35 ]
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %74

74:                                               ; preds = %72, %74
  %75 = phi ptr [ %.034, %72 ], [ %76, %74 ]
  %76 = getelementptr inbounds i8, ptr %75, i64 -16
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %76) #6
  %77 = icmp eq ptr %76, %4
  br i1 %77, label %.loopexit, label %74

78:                                               ; preds = %53
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

.loopexit72.loopexit78:                           ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %6) #6
  br label %.loopexit72

81:                                               ; preds = %58
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit72.loopexit

83:                                               ; preds = %63, %61
  %.0 = phi ptr [ %64, %63 ], [ %62, %61 ]
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %85

85:                                               ; preds = %83, %85
  %86 = phi ptr [ %.0, %83 ], [ %87, %85 ]
  %87 = getelementptr inbounds i8, ptr %86, i64 -16
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %87) #6
  %88 = icmp eq ptr %87, %8
  br i1 %88, label %.loopexit73, label %85

89:                                               ; preds = %65
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit73.loopexit

91:                                               ; preds = %66
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %104

93:                                               ; preds = %67
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %103

95:                                               ; preds = %68
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %103

97:                                               ; preds = %70
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %98 unwind label %105

98:                                               ; preds = %97
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %99 unwind label %107

99:                                               ; preds = %98
  %100 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %101 unwind label %109

101:                                              ; preds = %99
  br i1 %100, label %111, label %102

102:                                              ; preds = %101
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 53, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

103:                                              ; preds = %95, %93
  %.pn = phi { ptr, i32 } [ %96, %95 ], [ %94, %93 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %104

104:                                              ; preds = %103, %91
  %.pn.pn = phi { ptr, i32 } [ %.pn, %103 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  br label %206

105:                                              ; preds = %97
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %118

107:                                              ; preds = %98
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %117

109:                                              ; preds = %99
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %117

111:                                              ; preds = %101
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %112 unwind label %119

112:                                              ; preds = %111
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %113 unwind label %121

113:                                              ; preds = %112
  %114 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %115 unwind label %123

115:                                              ; preds = %113
  br i1 %114, label %125, label %116

116:                                              ; preds = %115
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 55, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

117:                                              ; preds = %109, %107
  %.pn37 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %118

118:                                              ; preds = %117, %105
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %117 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %206

119:                                              ; preds = %111
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %132

121:                                              ; preds = %112
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %131

123:                                              ; preds = %113
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %131

125:                                              ; preds = %115
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #6
  invoke void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %126 unwind label %133

126:                                              ; preds = %125
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %127 unwind label %135

127:                                              ; preds = %126
  %128 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %129 unwind label %137

129:                                              ; preds = %127
  br i1 %128, label %139, label %130

130:                                              ; preds = %129
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 56, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

131:                                              ; preds = %123, %121
  %.pn40 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %132

132:                                              ; preds = %131, %119
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %131 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  br label %206

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %146

135:                                              ; preds = %126
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %145

137:                                              ; preds = %127
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %145

139:                                              ; preds = %129
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #6
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %140 unwind label %147

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  store i32 1, ptr %20, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %141 unwind label %149

141:                                              ; preds = %140
  %142 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %143 unwind label %151

143:                                              ; preds = %141
  br i1 %142, label %153, label %144

144:                                              ; preds = %143
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 58, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

145:                                              ; preds = %137, %135
  %.pn43 = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %146

146:                                              ; preds = %145, %133
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %145 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  br label %206

147:                                              ; preds = %139
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %161

149:                                              ; preds = %140
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %160

151:                                              ; preds = %141
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %160

153:                                              ; preds = %143
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store i32 1, ptr %23, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldlsERKNS_9GFieldPolERKj(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %154 unwind label %162

154:                                              ; preds = %153
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %155 unwind label %164

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #6
  store i32 2, ptr %25, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %156 unwind label %166

156:                                              ; preds = %155
  %157 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %158 unwind label %168

158:                                              ; preds = %156
  br i1 %157, label %170, label %159

159:                                              ; preds = %158
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 59, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

160:                                              ; preds = %151, %149
  %.pn46 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %161

161:                                              ; preds = %160, %147
  %.pn46.pn = phi { ptr, i32 } [ %.pn46, %160 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #6
  br label %206

162:                                              ; preds = %153
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %178

164:                                              ; preds = %154
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %177

166:                                              ; preds = %155
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %176

168:                                              ; preds = %156
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  br label %176

170:                                              ; preds = %158
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #6
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %171 unwind label %179

171:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #6
  store i32 2, ptr %28, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %172 unwind label %181

172:                                              ; preds = %171
  %173 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %174 unwind label %183

174:                                              ; preds = %172
  br i1 %173, label %185, label %175

175:                                              ; preds = %174
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 61, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

176:                                              ; preds = %168, %166
  %.pn49 = phi { ptr, i32 } [ %169, %168 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %177

177:                                              ; preds = %176, %164
  %.pn49.pn = phi { ptr, i32 } [ %.pn49, %176 ], [ %165, %164 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %178

178:                                              ; preds = %177, %162
  %.pn49.pn.pn = phi { ptr, i32 } [ %.pn49.pn, %177 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  br label %206

179:                                              ; preds = %170
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %193

181:                                              ; preds = %171
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %192

183:                                              ; preds = %172
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %192

185:                                              ; preds = %174
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #6
  store i32 1, ptr %31, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldlsERKNS_9GFieldPolERKj(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %186 unwind label %194

186:                                              ; preds = %185
  invoke void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %29, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %187 unwind label %196

187:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #6
  store i32 3, ptr %33, align 4, !tbaa !5
  invoke void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind nonnull writable sret(%"class.galoisfield::GFieldPol") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %188 unwind label %198

188:                                              ; preds = %187
  %189 = invoke noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %190 unwind label %200

190:                                              ; preds = %188
  br i1 %189, label %202, label %191

191:                                              ; preds = %190
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 62, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

192:                                              ; preds = %183, %181
  %.pn53 = phi { ptr, i32 } [ %184, %183 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %193

193:                                              ; preds = %192, %179
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %192 ], [ %180, %179 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #6
  br label %206

194:                                              ; preds = %185
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %205

196:                                              ; preds = %186
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %204

198:                                              ; preds = %187
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %203

200:                                              ; preds = %188
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  br label %203

202:                                              ; preds = %190
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #6
  call void @exit(i32 noundef 0) #7
  unreachable

203:                                              ; preds = %200, %198
  %.pn56 = phi { ptr, i32 } [ %201, %200 ], [ %199, %198 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %204

204:                                              ; preds = %203, %196
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %203 ], [ %197, %196 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %205

205:                                              ; preds = %204, %194
  %.pn56.pn.pn = phi { ptr, i32 } [ %.pn56.pn, %204 ], [ %195, %194 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #6
  br label %206

206:                                              ; preds = %205, %193, %178, %161, %146, %132, %118, %104
  %.pn56.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn, %205 ], [ %.pn53.pn, %193 ], [ %.pn49.pn.pn, %178 ], [ %.pn46.pn, %161 ], [ %.pn43.pn, %146 ], [ %.pn40.pn, %132 ], [ %.pn37.pn, %118 ], [ %.pn.pn, %104 ]
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %.loopexit73.loopexit

.loopexit73.loopexit:                             ; preds = %206, %89
  %.pn56.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn, %206 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  %207 = getelementptr inbounds i8, ptr %8, i64 32
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %207) #6
  %208 = getelementptr inbounds i8, ptr %8, i64 16
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %208) #6
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %8) #6
  br label %.loopexit73

.loopexit73:                                      ; preds = %85, %.loopexit73.loopexit, %.thread70
  %.pn56.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %60, %.thread70 ], [ %.pn56.pn.pn.pn.pn, %.loopexit73.loopexit ], [ %84, %85 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %.loopexit72.loopexit

.loopexit72.loopexit:                             ; preds = %.loopexit73, %81
  %.pn56.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn.pn.pn, %.loopexit73 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %209 = getelementptr inbounds i8, ptr %6, i64 16
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %209) #6
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %6) #6
  br label %.loopexit72

.loopexit72:                                      ; preds = %.loopexit72.loopexit78, %.loopexit72.loopexit, %.thread68
  %.pn56.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %55, %.thread68 ], [ %.pn56.pn.pn.pn.pn.pn.pn, %.loopexit72.loopexit ], [ %80, %.loopexit72.loopexit78 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %.loopexit72, %78
  %.pn56.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn.pn.pn.pn.pn, %.loopexit72 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  %210 = getelementptr inbounds i8, ptr %4, i64 144
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %210) #6
  %211 = getelementptr inbounds i8, ptr %4, i64 128
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %211) #6
  %212 = getelementptr inbounds i8, ptr %4, i64 112
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %212) #6
  %213 = getelementptr inbounds i8, ptr %4, i64 96
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %213) #6
  %214 = getelementptr inbounds i8, ptr %4, i64 80
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %214) #6
  %215 = getelementptr inbounds i8, ptr %4, i64 64
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %215) #6
  %216 = getelementptr inbounds i8, ptr %4, i64 48
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %216) #6
  %217 = getelementptr inbounds i8, ptr %4, i64 32
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %217) #6
  %218 = getelementptr inbounds i8, ptr %4, i64 16
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %218) #6
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #6
  br label %.loopexit

.loopexit:                                        ; preds = %74, %.loopexit.loopexit, %.thread
  %.pn56.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %34, %.thread ], [ %.pn56.pn.pn.pn.pn.pn.pn.pn.pn, %.loopexit.loopexit ], [ %73, %74 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %4) #6
  call void @_ZN11galoisfield6GFieldD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn56.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

declare void @_ZN11galoisfield6GFieldC1EiPKj(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef, i32 noundef) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

declare void @_ZN11galoisfield9GFieldPolC1EPNS_6GFieldEjPNS_13GFieldElementE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZN11galoisfielddvERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare void @_ZN11galoisfieldmlERKNS_9GFieldPolES2_(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK11galoisfield9GFieldPoleqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11galoisfield9GFieldPolD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

declare void @_ZN11galoisfieldrsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

declare void @_ZN11galoisfieldlsERKNS_9GFieldPolERKj(ptr dead_on_unwind writable sret(%"class.galoisfield::GFieldPol") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN11galoisfield6GFieldD1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5

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


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