; LLVM IR from tangjz/acm-icpc :: codeforces/gym (102028E)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.BigInt = type { i32, [13 x i32] }

@INF = external dso_local global %struct.BigInt, align 4
@prd = external dso_local global [253 x %struct.BigInt], align 16
@ans = external dso_local global [253 x [2 x %struct.BigInt]], align 16
@n = external dso_local global %struct.BigInt, align 4
@tot = external dso_local global i32, align 4
@pr = external dso_local global [253 x i32], align 16
@d = external dso_local global [253 x i32], align 16
@t = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.BigInt, align 4
  %3 = alloca i32, align 4
  %4 = alloca %struct.BigInt, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.BigInt, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.BigInt, align 4
  %14 = alloca %struct.BigInt, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.BigInt, align 4
  %17 = alloca %struct.BigInt, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 56, ptr %2) #8
  call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 56, i1 false)
  %23 = getelementptr inbounds %struct.BigInt, ptr %2, i32 0, i32 0
  store i32 1, ptr %23, align 4, !tbaa !5
  %24 = getelementptr inbounds %struct.BigInt, ptr %2, i32 0, i32 1
  store i32 1, ptr %24, align 4, !tbaa !10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 getelementptr inbounds ([2 x %struct.BigInt], ptr @ans, i64 0, i64 1), ptr align 4 %2, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @ans, ptr align 4 getelementptr inbounds ([2 x %struct.BigInt], ptr @ans, i64 0, i64 1), i64 56, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @prd, ptr align 4 @ans, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @INF, ptr align 4 @prd, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 0, ptr %3, align 4, !tbaa !10
  br label %25

25:                                               ; preds = %30, %0
  %26 = load i32, ptr %3, align 4, !tbaa !10
  %27 = icmp slt i32 %26, 100
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %33

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 56, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 10, ptr %5, align 4, !tbaa !10
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind writable sret(%struct.BigInt) align 4 %4, ptr noundef nonnull align 4 dereferenceable(56) @INF, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @INF, ptr align 4 %4, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #8
  br label %30

30:                                               ; preds = %29
  %31 = load i32, ptr %3, align 4, !tbaa !10
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %3, align 4, !tbaa !10
  br label %25, !llvm.loop !13

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 2, ptr %6, align 4, !tbaa !10
  br label %34

34:                                               ; preds = %143, %33
  %35 = load i32, ptr %6, align 4, !tbaa !10
  %36 = icmp slt i32 %35, 253
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  store i32 5, ptr %7, align 4
  br label %146

38:                                               ; preds = %34
  %39 = load i32, ptr %6, align 4, !tbaa !10
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !10
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %109, label %44

44:                                               ; preds = %38
  %45 = load i32, ptr %6, align 4, !tbaa !10
  %46 = load i32, ptr %6, align 4, !tbaa !10
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %47
  store i32 %45, ptr %48, align 4, !tbaa !10
  %49 = load i32, ptr @tot, align 4, !tbaa !10
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr @tot, align 4, !tbaa !10
  %51 = sext i32 %49 to i64
  %52 = getelementptr inbounds [253 x i32], ptr @pr, i64 0, i64 %51
  store i32 %45, ptr %52, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #8
  %53 = load i32, ptr @tot, align 4, !tbaa !10
  %54 = sub nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [253 x %struct.BigInt], ptr @prd, i64 0, i64 %55
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind writable sret(%struct.BigInt) align 4 %8, ptr noundef nonnull align 4 dereferenceable(56) %56, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %57 = load i32, ptr @tot, align 4, !tbaa !10
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [253 x %struct.BigInt], ptr @prd, i64 0, i64 %58
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %59, ptr align 4 %8, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #8
  %60 = load i32, ptr @tot, align 4, !tbaa !10
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [253 x %struct.BigInt], ptr @prd, i64 0, i64 %61
  %63 = call noundef zeroext i1 @_ZNK6BigIntltERKS_(ptr noundef nonnull align 4 dereferenceable(56) @INF, ptr noundef nonnull align 4 dereferenceable(56) %62)
  br i1 %63, label %64, label %65

64:                                               ; preds = %44
  store i32 5, ptr %7, align 4
  br label %146

65:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %66 = load i32, ptr %6, align 4, !tbaa !10
  store i32 %66, ptr %9, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %67 = load i32, ptr @tot, align 4, !tbaa !10
  %68 = sub nsw i32 %67, 1
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %69
  %71 = getelementptr inbounds [2 x %struct.BigInt], ptr %70, i64 0, i64 1
  %72 = call noundef i32 @_ZNK6BigIntrmERKi(ptr noundef nonnull align 4 dereferenceable(56) %71, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %73 = load i32, ptr %9, align 4, !tbaa !10
  %74 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %72, i32 noundef %73)
  store i32 %74, ptr %10, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %75 = load i32, ptr %6, align 4, !tbaa !10
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %11, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %77 = load i32, ptr @tot, align 4, !tbaa !10
  %78 = sub nsw i32 %77, 1
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %79
  %81 = getelementptr inbounds [2 x %struct.BigInt], ptr %80, i64 0, i64 0
  %82 = call noundef i32 @_ZNK6BigIntrmERKi(ptr noundef nonnull align 4 dereferenceable(56) %81, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %83 = load i32, ptr %11, align 4, !tbaa !10
  %84 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %82, i32 noundef %83)
  store i32 %84, ptr %12, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %14) #8
  %85 = load i32, ptr @tot, align 4, !tbaa !10
  %86 = sub nsw i32 %85, 1
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %87
  %89 = getelementptr inbounds [2 x %struct.BigInt], ptr %88, i64 0, i64 0
  call void @_ZNK6BigIntdvERKi(ptr dead_on_unwind writable sret(%struct.BigInt) align 4 %14, ptr noundef nonnull align 4 dereferenceable(56) %89, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %90 = load i32, ptr %9, align 4, !tbaa !10
  %91 = load i32, ptr %10, align 4, !tbaa !10
  %92 = sdiv i32 %90, %91
  store i32 %92, ptr %15, align 4, !tbaa !10
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind writable sret(%struct.BigInt) align 4 %13, ptr noundef nonnull align 4 dereferenceable(56) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %93 = load i32, ptr @tot, align 4, !tbaa !10
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %94
  %96 = getelementptr inbounds [2 x %struct.BigInt], ptr %95, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %96, ptr align 4 %13, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %17) #8
  %97 = load i32, ptr @tot, align 4, !tbaa !10
  %98 = sub nsw i32 %97, 1
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %99
  %101 = getelementptr inbounds [2 x %struct.BigInt], ptr %100, i64 0, i64 1
  call void @_ZNK6BigIntdvERKi(ptr dead_on_unwind writable sret(%struct.BigInt) align 4 %17, ptr noundef nonnull align 4 dereferenceable(56) %101, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %102 = load i32, ptr %11, align 4, !tbaa !10
  %103 = load i32, ptr %12, align 4, !tbaa !10
  %104 = sdiv i32 %102, %103
  store i32 %104, ptr %18, align 4, !tbaa !10
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind writable sret(%struct.BigInt) align 4 %16, ptr noundef nonnull align 4 dereferenceable(56) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %105 = load i32, ptr @tot, align 4, !tbaa !10
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %106
  %108 = getelementptr inbounds [2 x %struct.BigInt], ptr %107, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %108, ptr align 4 %16, i64 56, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %109

109:                                              ; preds = %65, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  br label %110

110:                                              ; preds = %138, %109
  %111 = load i32, ptr %6, align 4, !tbaa !10
  %112 = load i32, ptr %19, align 4, !tbaa !10
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [253 x i32], ptr @pr, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !10
  %116 = mul nsw i32 %111, %115
  store i32 %116, ptr %20, align 4, !tbaa !10
  %117 = icmp slt i32 %116, 253
  br i1 %117, label %119, label %118

118:                                              ; preds = %110
  store i32 8, ptr %7, align 4
  br label %141

119:                                              ; preds = %110
  %120 = load i32, ptr %19, align 4, !tbaa !10
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [253 x i32], ptr @pr, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !10
  %124 = load i32, ptr %20, align 4, !tbaa !10
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %125
  store i32 %123, ptr %126, align 4, !tbaa !10
  %127 = load i32, ptr %6, align 4, !tbaa !10
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !10
  %131 = load i32, ptr %19, align 4, !tbaa !10
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [253 x i32], ptr @pr, i64 0, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !10
  %135 = icmp eq i32 %130, %134
  br i1 %135, label %136, label %137

136:                                              ; preds = %119
  store i32 8, ptr %7, align 4
  br label %141

137:                                              ; preds = %119
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %19, align 4, !tbaa !10
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %19, align 4, !tbaa !10
  br label %110, !llvm.loop !15

141:                                              ; preds = %136, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %6, align 4, !tbaa !10
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %6, align 4, !tbaa !10
  br label %34, !llvm.loop !16

146:                                              ; preds = %64, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %147

147:                                              ; preds = %146
  %148 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 1, ptr %21, align 4, !tbaa !10
  br label %149

149:                                              ; preds = %174, %147
  %150 = load i32, ptr %21, align 4, !tbaa !10
  %151 = load i32, ptr @t, align 4, !tbaa !10
  %152 = icmp sle i32 %150, %151
  br i1 %152, label %154, label %153

153:                                              ; preds = %149
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %177

154:                                              ; preds = %149
  call void @_ZN6BigInt4readEv(ptr noundef nonnull align 4 dereferenceable(56) @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %155 = load i32, ptr @tot, align 4, !tbaa !10
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds %struct.BigInt, ptr @prd, i64 %156
  %158 = call noundef ptr @_ZSt11upper_boundIP6BigIntS0_ET_S2_S2_RKT0_(ptr noundef @prd, ptr noundef %157, ptr noundef nonnull align 4 dereferenceable(56) @n)
  %159 = ptrtoint ptr %158 to i64
  %160 = sub i64 %159, ptrtoint (ptr @prd to i64)
  %161 = sdiv exact i64 %160, 56
  %162 = sub nsw i64 %161, 1
  %163 = trunc i64 %162 to i32
  store i32 %163, ptr %22, align 4, !tbaa !10
  %164 = load i32, ptr %22, align 4, !tbaa !10
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %165
  %167 = getelementptr inbounds [2 x %struct.BigInt], ptr %166, i64 0, i64 0
  call void @_ZN6BigInt5writeEv(ptr noundef nonnull align 4 dereferenceable(56) %167)
  %168 = call i32 @putchar(i32 noundef 47)
  %169 = load i32, ptr %22, align 4, !tbaa !10
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %170
  %172 = getelementptr inbounds [2 x %struct.BigInt], ptr %171, i64 0, i64 1
  call void @_ZN6BigInt5writeEv(ptr noundef nonnull align 4 dereferenceable(56) %172)
  %173 = call i32 @putchar(i32 noundef 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %174

174:                                              ; preds = %154
  %175 = load i32, ptr %21, align 4, !tbaa !10
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %21, align 4, !tbaa !10
  br label %149, !llvm.loop !17

177:                                              ; preds = %153
  ret i32 0
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6BigIntmlERKi(ptr dead_on_unwind noalias writable sret(%struct.BigInt) align 4, ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6BigIntltERKS_(ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(56)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6BigIntrmERKi(ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6BigIntdvERKi(ptr dead_on_unwind noalias writable sret(%struct.BigInt) align 4, ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

declare i32 @__isoc99_scanf(ptr noundef, ...) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6BigInt4readEv(ptr noundef nonnull align 4 dereferenceable(56)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt11upper_boundIP6BigIntS0_ET_S2_S2_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(56)) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6BigInt5writeEv(ptr noundef nonnull align 4 dereferenceable(56)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare i32 @putchar(i32 noundef) #7

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 = { 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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS6BigInt", !7, i64 0, !8, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{i64 0, i64 4, !10, i64 4, i64 52, !12}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


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

%struct.BigInt = type { i32, [13 x i32] }

@INF = external dso_local global %struct.BigInt, align 4
@prd = external dso_local global [253 x %struct.BigInt], align 16
@ans = external dso_local global [253 x [2 x %struct.BigInt]], align 16
@n = external dso_local global %struct.BigInt, align 4
@tot = external dso_local local_unnamed_addr global i32, align 4
@pr = external dso_local local_unnamed_addr global [253 x i32], align 16
@d = external dso_local local_unnamed_addr global [253 x i32], align 16
@t = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.BigInt, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %struct.BigInt, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.BigInt, align 4
  %10 = alloca %struct.BigInt, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.BigInt, align 4
  %13 = alloca %struct.BigInt, align 4
  %14 = alloca i32, align 4
  store i32 1, ptr getelementptr inbounds (i8, ptr @ans, i64 56), align 8, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @ans, i64 60), align 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) getelementptr inbounds (i8, ptr @ans, i64 64), i8 0, i64 48, i1 false)
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) @ans, ptr noundef nonnull align 8 dereferenceable(56) getelementptr inbounds (i8, ptr @ans, i64 56), i64 56, i1 false), !tbaa.struct !9
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) @prd, ptr noundef nonnull align 8 dereferenceable(56) getelementptr inbounds (i8, ptr @ans, i64 56), i64 56, i1 false)
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(56) @INF, ptr noundef nonnull align 8 dereferenceable(56) getelementptr inbounds (i8, ptr @ans, i64 56), i64 56, i1 false)
  br label %16

15:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  store i32 2, ptr %3, align 4, !tbaa !5
  br label %18

16:                                               ; preds = %0, %16
  %.01216 = phi i32 [ 0, %0 ], [ %17, %16 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  store i32 10, ptr %2, align 4, !tbaa !5
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind nonnull writable sret(%struct.BigInt) align 4 %1, ptr noundef nonnull align 4 dereferenceable(56) @INF, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(56) @INF, ptr noundef nonnull align 4 dereferenceable(56) %1, i64 56, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %1) #9
  %17 = add nuw nsw i32 %.01216, 1
  %exitcond.not = icmp eq i32 %17, 100
  br i1 %exitcond.not, label %15, label %16, !llvm.loop !11

18:                                               ; preds = %15, %._crit_edge
  %storemerge20 = phi i32 [ 2, %15 ], [ %88, %._crit_edge ]
  %19 = sext i32 %storemerge20 to i64
  %20 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %22, label %69

22:                                               ; preds = %18
  store i32 %storemerge20, ptr %20, align 4, !tbaa !5
  %23 = load i32, ptr @tot, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @tot, align 4, !tbaa !5
  %25 = sext i32 %23 to i64
  %26 = getelementptr inbounds [253 x i32], ptr @pr, i64 0, i64 %25
  store i32 %storemerge20, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #9
  %27 = getelementptr inbounds [253 x %struct.BigInt], ptr @prd, i64 0, i64 %25
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind nonnull writable sret(%struct.BigInt) align 4 %4, ptr noundef nonnull align 4 dereferenceable(56) %27, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %28 = load i32, ptr @tot, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [253 x %struct.BigInt], ptr @prd, i64 0, i64 %29
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 4 dereferenceable(56) %4, i64 56, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #9
  %31 = call noundef zeroext i1 @_ZNK6BigIntltERKS_(ptr noundef nonnull align 4 dereferenceable(56) @INF, ptr noundef nonnull align 4 dereferenceable(56) %30)
  br i1 %31, label %90, label %32

32:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  %33 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %33, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #9
  %34 = load i32, ptr @tot, align 4, !tbaa !5
  %35 = add nsw i32 %34, -1
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %36, i64 1
  %38 = call noundef i32 @_ZNK6BigIntrmERKi(ptr noundef nonnull align 4 dereferenceable(56) %37, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %38, i32 noundef %39)
  store i32 %40, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #9
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  %43 = load i32, ptr @tot, align 4, !tbaa !5
  %44 = add nsw i32 %43, -1
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %45
  %47 = call noundef i32 @_ZNK6BigIntrmERKi(ptr noundef nonnull align 4 dereferenceable(56) %46, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %47, i32 noundef %48)
  store i32 %49, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #9
  %50 = load i32, ptr @tot, align 4, !tbaa !5
  %51 = add nsw i32 %50, -1
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %52
  call void @_ZNK6BigIntdvERKi(ptr dead_on_unwind nonnull writable sret(%struct.BigInt) align 4 %10, ptr noundef nonnull align 4 dereferenceable(56) %53, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = sdiv i32 %54, %55
  store i32 %56, ptr %11, align 4, !tbaa !5
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind nonnull writable sret(%struct.BigInt) align 4 %9, ptr noundef nonnull align 4 dereferenceable(56) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %57 = load i32, ptr @tot, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %58
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %59, ptr noundef nonnull align 4 dereferenceable(56) %9, i64 56, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %13) #9
  %60 = add nsw i32 %57, -1
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %61, i64 1
  call void @_ZNK6BigIntdvERKi(ptr dead_on_unwind nonnull writable sret(%struct.BigInt) align 4 %13, ptr noundef nonnull align 4 dereferenceable(56) %62, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #9
  %63 = load i32, ptr %7, align 4, !tbaa !5
  %64 = load i32, ptr %8, align 4, !tbaa !5
  %65 = sdiv i32 %63, %64
  store i32 %65, ptr %14, align 4, !tbaa !5
  call void @_ZNK6BigIntmlERKi(ptr dead_on_unwind nonnull writable sret(%struct.BigInt) align 4 %12, ptr noundef nonnull align 4 dereferenceable(56) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %66 = load i32, ptr @tot, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %67, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %68, ptr noundef nonnull align 4 dereferenceable(56) %12, i64 56, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %32, %18
  %70 = phi i32 [ %.pre, %32 ], [ %storemerge20, %18 ]
  %71 = load i32, ptr @pr, align 16, !tbaa !5
  %72 = mul nsw i32 %71, %70
  %73 = icmp slt i32 %72, 253
  br i1 %73, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %69
  %74 = sext i32 %70 to i64
  %75 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %74
  br label %81

76:                                               ; preds = %81
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %77 = getelementptr inbounds [253 x i32], ptr @pr, i64 0, i64 %indvars.iv.next
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = mul nsw i32 %78, %70
  %80 = icmp slt i32 %79, 253
  br i1 %80, label %81, label %._crit_edge, !llvm.loop !13

81:                                               ; preds = %.lr.ph, %76
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %76 ]
  %82 = phi i32 [ %72, %.lr.ph ], [ %79, %76 ]
  %83 = phi i32 [ %71, %.lr.ph ], [ %78, %76 ]
  %84 = sext i32 %82 to i64
  %85 = getelementptr inbounds [253 x i32], ptr @d, i64 0, i64 %84
  store i32 %83, ptr %85, align 4, !tbaa !5
  %86 = load i32, ptr %75, align 4, !tbaa !5
  %87 = icmp eq i32 %86, %83
  br i1 %87, label %._crit_edge, label %76

._crit_edge:                                      ; preds = %76, %81, %69
  %88 = add nsw i32 %70, 1
  store i32 %88, ptr %3, align 4, !tbaa !5
  %89 = icmp slt i32 %70, 252
  br i1 %89, label %18, label %90, !llvm.loop !14

90:                                               ; preds = %22, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  %91 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t)
  %92 = load i32, ptr @t, align 4, !tbaa !5
  %.not1521 = icmp slt i32 %92, 1
  br i1 %.not1521, label %._crit_edge25, label %.lr.ph24

._crit_edge25:                                    ; preds = %.lr.ph24, %90
  ret i32 0

.lr.ph24:                                         ; preds = %90, %.lr.ph24
  %.022 = phi i32 [ %106, %.lr.ph24 ], [ 1, %90 ]
  call void @_ZN6BigInt4readEv(ptr noundef nonnull align 4 dereferenceable(56) @n)
  %93 = load i32, ptr @tot, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds %struct.BigInt, ptr @prd, i64 %94
  %96 = call noundef ptr @_ZSt11upper_boundIP6BigIntS0_ET_S2_S2_RKT0_(ptr noundef nonnull @prd, ptr noundef nonnull %95, ptr noundef nonnull align 4 dereferenceable(56) @n)
  %97 = ptrtoint ptr %96 to i64
  %98 = sub i64 %97, ptrtoint (ptr @prd to i64)
  %99 = sdiv exact i64 %98, 56
  %100 = shl i64 %99, 32
  %sext = add i64 %100, -4294967296
  %101 = ashr exact i64 %sext, 32
  %102 = getelementptr inbounds [253 x [2 x %struct.BigInt]], ptr @ans, i64 0, i64 %101
  call void @_ZN6BigInt5writeEv(ptr noundef nonnull align 4 dereferenceable(56) %102)
  %103 = call i32 @putchar(i32 noundef 47)
  %104 = getelementptr inbounds i8, ptr %102, i64 56
  call void @_ZN6BigInt5writeEv(ptr noundef nonnull align 4 dereferenceable(56) %104)
  %105 = call i32 @putchar(i32 noundef 10)
  %106 = add nuw nsw i32 %.022, 1
  %107 = load i32, ptr @t, align 4, !tbaa !5
  %.not15.not = icmp slt i32 %.022, %107
  br i1 %.not15.not, label %.lr.ph24, label %._crit_edge25, !llvm.loop !15
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6BigIntmlERKi(ptr dead_on_unwind noalias writable sret(%struct.BigInt) align 4, ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6BigIntltERKS_(ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(56)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6BigIntrmERKi(ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6BigIntdvERKi(ptr dead_on_unwind noalias writable sret(%struct.BigInt) align 4, ptr noundef nonnull align 4 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6BigInt4readEv(ptr noundef nonnull align 4 dereferenceable(56)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt11upper_boundIP6BigIntS0_ET_S2_S2_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(56)) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6BigInt5writeEv(ptr noundef nonnull align 4 dereferenceable(56)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nofree nounwind uwtable
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #8

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


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass