; LLVM IR from eyangch/competitive-programming :: USACOtraining/3.3 (shopping)

; 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" }
%struct.offer = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [110 x %struct.offer], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca i32, align 4
  %14 = alloca [5 x i32], align 16
  %15 = alloca [1000 x i32], align 16
  %16 = alloca [5 x i32], align 16
  %17 = alloca [5 x i32], align 16
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"struct.std::pair", align 4
  %24 = alloca i32, align 4
  %25 = alloca [6 x [6 x [6 x [6 x [6 x i32]]]]], align 16
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca [5 x i32], align 16
  %34 = alloca ptr, align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca %"struct.std::pair", align 4
  %38 = alloca i8, align 1
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %41 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %42 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %43 = getelementptr i8, ptr %42, i64 -24
  %44 = load i64, ptr %43, align 8
  %45 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %44
  %46 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %45, ptr noundef null)
  %47 = load ptr, ptr @stdin, align 8, !tbaa !8
  %48 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %47)
  %49 = load ptr, ptr @stdout, align 8, !tbaa !8
  %50 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %49)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 3520, ptr %3) #8
  %52 = getelementptr inbounds [110 x %struct.offer], ptr %3, i32 0, i32 0
  %53 = getelementptr inbounds %struct.offer, ptr %52, i64 110
  br label %54

54:                                               ; preds = %54, %0
  %55 = phi ptr [ %52, %0 ], [ %56, %54 ]
  call void @_ZN5offerC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %55) #8
  %56 = getelementptr inbounds %struct.offer, ptr %55, i64 1
  %57 = icmp eq ptr %56, %53
  br i1 %57, label %58, label %54

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 0, ptr %4, align 4, !tbaa !11
  br label %59

59:                                               ; preds = %106, %58
  %60 = load i32, ptr %4, align 4, !tbaa !11
  %61 = load i32, ptr %2, align 4, !tbaa !11
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %110

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %65 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %66 unwind label %72

66:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %67

67:                                               ; preds = %87, %66
  %68 = load i32, ptr %9, align 4, !tbaa !11
  %69 = load i32, ptr %6, align 4, !tbaa !11
  %70 = icmp slt i32 %68, %69
  br i1 %70, label %76, label %71

71:                                               ; preds = %67
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %99

72:                                               ; preds = %99, %64
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %109

76:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %78 unwind label %90

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %80 unwind label %90

80:                                               ; preds = %78
  %81 = load i32, ptr %4, align 4, !tbaa !11
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [110 x %struct.offer], ptr %3, i64 0, i64 %82
  %84 = getelementptr inbounds %struct.offer, ptr %83, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %85 unwind label %94

85:                                               ; preds = %80
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %86 unwind label %94

86:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %87

87:                                               ; preds = %86
  %88 = load i32, ptr %9, align 4, !tbaa !11
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %9, align 4, !tbaa !11
  br label %67, !llvm.loop !13

90:                                               ; preds = %78, %76
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %7, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %8, align 4
  br label %98

94:                                               ; preds = %85, %80
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %7, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %98

98:                                               ; preds = %94, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %109

99:                                               ; preds = %71
  %100 = load i32, ptr %4, align 4, !tbaa !11
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [110 x %struct.offer], ptr %3, i64 0, i64 %101
  %103 = getelementptr inbounds %struct.offer, ptr %102, i32 0, i32 1
  %104 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %103)
          to label %105 unwind label %72

105:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %106

106:                                              ; preds = %105
  %107 = load i32, ptr %4, align 4, !tbaa !11
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %4, align 4, !tbaa !11
  br label %59, !llvm.loop !15

109:                                              ; preds = %98, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %441

110:                                              ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %111 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %112 unwind label %122

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 20, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4000, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr %17) #8
  %113 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 0
  %114 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 0
  %115 = getelementptr inbounds i32, ptr %114, i64 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !11
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef %113, ptr noundef %115, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %116 unwind label %126

116:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !11
  br label %117

117:                                              ; preds = %164, %116
  %118 = load i32, ptr %19, align 4, !tbaa !11
  %119 = load i32, ptr %13, align 4, !tbaa !11
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %130, label %121

121:                                              ; preds = %117
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %176

122:                                              ; preds = %110
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  br label %434

126:                                              ; preds = %112
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %433

130:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %132 unwind label %167

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %134 unwind label %167

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %136 unwind label %167

136:                                              ; preds = %134
  %137 = load i32, ptr %20, align 4, !tbaa !11
  %138 = load i32, ptr %19, align 4, !tbaa !11
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [5 x i32], ptr %14, i64 0, i64 %139
  store i32 %137, ptr %140, align 4, !tbaa !11
  %141 = load i32, ptr %19, align 4, !tbaa !11
  %142 = load i32, ptr %20, align 4, !tbaa !11
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [1000 x i32], ptr %15, i64 0, i64 %143
  store i32 %141, ptr %144, align 4, !tbaa !11
  %145 = load i32, ptr %21, align 4, !tbaa !11
  %146 = load i32, ptr %19, align 4, !tbaa !11
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 %147
  store i32 %145, ptr %148, align 4, !tbaa !11
  %149 = load i32, ptr %2, align 4, !tbaa !11
  %150 = load i32, ptr %19, align 4, !tbaa !11
  %151 = add nsw i32 %149, %150
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [110 x %struct.offer], ptr %3, i64 0, i64 %152
  %154 = getelementptr inbounds %struct.offer, ptr %153, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 1, ptr %24, align 4, !tbaa !11
  invoke void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %155 unwind label %171

155:                                              ; preds = %136
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 4 dereferenceable(8) %23)
          to label %156 unwind label %171

156:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  %157 = load i32, ptr %22, align 4, !tbaa !11
  %158 = load i32, ptr %2, align 4, !tbaa !11
  %159 = load i32, ptr %19, align 4, !tbaa !11
  %160 = add nsw i32 %158, %159
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [110 x %struct.offer], ptr %3, i64 0, i64 %161
  %163 = getelementptr inbounds %struct.offer, ptr %162, i32 0, i32 1
  store i32 %157, ptr %163, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %164

164:                                              ; preds = %156
  %165 = load i32, ptr %19, align 4, !tbaa !11
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %19, align 4, !tbaa !11
  br label %117, !llvm.loop !22

167:                                              ; preds = %134, %132, %130
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %7, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %8, align 4
  br label %175

171:                                              ; preds = %155, %136
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %7, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %175

175:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %433

176:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 31104, ptr %25) #8
  %177 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 0
  %178 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %177, i64 0, i64 0
  %179 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %178, i64 0, i64 0
  %180 = getelementptr inbounds [6 x [6 x i32]], ptr %179, i64 0, i64 0
  %181 = getelementptr inbounds [6 x i32], ptr %180, i64 0, i64 0
  %182 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 5
  %183 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %182, i64 0, i64 5
  %184 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %183, i64 0, i64 5
  %185 = getelementptr inbounds [6 x [6 x i32]], ptr %184, i64 0, i64 5
  %186 = getelementptr inbounds [6 x i32], ptr %185, i64 0, i64 0
  %187 = getelementptr inbounds i32, ptr %186, i64 6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 2147483647, ptr %26, align 4, !tbaa !11
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef %181, ptr noundef %187, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %188 unwind label %200

188:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  %189 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 0
  %190 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %189, i64 0, i64 0
  %191 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %190, i64 0, i64 0
  %192 = getelementptr inbounds [6 x [6 x i32]], ptr %191, i64 0, i64 0
  %193 = getelementptr inbounds [6 x i32], ptr %192, i64 0, i64 0
  store i32 0, ptr %193, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !11
  br label %194

194:                                              ; preds = %397, %188
  %195 = load i32, ptr %27, align 4, !tbaa !11
  %196 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 0
  %197 = load i32, ptr %196, align 16, !tbaa !11
  %198 = icmp sle i32 %195, %197
  br i1 %198, label %204, label %199

199:                                              ; preds = %194
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %400

200:                                              ; preds = %176
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %7, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %432

204:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !11
  br label %205

205:                                              ; preds = %393, %204
  %206 = load i32, ptr %28, align 4, !tbaa !11
  %207 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 1
  %208 = load i32, ptr %207, align 4, !tbaa !11
  %209 = icmp sle i32 %206, %208
  br i1 %209, label %211, label %210

210:                                              ; preds = %205
  store i32 14, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %396

211:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !11
  br label %212

212:                                              ; preds = %389, %211
  %213 = load i32, ptr %29, align 4, !tbaa !11
  %214 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 2
  %215 = load i32, ptr %214, align 8, !tbaa !11
  %216 = icmp sle i32 %213, %215
  br i1 %216, label %218, label %217

217:                                              ; preds = %212
  store i32 17, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %392

218:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !11
  br label %219

219:                                              ; preds = %385, %218
  %220 = load i32, ptr %30, align 4, !tbaa !11
  %221 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 3
  %222 = load i32, ptr %221, align 4, !tbaa !11
  %223 = icmp sle i32 %220, %222
  br i1 %223, label %225, label %224

224:                                              ; preds = %219
  store i32 20, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %388

225:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !11
  br label %226

226:                                              ; preds = %381, %225
  %227 = load i32, ptr %31, align 4, !tbaa !11
  %228 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 4
  %229 = load i32, ptr %228, align 16, !tbaa !11
  %230 = icmp sle i32 %227, %229
  br i1 %230, label %232, label %231

231:                                              ; preds = %226
  store i32 23, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %384

232:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 0, ptr %32, align 4, !tbaa !11
  br label %233

233:                                              ; preds = %373, %232
  %234 = load i32, ptr %32, align 4, !tbaa !11
  %235 = load i32, ptr %2, align 4, !tbaa !11
  %236 = load i32, ptr %13, align 4, !tbaa !11
  %237 = add nsw i32 %235, %236
  %238 = icmp slt i32 %234, %237
  br i1 %238, label %240, label %239

239:                                              ; preds = %233
  store i32 26, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %380

240:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 20, ptr %33) #8
  %241 = load i32, ptr %27, align 4, !tbaa !11
  %242 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 0
  store i32 %241, ptr %242, align 16, !tbaa !11
  %243 = load i32, ptr %28, align 4, !tbaa !11
  %244 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 1
  store i32 %243, ptr %244, align 4, !tbaa !11
  %245 = load i32, ptr %29, align 4, !tbaa !11
  %246 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 2
  store i32 %245, ptr %246, align 8, !tbaa !11
  %247 = load i32, ptr %30, align 4, !tbaa !11
  %248 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 3
  store i32 %247, ptr %248, align 4, !tbaa !11
  %249 = load i32, ptr %31, align 4, !tbaa !11
  %250 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 4
  store i32 %249, ptr %250, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %251 = load i32, ptr %32, align 4, !tbaa !11
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [110 x %struct.offer], ptr %3, i64 0, i64 %252
  %254 = getelementptr inbounds %struct.offer, ptr %253, i32 0, i32 0
  store ptr %254, ptr %34, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %255 = load ptr, ptr %34, align 8, !tbaa !8
  %256 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %255) #8
  %257 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %256, ptr %257, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %258 = load ptr, ptr %34, align 8, !tbaa !8
  %259 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %258) #8
  %260 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %259, ptr %260, align 8
  br label %261

261:                                              ; preds = %277, %240
  %262 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #8
  br i1 %262, label %264, label %263

263:                                              ; preds = %261
  store i32 29, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %279

264:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %265 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %265, i64 8, i1 false)
  %266 = getelementptr inbounds %"struct.std::pair", ptr %37, i32 0, i32 1
  %267 = load i32, ptr %266, align 4, !tbaa !23
  %268 = getelementptr inbounds %"struct.std::pair", ptr %37, i32 0, i32 0
  %269 = load i32, ptr %268, align 4, !tbaa !25
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [1000 x i32], ptr %15, i64 0, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !11
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !11
  %276 = add nsw i32 %275, %267
  store i32 %276, ptr %274, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %277

277:                                              ; preds = %264
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br label %261

279:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #8
  store i8 1, ptr %38, align 1, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  store i32 0, ptr %39, align 4, !tbaa !11
  br label %280

280:                                              ; preds = %296, %279
  %281 = load i32, ptr %39, align 4, !tbaa !11
  %282 = icmp slt i32 %281, 5
  br i1 %282, label %284, label %283

283:                                              ; preds = %280
  store i32 31, ptr %5, align 4
  br label %299

284:                                              ; preds = %280
  %285 = load i32, ptr %39, align 4, !tbaa !11
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 %286
  %288 = load i32, ptr %287, align 4, !tbaa !11
  %289 = load i32, ptr %39, align 4, !tbaa !11
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !11
  %293 = icmp sgt i32 %288, %292
  br i1 %293, label %294, label %295

294:                                              ; preds = %284
  store i8 0, ptr %38, align 1, !tbaa !26
  store i32 31, ptr %5, align 4
  br label %299

295:                                              ; preds = %284
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %39, align 4, !tbaa !11
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %39, align 4, !tbaa !11
  br label %280, !llvm.loop !28

299:                                              ; preds = %294, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %300

300:                                              ; preds = %299
  %301 = load i8, ptr %38, align 1, !tbaa !26, !range !29, !noundef !30
  %302 = trunc i8 %301 to i1
  br i1 %302, label %304, label %303

303:                                              ; preds = %300
  store i32 28, ptr %5, align 4
  br label %370

304:                                              ; preds = %300
  %305 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 0
  %306 = load i32, ptr %305, align 16, !tbaa !11
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 %307
  %309 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 1
  %310 = load i32, ptr %309, align 4, !tbaa !11
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %308, i64 0, i64 %311
  %313 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 2
  %314 = load i32, ptr %313, align 8, !tbaa !11
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %312, i64 0, i64 %315
  %317 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 3
  %318 = load i32, ptr %317, align 4, !tbaa !11
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [6 x [6 x i32]], ptr %316, i64 0, i64 %319
  %321 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 4
  %322 = load i32, ptr %321, align 16, !tbaa !11
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds [6 x i32], ptr %320, i64 0, i64 %323
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %325 = load i32, ptr %27, align 4, !tbaa !11
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 %326
  %328 = load i32, ptr %28, align 4, !tbaa !11
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %327, i64 0, i64 %329
  %331 = load i32, ptr %29, align 4, !tbaa !11
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %330, i64 0, i64 %332
  %334 = load i32, ptr %30, align 4, !tbaa !11
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds [6 x [6 x i32]], ptr %333, i64 0, i64 %335
  %337 = load i32, ptr %31, align 4, !tbaa !11
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds [6 x i32], ptr %336, i64 0, i64 %338
  %340 = load i32, ptr %339, align 4, !tbaa !11
  %341 = load i32, ptr %32, align 4, !tbaa !11
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [110 x %struct.offer], ptr %3, i64 0, i64 %342
  %344 = getelementptr inbounds %struct.offer, ptr %343, i32 0, i32 1
  %345 = load i32, ptr %344, align 8, !tbaa !16
  %346 = add nsw i32 %340, %345
  store i32 %346, ptr %40, align 4, !tbaa !11
  %347 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %324, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %348 unwind label %376

348:                                              ; preds = %304
  %349 = load i32, ptr %347, align 4, !tbaa !11
  %350 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 0
  %351 = load i32, ptr %350, align 16, !tbaa !11
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 %352
  %354 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 1
  %355 = load i32, ptr %354, align 4, !tbaa !11
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %353, i64 0, i64 %356
  %358 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 2
  %359 = load i32, ptr %358, align 8, !tbaa !11
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %357, i64 0, i64 %360
  %362 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 3
  %363 = load i32, ptr %362, align 4, !tbaa !11
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds [6 x [6 x i32]], ptr %361, i64 0, i64 %364
  %366 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 4
  %367 = load i32, ptr %366, align 16, !tbaa !11
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds [6 x i32], ptr %365, i64 0, i64 %368
  store i32 %349, ptr %369, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  store i32 0, ptr %5, align 4
  br label %370

370:                                              ; preds = %348, %303
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %33) #8
  %371 = load i32, ptr %5, align 4
  switch i32 %371, label %454 [
    i32 0, label %372
    i32 28, label %373
  ]

372:                                              ; preds = %370
  br label %373

373:                                              ; preds = %372, %370
  %374 = load i32, ptr %32, align 4, !tbaa !11
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %32, align 4, !tbaa !11
  br label %233, !llvm.loop !31

376:                                              ; preds = %304
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %7, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %432

380:                                              ; preds = %239
  br label %381

381:                                              ; preds = %380
  %382 = load i32, ptr %31, align 4, !tbaa !11
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr %31, align 4, !tbaa !11
  br label %226, !llvm.loop !32

384:                                              ; preds = %231
  br label %385

385:                                              ; preds = %384
  %386 = load i32, ptr %30, align 4, !tbaa !11
  %387 = add nsw i32 %386, 1
  store i32 %387, ptr %30, align 4, !tbaa !11
  br label %219, !llvm.loop !33

388:                                              ; preds = %224
  br label %389

389:                                              ; preds = %388
  %390 = load i32, ptr %29, align 4, !tbaa !11
  %391 = add nsw i32 %390, 1
  store i32 %391, ptr %29, align 4, !tbaa !11
  br label %212, !llvm.loop !34

392:                                              ; preds = %217
  br label %393

393:                                              ; preds = %392
  %394 = load i32, ptr %28, align 4, !tbaa !11
  %395 = add nsw i32 %394, 1
  store i32 %395, ptr %28, align 4, !tbaa !11
  br label %205, !llvm.loop !35

396:                                              ; preds = %210
  br label %397

397:                                              ; preds = %396
  %398 = load i32, ptr %27, align 4, !tbaa !11
  %399 = add nsw i32 %398, 1
  store i32 %399, ptr %27, align 4, !tbaa !11
  br label %194, !llvm.loop !36

400:                                              ; preds = %199
  %401 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 0
  %402 = load i32, ptr %401, align 16, !tbaa !11
  %403 = sext i32 %402 to i64
  %404 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %25, i64 0, i64 %403
  %405 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 1
  %406 = load i32, ptr %405, align 4, !tbaa !11
  %407 = sext i32 %406 to i64
  %408 = getelementptr inbounds [6 x [6 x [6 x [6 x i32]]]], ptr %404, i64 0, i64 %407
  %409 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 2
  %410 = load i32, ptr %409, align 8, !tbaa !11
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds [6 x [6 x [6 x i32]]], ptr %408, i64 0, i64 %411
  %413 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 3
  %414 = load i32, ptr %413, align 4, !tbaa !11
  %415 = sext i32 %414 to i64
  %416 = getelementptr inbounds [6 x [6 x i32]], ptr %412, i64 0, i64 %415
  %417 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 4
  %418 = load i32, ptr %417, align 16, !tbaa !11
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds [6 x i32], ptr %416, i64 0, i64 %419
  %421 = load i32, ptr %420, align 4, !tbaa !11
  %422 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %421)
          to label %423 unwind label %428

423:                                              ; preds = %400
  %424 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %422, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %425 unwind label %428

425:                                              ; preds = %423
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 31104, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4000, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  %426 = getelementptr inbounds [110 x %struct.offer], ptr %3, i32 0, i32 0
  %427 = getelementptr inbounds %struct.offer, ptr %426, i64 110
  br label %435

428:                                              ; preds = %423, %400
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %7, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %8, align 4
  br label %432

432:                                              ; preds = %428, %376, %200
  call void @llvm.lifetime.end.p0(i64 31104, ptr %25) #8
  br label %433

433:                                              ; preds = %432, %175, %126
  call void @llvm.lifetime.end.p0(i64 20, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4000, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %14) #8
  br label %434

434:                                              ; preds = %433, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %441

435:                                              ; preds = %435, %425
  %436 = phi ptr [ %427, %425 ], [ %437, %435 ]
  %437 = getelementptr inbounds %struct.offer, ptr %436, i64 -1
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %437) #8
  %438 = icmp eq ptr %437, %426
  br i1 %438, label %439, label %435

439:                                              ; preds = %435
  call void @llvm.lifetime.end.p0(i64 3520, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %440 = load i32, ptr %1, align 4
  ret i32 %440

441:                                              ; preds = %434, %109
  %442 = getelementptr inbounds [110 x %struct.offer], ptr %3, i32 0, i32 0
  %443 = getelementptr inbounds %struct.offer, ptr %442, i64 110
  br label %444

444:                                              ; preds = %444, %441
  %445 = phi ptr [ %443, %441 ], [ %446, %444 ]
  %446 = getelementptr inbounds %struct.offer, ptr %445, i64 -1
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %446) #8
  %447 = icmp eq ptr %446, %442
  br i1 %447, label %448, label %444

448:                                              ; preds = %444
  call void @llvm.lifetime.end.p0(i64 3520, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  br label %449

449:                                              ; preds = %448
  %450 = load ptr, ptr %7, align 8
  %451 = load i32, ptr %8, align 4
  %452 = insertvalue { ptr, i32 } poison, ptr %450, 0
  %453 = insertvalue { ptr, i32 } %452, i32 %451, 1
  resume { ptr, i32 } %453

454:                                              ; preds = %370
  unreachable
}

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

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) #5 align 2

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

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

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

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

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

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

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

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

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

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

; 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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) 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 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !12, i64 24}
!17 = !{!"_ZTS5offer", !18, i64 0, !12, i64 24}
!18 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!22 = distinct !{!22, !14}
!23 = !{!24, !12, i64 4}
!24 = !{!"_ZTSSt4pairIiiE", !12, i64 0, !12, i64 4}
!25 = !{!24, !12, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"bool", !10, i64 0}
!28 = distinct !{!28, !14}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !14}
!34 = distinct !{!34, !14}
!35 = distinct !{!35, !14}
!36 = distinct !{!36, !14}


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

%"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" }
%struct.offer = type <{ %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca [110 x %struct.offer], align 16
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair", align 4
  %7 = alloca i32, align 4
  %8 = alloca [1000 x i32], align 16
  %9 = alloca [5 x i32], align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::pair", align 4
  %15 = alloca i32, align 4
  %16 = alloca [6 x [6 x [6 x [6 x [6 x i32]]]]], align 16
  %17 = alloca i32, align 4
  %18 = alloca [5 x i32], align 16
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca i32, align 4
  %22 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %23 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %24 = getelementptr i8, ptr %23, i64 -24
  %25 = load i64, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %25
  %27 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %26, ptr noundef null)
  %28 = load ptr, ptr @stdin, align 8, !tbaa !8
  %29 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %28)
  %30 = load ptr, ptr @stdout, align 8, !tbaa !8
  %31 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  %32 = 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)
  call void @llvm.lifetime.start.p0(i64 3520, ptr nonnull %2) #7
  br label %33

33:                                               ; preds = %33, %0
  %.idx = phi i64 [ 0, %0 ], [ %.add, %33 ]
  %.ptr = getelementptr inbounds i8, ptr %2, i64 %.idx
  call void @_ZN5offerC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %.ptr) #7
  %.add = add nuw nsw i64 %.idx, 32
  %34 = icmp eq i64 %.add, 3520
  br i1 %34, label %.preheader87, label %33

.preheader87:                                     ; preds = %33
  %35 = load i32, ptr %1, align 4, !tbaa !11
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %.lr.ph90, label %._crit_edge91

._crit_edge91:                                    ; preds = %60, %.preheader87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %37 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %65 unwind label %71

.lr.ph90:                                         ; preds = %.preheader87, %60
  %indvars.iv = phi i64 [ %indvars.iv.next, %60 ], [ 0, %.preheader87 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %.preheader86 unwind label %44

.preheader86:                                     ; preds = %.lr.ph90
  %39 = load i32, ptr %3, align 4, !tbaa !11
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader86
  %41 = getelementptr inbounds [110 x %struct.offer], ptr %2, i64 0, i64 %indvars.iv
  br label %46

._crit_edge:                                      ; preds = %51, %.preheader86
  %42 = getelementptr inbounds [110 x %struct.offer], ptr %2, i64 0, i64 %indvars.iv, i32 1
  %43 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %60 unwind label %44

44:                                               ; preds = %._crit_edge, %.lr.ph90
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %64

46:                                               ; preds = %.lr.ph, %51
  %.05688 = phi i32 [ 0, %.lr.ph ], [ %52, %51 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %48 unwind label %55

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %50 unwind label %55

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %51 unwind label %57

51:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %52 = add nuw nsw i32 %.05688, 1
  %53 = load i32, ptr %3, align 4, !tbaa !11
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %46, label %._crit_edge, !llvm.loop !13

55:                                               ; preds = %48, %46
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %50
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %59

59:                                               ; preds = %57, %55
  %.pn78 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %64

60:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %61 = load i32, ptr %1, align 4, !tbaa !11
  %62 = sext i32 %61 to i64
  %63 = icmp slt i64 %indvars.iv.next, %62
  br i1 %63, label %.lr.ph90, label %._crit_edge91, !llvm.loop !15

64:                                               ; preds = %59, %44
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %59 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  br label %350

65:                                               ; preds = %._crit_edge91
  call void @llvm.lifetime.start.p0(i64 4000, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #7
  %66 = getelementptr inbounds i8, ptr %9, i64 20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 0, ptr %10, align 4, !tbaa !11
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull %9, ptr noundef nonnull %66, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %67 unwind label %73

67:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %68 = load i32, ptr %7, align 4, !tbaa !11
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %.lr.ph94, label %._crit_edge95

._crit_edge95:                                    ; preds = %91, %67
  call void @llvm.lifetime.start.p0(i64 31104, ptr nonnull %16) #7
  %70 = getelementptr inbounds i8, ptr %16, i64 31104
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  store i32 2147483647, ptr %17, align 4, !tbaa !11
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull %16, ptr noundef nonnull %70, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %105 unwind label %137

71:                                               ; preds = %._crit_edge91
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %349

73:                                               ; preds = %65
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %348

.lr.ph94:                                         ; preds = %67, %91
  %indvars.iv127 = phi i64 [ %indvars.iv.next128, %91 ], [ 0, %67 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %75 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %76 unwind label %100

76:                                               ; preds = %.lr.ph94
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %78 unwind label %100

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %80 unwind label %100

80:                                               ; preds = %78
  %81 = load i32, ptr %11, align 4, !tbaa !11
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 %82
  %84 = trunc nuw nsw i64 %indvars.iv127 to i32
  store i32 %84, ptr %83, align 4, !tbaa !11
  %85 = load i32, ptr %12, align 4, !tbaa !11
  %86 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %indvars.iv127
  store i32 %85, ptr %86, align 4, !tbaa !11
  %87 = load i32, ptr %1, align 4, !tbaa !11
  %88 = add nsw i32 %87, %84
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [110 x %struct.offer], ptr %2, i64 0, i64 %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 1, ptr %15, align 4, !tbaa !11
  call void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %15)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 4 dereferenceable(8) %14)
          to label %91 unwind label %102

91:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  %92 = load i32, ptr %13, align 4, !tbaa !11
  %93 = load i32, ptr %1, align 4, !tbaa !11
  %94 = add nsw i32 %93, %84
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [110 x %struct.offer], ptr %2, i64 0, i64 %95, i32 1
  store i32 %92, ptr %96, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %97 = load i32, ptr %7, align 4, !tbaa !11
  %98 = sext i32 %97 to i64
  %99 = icmp slt i64 %indvars.iv.next128, %98
  br i1 %99, label %.lr.ph94, label %._crit_edge95, !llvm.loop !22

100:                                              ; preds = %78, %76, %.lr.ph94
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %80
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %104

104:                                              ; preds = %102, %100
  %.pn74 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %348

105:                                              ; preds = %._crit_edge95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  store i32 0, ptr %16, align 16, !tbaa !11
  %106 = load i32, ptr %9, align 16, !tbaa !11
  %.not117 = icmp slt i32 %106, 0
  %.phi.trans.insert = getelementptr inbounds i8, ptr %9, i64 4
  br i1 %.not117, label %.._crit_edge120_crit_edge, label %.preheader85.lr.ph

.._crit_edge120_crit_edge:                        ; preds = %105
  %.pre158 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !11
  br label %._crit_edge120

.preheader85.lr.ph:                               ; preds = %105
  %107 = getelementptr inbounds i8, ptr %9, i64 8
  %108 = getelementptr inbounds i8, ptr %9, i64 12
  %109 = getelementptr inbounds i8, ptr %9, i64 16
  %110 = getelementptr inbounds i8, ptr %18, i64 4
  %111 = getelementptr inbounds i8, ptr %18, i64 8
  %112 = getelementptr inbounds i8, ptr %18, i64 12
  %113 = getelementptr inbounds i8, ptr %18, i64 16
  %114 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !11
  %115 = icmp slt i32 %114, 0
  br i1 %115, label %._crit_edge120, label %.preheader85

.preheader85:                                     ; preds = %.preheader85.lr.ph, %._crit_edge116
  %116 = phi i32 [ %145, %._crit_edge116 ], [ %106, %.preheader85.lr.ph ]
  %117 = phi i32 [ %146, %._crit_edge116 ], [ %114, %.preheader85.lr.ph ]
  %118 = phi i32 [ %147, %._crit_edge116 ], [ %114, %.preheader85.lr.ph ]
  %indvars.iv148 = phi i64 [ %indvars.iv.next149, %._crit_edge116 ], [ 0, %.preheader85.lr.ph ]
  %.not70113 = icmp slt i32 %118, 0
  br i1 %.not70113, label %._crit_edge116, label %.preheader84.lr.ph

.preheader84.lr.ph:                               ; preds = %.preheader85
  %119 = load i32, ptr %107, align 8, !tbaa !11
  %120 = icmp slt i32 %119, 0
  br i1 %120, label %._crit_edge116, label %.preheader84.preheader

.preheader84.preheader:                           ; preds = %.preheader84.lr.ph
  %121 = trunc nuw nsw i64 %indvars.iv148 to i32
  br label %.preheader84

._crit_edge120:                                   ; preds = %._crit_edge116, %.preheader85.lr.ph, %.._crit_edge120_crit_edge
  %122 = phi i32 [ %.pre158, %.._crit_edge120_crit_edge ], [ %114, %.preheader85.lr.ph ], [ %146, %._crit_edge116 ]
  %.lcssa = phi i32 [ %106, %.._crit_edge120_crit_edge ], [ %106, %.preheader85.lr.ph ], [ %145, %._crit_edge116 ]
  %123 = sext i32 %.lcssa to i64
  %124 = sext i32 %122 to i64
  %125 = getelementptr inbounds i8, ptr %9, i64 8
  %126 = load i32, ptr %125, align 8, !tbaa !11
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds i8, ptr %9, i64 12
  %129 = load i32, ptr %128, align 4, !tbaa !11
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i8, ptr %9, i64 16
  %132 = load i32, ptr %131, align 16, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %16, i64 0, i64 %123, i64 %124, i64 %127, i64 %130, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !11
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %135)
          to label %233 unwind label %345

137:                                              ; preds = %._crit_edge95
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  br label %347

.preheader84:                                     ; preds = %.preheader84.preheader, %._crit_edge112
  %139 = phi i32 [ %117, %.preheader84.preheader ], [ %155, %._crit_edge112 ]
  %140 = phi i32 [ %119, %.preheader84.preheader ], [ %156, %._crit_edge112 ]
  %141 = phi i32 [ %119, %.preheader84.preheader ], [ %157, %._crit_edge112 ]
  %indvars.iv145 = phi i64 [ 0, %.preheader84.preheader ], [ %indvars.iv.next146, %._crit_edge112 ]
  %.not71109 = icmp slt i32 %141, 0
  br i1 %.not71109, label %._crit_edge112, label %.preheader83.lr.ph

.preheader83.lr.ph:                               ; preds = %.preheader84
  %142 = load i32, ptr %108, align 4, !tbaa !11
  %143 = icmp slt i32 %142, 0
  br i1 %143, label %._crit_edge112, label %.preheader83.preheader

.preheader83.preheader:                           ; preds = %.preheader83.lr.ph
  %144 = trunc nuw nsw i64 %indvars.iv145 to i32
  br label %.preheader83

._crit_edge116.loopexit123:                       ; preds = %._crit_edge112
  %.pre157 = load i32, ptr %9, align 16, !tbaa !11
  br label %._crit_edge116

._crit_edge116:                                   ; preds = %.preheader84.lr.ph, %._crit_edge116.loopexit123, %.preheader85
  %145 = phi i32 [ %.pre157, %._crit_edge116.loopexit123 ], [ %116, %.preheader85 ], [ %116, %.preheader84.lr.ph ]
  %146 = phi i32 [ %155, %._crit_edge116.loopexit123 ], [ %117, %.preheader85 ], [ %117, %.preheader84.lr.ph ]
  %147 = phi i32 [ %155, %._crit_edge116.loopexit123 ], [ %118, %.preheader85 ], [ %118, %.preheader84.lr.ph ]
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %148 = sext i32 %145 to i64
  %.not.not = icmp slt i64 %indvars.iv148, %148
  br i1 %.not.not, label %.preheader85, label %._crit_edge120, !llvm.loop !23

.preheader83:                                     ; preds = %.preheader83.preheader, %._crit_edge108
  %149 = phi i32 [ %140, %.preheader83.preheader ], [ %163, %._crit_edge108 ]
  %150 = phi i32 [ %142, %.preheader83.preheader ], [ %164, %._crit_edge108 ]
  %151 = phi i32 [ %142, %.preheader83.preheader ], [ %165, %._crit_edge108 ]
  %indvars.iv142 = phi i64 [ 0, %.preheader83.preheader ], [ %indvars.iv.next143, %._crit_edge108 ]
  %.not72106 = icmp slt i32 %151, 0
  br i1 %.not72106, label %._crit_edge108, label %.preheader82.lr.ph

.preheader82.lr.ph:                               ; preds = %.preheader83
  %152 = load i32, ptr %109, align 16, !tbaa !11
  %153 = icmp slt i32 %152, 0
  br i1 %153, label %._crit_edge108, label %.preheader82.preheader

.preheader82.preheader:                           ; preds = %.preheader82.lr.ph
  %154 = trunc nuw nsw i64 %indvars.iv142 to i32
  br label %.preheader82

._crit_edge112.loopexit122:                       ; preds = %._crit_edge108
  %.pre156 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !11
  br label %._crit_edge112

._crit_edge112:                                   ; preds = %.preheader83.lr.ph, %._crit_edge112.loopexit122, %.preheader84
  %155 = phi i32 [ %.pre156, %._crit_edge112.loopexit122 ], [ %139, %.preheader84 ], [ %139, %.preheader83.lr.ph ]
  %156 = phi i32 [ %163, %._crit_edge112.loopexit122 ], [ %140, %.preheader84 ], [ %140, %.preheader83.lr.ph ]
  %157 = phi i32 [ %163, %._crit_edge112.loopexit122 ], [ %141, %.preheader84 ], [ %141, %.preheader83.lr.ph ]
  %indvars.iv.next146 = add nuw nsw i64 %indvars.iv145, 1
  %158 = sext i32 %155 to i64
  %.not70.not = icmp slt i64 %indvars.iv145, %158
  br i1 %.not70.not, label %.preheader84, label %._crit_edge116.loopexit123, !llvm.loop !25

.preheader82:                                     ; preds = %.preheader82.preheader, %._crit_edge105
  %159 = phi i32 [ %150, %.preheader82.preheader ], [ %174, %._crit_edge105 ]
  %160 = phi i32 [ %152, %.preheader82.preheader ], [ %175, %._crit_edge105 ]
  %161 = phi i32 [ %152, %.preheader82.preheader ], [ %176, %._crit_edge105 ]
  %indvars.iv139 = phi i64 [ 0, %.preheader82.preheader ], [ %indvars.iv.next140, %._crit_edge105 ]
  %.not73103 = icmp slt i32 %161, 0
  br i1 %.not73103, label %._crit_edge105, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader82
  %.pre = load i32, ptr %1, align 4, !tbaa !11
  %.pre151 = load i32, ptr %7, align 4, !tbaa !11
  %162 = trunc nuw nsw i64 %indvars.iv139 to i32
  br label %.preheader

._crit_edge108.loopexit121:                       ; preds = %._crit_edge105
  %.pre155 = load i32, ptr %107, align 8, !tbaa !11
  br label %._crit_edge108

._crit_edge108:                                   ; preds = %.preheader82.lr.ph, %._crit_edge108.loopexit121, %.preheader83
  %163 = phi i32 [ %.pre155, %._crit_edge108.loopexit121 ], [ %149, %.preheader83 ], [ %149, %.preheader82.lr.ph ]
  %164 = phi i32 [ %174, %._crit_edge108.loopexit121 ], [ %150, %.preheader83 ], [ %150, %.preheader82.lr.ph ]
  %165 = phi i32 [ %174, %._crit_edge108.loopexit121 ], [ %151, %.preheader83 ], [ %151, %.preheader82.lr.ph ]
  %indvars.iv.next143 = add nuw nsw i64 %indvars.iv142, 1
  %166 = sext i32 %163 to i64
  %.not71.not = icmp slt i64 %indvars.iv142, %166
  br i1 %.not71.not, label %.preheader83, label %._crit_edge112.loopexit122, !llvm.loop !26

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge102
  %167 = phi i32 [ %160, %.preheader.lr.ph ], [ %178, %._crit_edge102 ]
  %168 = phi i32 [ %.pre151, %.preheader.lr.ph ], [ %179, %._crit_edge102 ]
  %169 = phi i32 [ %.pre, %.preheader.lr.ph ], [ %180, %._crit_edge102 ]
  %indvars.iv136 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next137, %._crit_edge102 ]
  %170 = add nsw i32 %168, %169
  %171 = icmp sgt i32 %170, 0
  br i1 %171, label %.lr.ph101, label %._crit_edge102

.lr.ph101:                                        ; preds = %.preheader
  %172 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %16, i64 0, i64 %indvars.iv148, i64 %indvars.iv145, i64 %indvars.iv142, i64 %indvars.iv139, i64 %indvars.iv136
  %173 = trunc nuw nsw i64 %indvars.iv136 to i32
  br label %182

._crit_edge105.loopexit:                          ; preds = %._crit_edge102
  %.pre154 = load i32, ptr %108, align 4, !tbaa !11
  br label %._crit_edge105

._crit_edge105:                                   ; preds = %._crit_edge105.loopexit, %.preheader82
  %174 = phi i32 [ %.pre154, %._crit_edge105.loopexit ], [ %159, %.preheader82 ]
  %175 = phi i32 [ %178, %._crit_edge105.loopexit ], [ %160, %.preheader82 ]
  %176 = phi i32 [ %178, %._crit_edge105.loopexit ], [ %161, %.preheader82 ]
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %177 = sext i32 %174 to i64
  %.not72.not = icmp slt i64 %indvars.iv139, %177
  br i1 %.not72.not, label %.preheader82, label %._crit_edge108.loopexit121, !llvm.loop !27

._crit_edge102.loopexit:                          ; preds = %.loopexit
  %.pre153 = load i32, ptr %109, align 16, !tbaa !11
  br label %._crit_edge102

._crit_edge102:                                   ; preds = %._crit_edge102.loopexit, %.preheader
  %178 = phi i32 [ %.pre153, %._crit_edge102.loopexit ], [ %167, %.preheader ]
  %179 = phi i32 [ %229, %._crit_edge102.loopexit ], [ %168, %.preheader ]
  %180 = phi i32 [ %228, %._crit_edge102.loopexit ], [ %169, %.preheader ]
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %181 = sext i32 %178 to i64
  %.not73.not = icmp slt i64 %indvars.iv136, %181
  br i1 %.not73.not, label %.preheader, label %._crit_edge105.loopexit, !llvm.loop !28

182:                                              ; preds = %.lr.ph101, %.loopexit
  %indvars.iv133 = phi i64 [ 0, %.lr.ph101 ], [ %indvars.iv.next134, %.loopexit ]
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %18) #7
  store i32 %121, ptr %18, align 16, !tbaa !11
  store i32 %144, ptr %110, align 4, !tbaa !11
  store i32 %154, ptr %111, align 8, !tbaa !11
  store i32 %162, ptr %112, align 4, !tbaa !11
  store i32 %173, ptr %113, align 16, !tbaa !11
  %183 = getelementptr inbounds [110 x %struct.offer], ptr %2, i64 0, i64 %indvars.iv133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %184 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %183) #7
  store ptr %184, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %185 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %183) #7
  store ptr %185, ptr %20, align 8
  %186 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %186, label %.lr.ph97, label %._crit_edge98

._crit_edge98.loopexit:                           ; preds = %.lr.ph97
  %.pre152 = load i32, ptr %18, align 16, !tbaa !11
  br label %._crit_edge98

._crit_edge98:                                    ; preds = %._crit_edge98.loopexit, %182
  %187 = phi i32 [ %.pre152, %._crit_edge98.loopexit ], [ %121, %182 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  %188 = load i32, ptr %9, align 16, !tbaa !11
  %189 = icmp sgt i32 %187, %188
  br i1 %189, label %.loopexit, label %200

.lr.ph97:                                         ; preds = %182, %.lr.ph97
  %190 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %.sroa.0.0.copyload = load i32, ptr %190, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %190, i64 4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4
  %191 = sext i32 %.sroa.0.0.copyload to i64
  %192 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 %191
  %193 = load i32, ptr %192, align 4, !tbaa !11
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [5 x i32], ptr %18, i64 0, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !11
  %197 = add nsw i32 %196, %.sroa.4.0.copyload
  store i32 %197, ptr %195, align 4, !tbaa !11
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %199 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %199, label %.lr.ph97, label %._crit_edge98.loopexit

200:                                              ; preds = %._crit_edge98
  %201 = load i32, ptr %110, align 4, !tbaa !11
  %202 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !11
  %203 = icmp sgt i32 %201, %202
  br i1 %203, label %.loopexit, label %204

204:                                              ; preds = %200
  %205 = load i32, ptr %111, align 8, !tbaa !11
  %206 = load i32, ptr %107, align 8, !tbaa !11
  %207 = icmp sgt i32 %205, %206
  br i1 %207, label %.loopexit, label %208

208:                                              ; preds = %204
  %209 = load i32, ptr %112, align 4, !tbaa !11
  %210 = load i32, ptr %108, align 4, !tbaa !11
  %211 = icmp sgt i32 %209, %210
  br i1 %211, label %.loopexit, label %212

212:                                              ; preds = %208
  %213 = load i32, ptr %113, align 16, !tbaa !11
  %214 = load i32, ptr %109, align 16, !tbaa !11
  %215 = icmp sgt i32 %213, %214
  br i1 %215, label %.loopexit, label %.critedge

.critedge:                                        ; preds = %212
  %216 = sext i32 %187 to i64
  %217 = sext i32 %201 to i64
  %218 = sext i32 %205 to i64
  %219 = sext i32 %209 to i64
  %220 = sext i32 %213 to i64
  %221 = getelementptr inbounds [6 x [6 x [6 x [6 x [6 x i32]]]]], ptr %16, i64 0, i64 %216, i64 %217, i64 %218, i64 %219, i64 %220
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  %222 = load i32, ptr %172, align 4, !tbaa !11
  %223 = getelementptr inbounds i8, ptr %183, i64 24
  %224 = load i32, ptr %223, align 8, !tbaa !16
  %225 = add nsw i32 %224, %222
  store i32 %225, ptr %21, align 4, !tbaa !11
  %226 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %221, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %227 = load i32, ptr %226, align 4, !tbaa !11
  store i32 %227, ptr %221, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge98, %200, %204, %208, %212, %.critedge
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %18) #7
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %228 = load i32, ptr %1, align 4, !tbaa !11
  %229 = load i32, ptr %7, align 4, !tbaa !11
  %230 = add nsw i32 %229, %228
  %231 = sext i32 %230 to i64
  %232 = icmp slt i64 %indvars.iv.next134, %231
  br i1 %232, label %182, label %._crit_edge102.loopexit, !llvm.loop !29

233:                                              ; preds = %._crit_edge120
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %235 unwind label %345

235:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 31104, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %236 = getelementptr inbounds i8, ptr %2, i64 3488
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %236) #7
  %237 = getelementptr inbounds i8, ptr %2, i64 3456
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %237) #7
  %238 = getelementptr inbounds i8, ptr %2, i64 3424
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %238) #7
  %239 = getelementptr inbounds i8, ptr %2, i64 3392
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %239) #7
  %240 = getelementptr inbounds i8, ptr %2, i64 3360
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %240) #7
  %241 = getelementptr inbounds i8, ptr %2, i64 3328
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %241) #7
  %242 = getelementptr inbounds i8, ptr %2, i64 3296
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %242) #7
  %243 = getelementptr inbounds i8, ptr %2, i64 3264
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %243) #7
  %244 = getelementptr inbounds i8, ptr %2, i64 3232
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %244) #7
  %245 = getelementptr inbounds i8, ptr %2, i64 3200
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %245) #7
  %246 = getelementptr inbounds i8, ptr %2, i64 3168
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %246) #7
  %247 = getelementptr inbounds i8, ptr %2, i64 3136
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %247) #7
  %248 = getelementptr inbounds i8, ptr %2, i64 3104
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %248) #7
  %249 = getelementptr inbounds i8, ptr %2, i64 3072
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %249) #7
  %250 = getelementptr inbounds i8, ptr %2, i64 3040
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %250) #7
  %251 = getelementptr inbounds i8, ptr %2, i64 3008
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %251) #7
  %252 = getelementptr inbounds i8, ptr %2, i64 2976
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %252) #7
  %253 = getelementptr inbounds i8, ptr %2, i64 2944
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %253) #7
  %254 = getelementptr inbounds i8, ptr %2, i64 2912
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %254) #7
  %255 = getelementptr inbounds i8, ptr %2, i64 2880
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %255) #7
  %256 = getelementptr inbounds i8, ptr %2, i64 2848
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %256) #7
  %257 = getelementptr inbounds i8, ptr %2, i64 2816
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %257) #7
  %258 = getelementptr inbounds i8, ptr %2, i64 2784
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %258) #7
  %259 = getelementptr inbounds i8, ptr %2, i64 2752
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %259) #7
  %260 = getelementptr inbounds i8, ptr %2, i64 2720
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %260) #7
  %261 = getelementptr inbounds i8, ptr %2, i64 2688
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %261) #7
  %262 = getelementptr inbounds i8, ptr %2, i64 2656
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %262) #7
  %263 = getelementptr inbounds i8, ptr %2, i64 2624
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %263) #7
  %264 = getelementptr inbounds i8, ptr %2, i64 2592
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %264) #7
  %265 = getelementptr inbounds i8, ptr %2, i64 2560
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %265) #7
  %266 = getelementptr inbounds i8, ptr %2, i64 2528
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %266) #7
  %267 = getelementptr inbounds i8, ptr %2, i64 2496
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %267) #7
  %268 = getelementptr inbounds i8, ptr %2, i64 2464
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %268) #7
  %269 = getelementptr inbounds i8, ptr %2, i64 2432
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %269) #7
  %270 = getelementptr inbounds i8, ptr %2, i64 2400
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %270) #7
  %271 = getelementptr inbounds i8, ptr %2, i64 2368
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %271) #7
  %272 = getelementptr inbounds i8, ptr %2, i64 2336
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %272) #7
  %273 = getelementptr inbounds i8, ptr %2, i64 2304
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %273) #7
  %274 = getelementptr inbounds i8, ptr %2, i64 2272
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %274) #7
  %275 = getelementptr inbounds i8, ptr %2, i64 2240
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %275) #7
  %276 = getelementptr inbounds i8, ptr %2, i64 2208
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %276) #7
  %277 = getelementptr inbounds i8, ptr %2, i64 2176
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %277) #7
  %278 = getelementptr inbounds i8, ptr %2, i64 2144
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %278) #7
  %279 = getelementptr inbounds i8, ptr %2, i64 2112
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %279) #7
  %280 = getelementptr inbounds i8, ptr %2, i64 2080
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %280) #7
  %281 = getelementptr inbounds i8, ptr %2, i64 2048
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %281) #7
  %282 = getelementptr inbounds i8, ptr %2, i64 2016
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %282) #7
  %283 = getelementptr inbounds i8, ptr %2, i64 1984
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %283) #7
  %284 = getelementptr inbounds i8, ptr %2, i64 1952
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %284) #7
  %285 = getelementptr inbounds i8, ptr %2, i64 1920
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %285) #7
  %286 = getelementptr inbounds i8, ptr %2, i64 1888
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %286) #7
  %287 = getelementptr inbounds i8, ptr %2, i64 1856
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %287) #7
  %288 = getelementptr inbounds i8, ptr %2, i64 1824
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %288) #7
  %289 = getelementptr inbounds i8, ptr %2, i64 1792
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %289) #7
  %290 = getelementptr inbounds i8, ptr %2, i64 1760
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %290) #7
  %291 = getelementptr inbounds i8, ptr %2, i64 1728
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %291) #7
  %292 = getelementptr inbounds i8, ptr %2, i64 1696
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %292) #7
  %293 = getelementptr inbounds i8, ptr %2, i64 1664
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %293) #7
  %294 = getelementptr inbounds i8, ptr %2, i64 1632
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %294) #7
  %295 = getelementptr inbounds i8, ptr %2, i64 1600
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %295) #7
  %296 = getelementptr inbounds i8, ptr %2, i64 1568
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %296) #7
  %297 = getelementptr inbounds i8, ptr %2, i64 1536
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %297) #7
  %298 = getelementptr inbounds i8, ptr %2, i64 1504
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %298) #7
  %299 = getelementptr inbounds i8, ptr %2, i64 1472
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %299) #7
  %300 = getelementptr inbounds i8, ptr %2, i64 1440
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %300) #7
  %301 = getelementptr inbounds i8, ptr %2, i64 1408
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %301) #7
  %302 = getelementptr inbounds i8, ptr %2, i64 1376
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %302) #7
  %303 = getelementptr inbounds i8, ptr %2, i64 1344
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %303) #7
  %304 = getelementptr inbounds i8, ptr %2, i64 1312
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %304) #7
  %305 = getelementptr inbounds i8, ptr %2, i64 1280
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %305) #7
  %306 = getelementptr inbounds i8, ptr %2, i64 1248
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %306) #7
  %307 = getelementptr inbounds i8, ptr %2, i64 1216
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %307) #7
  %308 = getelementptr inbounds i8, ptr %2, i64 1184
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %308) #7
  %309 = getelementptr inbounds i8, ptr %2, i64 1152
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %309) #7
  %310 = getelementptr inbounds i8, ptr %2, i64 1120
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %310) #7
  %311 = getelementptr inbounds i8, ptr %2, i64 1088
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %311) #7
  %312 = getelementptr inbounds i8, ptr %2, i64 1056
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %312) #7
  %313 = getelementptr inbounds i8, ptr %2, i64 1024
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %313) #7
  %314 = getelementptr inbounds i8, ptr %2, i64 992
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %314) #7
  %315 = getelementptr inbounds i8, ptr %2, i64 960
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %315) #7
  %316 = getelementptr inbounds i8, ptr %2, i64 928
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %316) #7
  %317 = getelementptr inbounds i8, ptr %2, i64 896
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %317) #7
  %318 = getelementptr inbounds i8, ptr %2, i64 864
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %318) #7
  %319 = getelementptr inbounds i8, ptr %2, i64 832
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %319) #7
  %320 = getelementptr inbounds i8, ptr %2, i64 800
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %320) #7
  %321 = getelementptr inbounds i8, ptr %2, i64 768
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %321) #7
  %322 = getelementptr inbounds i8, ptr %2, i64 736
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %322) #7
  %323 = getelementptr inbounds i8, ptr %2, i64 704
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %323) #7
  %324 = getelementptr inbounds i8, ptr %2, i64 672
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %324) #7
  %325 = getelementptr inbounds i8, ptr %2, i64 640
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %325) #7
  %326 = getelementptr inbounds i8, ptr %2, i64 608
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %326) #7
  %327 = getelementptr inbounds i8, ptr %2, i64 576
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %327) #7
  %328 = getelementptr inbounds i8, ptr %2, i64 544
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %328) #7
  %329 = getelementptr inbounds i8, ptr %2, i64 512
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %329) #7
  %330 = getelementptr inbounds i8, ptr %2, i64 480
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %330) #7
  %331 = getelementptr inbounds i8, ptr %2, i64 448
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %331) #7
  %332 = getelementptr inbounds i8, ptr %2, i64 416
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %332) #7
  %333 = getelementptr inbounds i8, ptr %2, i64 384
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %333) #7
  %334 = getelementptr inbounds i8, ptr %2, i64 352
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %334) #7
  %335 = getelementptr inbounds i8, ptr %2, i64 320
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %335) #7
  %336 = getelementptr inbounds i8, ptr %2, i64 288
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %336) #7
  %337 = getelementptr inbounds i8, ptr %2, i64 256
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %337) #7
  %338 = getelementptr inbounds i8, ptr %2, i64 224
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %338) #7
  %339 = getelementptr inbounds i8, ptr %2, i64 192
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %339) #7
  %340 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %340) #7
  %341 = getelementptr inbounds i8, ptr %2, i64 128
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %341) #7
  %342 = getelementptr inbounds i8, ptr %2, i64 96
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %342) #7
  %343 = getelementptr inbounds i8, ptr %2, i64 64
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %343) #7
  %344 = getelementptr inbounds i8, ptr %2, i64 32
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %344) #7
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %2) #7
  call void @llvm.lifetime.end.p0(i64 3520, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

345:                                              ; preds = %233, %._crit_edge120
  %346 = landingpad { ptr, i32 }
          cleanup
  br label %347

347:                                              ; preds = %345, %137
  %.pn = phi { ptr, i32 } [ %346, %345 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 31104, ptr nonnull %16) #7
  br label %348

348:                                              ; preds = %347, %104, %73
  %.pn74.pn = phi { ptr, i32 } [ %.pn74, %104 ], [ %.pn, %347 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %8) #7
  br label %349

349:                                              ; preds = %348, %71
  %.pn74.pn.pn = phi { ptr, i32 } [ %.pn74.pn, %348 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  br label %350

350:                                              ; preds = %349, %64
  %.pn78.pn.pn = phi { ptr, i32 } [ %.pn78.pn, %64 ], [ %.pn74.pn.pn, %349 ]
  %351 = getelementptr inbounds i8, ptr %2, i64 3488
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %351) #7
  %352 = getelementptr inbounds i8, ptr %2, i64 3456
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %352) #7
  %353 = getelementptr inbounds i8, ptr %2, i64 3424
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %353) #7
  %354 = getelementptr inbounds i8, ptr %2, i64 3392
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %354) #7
  %355 = getelementptr inbounds i8, ptr %2, i64 3360
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %355) #7
  %356 = getelementptr inbounds i8, ptr %2, i64 3328
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %356) #7
  %357 = getelementptr inbounds i8, ptr %2, i64 3296
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %357) #7
  %358 = getelementptr inbounds i8, ptr %2, i64 3264
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %358) #7
  %359 = getelementptr inbounds i8, ptr %2, i64 3232
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %359) #7
  %360 = getelementptr inbounds i8, ptr %2, i64 3200
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %360) #7
  %361 = getelementptr inbounds i8, ptr %2, i64 3168
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %361) #7
  %362 = getelementptr inbounds i8, ptr %2, i64 3136
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %362) #7
  %363 = getelementptr inbounds i8, ptr %2, i64 3104
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %363) #7
  %364 = getelementptr inbounds i8, ptr %2, i64 3072
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %364) #7
  %365 = getelementptr inbounds i8, ptr %2, i64 3040
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %365) #7
  %366 = getelementptr inbounds i8, ptr %2, i64 3008
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %366) #7
  %367 = getelementptr inbounds i8, ptr %2, i64 2976
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %367) #7
  %368 = getelementptr inbounds i8, ptr %2, i64 2944
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %368) #7
  %369 = getelementptr inbounds i8, ptr %2, i64 2912
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %369) #7
  %370 = getelementptr inbounds i8, ptr %2, i64 2880
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %370) #7
  %371 = getelementptr inbounds i8, ptr %2, i64 2848
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %371) #7
  %372 = getelementptr inbounds i8, ptr %2, i64 2816
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %372) #7
  %373 = getelementptr inbounds i8, ptr %2, i64 2784
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %373) #7
  %374 = getelementptr inbounds i8, ptr %2, i64 2752
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %374) #7
  %375 = getelementptr inbounds i8, ptr %2, i64 2720
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %375) #7
  %376 = getelementptr inbounds i8, ptr %2, i64 2688
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %376) #7
  %377 = getelementptr inbounds i8, ptr %2, i64 2656
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %377) #7
  %378 = getelementptr inbounds i8, ptr %2, i64 2624
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %378) #7
  %379 = getelementptr inbounds i8, ptr %2, i64 2592
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %379) #7
  %380 = getelementptr inbounds i8, ptr %2, i64 2560
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %380) #7
  %381 = getelementptr inbounds i8, ptr %2, i64 2528
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %381) #7
  %382 = getelementptr inbounds i8, ptr %2, i64 2496
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %382) #7
  %383 = getelementptr inbounds i8, ptr %2, i64 2464
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %383) #7
  %384 = getelementptr inbounds i8, ptr %2, i64 2432
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %384) #7
  %385 = getelementptr inbounds i8, ptr %2, i64 2400
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %385) #7
  %386 = getelementptr inbounds i8, ptr %2, i64 2368
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %386) #7
  %387 = getelementptr inbounds i8, ptr %2, i64 2336
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %387) #7
  %388 = getelementptr inbounds i8, ptr %2, i64 2304
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %388) #7
  %389 = getelementptr inbounds i8, ptr %2, i64 2272
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %389) #7
  %390 = getelementptr inbounds i8, ptr %2, i64 2240
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %390) #7
  %391 = getelementptr inbounds i8, ptr %2, i64 2208
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %391) #7
  %392 = getelementptr inbounds i8, ptr %2, i64 2176
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %392) #7
  %393 = getelementptr inbounds i8, ptr %2, i64 2144
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %393) #7
  %394 = getelementptr inbounds i8, ptr %2, i64 2112
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %394) #7
  %395 = getelementptr inbounds i8, ptr %2, i64 2080
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %395) #7
  %396 = getelementptr inbounds i8, ptr %2, i64 2048
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %396) #7
  %397 = getelementptr inbounds i8, ptr %2, i64 2016
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %397) #7
  %398 = getelementptr inbounds i8, ptr %2, i64 1984
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %398) #7
  %399 = getelementptr inbounds i8, ptr %2, i64 1952
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %399) #7
  %400 = getelementptr inbounds i8, ptr %2, i64 1920
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %400) #7
  %401 = getelementptr inbounds i8, ptr %2, i64 1888
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %401) #7
  %402 = getelementptr inbounds i8, ptr %2, i64 1856
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %402) #7
  %403 = getelementptr inbounds i8, ptr %2, i64 1824
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %403) #7
  %404 = getelementptr inbounds i8, ptr %2, i64 1792
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %404) #7
  %405 = getelementptr inbounds i8, ptr %2, i64 1760
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %405) #7
  %406 = getelementptr inbounds i8, ptr %2, i64 1728
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %406) #7
  %407 = getelementptr inbounds i8, ptr %2, i64 1696
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %407) #7
  %408 = getelementptr inbounds i8, ptr %2, i64 1664
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %408) #7
  %409 = getelementptr inbounds i8, ptr %2, i64 1632
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %409) #7
  %410 = getelementptr inbounds i8, ptr %2, i64 1600
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %410) #7
  %411 = getelementptr inbounds i8, ptr %2, i64 1568
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %411) #7
  %412 = getelementptr inbounds i8, ptr %2, i64 1536
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %412) #7
  %413 = getelementptr inbounds i8, ptr %2, i64 1504
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %413) #7
  %414 = getelementptr inbounds i8, ptr %2, i64 1472
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %414) #7
  %415 = getelementptr inbounds i8, ptr %2, i64 1440
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %415) #7
  %416 = getelementptr inbounds i8, ptr %2, i64 1408
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %416) #7
  %417 = getelementptr inbounds i8, ptr %2, i64 1376
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %417) #7
  %418 = getelementptr inbounds i8, ptr %2, i64 1344
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %418) #7
  %419 = getelementptr inbounds i8, ptr %2, i64 1312
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %419) #7
  %420 = getelementptr inbounds i8, ptr %2, i64 1280
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %420) #7
  %421 = getelementptr inbounds i8, ptr %2, i64 1248
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %421) #7
  %422 = getelementptr inbounds i8, ptr %2, i64 1216
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %422) #7
  %423 = getelementptr inbounds i8, ptr %2, i64 1184
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %423) #7
  %424 = getelementptr inbounds i8, ptr %2, i64 1152
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %424) #7
  %425 = getelementptr inbounds i8, ptr %2, i64 1120
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %425) #7
  %426 = getelementptr inbounds i8, ptr %2, i64 1088
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %426) #7
  %427 = getelementptr inbounds i8, ptr %2, i64 1056
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %427) #7
  %428 = getelementptr inbounds i8, ptr %2, i64 1024
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %428) #7
  %429 = getelementptr inbounds i8, ptr %2, i64 992
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %429) #7
  %430 = getelementptr inbounds i8, ptr %2, i64 960
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %430) #7
  %431 = getelementptr inbounds i8, ptr %2, i64 928
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %431) #7
  %432 = getelementptr inbounds i8, ptr %2, i64 896
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %432) #7
  %433 = getelementptr inbounds i8, ptr %2, i64 864
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %433) #7
  %434 = getelementptr inbounds i8, ptr %2, i64 832
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %434) #7
  %435 = getelementptr inbounds i8, ptr %2, i64 800
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %435) #7
  %436 = getelementptr inbounds i8, ptr %2, i64 768
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %436) #7
  %437 = getelementptr inbounds i8, ptr %2, i64 736
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %437) #7
  %438 = getelementptr inbounds i8, ptr %2, i64 704
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %438) #7
  %439 = getelementptr inbounds i8, ptr %2, i64 672
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %439) #7
  %440 = getelementptr inbounds i8, ptr %2, i64 640
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %440) #7
  %441 = getelementptr inbounds i8, ptr %2, i64 608
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %441) #7
  %442 = getelementptr inbounds i8, ptr %2, i64 576
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %442) #7
  %443 = getelementptr inbounds i8, ptr %2, i64 544
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %443) #7
  %444 = getelementptr inbounds i8, ptr %2, i64 512
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %444) #7
  %445 = getelementptr inbounds i8, ptr %2, i64 480
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %445) #7
  %446 = getelementptr inbounds i8, ptr %2, i64 448
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %446) #7
  %447 = getelementptr inbounds i8, ptr %2, i64 416
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %447) #7
  %448 = getelementptr inbounds i8, ptr %2, i64 384
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %448) #7
  %449 = getelementptr inbounds i8, ptr %2, i64 352
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %449) #7
  %450 = getelementptr inbounds i8, ptr %2, i64 320
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %450) #7
  %451 = getelementptr inbounds i8, ptr %2, i64 288
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %451) #7
  %452 = getelementptr inbounds i8, ptr %2, i64 256
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %452) #7
  %453 = getelementptr inbounds i8, ptr %2, i64 224
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %453) #7
  %454 = getelementptr inbounds i8, ptr %2, i64 192
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %454) #7
  %455 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %455) #7
  %456 = getelementptr inbounds i8, ptr %2, i64 128
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %456) #7
  %457 = getelementptr inbounds i8, ptr %2, i64 96
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %457) #7
  %458 = getelementptr inbounds i8, ptr %2, i64 64
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %458) #7
  %459 = getelementptr inbounds i8, ptr %2, i64 32
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %459) #7
  call void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %2) #7
  call void @llvm.lifetime.end.p0(i64 3520, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn78.pn.pn
}

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

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) 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) #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 #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

; 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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5offerD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) 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 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

!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 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !12, i64 24}
!17 = !{!"_ZTS5offer", !18, i64 0, !12, i64 24}
!18 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14, !24}
!24 = !{!"llvm.loop.unswitch.partial.disable"}
!25 = distinct !{!25, !14, !24}
!26 = distinct !{!26, !14, !24}
!27 = distinct !{!27, !14, !24}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}


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