; LLVM IR from tangjz/acm-icpc :: codeforces/complete (906B)

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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@seq = external dso_local global [100001 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i8, align 1
  %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
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #5
  store i8 0, ptr %2, align 1, !tbaa !5
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  %18 = load i32, ptr @n, align 4, !tbaa !9
  %19 = load i32, ptr @m, align 4, !tbaa !9
  %20 = icmp sgt i32 %18, %19
  br i1 %20, label %21, label %22

21:                                               ; preds = %0
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) @n, ptr noundef nonnull align 4 dereferenceable(4) @m) #5
  store i8 1, ptr %2, align 1, !tbaa !5
  br label %22

22:                                               ; preds = %21, %0
  %23 = load i32, ptr @n, align 4, !tbaa !9
  %24 = icmp eq i32 %23, 1
  br i1 %24, label %28, label %25

25:                                               ; preds = %22
  %26 = load i32, ptr @n, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 2
  br i1 %27, label %28, label %36

28:                                               ; preds = %25, %22
  %29 = load i32, ptr @m, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 2
  br i1 %30, label %34, label %31

31:                                               ; preds = %28
  %32 = load i32, ptr @m, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 3
  br i1 %33, label %34, label %36

34:                                               ; preds = %31, %28
  %35 = call i32 @puts(ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %221

36:                                               ; preds = %31, %25
  %37 = call i32 @puts(ptr noundef @.str.2)
  %38 = load i32, ptr @n, align 4, !tbaa !9
  %39 = icmp eq i32 %38, 3
  br i1 %39, label %40, label %44

40:                                               ; preds = %36
  %41 = load i32, ptr @m, align 4, !tbaa !9
  %42 = icmp eq i32 %41, 3
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  store i32 5, ptr @seq, align 16, !tbaa !9
  store i32 0, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 1), align 4, !tbaa !9
  store i32 7, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 2), align 8, !tbaa !9
  store i32 6, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 3), align 4, !tbaa !9
  store i32 4, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 4), align 16, !tbaa !9
  store i32 2, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 5), align 4, !tbaa !9
  store i32 1, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 6), align 8, !tbaa !9
  store i32 8, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 7), align 4, !tbaa !9
  store i32 3, ptr getelementptr inbounds ([100001 x i32], ptr @seq, i64 0, i64 8), align 16, !tbaa !9
  br label %132

44:                                               ; preds = %40, %36
  %45 = load i32, ptr @n, align 4, !tbaa !9
  %46 = icmp eq i32 %45, 1
  br i1 %46, label %47, label %78

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %59, %47
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = load i32, ptr @m, align 4, !tbaa !9
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %62

53:                                               ; preds = %48
  %54 = load i32, ptr %4, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %4, align 4, !tbaa !9
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %57
  store i32 %54, ptr %58, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %53
  %60 = load i32, ptr %5, align 4, !tbaa !9
  %61 = add nsw i32 %60, 2
  store i32 %61, ptr %5, align 4, !tbaa !9
  br label %48, !llvm.loop !11

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

63:                                               ; preds = %74, %62
  %64 = load i32, ptr %6, align 4, !tbaa !9
  %65 = load i32, ptr @m, align 4, !tbaa !9
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %68, label %67

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

68:                                               ; preds = %63
  %69 = load i32, ptr %4, align 4, !tbaa !9
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %4, align 4, !tbaa !9
  %71 = load i32, ptr %6, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %72
  store i32 %69, ptr %73, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %68
  %75 = load i32, ptr %6, align 4, !tbaa !9
  %76 = add nsw i32 %75, 2
  store i32 %76, ptr %6, align 4, !tbaa !9
  br label %63, !llvm.loop !13

77:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %131

78:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %127, %78
  %80 = load i32, ptr %7, align 4, !tbaa !9
  %81 = load i32, ptr @n, align 4, !tbaa !9
  %82 = icmp slt i32 %80, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %79
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %130

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = and i32 %85, 1
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %91

88:                                               ; preds = %84
  %89 = load i32, ptr @m, align 4, !tbaa !9
  %90 = sub nsw i32 %89, 2
  br label %92

91:                                               ; preds = %84
  br label %92

92:                                               ; preds = %91, %88
  %93 = phi i32 [ %90, %88 ], [ 0, %91 ]
  store i32 %93, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %123, %92
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = load i32, ptr @m, align 4, !tbaa !9
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %126

99:                                               ; preds = %94
  %100 = load i32, ptr %7, align 4, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = load i32, ptr %8, align 4, !tbaa !9
  %103 = add nsw i32 %101, %102
  %104 = load i32, ptr @m, align 4, !tbaa !9
  %105 = srem i32 %103, %104
  %106 = call noundef i32 @_Z3idxii(i32 noundef %100, i32 noundef %105)
  %107 = load i32, ptr %9, align 4, !tbaa !9
  %108 = and i32 %107, 1
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %115

110:                                              ; preds = %99
  %111 = load i32, ptr %7, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  %113 = load i32, ptr @n, align 4, !tbaa !9
  %114 = srem i32 %112, %113
  br label %117

115:                                              ; preds = %99
  %116 = load i32, ptr %7, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %115, %110
  %118 = phi i32 [ %114, %110 ], [ %116, %115 ]
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = call noundef i32 @_Z3idxii(i32 noundef %118, i32 noundef %119)
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %121
  store i32 %106, ptr %122, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %117
  %124 = load i32, ptr %9, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %9, align 4, !tbaa !9
  br label %94, !llvm.loop !14

126:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %127

127:                                              ; preds = %126
  %128 = load i32, ptr %7, align 4, !tbaa !9
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %7, align 4, !tbaa !9
  br label %79, !llvm.loop !15

130:                                              ; preds = %83
  br label %131

131:                                              ; preds = %130, %77
  br label %132

132:                                              ; preds = %131, %43
  %133 = load i8, ptr %2, align 1, !tbaa !5, !range !16, !noundef !17
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %183

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

136:                                              ; preds = %179, %135
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = load i32, ptr @m, align 4, !tbaa !9
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %182

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %175, %141
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = load i32, ptr @n, align 4, !tbaa !9
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %178

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %148 = load i32, ptr %11, align 4, !tbaa !9
  %149 = load i32, ptr %10, align 4, !tbaa !9
  %150 = call noundef i32 @_Z3idxii(i32 noundef %148, i32 noundef %149)
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !9
  store i32 %153, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %154 = load i32, ptr %12, align 4, !tbaa !9
  %155 = load i32, ptr @m, align 4, !tbaa !9
  %156 = sdiv i32 %154, %155
  store i32 %156, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %157 = load i32, ptr %12, align 4, !tbaa !9
  %158 = load i32, ptr @m, align 4, !tbaa !9
  %159 = srem i32 %157, %158
  store i32 %159, ptr %14, align 4, !tbaa !9
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = load i32, ptr @n, align 4, !tbaa !9
  %162 = mul nsw i32 %160, %161
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = add nsw i32 %162, %163
  %165 = add nsw i32 %164, 1
  %166 = load i32, ptr %11, align 4, !tbaa !9
  %167 = load i32, ptr @n, align 4, !tbaa !9
  %168 = sub nsw i32 %167, 1
  %169 = icmp eq i32 %166, %168
  %170 = zext i1 %169 to i64
  %171 = getelementptr inbounds [3 x i8], ptr @.str.4, i64 0, i64 %170
  %172 = load i8, ptr %171, align 1, !tbaa !18
  %173 = sext i8 %172 to i32
  %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %165, i32 noundef %173)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %175

175:                                              ; preds = %147
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %11, align 4, !tbaa !9
  br label %142, !llvm.loop !19

178:                                              ; preds = %146
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %10, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %10, align 4, !tbaa !9
  br label %136, !llvm.loop !20

182:                                              ; preds = %140
  br label %220

183:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %216, %183
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr @n, align 4, !tbaa !9
  %187 = icmp slt i32 %185, %186
  br i1 %187, label %189, label %188

188:                                              ; preds = %184
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %219

189:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %212, %189
  %191 = load i32, ptr %16, align 4, !tbaa !9
  %192 = load i32, ptr @m, align 4, !tbaa !9
  %193 = icmp slt i32 %191, %192
  br i1 %193, label %195, label %194

194:                                              ; preds = %190
  store i32 23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %215

195:                                              ; preds = %190
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = call noundef i32 @_Z3idxii(i32 noundef %196, i32 noundef %197)
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %199
  %201 = load i32, ptr %200, align 4, !tbaa !9
  %202 = add nsw i32 %201, 1
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = load i32, ptr @m, align 4, !tbaa !9
  %205 = sub nsw i32 %204, 1
  %206 = icmp eq i32 %203, %205
  %207 = zext i1 %206 to i64
  %208 = getelementptr inbounds [3 x i8], ptr @.str.4, i64 0, i64 %207
  %209 = load i8, ptr %208, align 1, !tbaa !18
  %210 = sext i8 %209 to i32
  %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %202, i32 noundef %210)
  br label %212

212:                                              ; preds = %195
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %16, align 4, !tbaa !9
  br label %190, !llvm.loop !21

215:                                              ; preds = %194
  br label %216

216:                                              ; preds = %215
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %15, align 4, !tbaa !9
  br label %184, !llvm.loop !22

219:                                              ; preds = %188
  br label %220

220:                                              ; preds = %219, %182
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %221

221:                                              ; preds = %220, %34
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #5
  %222 = load i32, ptr %1, align 4
  ret i32 %222
}

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

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

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

declare i32 @puts(ptr noundef) #3

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

declare i32 @printf(ptr 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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !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"

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@seq = external dso_local local_unnamed_addr global [100001 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1

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

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %2 = load i32, ptr @n, align 4
  %3 = load i32, ptr @m, align 4, !tbaa !5
  %4 = icmp sgt i32 %2, %3
  br i1 %4, label %5, label %6

5:                                                ; preds = %0
  tail call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) @n, ptr noundef nonnull align 4 dereferenceable(4) @m) #4
  %.pre = load i32, ptr @n, align 4
  br label %6

6:                                                ; preds = %5, %0
  %7 = phi i32 [ %.pre, %5 ], [ %2, %0 ]
  %8 = add i32 %7, -1
  %or.cond = icmp ult i32 %8, 2
  br i1 %or.cond, label %9, label %14

9:                                                ; preds = %6
  %10 = load i32, ptr @m, align 4
  %11 = and i32 %10, -2
  %or.cond3 = icmp eq i32 %11, 2
  br i1 %or.cond3, label %12, label %14

12:                                               ; preds = %9
  %13 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.loopexit

14:                                               ; preds = %9, %6
  %15 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  %16 = load i32, ptr @n, align 4, !tbaa !5
  %17 = icmp eq i32 %16, 3
  %18 = load i32, ptr @m, align 4
  %19 = icmp eq i32 %18, 3
  %or.cond5 = select i1 %17, i1 %19, i1 false
  br i1 %or.cond5, label %.loopexit62.thread, label %20

20:                                               ; preds = %14
  %21 = icmp eq i32 %16, 1
  br i1 %21, label %.preheader63, label %.preheader64

.preheader64:                                     ; preds = %20
  %22 = icmp sgt i32 %16, 0
  %23 = icmp sgt i32 %18, 0
  %or.cond103 = select i1 %22, i1 %23, i1 false
  br i1 %or.cond103, label %.lr.ph68.split, label %.loopexit62

.preheader63:                                     ; preds = %20
  %24 = icmp sgt i32 %18, 1
  br i1 %24, label %.lr.ph71.preheader, label %.preheader61

.lr.ph71.preheader:                               ; preds = %.preheader63
  %25 = add nsw i32 %18, -2
  %26 = lshr i32 %25, 1
  %27 = add nuw nsw i32 %26, 1
  %28 = add nuw i32 %26, 1
  %xtraiter = and i32 %28, 3
  %29 = icmp ult i32 %25, 6
  br i1 %29, label %.preheader61.loopexit.unr-lcssa, label %.lr.ph71.preheader.new

.lr.ph71.preheader.new:                           ; preds = %.lr.ph71.preheader
  %unroll_iter = and i32 %28, -4
  br label %.lr.ph71

.preheader61.loopexit.unr-lcssa:                  ; preds = %.lr.ph71, %.lr.ph71.preheader
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph71.preheader ], [ %indvars.iv.next.3, %.lr.ph71 ]
  %.05170.unr = phi i32 [ 0, %.lr.ph71.preheader ], [ %43, %.lr.ph71 ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader61, label %.lr.ph71.epil

.lr.ph71.epil:                                    ; preds = %.preheader61.loopexit.unr-lcssa, %.lr.ph71.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph71.epil ], [ %indvars.iv.unr, %.preheader61.loopexit.unr-lcssa ]
  %.05170.epil = phi i32 [ %30, %.lr.ph71.epil ], [ %.05170.unr, %.preheader61.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph71.epil ], [ 0, %.preheader61.loopexit.unr-lcssa ]
  %30 = add nuw nsw i32 %.05170.epil, 1
  %31 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.epil
  store i32 %.05170.epil, ptr %31, align 4, !tbaa !5
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 2
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader61, label %.lr.ph71.epil, !llvm.loop !9

.preheader61:                                     ; preds = %.preheader61.loopexit.unr-lcssa, %.lr.ph71.epil, %.preheader63
  %.051.lcssa = phi i32 [ 0, %.preheader63 ], [ %27, %.lr.ph71.epil ], [ %27, %.preheader61.loopexit.unr-lcssa ]
  %32 = icmp sgt i32 %18, 0
  br i1 %32, label %.lr.ph74.preheader, label %.loopexit62

.lr.ph74.preheader:                               ; preds = %.preheader61
  %33 = add nsw i32 %18, -1
  %34 = lshr i32 %33, 1
  %35 = add nuw i32 %34, 1
  %xtraiter121 = and i32 %35, 3
  %36 = icmp ult i32 %18, 7
  br i1 %36, label %.loopexit62.loopexit.unr-lcssa, label %.lr.ph74.preheader.new

.lr.ph74.preheader.new:                           ; preds = %.lr.ph74.preheader
  %unroll_iter124 = and i32 %35, -4
  br label %.lr.ph74

.lr.ph71:                                         ; preds = %.lr.ph71, %.lr.ph71.preheader.new
  %indvars.iv = phi i64 [ 1, %.lr.ph71.preheader.new ], [ %indvars.iv.next.3, %.lr.ph71 ]
  %.05170 = phi i32 [ 0, %.lr.ph71.preheader.new ], [ %43, %.lr.ph71 ]
  %niter = phi i32 [ 0, %.lr.ph71.preheader.new ], [ %niter.next.3, %.lr.ph71 ]
  %37 = or disjoint i32 %.05170, 1
  %38 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv
  store i32 %.05170, ptr %38, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %39 = or disjoint i32 %.05170, 2
  %40 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.next
  store i32 %37, ptr %40, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 4
  %41 = or disjoint i32 %.05170, 3
  %42 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.next.1
  store i32 %39, ptr %42, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 6
  %43 = add nuw nsw i32 %.05170, 4
  %44 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.next.2
  store i32 %41, ptr %44, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 8
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader61.loopexit.unr-lcssa, label %.lr.ph71, !llvm.loop !11

.lr.ph74:                                         ; preds = %.lr.ph74, %.lr.ph74.preheader.new
  %indvars.iv89 = phi i64 [ 0, %.lr.ph74.preheader.new ], [ %indvars.iv.next90.3, %.lr.ph74 ]
  %.173 = phi i32 [ %.051.lcssa, %.lr.ph74.preheader.new ], [ %51, %.lr.ph74 ]
  %niter125 = phi i32 [ 0, %.lr.ph74.preheader.new ], [ %niter125.next.3, %.lr.ph74 ]
  %45 = add nuw nsw i32 %.173, 1
  %46 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv89
  store i32 %.173, ptr %46, align 16, !tbaa !5
  %indvars.iv.next90 = or disjoint i64 %indvars.iv89, 2
  %47 = add nuw nsw i32 %.173, 2
  %48 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.next90
  store i32 %45, ptr %48, align 8, !tbaa !5
  %indvars.iv.next90.1 = or disjoint i64 %indvars.iv89, 4
  %49 = add nuw nsw i32 %.173, 3
  %50 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.next90.1
  store i32 %47, ptr %50, align 16, !tbaa !5
  %indvars.iv.next90.2 = or disjoint i64 %indvars.iv89, 6
  %51 = add nuw nsw i32 %.173, 4
  %52 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv.next90.2
  store i32 %49, ptr %52, align 8, !tbaa !5
  %indvars.iv.next90.3 = add nuw nsw i64 %indvars.iv89, 8
  %niter125.next.3 = add i32 %niter125, 4
  %niter125.ncmp.3 = icmp eq i32 %niter125.next.3, %unroll_iter124
  br i1 %niter125.ncmp.3, label %.loopexit62.loopexit.unr-lcssa, label %.lr.ph74, !llvm.loop !13

.lr.ph68.split:                                   ; preds = %.preheader64, %._crit_edge
  %53 = phi i32 [ %60, %._crit_edge ], [ %16, %.preheader64 ]
  %54 = phi i32 [ %61, %._crit_edge ], [ %18, %.preheader64 ]
  %.05267 = phi i32 [ %59, %._crit_edge ], [ 0, %.preheader64 ]
  %55 = and i32 %.05267, 1
  %.not = icmp eq i32 %55, 0
  %56 = add nsw i32 %54, -2
  %57 = select i1 %.not, i32 0, i32 %56
  %58 = icmp sgt i32 %54, 0
  %59 = add nuw nsw i32 %.05267, 1
  br i1 %58, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %71
  %.pre93 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph68.split, %._crit_edge.loopexit
  %60 = phi i32 [ %.pre93, %._crit_edge.loopexit ], [ %53, %.lr.ph68.split ]
  %61 = phi i32 [ %77, %._crit_edge.loopexit ], [ %54, %.lr.ph68.split ]
  %62 = icmp slt i32 %59, %60
  br i1 %62, label %.lr.ph68.split, label %.loopexit62, !llvm.loop !14

.lr.ph:                                           ; preds = %.lr.ph68.split, %71
  %63 = phi i32 [ %77, %71 ], [ %54, %.lr.ph68.split ]
  %.05066 = phi i32 [ %76, %71 ], [ 0, %.lr.ph68.split ]
  %64 = add nsw i32 %.05066, %57
  %65 = srem i32 %64, %63
  %66 = tail call noundef i32 @_Z3idxii(i32 noundef %.05267, i32 noundef %65)
  %67 = and i32 %.05066, 1
  %.not56 = icmp eq i32 %67, 0
  br i1 %.not56, label %71, label %68

68:                                               ; preds = %.lr.ph
  %69 = load i32, ptr @n, align 4, !tbaa !5
  %70 = srem i32 %59, %69
  br label %71

71:                                               ; preds = %.lr.ph, %68
  %72 = phi i32 [ %70, %68 ], [ %.05267, %.lr.ph ]
  %73 = tail call noundef i32 @_Z3idxii(i32 noundef %72, i32 noundef %.05066)
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %74
  store i32 %66, ptr %75, align 4, !tbaa !5
  %76 = add nuw nsw i32 %.05066, 1
  %77 = load i32, ptr @m, align 4
  %78 = icmp slt i32 %76, %77
  br i1 %78, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !16

.loopexit62.loopexit.unr-lcssa:                   ; preds = %.lr.ph74, %.lr.ph74.preheader
  %indvars.iv89.unr = phi i64 [ 0, %.lr.ph74.preheader ], [ %indvars.iv.next90.3, %.lr.ph74 ]
  %.173.unr = phi i32 [ %.051.lcssa, %.lr.ph74.preheader ], [ %51, %.lr.ph74 ]
  %lcmp.mod123.not = icmp eq i32 %xtraiter121, 0
  br i1 %lcmp.mod123.not, label %.loopexit62, label %.lr.ph74.epil

.lr.ph74.epil:                                    ; preds = %.loopexit62.loopexit.unr-lcssa, %.lr.ph74.epil
  %indvars.iv89.epil = phi i64 [ %indvars.iv.next90.epil, %.lr.ph74.epil ], [ %indvars.iv89.unr, %.loopexit62.loopexit.unr-lcssa ]
  %.173.epil = phi i32 [ %79, %.lr.ph74.epil ], [ %.173.unr, %.loopexit62.loopexit.unr-lcssa ]
  %epil.iter122 = phi i32 [ %epil.iter122.next, %.lr.ph74.epil ], [ 0, %.loopexit62.loopexit.unr-lcssa ]
  %79 = add nuw nsw i32 %.173.epil, 1
  %80 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %indvars.iv89.epil
  store i32 %.173.epil, ptr %80, align 8, !tbaa !5
  %indvars.iv.next90.epil = add nuw nsw i64 %indvars.iv89.epil, 2
  %epil.iter122.next = add i32 %epil.iter122, 1
  %epil.iter122.cmp.not = icmp eq i32 %epil.iter122.next, %xtraiter121
  br i1 %epil.iter122.cmp.not, label %.loopexit62, label %.lr.ph74.epil, !llvm.loop !17

.loopexit62:                                      ; preds = %._crit_edge, %.loopexit62.loopexit.unr-lcssa, %.lr.ph74.epil, %.preheader64, %.preheader61
  %81 = phi i32 [ %18, %.preheader64 ], [ %18, %.preheader61 ], [ %18, %.lr.ph74.epil ], [ %18, %.loopexit62.loopexit.unr-lcssa ], [ %61, %._crit_edge ]
  %82 = phi i32 [ %16, %.preheader64 ], [ 1, %.preheader61 ], [ 1, %.lr.ph74.epil ], [ 1, %.loopexit62.loopexit.unr-lcssa ], [ %60, %._crit_edge ]
  br i1 %4, label %.preheader57, label %.preheader59

.loopexit62.thread:                               ; preds = %14
  store <4 x i32> <i32 5, i32 0, i32 7, i32 6>, ptr @seq, align 16, !tbaa !5
  store <4 x i32> <i32 4, i32 2, i32 1, i32 8>, ptr getelementptr inbounds (i8, ptr @seq, i64 16), align 16, !tbaa !5
  store i32 3, ptr getelementptr inbounds (i8, ptr @seq, i64 32), align 16, !tbaa !5
  br i1 %4, label %.preheader.preheader, label %.preheader58.preheader

.preheader58.preheader:                           ; preds = %.preheader59, %.loopexit62.thread
  %.ph113 = phi i32 [ %82, %.preheader59 ], [ 3, %.loopexit62.thread ]
  %.ph114 = phi i32 [ %81, %.preheader59 ], [ 3, %.loopexit62.thread ]
  br label %.preheader58

.preheader59:                                     ; preds = %.loopexit62
  %83 = icmp sgt i32 %82, 0
  %84 = icmp sgt i32 %81, 0
  %or.cond104 = select i1 %83, i1 %84, i1 false
  br i1 %or.cond104, label %.preheader58.preheader, label %.loopexit

.preheader57:                                     ; preds = %.loopexit62
  %85 = icmp sgt i32 %81, 0
  %86 = icmp sgt i32 %82, 0
  %or.cond105 = and i1 %85, %86
  br i1 %or.cond105, label %.preheader.preheader, label %.loopexit

.preheader.preheader:                             ; preds = %.preheader57, %.loopexit62.thread
  %.ph = phi i32 [ %81, %.preheader57 ], [ 3, %.loopexit62.thread ]
  %.ph112 = phi i32 [ %82, %.preheader57 ], [ 3, %.loopexit62.thread ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge81
  %87 = phi i32 [ %90, %._crit_edge81 ], [ %.ph, %.preheader.preheader ]
  %88 = phi i32 [ %91, %._crit_edge81 ], [ %.ph112, %.preheader.preheader ]
  %.04982 = phi i32 [ %92, %._crit_edge81 ], [ 0, %.preheader.preheader ]
  %89 = icmp sgt i32 %88, 0
  br i1 %89, label %.lr.ph80, label %._crit_edge81

._crit_edge81.loopexit:                           ; preds = %.lr.ph80
  %.pre95 = load i32, ptr @m, align 4, !tbaa !5
  br label %._crit_edge81

._crit_edge81:                                    ; preds = %._crit_edge81.loopexit, %.preheader
  %90 = phi i32 [ %.pre95, %._crit_edge81.loopexit ], [ %87, %.preheader ]
  %91 = phi i32 [ %113, %._crit_edge81.loopexit ], [ %88, %.preheader ]
  %92 = add nuw nsw i32 %.04982, 1
  %93 = icmp slt i32 %92, %90
  br i1 %93, label %.preheader, label %.loopexit, !llvm.loop !18

.lr.ph80:                                         ; preds = %.preheader, %.lr.ph80
  %.04879 = phi i32 [ %112, %.lr.ph80 ], [ 0, %.preheader ]
  %94 = tail call noundef i32 @_Z3idxii(i32 noundef %.04879, i32 noundef %.04982)
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = load i32, ptr @m, align 4, !tbaa !5
  %99 = sdiv i32 %97, %98
  %100 = srem i32 %97, %98
  %101 = load i32, ptr @n, align 4, !tbaa !5
  %102 = mul nsw i32 %101, %100
  %103 = add i32 %99, 1
  %104 = add i32 %103, %102
  %105 = add nsw i32 %101, -1
  %106 = icmp eq i32 %.04879, %105
  %107 = zext i1 %106 to i64
  %108 = getelementptr inbounds [3 x i8], ptr @.str.4, i64 0, i64 %107
  %109 = load i8, ptr %108, align 1, !tbaa !19
  %110 = sext i8 %109 to i32
  %111 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %104, i32 noundef %110)
  %112 = add nuw nsw i32 %.04879, 1
  %113 = load i32, ptr @n, align 4, !tbaa !5
  %114 = icmp slt i32 %112, %113
  br i1 %114, label %.lr.ph80, label %._crit_edge81.loopexit, !llvm.loop !20

.preheader58:                                     ; preds = %.preheader58.preheader, %._crit_edge77
  %115 = phi i32 [ %118, %._crit_edge77 ], [ %.ph113, %.preheader58.preheader ]
  %116 = phi i32 [ %119, %._crit_edge77 ], [ %.ph114, %.preheader58.preheader ]
  %.04578 = phi i32 [ %120, %._crit_edge77 ], [ 0, %.preheader58.preheader ]
  %117 = icmp sgt i32 %116, 0
  br i1 %117, label %.lr.ph76, label %._crit_edge77

._crit_edge77.loopexit:                           ; preds = %.lr.ph76
  %.pre94 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge77

._crit_edge77:                                    ; preds = %._crit_edge77.loopexit, %.preheader58
  %118 = phi i32 [ %.pre94, %._crit_edge77.loopexit ], [ %115, %.preheader58 ]
  %119 = phi i32 [ %136, %._crit_edge77.loopexit ], [ %116, %.preheader58 ]
  %120 = add nuw nsw i32 %.04578, 1
  %121 = icmp slt i32 %120, %118
  br i1 %121, label %.preheader58, label %.loopexit, !llvm.loop !21

.lr.ph76:                                         ; preds = %.preheader58, %.lr.ph76
  %.075 = phi i32 [ %135, %.lr.ph76 ], [ 0, %.preheader58 ]
  %122 = tail call noundef i32 @_Z3idxii(i32 noundef %.04578, i32 noundef %.075)
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [100001 x i32], ptr @seq, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = add nsw i32 %125, 1
  %127 = load i32, ptr @m, align 4, !tbaa !5
  %128 = add nsw i32 %127, -1
  %129 = icmp eq i32 %.075, %128
  %130 = zext i1 %129 to i64
  %131 = getelementptr inbounds [3 x i8], ptr @.str.4, i64 0, i64 %130
  %132 = load i8, ptr %131, align 1, !tbaa !19
  %133 = sext i8 %132 to i32
  %134 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %126, i32 noundef %133)
  %135 = add nuw nsw i32 %.075, 1
  %136 = load i32, ptr @m, align 4, !tbaa !5
  %137 = icmp slt i32 %135, %136
  br i1 %137, label %.lr.ph76, label %._crit_edge77.loopexit, !llvm.loop !22

.loopexit:                                        ; preds = %._crit_edge77, %._crit_edge81, %.preheader59, %.preheader57, %12
  ret i32 0
}

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2

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

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 norecurse 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 = { 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 #3 = { 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 #4 = { 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.unroll.disable"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12, !15}
!15 = !{!"llvm.loop.unswitch.partial.disable"}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !12, !15}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12, !15}
!22 = distinct !{!22, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass