; LLVM IR from DionysiosB/CodeForces :: 0900-0999 (919C-SeatArrangements)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %18 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  %22 = load i64, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %22, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %23 unwind label %29

23:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %38, %23
  %25 = load i64, ptr %9, align 8, !tbaa !5
  %26 = load i64, ptr %2, align 8, !tbaa !5
  %27 = icmp slt i64 %25, %26
  br i1 %27, label %33, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %45

29:                                               ; preds = %0
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %7, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %8, align 4
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %180

33:                                               ; preds = %24
  %34 = load i64, ptr %9, align 8, !tbaa !5
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %34) #5
  %36 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %37 unwind label %41

37:                                               ; preds = %33
  br label %38

38:                                               ; preds = %37
  %39 = load i64, ptr %9, align 8, !tbaa !5
  %40 = add nsw i64 %39, 1
  store i64 %40, ptr %9, align 8, !tbaa !5
  br label %24, !llvm.loop !9

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %7, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %179

45:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %101, %45
  %47 = load i64, ptr %11, align 8, !tbaa !5
  %48 = load i64, ptr %2, align 8, !tbaa !5
  %49 = icmp slt i64 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %104

51:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %86, %51
  %53 = load i64, ptr %14, align 8, !tbaa !5
  %54 = load i64, ptr %3, align 8, !tbaa !5
  %55 = icmp slt i64 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %89

57:                                               ; preds = %52
  %58 = load i64, ptr %11, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %58) #5
  %60 = load i64, ptr %14, align 8, !tbaa !5
  %61 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %59, i64 noundef %60)
          to label %62 unwind label %77

62:                                               ; preds = %57
  %63 = load i8, ptr %61, align 1, !tbaa !11
  %64 = sext i8 %63 to i32
  %65 = icmp eq i32 %64, 42
  br i1 %65, label %66, label %82

66:                                               ; preds = %62
  %67 = load i64, ptr %13, align 8, !tbaa !5
  %68 = load i64, ptr %4, align 8, !tbaa !5
  %69 = icmp sge i64 %67, %68
  br i1 %69, label %70, label %81

70:                                               ; preds = %66
  %71 = load i64, ptr %13, align 8, !tbaa !5
  %72 = load i64, ptr %4, align 8, !tbaa !5
  %73 = sub nsw i64 %71, %72
  %74 = add nsw i64 %73, 1
  %75 = load i64, ptr %10, align 8, !tbaa !5
  %76 = add nsw i64 %75, %74
  store i64 %76, ptr %10, align 8, !tbaa !5
  br label %81

77:                                               ; preds = %57
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %178

81:                                               ; preds = %70, %66
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %85

82:                                               ; preds = %62
  %83 = load i64, ptr %13, align 8, !tbaa !5
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr %13, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %82, %81
  br label %86

86:                                               ; preds = %85
  %87 = load i64, ptr %14, align 8, !tbaa !5
  %88 = add nsw i64 %87, 1
  store i64 %88, ptr %14, align 8, !tbaa !5
  br label %52, !llvm.loop !12

89:                                               ; preds = %56
  %90 = load i64, ptr %13, align 8, !tbaa !5
  %91 = load i64, ptr %4, align 8, !tbaa !5
  %92 = icmp sge i64 %90, %91
  br i1 %92, label %93, label %100

93:                                               ; preds = %89
  %94 = load i64, ptr %13, align 8, !tbaa !5
  %95 = load i64, ptr %4, align 8, !tbaa !5
  %96 = sub nsw i64 %94, %95
  %97 = add nsw i64 %96, 1
  %98 = load i64, ptr %10, align 8, !tbaa !5
  %99 = add nsw i64 %98, %97
  store i64 %99, ptr %10, align 8, !tbaa !5
  br label %100

100:                                              ; preds = %93, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %101

101:                                              ; preds = %100
  %102 = load i64, ptr %11, align 8, !tbaa !5
  %103 = add nsw i64 %102, 1
  store i64 %103, ptr %11, align 8, !tbaa !5
  br label %46, !llvm.loop !13

104:                                              ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %160, %104
  %106 = load i64, ptr %15, align 8, !tbaa !5
  %107 = load i64, ptr %3, align 8, !tbaa !5
  %108 = icmp slt i64 %106, %107
  br i1 %108, label %110, label %109

109:                                              ; preds = %105
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %163

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store i64 0, ptr %17, align 8, !tbaa !5
  br label %111

111:                                              ; preds = %145, %110
  %112 = load i64, ptr %17, align 8, !tbaa !5
  %113 = load i64, ptr %2, align 8, !tbaa !5
  %114 = icmp slt i64 %112, %113
  br i1 %114, label %116, label %115

115:                                              ; preds = %111
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %148

116:                                              ; preds = %111
  %117 = load i64, ptr %17, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %117) #5
  %119 = load i64, ptr %15, align 8, !tbaa !5
  %120 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %118, i64 noundef %119)
          to label %121 unwind label %136

121:                                              ; preds = %116
  %122 = load i8, ptr %120, align 1, !tbaa !11
  %123 = sext i8 %122 to i32
  %124 = icmp eq i32 %123, 42
  br i1 %124, label %125, label %141

125:                                              ; preds = %121
  %126 = load i64, ptr %16, align 8, !tbaa !5
  %127 = load i64, ptr %4, align 8, !tbaa !5
  %128 = icmp sge i64 %126, %127
  br i1 %128, label %129, label %140

129:                                              ; preds = %125
  %130 = load i64, ptr %16, align 8, !tbaa !5
  %131 = load i64, ptr %4, align 8, !tbaa !5
  %132 = sub nsw i64 %130, %131
  %133 = add nsw i64 %132, 1
  %134 = load i64, ptr %10, align 8, !tbaa !5
  %135 = add nsw i64 %134, %133
  store i64 %135, ptr %10, align 8, !tbaa !5
  br label %140

136:                                              ; preds = %116
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %7, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %178

140:                                              ; preds = %129, %125
  store i64 0, ptr %16, align 8, !tbaa !5
  br label %144

141:                                              ; preds = %121
  %142 = load i64, ptr %16, align 8, !tbaa !5
  %143 = add nsw i64 %142, 1
  store i64 %143, ptr %16, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %141, %140
  br label %145

145:                                              ; preds = %144
  %146 = load i64, ptr %17, align 8, !tbaa !5
  %147 = add nsw i64 %146, 1
  store i64 %147, ptr %17, align 8, !tbaa !5
  br label %111, !llvm.loop !14

148:                                              ; preds = %115
  %149 = load i64, ptr %16, align 8, !tbaa !5
  %150 = load i64, ptr %4, align 8, !tbaa !5
  %151 = icmp sge i64 %149, %150
  br i1 %151, label %152, label %159

152:                                              ; preds = %148
  %153 = load i64, ptr %16, align 8, !tbaa !5
  %154 = load i64, ptr %4, align 8, !tbaa !5
  %155 = sub nsw i64 %153, %154
  %156 = add nsw i64 %155, 1
  %157 = load i64, ptr %10, align 8, !tbaa !5
  %158 = add nsw i64 %157, %156
  store i64 %158, ptr %10, align 8, !tbaa !5
  br label %159

159:                                              ; preds = %152, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %160

160:                                              ; preds = %159
  %161 = load i64, ptr %15, align 8, !tbaa !5
  %162 = add nsw i64 %161, 1
  store i64 %162, ptr %15, align 8, !tbaa !5
  br label %105, !llvm.loop !15

163:                                              ; preds = %109
  %164 = load i64, ptr %4, align 8, !tbaa !5
  %165 = icmp eq i64 %164, 1
  br i1 %165, label %166, label %169

166:                                              ; preds = %163
  %167 = load i64, ptr %10, align 8, !tbaa !5
  %168 = sdiv i64 %167, 2
  store i64 %168, ptr %10, align 8, !tbaa !5
  br label %169

169:                                              ; preds = %166, %163
  %170 = load i64, ptr %10, align 8, !tbaa !5
  %171 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %170)
          to label %172 unwind label %174

172:                                              ; preds = %169
  store i32 0, ptr %1, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %173 = load i32, ptr %1, align 4
  ret i32 %173

174:                                              ; preds = %169
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %7, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %8, align 4
  br label %178

178:                                              ; preds = %174, %136, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %179

179:                                              ; preds = %178, %41
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %180

180:                                              ; preds = %179, %29
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %181

181:                                              ; preds = %180
  %182 = load ptr, ptr %7, align 8
  %183 = load i32, ptr %8, align 4
  %184 = insertvalue { ptr, i32 } poison, ptr %182, 0
  %185 = insertvalue { ptr, i32 } %184, i32 %183, 1
  resume { ptr, i32 } %185
}

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #3 align 2

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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 = { "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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  %10 = load i64, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %10, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %11 unwind label %20

11:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %12 = load i64, ptr %1, align 8, !tbaa !5
  %13 = icmp sgt i64 %12, 0
  br i1 %13, label %.lr.ph, label %.preheader64.thread

.preheader64.thread:                              ; preds = %11
  %.pre9598 = load i64, ptr %2, align 8, !tbaa !5
  br label %.preheader62

.preheader64:                                     ; preds = %24
  %14 = icmp sgt i64 %26, 0
  %.pre95 = load i64, ptr %2, align 8, !tbaa !5
  br i1 %14, label %.preheader63.lr.ph, label %.preheader62

.preheader63.lr.ph:                               ; preds = %.preheader64
  %15 = icmp sgt i64 %.pre95, 0
  br i1 %15, label %.preheader63, label %.preheader62.thread

.preheader62.thread:                              ; preds = %.preheader63.lr.ph
  %16 = load i64, ptr %3, align 8, !tbaa !5
  %.not53.us = icmp sgt i64 %16, 0
  %17 = sub i64 1, %16
  %18 = select i1 %.not53.us, i64 0, i64 %17
  %19 = mul i64 %18, %26
  br label %.preheader62.._crit_edge89_crit_edge

20:                                               ; preds = %0
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %102

.lr.ph:                                           ; preds = %11, %24
  %.04171 = phi i64 [ %25, %24 ], [ 0, %11 ]
  %22 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.04171) #6
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %24 unwind label %28

24:                                               ; preds = %.lr.ph
  %25 = add nuw nsw i64 %.04171, 1
  %26 = load i64, ptr %1, align 8, !tbaa !5
  %27 = icmp slt i64 %25, %26
  br i1 %27, label %.lr.ph, label %.preheader64, !llvm.loop !9

28:                                               ; preds = %.lr.ph
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %101

.preheader63:                                     ; preds = %.preheader63.lr.ph, %._crit_edge
  %30 = phi i64 [ %42, %._crit_edge ], [ %26, %.preheader63.lr.ph ]
  %31 = phi i64 [ %43, %._crit_edge ], [ %.pre95, %.preheader63.lr.ph ]
  %.03878 = phi i64 [ %48, %._crit_edge ], [ 0, %.preheader63.lr.ph ]
  %.03977 = phi i64 [ %.4, %._crit_edge ], [ 0, %.preheader63.lr.ph ]
  %32 = icmp sgt i64 %31, 0
  br i1 %32, label %.lr.ph75, label %._crit_edge

.preheader62:                                     ; preds = %._crit_edge, %.preheader64.thread, %.preheader64
  %33 = phi i64 [ %26, %.preheader64 ], [ %12, %.preheader64.thread ], [ %42, %._crit_edge ]
  %34 = phi i64 [ %.pre95, %.preheader64 ], [ %.pre9598, %.preheader64.thread ], [ %43, %._crit_edge ]
  %.039.lcssa = phi i64 [ 0, %.preheader64 ], [ 0, %.preheader64.thread ], [ %.4, %._crit_edge ]
  %35 = icmp sgt i64 %34, 0
  br i1 %35, label %.preheader.lr.ph, label %.preheader62.._crit_edge89_crit_edge

.preheader62.._crit_edge89_crit_edge:             ; preds = %.preheader62.thread, %.preheader62
  %.039.lcssa100 = phi i64 [ %19, %.preheader62.thread ], [ %.039.lcssa, %.preheader62 ]
  %.pre97 = load i64, ptr %3, align 8, !tbaa !5
  br label %._crit_edge89

.preheader.lr.ph:                                 ; preds = %.preheader62
  %36 = icmp sgt i64 %33, 0
  br i1 %36, label %.preheader, label %.preheader.lr.ph.split.us

.preheader.lr.ph.split.us:                        ; preds = %.preheader.lr.ph
  %37 = load i64, ptr %3, align 8, !tbaa !5
  %.not.us = icmp sgt i64 %37, 0
  %38 = sub i64 1, %37
  %39 = select i1 %.not.us, i64 0, i64 %38
  %40 = mul i64 %39, %34
  %41 = add i64 %.039.lcssa, %40
  br label %._crit_edge89

._crit_edge.loopexit:                             ; preds = %64
  %.pre = load i64, ptr %1, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader63
  %42 = phi i64 [ %30, %.preheader63 ], [ %.pre, %._crit_edge.loopexit ]
  %43 = phi i64 [ %31, %.preheader63 ], [ %66, %._crit_edge.loopexit ]
  %.140.lcssa = phi i64 [ %.03977, %.preheader63 ], [ %.3, %._crit_edge.loopexit ]
  %.036.lcssa = phi i64 [ 0, %.preheader63 ], [ %.137, %._crit_edge.loopexit ]
  %44 = load i64, ptr %3, align 8, !tbaa !5
  %.not53 = icmp slt i64 %.036.lcssa, %44
  %45 = add i64 %.036.lcssa, 1
  %46 = sub i64 %45, %44
  %47 = select i1 %.not53, i64 0, i64 %46
  %.4 = add nsw i64 %47, %.140.lcssa
  %48 = add nuw nsw i64 %.03878, 1
  %49 = icmp slt i64 %48, %42
  br i1 %49, label %.preheader63, label %.preheader62, !llvm.loop !11

.lr.ph75:                                         ; preds = %.preheader63, %64
  %.03574 = phi i64 [ %65, %64 ], [ 0, %.preheader63 ]
  %.03673 = phi i64 [ %.137, %64 ], [ 0, %.preheader63 ]
  %.14072 = phi i64 [ %.3, %64 ], [ %.03977, %.preheader63 ]
  %50 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.03878) #6
  %51 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %50, i64 noundef %.03574)
          to label %52 unwind label %60

52:                                               ; preds = %.lr.ph75
  %53 = load i8, ptr %51, align 1, !tbaa !13
  %54 = icmp eq i8 %53, 42
  br i1 %54, label %55, label %62

55:                                               ; preds = %52
  %56 = load i64, ptr %3, align 8, !tbaa !5
  %.not55 = icmp slt i64 %.03673, %56
  %57 = add i64 %.03673, 1
  %58 = sub i64 %57, %56
  %59 = select i1 %.not55, i64 0, i64 %58
  %.2 = add nsw i64 %59, %.14072
  br label %64

60:                                               ; preds = %.lr.ph75
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %101

62:                                               ; preds = %52
  %63 = add nsw i64 %.03673, 1
  br label %64

64:                                               ; preds = %55, %62
  %.3 = phi i64 [ %.2, %55 ], [ %.14072, %62 ]
  %.137 = phi i64 [ 0, %55 ], [ %63, %62 ]
  %65 = add nuw nsw i64 %.03574, 1
  %66 = load i64, ptr %2, align 8, !tbaa !5
  %67 = icmp slt i64 %65, %66
  br i1 %67, label %.lr.ph75, label %._crit_edge.loopexit, !llvm.loop !14

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge84
  %68 = phi i64 [ %75, %._crit_edge84 ], [ %34, %.preheader.lr.ph ]
  %69 = phi i64 [ %76, %._crit_edge84 ], [ %33, %.preheader.lr.ph ]
  %.03488 = phi i64 [ %81, %._crit_edge84 ], [ 0, %.preheader.lr.ph ]
  %.587 = phi i64 [ %.9, %._crit_edge84 ], [ %.039.lcssa, %.preheader.lr.ph ]
  %70 = icmp sgt i64 %69, 0
  br i1 %70, label %.lr.ph83, label %._crit_edge84

._crit_edge89:                                    ; preds = %._crit_edge84, %.preheader62.._crit_edge89_crit_edge, %.preheader.lr.ph.split.us
  %71 = phi i64 [ %.pre97, %.preheader62.._crit_edge89_crit_edge ], [ %37, %.preheader.lr.ph.split.us ], [ %77, %._crit_edge84 ]
  %.5.lcssa = phi i64 [ %.039.lcssa100, %.preheader62.._crit_edge89_crit_edge ], [ %41, %.preheader.lr.ph.split.us ], [ %.9, %._crit_edge84 ]
  %72 = icmp eq i64 %71, 1
  %73 = sdiv i64 %.5.lcssa, 2
  %.10 = select i1 %72, i64 %73, i64 %.5.lcssa
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i64 noundef %.10)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0

._crit_edge84.loopexit:                           ; preds = %97
  %.pre96 = load i64, ptr %2, align 8, !tbaa !5
  br label %._crit_edge84

._crit_edge84:                                    ; preds = %._crit_edge84.loopexit, %.preheader
  %75 = phi i64 [ %68, %.preheader ], [ %.pre96, %._crit_edge84.loopexit ]
  %76 = phi i64 [ %69, %.preheader ], [ %99, %._crit_edge84.loopexit ]
  %.6.lcssa = phi i64 [ %.587, %.preheader ], [ %.8, %._crit_edge84.loopexit ]
  %.033.lcssa = phi i64 [ 0, %.preheader ], [ %.1, %._crit_edge84.loopexit ]
  %77 = load i64, ptr %3, align 8, !tbaa !5
  %.not = icmp slt i64 %.033.lcssa, %77
  %78 = add i64 %.033.lcssa, 1
  %79 = sub i64 %78, %77
  %80 = select i1 %.not, i64 0, i64 %79
  %.9 = add nsw i64 %80, %.6.lcssa
  %81 = add nuw nsw i64 %.03488, 1
  %82 = icmp slt i64 %81, %75
  br i1 %82, label %.preheader, label %._crit_edge89, !llvm.loop !15

.lr.ph83:                                         ; preds = %.preheader, %97
  %.082 = phi i64 [ %98, %97 ], [ 0, %.preheader ]
  %.03381 = phi i64 [ %.1, %97 ], [ 0, %.preheader ]
  %.680 = phi i64 [ %.8, %97 ], [ %.587, %.preheader ]
  %83 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.082) #6
  %84 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %83, i64 noundef %.03488)
          to label %85 unwind label %93

85:                                               ; preds = %.lr.ph83
  %86 = load i8, ptr %84, align 1, !tbaa !13
  %87 = icmp eq i8 %86, 42
  br i1 %87, label %88, label %95

88:                                               ; preds = %85
  %89 = load i64, ptr %3, align 8, !tbaa !5
  %.not52 = icmp slt i64 %.03381, %89
  %90 = add i64 %.03381, 1
  %91 = sub i64 %90, %89
  %92 = select i1 %.not52, i64 0, i64 %91
  %.7 = add nsw i64 %92, %.680
  br label %97

93:                                               ; preds = %.lr.ph83
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %101

95:                                               ; preds = %85
  %96 = add nsw i64 %.03381, 1
  br label %97

97:                                               ; preds = %88, %95
  %.8 = phi i64 [ %.7, %88 ], [ %.680, %95 ]
  %.1 = phi i64 [ 0, %88 ], [ %96, %95 ]
  %98 = add nuw nsw i64 %.082, 1
  %99 = load i64, ptr %1, align 8, !tbaa !5
  %100 = icmp slt i64 %98, %99
  br i1 %100, label %.lr.ph83, label %._crit_edge84.loopexit, !llvm.loop !16

101:                                              ; preds = %60, %93, %28
  %.pn56 = phi { ptr, i32 } [ %29, %28 ], [ %61, %60 ], [ %94, %93 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %102

102:                                              ; preds = %101, %20
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %101 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn56.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2EmRKS6_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10, !12}
!12 = !{!"llvm.loop.unswitch.partial.disable"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10, !12}
!16 = distinct !{!16, !10}


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