; LLVM IR from ouuan/CPTH :: tests/ModInt (ModInt)

; 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.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.CPTH::ModInt" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<CPTH::ModInt, CPTH::ModInt, std::_Identity<CPTH::ModInt>, std::less<CPTH::ModInt>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<CPTH::ModInt, CPTH::ModInt, std::_Identity<CPTH::ModInt>, std::less<CPTH::ModInt>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4CPTH6ModInt6moduloEv(ptr noundef nonnull align 4 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4CPTH6ModInt8setValueEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #1 align 2

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHplExNS_6ModIntE(i64 noundef, i64) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLES0_(ptr noundef nonnull align 4 dereferenceable(8), i64) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHmiExNS_6ModIntE(i64 noundef, i64) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIES0_(ptr noundef nonnull align 4 dereferenceable(8), i64) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHmlENS_6ModIntEx(i64, i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHmlExNS_6ModIntE(i64 noundef, i64) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmLEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHdvExNS_6ModIntE(i64 noundef, i64) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVES0_(ptr noundef nonnull align 4 dereferenceable(8), i64) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4CPTHeqENS_6ModIntES0_(i64, i64) #1

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTH3powENS_6ModIntEy(i64, i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3gcdii(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.CPTH::ModInt", align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::set", align 8
  %11 = alloca %"class.CPTH::ModInt", align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::pair", align 8
  %15 = alloca %"class.CPTH::ModInt", align 4
  %16 = alloca %"class.CPTH::ModInt", align 4
  %17 = alloca %"class.CPTH::ModInt", align 4
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca %"class.CPTH::ModInt", align 4
  %20 = alloca %"class.CPTH::ModInt", align 4
  %21 = alloca %"class.CPTH::ModInt", align 4
  %22 = alloca %"class.CPTH::ModInt", align 4
  %23 = alloca %"class.CPTH::ModInt", align 4
  %24 = alloca %"class.CPTH::ModInt", align 4
  %25 = alloca %"class.CPTH::ModInt", align 4
  %26 = alloca %"class.CPTH::ModInt", align 4
  %27 = alloca %"class.CPTH::ModInt", align 4
  %28 = alloca %"class.CPTH::ModInt", align 4
  %29 = alloca %"class.CPTH::ModInt", align 4
  %30 = alloca %"class.CPTH::ModInt", align 4
  %31 = alloca %"class.CPTH::ModInt", align 4
  %32 = alloca %"class.CPTH::ModInt", align 4
  %33 = alloca %"class.CPTH::ModInt", align 4
  %34 = alloca %"class.CPTH::ModInt", align 4
  %35 = alloca %"class.CPTH::ModInt", align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %38 = load i32, ptr %3, align 4, !tbaa !5
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %4, i32 noundef %38, i64 noundef 0)
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = call noundef i32 @_ZNK4CPTH6ModInt6moduloEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %41 = icmp eq i32 %39, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %0
  br label %45

43:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 21, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

44:                                               ; No predecessors!
  br label %45

45:                                               ; preds = %44, %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %46 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %46, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 2, ptr %7, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %81, %45
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = load i32, ptr %7, align 4, !tbaa !5
  %50 = mul nsw i32 %48, %49
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = icmp sle i32 %50, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %84

54:                                               ; preds = %47
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = load i32, ptr %7, align 4, !tbaa !5
  %57 = srem i32 %55, %56
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %80

59:                                               ; preds = %54
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = sub nsw i32 %60, 1
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = mul nsw i32 %62, %61
  store i32 %63, ptr %5, align 4, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = sdiv i32 %65, %64
  store i32 %66, ptr %6, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %72, %59
  %68 = load i32, ptr %6, align 4, !tbaa !5
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = srem i32 %68, %69
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %79

72:                                               ; preds = %67
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = mul nsw i32 %74, %73
  store i32 %75, ptr %5, align 4, !tbaa !5
  %76 = load i32, ptr %7, align 4, !tbaa !5
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = sdiv i32 %77, %76
  store i32 %78, ptr %6, align 4, !tbaa !5
  br label %67, !llvm.loop !9

79:                                               ; preds = %67
  br label %80

80:                                               ; preds = %79, %54
  br label %81

81:                                               ; preds = %80
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %7, align 4, !tbaa !5
  br label %47, !llvm.loop !11

84:                                               ; preds = %53
  %85 = load i32, ptr %6, align 4, !tbaa !5
  %86 = icmp sgt i32 %85, 1
  br i1 %86, label %87, label %92

87:                                               ; preds = %84
  %88 = load i32, ptr %6, align 4, !tbaa !5
  %89 = sub nsw i32 %88, 1
  %90 = load i32, ptr %5, align 4, !tbaa !5
  %91 = mul nsw i32 %90, %89
  store i32 %91, ptr %5, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %87, %84
  br label %93

93:                                               ; preds = %262, %92
  %94 = load i32, ptr %2, align 4, !tbaa !5
  %95 = add nsw i32 %94, -1
  store i32 %95, ptr %2, align 4, !tbaa !5
  %96 = icmp ne i32 %94, 0
  br i1 %96, label %97, label %266

97:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %98, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %100 = load i32, ptr %8, align 4, !tbaa !5
  switch i32 %100, label %245 [
    i32 1, label %101
    i32 2, label %172
    i32 3, label %187
    i32 4, label %192
    i32 5, label %206
  ]

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #8
  call void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %102 = load i32, ptr %3, align 4, !tbaa !5
  %103 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %104 = load i32, ptr %9, align 4, !tbaa !5
  %105 = add nsw i32 %103, %104
  %106 = load i32, ptr %3, align 4, !tbaa !5
  %107 = srem i32 %105, %106
  %108 = sext i32 %107 to i64
  invoke void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef %102, i64 noundef %108)
          to label %109 unwind label %124

109:                                              ; preds = %101
  %110 = invoke { ptr, i8 } @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %111 unwind label %124

111:                                              ; preds = %109
  %112 = getelementptr inbounds { ptr, i8 }, ptr %14, i32 0, i32 0
  %113 = extractvalue { ptr, i8 } %110, 0
  store ptr %113, ptr %112, align 8
  %114 = getelementptr inbounds { ptr, i8 }, ptr %14, i32 0, i32 1
  %115 = extractvalue { ptr, i8 } %110, 1
  store i8 %115, ptr %114, align 8
  %116 = load i32, ptr %2, align 4, !tbaa !5
  %117 = srem i32 %116, 3
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %128

119:                                              ; preds = %111
  %120 = load i32, ptr %9, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLEx(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 noundef %121)
          to label %123 unwind label %124

123:                                              ; preds = %119
  br label %151

124:                                              ; preds = %151, %136, %132, %119, %109, %101
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %12, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %13, align 4
  br label %171

128:                                              ; preds = %111
  %129 = load i32, ptr %2, align 4, !tbaa !5
  %130 = srem i32 %129, 3
  %131 = icmp eq i32 %130, 1
  br i1 %131, label %132, label %140

132:                                              ; preds = %128
  %133 = load i32, ptr %3, align 4, !tbaa !5
  %134 = load i32, ptr %9, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  invoke void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %133, i64 noundef %135)
          to label %136 unwind label %124

136:                                              ; preds = %132
  %137 = load i64, ptr %15, align 4
  %138 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLES0_(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 %137)
          to label %139 unwind label %124

139:                                              ; preds = %136
  br label %150

140:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %141 = load i32, ptr %9, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  %143 = load i64, ptr %17, align 4
  %144 = invoke i64 @_ZN4CPTHplExNS_6ModIntE(i64 noundef %142, i64 %143)
          to label %145 unwind label %146

145:                                              ; preds = %140
  store i64 %144, ptr %16, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %150

146:                                              ; preds = %140
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %12, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %171

150:                                              ; preds = %145, %139
  br label %151

151:                                              ; preds = %150, %123
  %152 = invoke { ptr, i8 } @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %153 unwind label %124

153:                                              ; preds = %151
  %154 = getelementptr inbounds { ptr, i8 }, ptr %18, i32 0, i32 0
  %155 = extractvalue { ptr, i8 } %152, 0
  store ptr %155, ptr %154, align 8
  %156 = getelementptr inbounds { ptr, i8 }, ptr %18, i32 0, i32 1
  %157 = extractvalue { ptr, i8 } %152, 1
  store i8 %157, ptr %156, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !12
  %158 = load i64, ptr %19, align 4
  %159 = load i64, ptr %20, align 4
  %160 = call noundef zeroext i1 @_ZN4CPTHeqENS_6ModIntES0_(i64 %158, i64 %159)
  br i1 %160, label %161, label %162

161:                                              ; preds = %153
  br label %164

162:                                              ; preds = %153
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.12, i32 noundef 63, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

163:                                              ; No predecessors!
  br label %164

164:                                              ; preds = %163, %161
  %165 = call noundef i64 @_ZNKSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  %166 = icmp eq i64 %165, 1
  br i1 %166, label %167, label %168

167:                                              ; preds = %164
  br label %170

168:                                              ; preds = %164
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.12, i32 noundef 64, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

169:                                              ; No predecessors!
  br label %170

170:                                              ; preds = %169, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #8
  br label %245

171:                                              ; preds = %146, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  br label %267

172:                                              ; preds = %97
  %173 = load i32, ptr %2, align 4, !tbaa !5
  %174 = and i32 %173, 1
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %180

176:                                              ; preds = %172
  %177 = load i32, ptr %9, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIEx(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 noundef %178)
  br label %186

180:                                              ; preds = %172
  %181 = load i32, ptr %3, align 4, !tbaa !5
  %182 = load i32, ptr %9, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef %181, i64 noundef %183)
  %184 = load i64, ptr %21, align 4
  %185 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIES0_(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 %184)
  br label %186

186:                                              ; preds = %180, %176
  br label %245

187:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %188 = load i32, ptr %9, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  %190 = load i64, ptr %23, align 4
  %191 = call i64 @_ZN4CPTHmiExNS_6ModIntE(i64 noundef %189, i64 %190)
  store i64 %191, ptr %22, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %245

192:                                              ; preds = %97
  %193 = load i32, ptr %2, align 4, !tbaa !5
  %194 = and i32 %193, 1
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %200

196:                                              ; preds = %192
  %197 = load i32, ptr %9, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmLEx(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 noundef %198)
  br label %205

200:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %201 = load i32, ptr %9, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  %203 = load i64, ptr %25, align 4
  %204 = call i64 @_ZN4CPTHmlExNS_6ModIntE(i64 noundef %202, i64 %203)
  store i64 %204, ptr %24, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %205

205:                                              ; preds = %200, %196
  br label %245

206:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  %207 = load i32, ptr %2, align 4, !tbaa !5
  %208 = srem i32 %207, 3
  %209 = icmp eq i32 %208, 0
  br i1 %209, label %210, label %214

210:                                              ; preds = %206
  %211 = load i32, ptr %9, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVEx(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 noundef %212)
  br label %233

214:                                              ; preds = %206
  %215 = load i32, ptr %2, align 4, !tbaa !5
  %216 = srem i32 %215, 3
  %217 = icmp eq i32 %216, 1
  br i1 %217, label %218, label %224

218:                                              ; preds = %214
  %219 = load i32, ptr %3, align 4, !tbaa !5
  %220 = load i32, ptr %9, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %27, i32 noundef %219, i64 noundef %221)
  %222 = load i64, ptr %27, align 4
  %223 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVES0_(ptr noundef nonnull align 4 dereferenceable(8) %4, i64 %222)
  br label %232

224:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %225 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %226 = sext i32 %225 to i64
  %227 = load i32, ptr %3, align 4, !tbaa !5
  %228 = load i32, ptr %9, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %29, i32 noundef %227, i64 noundef %229)
  %230 = load i64, ptr %29, align 4
  %231 = call i64 @_ZN4CPTHdvExNS_6ModIntE(i64 noundef %226, i64 %230)
  store i64 %231, ptr %28, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %232

232:                                              ; preds = %224, %218
  br label %233

233:                                              ; preds = %232, %210
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  %234 = load i32, ptr %9, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = load i64, ptr %31, align 4
  %237 = call i64 @_ZN4CPTHmlENS_6ModIntEx(i64 %236, i64 noundef %235)
  store i64 %237, ptr %30, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !12
  %238 = load i64, ptr %30, align 4
  %239 = load i64, ptr %32, align 4
  %240 = call noundef zeroext i1 @_ZN4CPTHeqENS_6ModIntES0_(i64 %238, i64 %239)
  br i1 %240, label %241, label %242

241:                                              ; preds = %233
  br label %244

242:                                              ; preds = %233
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.12, i32 noundef 91, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

243:                                              ; No predecessors!
  br label %244

244:                                              ; preds = %243, %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %245

245:                                              ; preds = %244, %205, %187, %186, %170, %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %246 = call noundef i32 @_ZNK4CPTH6ModInt6moduloEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %33, i32 noundef %246, i64 noundef 0)
  %247 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %248 = sext i32 %247 to i64
  call void @_ZN4CPTH6ModInt8setValueEx(ptr noundef nonnull align 4 dereferenceable(8) %33, i64 noundef %248)
  %249 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %33)
  %250 = load i32, ptr %3, align 4, !tbaa !5
  %251 = call noundef i32 @_Z3gcdii(i32 noundef %249, i32 noundef %250)
  %252 = icmp eq i32 %251, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  br i1 %252, label %253, label %260

253:                                              ; preds = %245
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !12
  %254 = load i32, ptr %5, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  %256 = sext i32 %255 to i64
  %257 = load i64, ptr %35, align 4
  %258 = call i64 @_ZN4CPTH3powENS_6ModIntEy(i64 %257, i64 noundef %256)
  store i64 %258, ptr %34, align 4
  %259 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %34)
  br label %262

260:                                              ; preds = %245
  %261 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %33)
  br label %262

262:                                              ; preds = %260, %253
  %263 = phi i32 [ %259, %253 ], [ %261, %260 ]
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %263)
  %265 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %264, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %93, !llvm.loop !13

266:                                              ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  ret i32 0

267:                                              ; preds = %171
  %268 = load ptr, ptr %12, align 8
  %269 = load i32, ptr %13, align 4
  %270 = insertvalue { ptr, i32 } poison, ptr %268, 0
  %271 = insertvalue { ptr, i32 } %270, i32 %269, 1
  resume { ptr, i32 } %271
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #7

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #6

declare void @_ZN4CPTH6ModIntC1Eix(ptr, i32, i64)

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress 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 #5 = { 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 #6 = { "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 #7 = { inlinehint mustprogress 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 #8 = { nounwind }
attributes #9 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{i64 0, i64 4, !5, i64 4, i64 4, !5}
!13 = distinct !{!13, !10}


; 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.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.CPTH::ModInt" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<CPTH::ModInt, CPTH::ModInt, std::_Identity<CPTH::ModInt>, std::less<CPTH::ModInt>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<CPTH::ModInt, CPTH::ModInt, std::_Identity<CPTH::ModInt>, std::less<CPTH::ModInt>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4CPTH6ModInt6moduloEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4CPTH6ModInt8setValueEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHplExNS_6ModIntE(i64 noundef, i64) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLES0_(ptr noundef nonnull align 4 dereferenceable(8), i64) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHmiExNS_6ModIntE(i64 noundef, i64) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIES0_(ptr noundef nonnull align 4 dereferenceable(8), i64) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHmlENS_6ModIntEx(i64, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHmlExNS_6ModIntE(i64 noundef, i64) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmLEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTHdvExNS_6ModIntE(i64 noundef, i64) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVES0_(ptr noundef nonnull align 4 dereferenceable(8), i64) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVEx(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4CPTHeqENS_6ModIntES0_(i64, i64) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZN4CPTH3powENS_6ModIntEy(i64, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3gcdii(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.CPTH::ModInt", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::set", align 8
  %7 = alloca %"class.CPTH::ModInt", align 8
  %8 = alloca %"class.CPTH::ModInt", align 8
  %9 = alloca %"class.CPTH::ModInt", align 8
  %10 = alloca %"class.CPTH::ModInt", align 8
  %11 = alloca %"class.CPTH::ModInt", align 8
  %12 = alloca %"class.CPTH::ModInt", align 8
  %13 = alloca %"class.CPTH::ModInt", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %16 = load i32, ptr %2, align 4, !tbaa !5
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %3, i32 noundef %16, i64 noundef 0)
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = call noundef i32 @_ZNK4CPTH6ModInt6moduloEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %19 = icmp eq i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %0
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef 21, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

21:                                               ; preds = %0
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %.not53 = icmp slt i32 %22, 4
  br i1 %.not53, label %._crit_edge, label %.lr.ph58

._crit_edge:                                      ; preds = %.loopexit, %21
  %.037.lcssa = phi i32 [ %22, %21 ], [ %.239, %.loopexit ]
  %.0.lcssa = phi i32 [ 1, %21 ], [ %.2, %.loopexit ]
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = add nsw i32 %23, -1
  store i32 %24, ptr %1, align 4, !tbaa !5
  %.not4561 = icmp eq i32 %23, 0
  br i1 %.not4561, label %._crit_edge64, label %.lr.ph63

.lr.ph63:                                         ; preds = %._crit_edge
  %25 = icmp sgt i32 %.037.lcssa, 1
  %26 = add nsw i32 %.037.lcssa, -1
  %27 = select i1 %25, i32 %26, i32 1
  %.3 = mul nsw i32 %27, %.0.lcssa
  %28 = add nsw i32 %.3, 1
  %29 = sext i32 %28 to i64
  br label %42

.lr.ph58:                                         ; preds = %21, %.loopexit
  %.057 = phi i32 [ %.2, %.loopexit ], [ 1, %21 ]
  %.03756 = phi i32 [ %.239, %.loopexit ], [ %22, %21 ]
  %.04054 = phi i32 [ %40, %.loopexit ], [ 2, %21 ]
  %30 = srem i32 %.03756, %.04054
  %.13849 = sdiv i32 %.03756, %.04054
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %.loopexit

32:                                               ; preds = %.lr.ph58
  %33 = add nsw i32 %.04054, -1
  %34 = mul nsw i32 %.057, %33
  %35 = srem i32 %.13849, %.04054
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %32, %.lr.ph
  %.13851 = phi i32 [ %.138, %.lr.ph ], [ %.13849, %32 ]
  %.150 = phi i32 [ %37, %.lr.ph ], [ %34, %32 ]
  %37 = mul nsw i32 %.150, %.04054
  %.138 = sdiv i32 %.13851, %.04054
  %38 = srem i32 %.138, %.04054
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %.lr.ph, label %.loopexit, !llvm.loop !9

.loopexit:                                        ; preds = %.lr.ph, %32, %.lr.ph58
  %.239 = phi i32 [ %.03756, %.lr.ph58 ], [ %.13849, %32 ], [ %.138, %.lr.ph ]
  %.2 = phi i32 [ %.057, %.lr.ph58 ], [ %34, %32 ], [ %37, %.lr.ph ]
  %40 = add nuw nsw i32 %.04054, 1
  %41 = mul nuw nsw i32 %40, %40
  %.not = icmp sgt i32 %41, %.239
  br i1 %.not, label %._crit_edge, label %.lr.ph58, !llvm.loop !11

42:                                               ; preds = %.lr.ph63, %153
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %45 = load i32, ptr %4, align 4, !tbaa !5
  switch i32 %45, label %143 [
    i32 1, label %46
    i32 2, label %90
    i32 3, label %103
    i32 4, label %107
    i32 5, label %116
  ]

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  call void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %47 = load i32, ptr %2, align 4, !tbaa !5
  %48 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = add nsw i32 %49, %48
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = srem i32 %50, %51
  %53 = sext i32 %52 to i64
  invoke void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef %47, i64 noundef %53)
          to label %54 unwind label %63

54:                                               ; preds = %46
  %55 = invoke { ptr, i8 } @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
          to label %56 unwind label %63

56:                                               ; preds = %54
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = srem i32 %57, 3
  switch i32 %58, label %72 [
    i32 0, label %59
    i32 1, label %65
  ]

59:                                               ; preds = %56
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLEx(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 noundef %61)
          to label %79 unwind label %63

63:                                               ; preds = %79, %69, %65, %59, %54, %46
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %89

65:                                               ; preds = %56
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  invoke void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %8, i32 noundef %66, i64 noundef %68)
          to label %69 unwind label %63

69:                                               ; preds = %65
  %70 = load i64, ptr %8, align 8
  %71 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntpLES0_(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 %70)
          to label %79 unwind label %63

72:                                               ; preds = %56
  %73 = load i32, ptr %5, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %.sroa.013.0.copyload = load i64, ptr %3, align 8
  %75 = invoke i64 @_ZN4CPTHplExNS_6ModIntE(i64 noundef %74, i64 %.sroa.013.0.copyload)
          to label %76 unwind label %77

76:                                               ; preds = %72
  store i64 %75, ptr %3, align 8
  br label %79

77:                                               ; preds = %72
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %89

79:                                               ; preds = %76, %69, %59
  %80 = invoke { ptr, i8 } @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(8) %3)
          to label %81 unwind label %63

81:                                               ; preds = %79
  %.sroa.011.0.copyload = load i64, ptr %3, align 8
  %.sroa.010.0.copyload = load i64, ptr %7, align 8
  %82 = call noundef zeroext i1 @_ZN4CPTHeqENS_6ModIntES0_(i64 %.sroa.011.0.copyload, i64 %.sroa.010.0.copyload)
  br i1 %82, label %84, label %83

83:                                               ; preds = %81
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.12, i32 noundef 63, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

84:                                               ; preds = %81
  %85 = call noundef i64 @_ZNKSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  %86 = icmp eq i64 %85, 1
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.12, i32 noundef 64, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

88:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  br label %143

89:                                               ; preds = %77, %63
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn

90:                                               ; preds = %42
  %91 = load i32, ptr %1, align 4, !tbaa !5
  %92 = and i32 %91, 1
  %.not47 = icmp eq i32 %92, 0
  br i1 %.not47, label %97, label %93

93:                                               ; preds = %90
  %94 = load i32, ptr %5, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIEx(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 noundef %95)
  br label %143

97:                                               ; preds = %90
  %98 = load i32, ptr %2, align 4, !tbaa !5
  %99 = load i32, ptr %5, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef %98, i64 noundef %100)
  %101 = load i64, ptr %9, align 8
  %102 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmIES0_(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 %101)
  br label %143

103:                                              ; preds = %42
  %104 = load i32, ptr %5, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %.sroa.08.0.copyload = load i64, ptr %3, align 8
  %106 = call i64 @_ZN4CPTHmiExNS_6ModIntE(i64 noundef %105, i64 %.sroa.08.0.copyload)
  store i64 %106, ptr %3, align 8
  br label %143

107:                                              ; preds = %42
  %108 = load i32, ptr %1, align 4, !tbaa !5
  %109 = and i32 %108, 1
  %.not46 = icmp eq i32 %109, 0
  %110 = load i32, ptr %5, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  br i1 %.not46, label %114, label %112

112:                                              ; preds = %107
  %113 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntmLEx(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 noundef %111)
  br label %143

114:                                              ; preds = %107
  %.sroa.06.0.copyload = load i64, ptr %3, align 8
  %115 = call i64 @_ZN4CPTHmlExNS_6ModIntE(i64 noundef %111, i64 %.sroa.06.0.copyload)
  store i64 %115, ptr %3, align 8
  br label %143

116:                                              ; preds = %42
  %.sroa.05.0.copyload = load i64, ptr %3, align 8
  %117 = load i32, ptr %1, align 4, !tbaa !5
  %118 = srem i32 %117, 3
  switch i32 %118, label %129 [
    i32 0, label %119
    i32 1, label %123
  ]

119:                                              ; preds = %116
  %120 = load i32, ptr %5, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVEx(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 noundef %121)
  br label %137

123:                                              ; preds = %116
  %124 = load i32, ptr %2, align 4, !tbaa !5
  %125 = load i32, ptr %5, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef %124, i64 noundef %126)
  %127 = load i64, ptr %10, align 8
  %128 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4CPTH6ModIntdVES0_(ptr noundef nonnull align 4 dereferenceable(8) %3, i64 %127)
  br label %137

129:                                              ; preds = %116
  %130 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %131 = sext i32 %130 to i64
  %132 = load i32, ptr %2, align 4, !tbaa !5
  %133 = load i32, ptr %5, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef %132, i64 noundef %134)
  %135 = load i64, ptr %11, align 8
  %136 = call i64 @_ZN4CPTHdvExNS_6ModIntE(i64 noundef %131, i64 %135)
  store i64 %136, ptr %3, align 8
  br label %137

137:                                              ; preds = %123, %129, %119
  %.sroa.02.0.copyload = load i64, ptr %3, align 8
  %138 = load i32, ptr %5, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = call i64 @_ZN4CPTHmlENS_6ModIntEx(i64 %.sroa.02.0.copyload, i64 noundef %139)
  %141 = call noundef zeroext i1 @_ZN4CPTHeqENS_6ModIntES0_(i64 %140, i64 %.sroa.05.0.copyload)
  br i1 %141, label %143, label %142

142:                                              ; preds = %137
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.12, i32 noundef 91, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

143:                                              ; preds = %137, %112, %114, %93, %97, %103, %88, %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %144 = call noundef i32 @_ZNK4CPTH6ModInt6moduloEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @_ZN4CPTH6ModIntC1Eix(ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef %144, i64 noundef 0)
  %145 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %146 = sext i32 %145 to i64
  call void @_ZN4CPTH6ModInt8setValueEx(ptr noundef nonnull align 4 dereferenceable(8) %12, i64 noundef %146)
  %147 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %12)
  %148 = load i32, ptr %2, align 4, !tbaa !5
  %149 = call noundef i32 @_Z3gcdii(i32 noundef %147, i32 noundef %148)
  %150 = icmp eq i32 %149, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  br i1 %150, label %151, label %153

151:                                              ; preds = %143
  %.sroa.0.0.copyload = load i64, ptr %12, align 8
  %152 = call i64 @_ZN4CPTH3powENS_6ModIntEy(i64 %.sroa.0.0.copyload, i64 noundef %29)
  store i64 %152, ptr %13, align 8
  br label %153

153:                                              ; preds = %143, %151
  %.sink = phi ptr [ %13, %151 ], [ %12, %143 ]
  %154 = call noundef i32 @_ZNK4CPTH6ModInt5toIntEv(ptr noundef nonnull align 4 dereferenceable(8) %.sink)
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %154)
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %155, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %157 = load i32, ptr %1, align 4, !tbaa !5
  %158 = add nsw i32 %157, -1
  store i32 %158, ptr %1, align 4, !tbaa !5
  %.not45 = icmp eq i32 %157, 0
  br i1 %.not45, label %._crit_edge64, label %42, !llvm.loop !12

._crit_edge64:                                    ; preds = %153, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE6insertERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIN4CPTH6ModIntESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5

declare void @_ZN4CPTH6ModIntC1Eix(ptr, i32, i64) local_unnamed_addr

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { 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 #5 = { "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 = { inlinehint mustprogress 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 #7 = { nounwind }
attributes #8 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; Effective O3 passes: DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass