; LLVM IR from Aryansh-S/USACO :: USACO/2022/January/Bronze (air_cownditioning_ii)

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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@stall = external dso_local global [100 x i32], align 16
@ac = external dso_local global [10 x [4 x i32]], align 16
@b = external dso_local global [10 x i32], align 16
@ans = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, 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 i32, align 4
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  %17 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !8
  br label %20

20:                                               ; preds = %52, %0
  %21 = load i32, ptr %2, align 4, !tbaa !8
  %22 = load i32, ptr @n, align 4, !tbaa !8
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %55

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %26 = 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)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %29 = load i32, ptr %4, align 4, !tbaa !8
  %30 = add nsw i32 %29, -1
  store i32 %30, ptr %4, align 4, !tbaa !8
  %31 = load i32, ptr %5, align 4, !tbaa !8
  %32 = add nsw i32 %31, -1
  store i32 %32, ptr %5, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %33 = load i32, ptr %4, align 4, !tbaa !8
  store i32 %33, ptr %7, align 4, !tbaa !8
  br label %34

34:                                               ; preds = %48, %25
  %35 = load i32, ptr %7, align 4, !tbaa !8
  %36 = load i32, ptr %5, align 4, !tbaa !8
  %37 = icmp sle i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %51

39:                                               ; preds = %34
  %40 = load i32, ptr %7, align 4, !tbaa !8
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [100 x i32], ptr @stall, i64 0, i64 %41
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %44 = load i32, ptr %43, align 4, !tbaa !8
  %45 = load i32, ptr %7, align 4, !tbaa !8
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [100 x i32], ptr @stall, i64 0, i64 %46
  store i32 %44, ptr %47, align 4, !tbaa !8
  br label %48

48:                                               ; preds = %39
  %49 = load i32, ptr %7, align 4, !tbaa !8
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %7, align 4, !tbaa !8
  br label %34, !llvm.loop !11

51:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %2, align 4, !tbaa !8
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %2, align 4, !tbaa !8
  br label %20, !llvm.loop !13

55:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !8
  br label %56

56:                                               ; preds = %90, %55
  %57 = load i32, ptr %8, align 4, !tbaa !8
  %58 = load i32, ptr @m, align 4, !tbaa !8
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %93

61:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !8
  br label %62

62:                                               ; preds = %74, %61
  %63 = load i32, ptr %9, align 4, !tbaa !8
  %64 = icmp slt i32 %63, 4
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %77

66:                                               ; preds = %62
  %67 = load i32, ptr %8, align 4, !tbaa !8
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %68
  %70 = load i32, ptr %9, align 4, !tbaa !8
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [4 x i32], ptr %69, i64 0, i64 %71
  %73 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %72)
  br label %74

74:                                               ; preds = %66
  %75 = load i32, ptr %9, align 4, !tbaa !8
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %9, align 4, !tbaa !8
  br label %62, !llvm.loop !14

77:                                               ; preds = %65
  %78 = load i32, ptr %8, align 4, !tbaa !8
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %79
  %81 = getelementptr inbounds [4 x i32], ptr %80, i64 0, i64 0
  %82 = load i32, ptr %81, align 16, !tbaa !8
  %83 = add nsw i32 %82, -1
  store i32 %83, ptr %81, align 16, !tbaa !8
  %84 = load i32, ptr %8, align 4, !tbaa !8
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %85
  %87 = getelementptr inbounds [4 x i32], ptr %86, i64 0, i64 1
  %88 = load i32, ptr %87, align 4, !tbaa !8
  %89 = add nsw i32 %88, -1
  store i32 %89, ptr %87, align 4, !tbaa !8
  br label %90

90:                                               ; preds = %77
  %91 = load i32, ptr %8, align 4, !tbaa !8
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %8, align 4, !tbaa !8
  br label %56, !llvm.loop !15

93:                                               ; preds = %60
  store i32 0, ptr @b, align 16, !tbaa !8
  br label %94

94:                                               ; preds = %196, %93
  %95 = load i32, ptr @b, align 16, !tbaa !8
  %96 = icmp sle i32 %95, 1
  br i1 %96, label %97, label %199

97:                                               ; preds = %94
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 1), align 4, !tbaa !8
  br label %98

98:                                               ; preds = %192, %97
  %99 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 1), align 4, !tbaa !8
  %100 = icmp sle i32 %99, 1
  br i1 %100, label %101, label %195

101:                                              ; preds = %98
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 2), align 8, !tbaa !8
  br label %102

102:                                              ; preds = %188, %101
  %103 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 2), align 8, !tbaa !8
  %104 = icmp sle i32 %103, 1
  br i1 %104, label %105, label %191

105:                                              ; preds = %102
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 3), align 4, !tbaa !8
  br label %106

106:                                              ; preds = %184, %105
  %107 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 3), align 4, !tbaa !8
  %108 = icmp sle i32 %107, 1
  br i1 %108, label %109, label %187

109:                                              ; preds = %106
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 4), align 16, !tbaa !8
  br label %110

110:                                              ; preds = %180, %109
  %111 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 4), align 16, !tbaa !8
  %112 = icmp sle i32 %111, 1
  br i1 %112, label %113, label %183

113:                                              ; preds = %110
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 5), align 4, !tbaa !8
  br label %114

114:                                              ; preds = %176, %113
  %115 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 5), align 4, !tbaa !8
  %116 = icmp sle i32 %115, 1
  br i1 %116, label %117, label %179

117:                                              ; preds = %114
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 6), align 8, !tbaa !8
  br label %118

118:                                              ; preds = %172, %117
  %119 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 6), align 8, !tbaa !8
  %120 = icmp sle i32 %119, 1
  br i1 %120, label %121, label %175

121:                                              ; preds = %118
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 7), align 4, !tbaa !8
  br label %122

122:                                              ; preds = %168, %121
  %123 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 7), align 4, !tbaa !8
  %124 = icmp sle i32 %123, 1
  br i1 %124, label %125, label %171

125:                                              ; preds = %122
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 8), align 16, !tbaa !8
  br label %126

126:                                              ; preds = %164, %125
  %127 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 8), align 16, !tbaa !8
  %128 = icmp sle i32 %127, 1
  br i1 %128, label %129, label %167

129:                                              ; preds = %126
  store i32 0, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 9), align 4, !tbaa !8
  br label %130

130:                                              ; preds = %160, %129
  %131 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 9), align 4, !tbaa !8
  %132 = icmp sle i32 %131, 1
  br i1 %132, label %133, label %163

133:                                              ; preds = %130
  %134 = call noundef zeroext i1 @_Z5worksv()
  br i1 %134, label %135, label %159

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !8
  br label %136

136:                                              ; preds = %153, %135
  %137 = load i32, ptr %11, align 4, !tbaa !8
  %138 = icmp slt i32 %137, 10
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  store i32 44, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %156

140:                                              ; preds = %136
  %141 = load i32, ptr %11, align 4, !tbaa !8
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [10 x i32], ptr @b, i64 0, i64 %142
  %144 = load i32, ptr %143, align 4, !tbaa !8
  %145 = load i32, ptr %11, align 4, !tbaa !8
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %146
  %148 = getelementptr inbounds [4 x i32], ptr %147, i64 0, i64 3
  %149 = load i32, ptr %148, align 4, !tbaa !8
  %150 = mul nsw i32 %144, %149
  %151 = load i32, ptr %10, align 4, !tbaa !8
  %152 = add nsw i32 %151, %150
  store i32 %152, ptr %10, align 4, !tbaa !8
  br label %153

153:                                              ; preds = %140
  %154 = load i32, ptr %11, align 4, !tbaa !8
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %11, align 4, !tbaa !8
  br label %136, !llvm.loop !16

156:                                              ; preds = %139
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @ans, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %158 = load i32, ptr %157, align 4, !tbaa !8
  store i32 %158, ptr @ans, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %159

159:                                              ; preds = %156, %133
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 9), align 4, !tbaa !8
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 9), align 4, !tbaa !8
  br label %130, !llvm.loop !17

163:                                              ; preds = %130
  br label %164

164:                                              ; preds = %163
  %165 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 8), align 16, !tbaa !8
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 8), align 16, !tbaa !8
  br label %126, !llvm.loop !18

167:                                              ; preds = %126
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 7), align 4, !tbaa !8
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 7), align 4, !tbaa !8
  br label %122, !llvm.loop !19

171:                                              ; preds = %122
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 6), align 8, !tbaa !8
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 6), align 8, !tbaa !8
  br label %118, !llvm.loop !20

175:                                              ; preds = %118
  br label %176

176:                                              ; preds = %175
  %177 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 5), align 4, !tbaa !8
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 5), align 4, !tbaa !8
  br label %114, !llvm.loop !21

179:                                              ; preds = %114
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 4), align 16, !tbaa !8
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 4), align 16, !tbaa !8
  br label %110, !llvm.loop !22

183:                                              ; preds = %110
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 3), align 4, !tbaa !8
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 3), align 4, !tbaa !8
  br label %106, !llvm.loop !23

187:                                              ; preds = %106
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 2), align 8, !tbaa !8
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 2), align 8, !tbaa !8
  br label %102, !llvm.loop !24

191:                                              ; preds = %102
  br label %192

192:                                              ; preds = %191
  %193 = load i32, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 1), align 4, !tbaa !8
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr getelementptr inbounds ([10 x i32], ptr @b, i64 0, i64 1), align 4, !tbaa !8
  br label %98, !llvm.loop !25

195:                                              ; preds = %98
  br label %196

196:                                              ; preds = %195
  %197 = load i32, ptr @b, align 16, !tbaa !8
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr @b, align 16, !tbaa !8
  br label %94, !llvm.loop !26

199:                                              ; preds = %94
  %200 = load i32, ptr @ans, align 4, !tbaa !8
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %200)
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef @.str)
  %203 = load i32, ptr %1, align 4
  ret i32 %203
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #0 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { inlinehint 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 = { 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 #6 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}


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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@stall = external dso_local global [100 x i32], align 16
@ac = external dso_local global [10 x [4 x i32]], align 16
@b = external dso_local local_unnamed_addr global [10 x i32], align 16
@ans = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5worksv() local_unnamed_addr #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %6 = getelementptr i8, ptr %5, i64 -24
  %7 = load i64, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %7
  %9 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %8, ptr noundef null)
  %10 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(4) @m)
  %13 = load i32, ptr @n, align 4, !tbaa !8
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph47, label %.preheader42

.preheader42:                                     ; preds = %._crit_edge, %0
  %15 = load i32, ptr @m, align 4, !tbaa !8
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.preheader41, label %.preheader40

.lr.ph47:                                         ; preds = %0, %._crit_edge
  %.02245 = phi i32 [ %25, %._crit_edge ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %17 = 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)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %20 = load i32, ptr %1, align 4, !tbaa !8
  %21 = add i32 %20, -1
  store i32 %21, ptr %1, align 4, !tbaa !8
  %22 = load i32, ptr %2, align 4, !tbaa !8
  %23 = add nsw i32 %22, -1
  store i32 %23, ptr %2, align 4, !tbaa !8
  %.not43 = icmp sgt i32 %20, %22
  br i1 %.not43, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph47
  %24 = sext i32 %21 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph47
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  %25 = add nuw nsw i32 %.02245, 1
  %26 = load i32, ptr @n, align 4, !tbaa !8
  %27 = icmp slt i32 %25, %26
  br i1 %27, label %.lr.ph47, label %.preheader42, !llvm.loop !11

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %24, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %28 = getelementptr inbounds [100 x i32], ptr @stall, i64 0, i64 %indvars.iv
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %30 = load i32, ptr %29, align 4, !tbaa !8
  store i32 %30, ptr %28, align 4, !tbaa !8
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %31 = load i32, ptr %2, align 4, !tbaa !8
  %32 = sext i32 %31 to i64
  %.not.not = icmp slt i64 %indvars.iv, %32
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !13

.preheader41:                                     ; preds = %.preheader42, %.preheader41
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %.preheader41 ], [ 0, %.preheader42 ]
  %33 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %indvars.iv55, i64 0
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %35 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %indvars.iv55, i64 1
  %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) %35)
  %37 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %indvars.iv55, i64 2
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = getelementptr inbounds [10 x [4 x i32]], ptr @ac, i64 0, i64 %indvars.iv55, i64 3
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %41 = load <2 x i32>, ptr %33, align 16, !tbaa !8
  %42 = add nsw <2 x i32> %41, <i32 -1, i32 -1>
  store <2 x i32> %42, ptr %33, align 16, !tbaa !8
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %43 = load i32, ptr @m, align 4, !tbaa !8
  %44 = sext i32 %43 to i64
  %45 = icmp slt i64 %indvars.iv.next56, %44
  br i1 %45, label %.preheader41, label %.preheader40, !llvm.loop !14

.preheader40:                                     ; preds = %.preheader41, %.preheader42
  store i32 0, ptr @b, align 16, !tbaa !8
  br label %.preheader39

.preheader39:                                     ; preds = %.preheader40, %126
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 4), align 4, !tbaa !8
  br label %.preheader38

.preheader38:                                     ; preds = %.preheader39, %122
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 8), align 8, !tbaa !8
  br label %.preheader37

.preheader37:                                     ; preds = %.preheader38, %118
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 12), align 4, !tbaa !8
  br label %.preheader36

.preheader36:                                     ; preds = %.preheader37, %114
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 16), align 16, !tbaa !8
  br label %.preheader35

.preheader35:                                     ; preds = %.preheader36, %110
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 20), align 4, !tbaa !8
  br label %.preheader34

.preheader34:                                     ; preds = %.preheader35, %106
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 24), align 8, !tbaa !8
  br label %.preheader33

.preheader33:                                     ; preds = %.preheader34, %102
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 28), align 4, !tbaa !8
  br label %.preheader32

.preheader32:                                     ; preds = %.preheader33, %98
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 32), align 16, !tbaa !8
  br label %.preheader

.preheader:                                       ; preds = %.preheader32, %94
  store i32 0, ptr getelementptr inbounds (i8, ptr @b, i64 36), align 4, !tbaa !8
  br label %46

46:                                               ; preds = %.preheader, %90
  %47 = call noundef zeroext i1 @_Z5worksv()
  br i1 %47, label %48, label %90

48:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %49 = load i32, ptr @b, align 16, !tbaa !8
  %50 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 12), align 4, !tbaa !8
  %51 = mul nsw i32 %50, %49
  %52 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 4), align 4, !tbaa !8
  %53 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 28), align 4, !tbaa !8
  %54 = mul nsw i32 %53, %52
  %55 = add nsw i32 %51, %54
  %56 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 8), align 8, !tbaa !8
  %57 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 44), align 4, !tbaa !8
  %58 = mul nsw i32 %57, %56
  %59 = add nsw i32 %55, %58
  %60 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 12), align 4, !tbaa !8
  %61 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 60), align 4, !tbaa !8
  %62 = mul nsw i32 %61, %60
  %63 = add nsw i32 %59, %62
  %64 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 16), align 16, !tbaa !8
  %65 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 76), align 4, !tbaa !8
  %66 = mul nsw i32 %65, %64
  %67 = add nsw i32 %63, %66
  %68 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 20), align 4, !tbaa !8
  %69 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 92), align 4, !tbaa !8
  %70 = mul nsw i32 %69, %68
  %71 = add nsw i32 %67, %70
  %72 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 24), align 8, !tbaa !8
  %73 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 108), align 4, !tbaa !8
  %74 = mul nsw i32 %73, %72
  %75 = add nsw i32 %71, %74
  %76 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 28), align 4, !tbaa !8
  %77 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 124), align 4, !tbaa !8
  %78 = mul nsw i32 %77, %76
  %79 = add nsw i32 %75, %78
  %80 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 32), align 16, !tbaa !8
  %81 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 140), align 4, !tbaa !8
  %82 = mul nsw i32 %81, %80
  %83 = add nsw i32 %79, %82
  %84 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 36), align 4, !tbaa !8
  %85 = load i32, ptr getelementptr inbounds (i8, ptr @ac, i64 156), align 4, !tbaa !8
  %86 = mul nsw i32 %85, %84
  %87 = add nsw i32 %83, %86
  store i32 %87, ptr %4, align 4, !tbaa !8
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @ans, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %89 = load i32, ptr %88, align 4, !tbaa !8
  store i32 %89, ptr @ans, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %90

90:                                               ; preds = %46, %48
  %91 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 36), align 4, !tbaa !8
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr getelementptr inbounds (i8, ptr @b, i64 36), align 4, !tbaa !8
  %93 = icmp slt i32 %91, 1
  br i1 %93, label %46, label %94, !llvm.loop !15

94:                                               ; preds = %90
  %95 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 32), align 16, !tbaa !8
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr getelementptr inbounds (i8, ptr @b, i64 32), align 16, !tbaa !8
  %97 = icmp slt i32 %95, 1
  br i1 %97, label %.preheader, label %98, !llvm.loop !16

98:                                               ; preds = %94
  %99 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 28), align 4, !tbaa !8
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr getelementptr inbounds (i8, ptr @b, i64 28), align 4, !tbaa !8
  %101 = icmp slt i32 %99, 1
  br i1 %101, label %.preheader32, label %102, !llvm.loop !17

102:                                              ; preds = %98
  %103 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 24), align 8, !tbaa !8
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr getelementptr inbounds (i8, ptr @b, i64 24), align 8, !tbaa !8
  %105 = icmp slt i32 %103, 1
  br i1 %105, label %.preheader33, label %106, !llvm.loop !18

106:                                              ; preds = %102
  %107 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 20), align 4, !tbaa !8
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr getelementptr inbounds (i8, ptr @b, i64 20), align 4, !tbaa !8
  %109 = icmp slt i32 %107, 1
  br i1 %109, label %.preheader34, label %110, !llvm.loop !19

110:                                              ; preds = %106
  %111 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 16), align 16, !tbaa !8
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr getelementptr inbounds (i8, ptr @b, i64 16), align 16, !tbaa !8
  %113 = icmp slt i32 %111, 1
  br i1 %113, label %.preheader35, label %114, !llvm.loop !20

114:                                              ; preds = %110
  %115 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 12), align 4, !tbaa !8
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr getelementptr inbounds (i8, ptr @b, i64 12), align 4, !tbaa !8
  %117 = icmp slt i32 %115, 1
  br i1 %117, label %.preheader36, label %118, !llvm.loop !21

118:                                              ; preds = %114
  %119 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 8), align 8, !tbaa !8
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr getelementptr inbounds (i8, ptr @b, i64 8), align 8, !tbaa !8
  %121 = icmp slt i32 %119, 1
  br i1 %121, label %.preheader37, label %122, !llvm.loop !22

122:                                              ; preds = %118
  %123 = load i32, ptr getelementptr inbounds (i8, ptr @b, i64 4), align 4, !tbaa !8
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr getelementptr inbounds (i8, ptr @b, i64 4), align 4, !tbaa !8
  %125 = icmp slt i32 %123, 1
  br i1 %125, label %.preheader38, label %126, !llvm.loop !23

126:                                              ; preds = %122
  %127 = load i32, ptr @b, align 16, !tbaa !8
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr @b, align 16, !tbaa !8
  %129 = icmp slt i32 %127, 1
  br i1 %129, label %.preheader39, label %130, !llvm.loop !24

130:                                              ; preds = %126
  %131 = load i32, ptr @ans, align 4, !tbaa !8
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %131)
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull @.str)
  ret i32 0
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #0 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #3

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 #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { inlinehint 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 = { 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 #6 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}


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