; LLVM IR from p4lang/p4c :: backends/tofino/bf-asm/bfdumpbin.ll (Z8dump_binRSi)

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

%struct.anon = type { i8, i8, i8 }
%"class.std::basic_ostream" = type { ptr, %"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.json::map" = type { %"class.json::obj", %"class.P4::ordered_map" }
%"class.json::obj" = type { ptr }
%"class.P4::ordered_map" = type { %"class.std::__cxx11::list", %"class.std::map" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::pair<json::obj *const, std::unique_ptr<json::obj>>, std::allocator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<json::obj *const, std::unique_ptr<json::obj>>, std::allocator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<json::obj *const *, std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>, std::_Select1st<std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>>, P4::ordered_map<json::obj *, std::unique_ptr<json::obj>, json::obj::ptrless>::mapcmp>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<json::obj *const *, std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>, std::_Select1st<std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>>, P4::ordered_map<json::obj *, std::unique_ptr<json::obj>, json::obj::ptrless>::mapcmp>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.json::bson_wrap" = type { ptr }
%"struct.std::_List_iterator" = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"struct.json::bson_wrap.5" = type { ptr }
%"class.std::fpos" = type { i64, %struct.__mbstate_t }
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"struct.std::pair" = type { ptr, %"class.std::unique_ptr" }

@options = external hidden global %struct.anon, align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 x i8], align 1
@stderr = external global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z8dump_binRSi(ptr noundef nonnull align 8 dereferenceable(16) %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.json::map", align 8
  %6 = alloca %"struct.json::bson_wrap", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"struct.std::_List_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::unique_ptr", align 8
  %15 = alloca %"struct.json::bson_wrap.5", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca [2 x i64], align 16
  %31 = alloca [2 x i64], align 16
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca %"class.std::fpos", align 8
  %46 = alloca %"class.std::fpos", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %646, %1
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef %4, i64 noundef 4)
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  %51 = getelementptr i8, ptr %50, i64 -24
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %49, i64 %52
  %54 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %53)
  br i1 %54, label %55, label %647

55:                                               ; preds = %47
  %56 = load i32, ptr %4, align 4, !tbaa !9
  %57 = lshr i32 %56, 24
  %58 = icmp eq i32 %57, 72
  br i1 %58, label %59, label %121

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #6
  call void @_ZN4json3mapC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5)
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = invoke ptr @_ZN4json6binaryINS_3mapEEENS_9bson_wrapIT_EERS3_(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %62 unwind label %75

62:                                               ; preds = %59
  %63 = getelementptr inbounds %"struct.json::bson_wrap", ptr %6, i32 0, i32 0
  store ptr %61, ptr %63, align 8
  %64 = getelementptr inbounds %"struct.json::bson_wrap", ptr %6, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  %66 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapINS_3mapEEE(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr %65)
          to label %67 unwind label %75

67:                                               ; preds = %62
  %68 = load ptr, ptr %66, align 8, !tbaa !11
  %69 = getelementptr i8, ptr %68, i64 -24
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds i8, ptr %66, i64 %70
  %72 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %71)
          to label %73 unwind label %75

73:                                               ; preds = %67
  br i1 %72, label %74, label %79

74:                                               ; preds = %73
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %117

75:                                               ; preds = %67, %62, %59
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  br label %120

79:                                               ; preds = %73
  %80 = load i8, ptr getelementptr inbounds (%struct.anon, ptr @options, i32 0, i32 1), align 1, !tbaa !13, !range !16, !noundef !17
  %81 = trunc i8 %80 to i1
  br i1 %81, label %116, label %82

82:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store ptr %5, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 8
  %85 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(72) %84) #6
  %86 = getelementptr inbounds %"struct.std::_List_iterator", ptr %11, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  %89 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %88) #6
  %90 = getelementptr inbounds %"struct.std::_List_iterator", ptr %12, i32 0, i32 0
  store ptr %89, ptr %90, align 8
  br label %91

91:                                               ; preds = %109, %82
  %92 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %92, label %94, label %93

93:                                               ; preds = %91
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %115

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %95 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  store ptr %95, ptr %13, align 8, !tbaa !5
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.std::pair", ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !18
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoPKNS_3objE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef %98)
          to label %100 unwind label %111

100:                                              ; preds = %94
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @.str)
          to label %102 unwind label %111

102:                                              ; preds = %100
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.std::pair", ptr %103, i32 0, i32 1
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull align 8 dereferenceable(8) %104)
          to label %106 unwind label %111

106:                                              ; preds = %102
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %108 unwind label %111

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

109:                                              ; preds = %108
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %91

111:                                              ; preds = %106, %102, %100, %94
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %7, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %120

115:                                              ; preds = %93
  br label %116

116:                                              ; preds = %115, %79
  store i32 0, ptr %9, align 4
  br label %117

117:                                              ; preds = %116, %74
  call void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  %118 = load i32, ptr %9, align 4
  switch i32 %118, label %656 [
    i32 0, label %119
  ]

119:                                              ; preds = %117
  br label %646

120:                                              ; preds = %111, %75
  call void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  br label %658

121:                                              ; preds = %55
  %122 = load i32, ptr %4, align 4, !tbaa !9
  %123 = lshr i32 %122, 24
  %124 = icmp eq i32 %123, 67
  br i1 %124, label %125, label %155

125:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = invoke ptr @_ZN4json6binaryISt10unique_ptrINS_3objESt14default_deleteIS2_EEEENS_9bson_wrapIT_EERS7_(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %128 unwind label %141

128:                                              ; preds = %125
  %129 = getelementptr inbounds %"struct.json::bson_wrap.5", ptr %15, i32 0, i32 0
  store ptr %127, ptr %129, align 8
  %130 = getelementptr inbounds %"struct.json::bson_wrap.5", ptr %15, i32 0, i32 0
  %131 = load ptr, ptr %130, align 8
  %132 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapISt10unique_ptrINS_3objESt14default_deleteIS3_EEEE(ptr noundef nonnull align 8 dereferenceable(16) %126, ptr %131)
          to label %133 unwind label %141

133:                                              ; preds = %128
  %134 = load ptr, ptr %132, align 8, !tbaa !11
  %135 = getelementptr i8, ptr %134, i64 -24
  %136 = load i64, ptr %135, align 8
  %137 = getelementptr inbounds i8, ptr %132, i64 %136
  %138 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %137)
          to label %139 unwind label %141

139:                                              ; preds = %133
  br i1 %138, label %140, label %145

140:                                              ; preds = %139
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %152

141:                                              ; preds = %148, %133, %128, %125
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %7, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %8, align 4
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %658

145:                                              ; preds = %139
  %146 = load i8, ptr getelementptr inbounds (%struct.anon, ptr @options, i32 0, i32 2), align 1, !tbaa !26, !range !16, !noundef !17
  %147 = trunc i8 %146 to i1
  br i1 %147, label %151, label %148

148:                                              ; preds = %145
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %150 unwind label %141

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150, %145
  store i32 0, ptr %9, align 4
  br label %152

152:                                              ; preds = %151, %140
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %153 = load i32, ptr %9, align 4
  switch i32 %153, label %656 [
    i32 0, label %154
  ]

154:                                              ; preds = %152
  br label %645

155:                                              ; preds = %121
  %156 = load i32, ptr %4, align 4, !tbaa !9
  %157 = lshr i32 %156, 24
  %158 = icmp eq i32 %157, 80
  br i1 %158, label %159, label %174

159:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %160, ptr noundef %16, i64 noundef 4)
  %162 = load ptr, ptr %161, align 8, !tbaa !11
  %163 = getelementptr i8, ptr %162, i64 -24
  %164 = load i64, ptr %163, align 8
  %165 = getelementptr inbounds i8, ptr %161, i64 %164
  %166 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %165)
  br i1 %166, label %167, label %168

167:                                              ; preds = %159
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %171

168:                                              ; preds = %159
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %169)
  store i32 0, ptr %9, align 4
  br label %171

171:                                              ; preds = %168, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  %172 = load i32, ptr %9, align 4
  switch i32 %172, label %656 [
    i32 0, label %173
  ]

173:                                              ; preds = %171
  br label %644

174:                                              ; preds = %155
  %175 = load i32, ptr %4, align 4, !tbaa !9
  %176 = lshr i32 %175, 24
  %177 = icmp eq i32 %176, 82
  br i1 %177, label %178, label %203

178:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %179, ptr noundef %17, i64 noundef 4)
  %181 = load ptr, ptr %180, align 8, !tbaa !11
  %182 = getelementptr i8, ptr %181, i64 -24
  %183 = load i64, ptr %182, align 8
  %184 = getelementptr inbounds i8, ptr %180, i64 %183
  %185 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %184)
  br i1 %185, label %186, label %187

186:                                              ; preds = %178
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %200

187:                                              ; preds = %178
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %188, ptr noundef %18, i64 noundef 4)
  %190 = load ptr, ptr %189, align 8, !tbaa !11
  %191 = getelementptr i8, ptr %190, i64 -24
  %192 = load i64, ptr %191, align 8
  %193 = getelementptr inbounds i8, ptr %189, i64 %192
  %194 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %193)
  br i1 %194, label %195, label %196

195:                                              ; preds = %187
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %200

196:                                              ; preds = %187
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %197, i32 noundef %198)
  store i32 0, ptr %9, align 4
  br label %200

200:                                              ; preds = %196, %195, %186
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %201 = load i32, ptr %9, align 4
  switch i32 %201, label %656 [
    i32 0, label %202
  ]

202:                                              ; preds = %200
  br label %643

203:                                              ; preds = %174
  %204 = load i32, ptr %4, align 4, !tbaa !9
  %205 = lshr i32 %204, 24
  %206 = icmp eq i32 %205, 66
  br i1 %206, label %207, label %323

207:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %208, ptr noundef %19, i64 noundef 8)
  %210 = load ptr, ptr %209, align 8, !tbaa !11
  %211 = getelementptr i8, ptr %210, i64 -24
  %212 = load i64, ptr %211, align 8
  %213 = getelementptr inbounds i8, ptr %209, i64 %212
  %214 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %213)
  br i1 %214, label %215, label %216

215:                                              ; preds = %207
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %320

216:                                              ; preds = %207
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %217, ptr noundef %21, i64 noundef 4)
  %219 = load ptr, ptr %218, align 8, !tbaa !11
  %220 = getelementptr i8, ptr %219, i64 -24
  %221 = load i64, ptr %220, align 8
  %222 = getelementptr inbounds i8, ptr %218, i64 %221
  %223 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %222)
  br i1 %223, label %224, label %225

224:                                              ; preds = %216
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %320

225:                                              ; preds = %216
  %226 = load ptr, ptr %3, align 8, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %226, ptr noundef %20, i64 noundef 4)
  %228 = load ptr, ptr %227, align 8, !tbaa !11
  %229 = getelementptr i8, ptr %228, i64 -24
  %230 = load i64, ptr %229, align 8
  %231 = getelementptr inbounds i8, ptr %227, i64 %230
  %232 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %231)
  br i1 %232, label %233, label %234

233:                                              ; preds = %225
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %320

234:                                              ; preds = %225
  %235 = load i64, ptr %19, align 8, !tbaa !27
  %236 = load i32, ptr %21, align 4, !tbaa !9
  %237 = load i32, ptr %20, align 4, !tbaa !9
  %238 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %235, i32 noundef %236, i32 noundef %237)
  %239 = load i32, ptr %20, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = load i32, ptr %21, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = mul i64 %240, %242
  %244 = urem i64 %243, 32
  %245 = icmp ne i64 %244, 0
  br i1 %245, label %246, label %248

246:                                              ; preds = %234
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %248

248:                                              ; preds = %246, %234
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = load i32, ptr %21, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = mul i64 %250, %252
  %254 = udiv i64 %253, 32
  %255 = trunc i64 %254 to i32
  store i32 %255, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %305, %248
  %257 = load i32, ptr %26, align 4, !tbaa !9
  %258 = load i32, ptr %20, align 4, !tbaa !9
  %259 = icmp ult i32 %257, %258
  br i1 %259, label %261, label %260

260:                                              ; preds = %256
  store i32 6, ptr %9, align 4
  br label %308

261:                                              ; preds = %256
  %262 = load ptr, ptr %3, align 8, !tbaa !5
  %263 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %262, ptr noundef %22, i64 noundef 4)
  %264 = load ptr, ptr %263, align 8, !tbaa !11
  %265 = getelementptr i8, ptr %264, i64 -24
  %266 = load i64, ptr %265, align 8
  %267 = getelementptr inbounds i8, ptr %263, i64 %266
  %268 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %267)
  br i1 %268, label %269, label %270

269:                                              ; preds = %261
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %308

270:                                              ; preds = %261
  %271 = load i32, ptr %26, align 4, !tbaa !9
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %280

273:                                              ; preds = %270
  %274 = load i32, ptr %22, align 4, !tbaa !9
  %275 = load i32, ptr %23, align 4, !tbaa !9
  %276 = icmp eq i32 %274, %275
  br i1 %276, label %277, label %280

277:                                              ; preds = %273
  %278 = load i32, ptr %24, align 4, !tbaa !9
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %24, align 4, !tbaa !9
  br label %305

280:                                              ; preds = %273, %270
  %281 = load i32, ptr %24, align 4, !tbaa !9
  %282 = icmp sgt i32 %281, 0
  br i1 %282, label %283, label %292

283:                                              ; preds = %280
  %284 = load i32, ptr %24, align 4, !tbaa !9
  %285 = add nsw i32 %284, 1
  %286 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %285)
  %287 = load i32, ptr %25, align 4, !tbaa !9
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %25, align 4, !tbaa !9
  %289 = icmp sgt i32 %288, 8
  br i1 %289, label %290, label %291

290:                                              ; preds = %283
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %291

291:                                              ; preds = %290, %283
  br label %292

292:                                              ; preds = %291, %280
  store i32 0, ptr %24, align 4, !tbaa !9
  %293 = load i8, ptr @options, align 1, !tbaa !29, !range !16, !noundef !17
  %294 = trunc i8 %293 to i1
  br i1 %294, label %302, label %295

295:                                              ; preds = %292
  %296 = load i32, ptr %25, align 4, !tbaa !9
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %25, align 4, !tbaa !9
  %298 = srem i32 %296, 8
  %299 = icmp eq i32 %298, 0
  br i1 %299, label %300, label %302

300:                                              ; preds = %295
  %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %302

302:                                              ; preds = %300, %295, %292
  %303 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %303, ptr %23, align 4, !tbaa !9
  %304 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %303)
  br label %305

305:                                              ; preds = %302, %277
  %306 = load i32, ptr %26, align 4, !tbaa !9
  %307 = add i32 %306, 1
  store i32 %307, ptr %26, align 4, !tbaa !9
  br label %256, !llvm.loop !30

308:                                              ; preds = %269, %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  %309 = load i32, ptr %9, align 4
  switch i32 %309, label %319 [
    i32 6, label %310
  ]

310:                                              ; preds = %308
  %311 = load i32, ptr %24, align 4, !tbaa !9
  %312 = icmp sgt i32 %311, 0
  br i1 %312, label %313, label %317

313:                                              ; preds = %310
  %314 = load i32, ptr %24, align 4, !tbaa !9
  %315 = add nsw i32 %314, 1
  %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %315)
  br label %317

317:                                              ; preds = %313, %310
  %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 0, ptr %9, align 4
  br label %319

319:                                              ; preds = %317, %308
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %320

320:                                              ; preds = %319, %233, %224, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  %321 = load i32, ptr %9, align 4
  switch i32 %321, label %656 [
    i32 0, label %322
  ]

322:                                              ; preds = %320
  br label %642

323:                                              ; preds = %203
  %324 = load i32, ptr %4, align 4, !tbaa !9
  %325 = lshr i32 %324, 24
  %326 = icmp eq i32 %325, 68
  br i1 %326, label %327, label %478

327:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i64 0, ptr %27, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !9
  %328 = load ptr, ptr %3, align 8, !tbaa !5
  %329 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %328, ptr noundef %27, i64 noundef 8)
  %330 = load ptr, ptr %329, align 8, !tbaa !11
  %331 = getelementptr i8, ptr %330, i64 -24
  %332 = load i64, ptr %331, align 8
  %333 = getelementptr inbounds i8, ptr %329, i64 %332
  %334 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %333)
  br i1 %334, label %335, label %336

335:                                              ; preds = %327
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %475

336:                                              ; preds = %327
  %337 = load ptr, ptr %3, align 8, !tbaa !5
  %338 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %337, ptr noundef %29, i64 noundef 4)
  %339 = load ptr, ptr %338, align 8, !tbaa !11
  %340 = getelementptr i8, ptr %339, i64 -24
  %341 = load i64, ptr %340, align 8
  %342 = getelementptr inbounds i8, ptr %338, i64 %341
  %343 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %342)
  br i1 %343, label %344, label %345

344:                                              ; preds = %336
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %475

345:                                              ; preds = %336
  %346 = load ptr, ptr %3, align 8, !tbaa !5
  %347 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %346, ptr noundef %28, i64 noundef 4)
  %348 = load ptr, ptr %347, align 8, !tbaa !11
  %349 = getelementptr i8, ptr %348, i64 -24
  %350 = load i64, ptr %349, align 8
  %351 = getelementptr inbounds i8, ptr %347, i64 %350
  %352 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %351)
  br i1 %352, label %353, label %354

353:                                              ; preds = %345
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %475

354:                                              ; preds = %345
  %355 = load i64, ptr %27, align 8, !tbaa !27
  %356 = load i32, ptr %29, align 4, !tbaa !9
  %357 = load i32, ptr %28, align 4, !tbaa !9
  %358 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %355, i32 noundef %356, i32 noundef %357)
  %359 = load i32, ptr %28, align 4, !tbaa !9
  %360 = zext i32 %359 to i64
  %361 = load i32, ptr %29, align 4, !tbaa !9
  %362 = zext i32 %361 to i64
  %363 = mul i64 %360, %362
  %364 = urem i64 %363, 64
  %365 = icmp ne i64 %364, 0
  br i1 %365, label %366, label %368

366:                                              ; preds = %354
  %367 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  br label %368

368:                                              ; preds = %366, %354
  %369 = load i32, ptr %29, align 4, !tbaa !9
  %370 = udiv i32 %369, 8
  store i32 %370, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 0, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store i32 0, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %371

371:                                              ; preds = %431, %368
  %372 = load i32, ptr %34, align 4, !tbaa !9
  %373 = load i32, ptr %28, align 4, !tbaa !9
  %374 = load i32, ptr %29, align 4, !tbaa !9
  %375 = mul i32 %373, %374
  %376 = icmp ult i32 %372, %375
  br i1 %376, label %378, label %377

377:                                              ; preds = %371
  store i32 9, ptr %9, align 4
  br label %434

378:                                              ; preds = %371
  %379 = load ptr, ptr %3, align 8, !tbaa !5
  %380 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 0
  %381 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %379, ptr noundef %380, i64 noundef 16)
  %382 = load ptr, ptr %381, align 8, !tbaa !11
  %383 = getelementptr i8, ptr %382, i64 -24
  %384 = load i64, ptr %383, align 8
  %385 = getelementptr inbounds i8, ptr %381, i64 %384
  %386 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %385)
  br i1 %386, label %387, label %388

387:                                              ; preds = %378
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %434

388:                                              ; preds = %378
  %389 = load i32, ptr %34, align 4, !tbaa !9
  %390 = icmp ne i32 %389, 0
  br i1 %390, label %391, label %406

391:                                              ; preds = %388
  %392 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 0
  %393 = load i64, ptr %392, align 16, !tbaa !27
  %394 = getelementptr inbounds [2 x i64], ptr %31, i64 0, i64 0
  %395 = load i64, ptr %394, align 16, !tbaa !27
  %396 = icmp eq i64 %393, %395
  br i1 %396, label %397, label %406

397:                                              ; preds = %391
  %398 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 1
  %399 = load i64, ptr %398, align 8, !tbaa !27
  %400 = getelementptr inbounds [2 x i64], ptr %31, i64 0, i64 1
  %401 = load i64, ptr %400, align 8, !tbaa !27
  %402 = icmp eq i64 %399, %401
  br i1 %402, label %403, label %406

403:                                              ; preds = %397
  %404 = load i32, ptr %32, align 4, !tbaa !9
  %405 = add nsw i32 %404, 1
  store i32 %405, ptr %32, align 4, !tbaa !9
  br label %431

406:                                              ; preds = %397, %391, %388
  %407 = load i32, ptr %32, align 4, !tbaa !9
  %408 = icmp sgt i32 %407, 0
  br i1 %408, label %409, label %413

409:                                              ; preds = %406
  %410 = load i32, ptr %32, align 4, !tbaa !9
  %411 = add nsw i32 %410, 1
  %412 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %411)
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %413

413:                                              ; preds = %409, %406
  store i32 0, ptr %32, align 4, !tbaa !9
  %414 = load i8, ptr @options, align 1, !tbaa !29, !range !16, !noundef !17
  %415 = trunc i8 %414 to i1
  br i1 %415, label %423, label %416

416:                                              ; preds = %413
  %417 = load i32, ptr %33, align 4, !tbaa !9
  %418 = add nsw i32 %417, 1
  store i32 %418, ptr %33, align 4, !tbaa !9
  %419 = srem i32 %417, 2
  %420 = icmp eq i32 %419, 0
  br i1 %420, label %421, label %423

421:                                              ; preds = %416
  %422 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %423

423:                                              ; preds = %421, %416, %413
  %424 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 1
  %425 = load i64, ptr %424, align 8, !tbaa !27
  %426 = getelementptr inbounds [2 x i64], ptr %31, i64 0, i64 1
  store i64 %425, ptr %426, align 8, !tbaa !27
  %427 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 0
  %428 = load i64, ptr %427, align 16, !tbaa !27
  %429 = getelementptr inbounds [2 x i64], ptr %31, i64 0, i64 0
  store i64 %428, ptr %429, align 16, !tbaa !27
  %430 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %425, i64 noundef %428)
  br label %431

431:                                              ; preds = %423, %403
  %432 = load i32, ptr %34, align 4, !tbaa !9
  %433 = add i32 %432, 16
  store i32 %433, ptr %34, align 4, !tbaa !9
  br label %371, !llvm.loop !32

434:                                              ; preds = %387, %377
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  %435 = load i32, ptr %9, align 4
  switch i32 %435, label %474 [
    i32 9, label %436
  ]

436:                                              ; preds = %434
  %437 = load i32, ptr %32, align 4, !tbaa !9
  %438 = icmp sgt i32 %437, 0
  br i1 %438, label %439, label %443

439:                                              ; preds = %436
  %440 = load i32, ptr %32, align 4, !tbaa !9
  %441 = add nsw i32 %440, 1
  %442 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %441)
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %443

443:                                              ; preds = %439, %436
  %444 = load i32, ptr %28, align 4, !tbaa !9
  %445 = load i32, ptr %29, align 4, !tbaa !9
  %446 = mul i32 %444, %445
  %447 = urem i32 %446, 16
  %448 = icmp eq i32 %447, 8
  br i1 %448, label %449, label %472

449:                                              ; preds = %443
  %450 = load ptr, ptr %3, align 8, !tbaa !5
  %451 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 0
  %452 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %450, ptr noundef %451, i64 noundef 8)
  %453 = load ptr, ptr %452, align 8, !tbaa !11
  %454 = getelementptr i8, ptr %453, i64 -24
  %455 = load i64, ptr %454, align 8
  %456 = getelementptr inbounds i8, ptr %452, i64 %455
  %457 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %456)
  br i1 %457, label %458, label %459

458:                                              ; preds = %449
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %474

459:                                              ; preds = %449
  %460 = load i8, ptr @options, align 1, !tbaa !29, !range !16, !noundef !17
  %461 = trunc i8 %460 to i1
  br i1 %461, label %468, label %462

462:                                              ; preds = %459
  %463 = load i32, ptr %33, align 4, !tbaa !9
  %464 = srem i32 %463, 2
  %465 = icmp eq i32 %464, 0
  br i1 %465, label %466, label %468

466:                                              ; preds = %462
  %467 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %468

468:                                              ; preds = %466, %462, %459
  %469 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 0
  %470 = load i64, ptr %469, align 16, !tbaa !27
  %471 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i64 noundef %470)
  br label %472

472:                                              ; preds = %468, %443
  %473 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 0, ptr %9, align 4
  br label %474

474:                                              ; preds = %472, %458, %434
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  br label %475

475:                                              ; preds = %474, %353, %344, %335
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  %476 = load i32, ptr %9, align 4
  switch i32 %476, label %656 [
    i32 0, label %477
  ]

477:                                              ; preds = %475
  br label %641

478:                                              ; preds = %323
  %479 = load i32, ptr %4, align 4, !tbaa !9
  %480 = lshr i32 %479, 24
  %481 = icmp eq i32 %480, 83
  br i1 %481, label %482, label %614

482:                                              ; preds = %478
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  store i64 0, ptr %35, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  store i64 0, ptr %36, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store i32 0, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  store i32 0, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store i32 0, ptr %39, align 4, !tbaa !9
  %483 = load ptr, ptr %3, align 8, !tbaa !5
  %484 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %483, ptr noundef %35, i64 noundef 8)
  %485 = load ptr, ptr %484, align 8, !tbaa !11
  %486 = getelementptr i8, ptr %485, i64 -24
  %487 = load i64, ptr %486, align 8
  %488 = getelementptr inbounds i8, ptr %484, i64 %487
  %489 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %488)
  br i1 %489, label %490, label %491

490:                                              ; preds = %482
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %611

491:                                              ; preds = %482
  %492 = load ptr, ptr %3, align 8, !tbaa !5
  %493 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %492, ptr noundef %37, i64 noundef 4)
  %494 = load ptr, ptr %493, align 8, !tbaa !11
  %495 = getelementptr i8, ptr %494, i64 -24
  %496 = load i64, ptr %495, align 8
  %497 = getelementptr inbounds i8, ptr %493, i64 %496
  %498 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %497)
  br i1 %498, label %499, label %500

499:                                              ; preds = %491
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %611

500:                                              ; preds = %491
  %501 = load ptr, ptr %3, align 8, !tbaa !5
  %502 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %501, ptr noundef %36, i64 noundef 8)
  %503 = load ptr, ptr %502, align 8, !tbaa !11
  %504 = getelementptr i8, ptr %503, i64 -24
  %505 = load i64, ptr %504, align 8
  %506 = getelementptr inbounds i8, ptr %502, i64 %505
  %507 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %506)
  br i1 %507, label %508, label %509

508:                                              ; preds = %500
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %611

509:                                              ; preds = %500
  %510 = load ptr, ptr %3, align 8, !tbaa !5
  %511 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %510, ptr noundef %38, i64 noundef 4)
  %512 = load ptr, ptr %511, align 8, !tbaa !11
  %513 = getelementptr i8, ptr %512, i64 -24
  %514 = load i64, ptr %513, align 8
  %515 = getelementptr inbounds i8, ptr %511, i64 %514
  %516 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %515)
  br i1 %516, label %517, label %518

517:                                              ; preds = %509
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %611

518:                                              ; preds = %509
  %519 = load ptr, ptr %3, align 8, !tbaa !5
  %520 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %519, ptr noundef %39, i64 noundef 4)
  %521 = load ptr, ptr %520, align 8, !tbaa !11
  %522 = getelementptr i8, ptr %521, i64 -24
  %523 = load i64, ptr %522, align 8
  %524 = getelementptr inbounds i8, ptr %520, i64 %523
  %525 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %524)
  br i1 %525, label %526, label %527

526:                                              ; preds = %518
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %611

527:                                              ; preds = %518
  %528 = load i64, ptr %35, align 8, !tbaa !27
  %529 = load i32, ptr %37, align 4, !tbaa !9
  %530 = load i64, ptr %36, align 8, !tbaa !27
  %531 = load i32, ptr %38, align 4, !tbaa !9
  %532 = load i32, ptr %39, align 4, !tbaa !9
  %533 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %528, i32 noundef %529, i64 noundef %530, i32 noundef %531, i32 noundef %532)
  %534 = load i32, ptr %38, align 4, !tbaa !9
  %535 = urem i32 %534, 32
  %536 = icmp ne i32 %535, 0
  br i1 %536, label %537, label %539

537:                                              ; preds = %527
  %538 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %539

539:                                              ; preds = %537, %527
  %540 = load i32, ptr %39, align 4, !tbaa !9
  %541 = zext i32 %540 to i64
  %542 = load i32, ptr %38, align 4, !tbaa !9
  %543 = zext i32 %542 to i64
  %544 = mul i64 %541, %543
  %545 = udiv i64 %544, 32
  %546 = trunc i64 %545 to i32
  store i32 %546, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  store i32 0, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  store i32 0, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  store i32 0, ptr %44, align 4, !tbaa !9
  br label %547

547:                                              ; preds = %596, %539
  %548 = load i32, ptr %44, align 4, !tbaa !9
  %549 = load i32, ptr %39, align 4, !tbaa !9
  %550 = icmp ult i32 %548, %549
  br i1 %550, label %552, label %551

551:                                              ; preds = %547
  store i32 12, ptr %9, align 4
  br label %599

552:                                              ; preds = %547
  %553 = load ptr, ptr %3, align 8, !tbaa !5
  %554 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %553, ptr noundef %40, i64 noundef 4)
  %555 = load ptr, ptr %554, align 8, !tbaa !11
  %556 = getelementptr i8, ptr %555, i64 -24
  %557 = load i64, ptr %556, align 8
  %558 = getelementptr inbounds i8, ptr %554, i64 %557
  %559 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %558)
  br i1 %559, label %560, label %561

560:                                              ; preds = %552
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %599

561:                                              ; preds = %552
  %562 = load i32, ptr %44, align 4, !tbaa !9
  %563 = icmp ne i32 %562, 0
  br i1 %563, label %564, label %571

564:                                              ; preds = %561
  %565 = load i32, ptr %40, align 4, !tbaa !9
  %566 = load i32, ptr %41, align 4, !tbaa !9
  %567 = icmp eq i32 %565, %566
  br i1 %567, label %568, label %571

568:                                              ; preds = %564
  %569 = load i32, ptr %42, align 4, !tbaa !9
  %570 = add nsw i32 %569, 1
  store i32 %570, ptr %42, align 4, !tbaa !9
  br label %596

571:                                              ; preds = %564, %561
  %572 = load i32, ptr %42, align 4, !tbaa !9
  %573 = icmp sgt i32 %572, 0
  br i1 %573, label %574, label %583

574:                                              ; preds = %571
  %575 = load i32, ptr %42, align 4, !tbaa !9
  %576 = add nsw i32 %575, 1
  %577 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %576)
  %578 = load i32, ptr %43, align 4, !tbaa !9
  %579 = add nsw i32 %578, 1
  store i32 %579, ptr %43, align 4, !tbaa !9
  %580 = icmp sgt i32 %579, 8
  br i1 %580, label %581, label %582

581:                                              ; preds = %574
  store i32 0, ptr %43, align 4, !tbaa !9
  br label %582

582:                                              ; preds = %581, %574
  br label %583

583:                                              ; preds = %582, %571
  store i32 0, ptr %42, align 4, !tbaa !9
  %584 = load i8, ptr @options, align 1, !tbaa !29, !range !16, !noundef !17
  %585 = trunc i8 %584 to i1
  br i1 %585, label %593, label %586

586:                                              ; preds = %583
  %587 = load i32, ptr %43, align 4, !tbaa !9
  %588 = add nsw i32 %587, 1
  store i32 %588, ptr %43, align 4, !tbaa !9
  %589 = srem i32 %587, 8
  %590 = icmp eq i32 %589, 0
  br i1 %590, label %591, label %593

591:                                              ; preds = %586
  %592 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %593

593:                                              ; preds = %591, %586, %583
  %594 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %594, ptr %41, align 4, !tbaa !9
  %595 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %594)
  br label %596

596:                                              ; preds = %593, %568
  %597 = load i32, ptr %44, align 4, !tbaa !9
  %598 = add i32 %597, 1
  store i32 %598, ptr %44, align 4, !tbaa !9
  br label %547, !llvm.loop !33

599:                                              ; preds = %560, %551
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  %600 = load i32, ptr %9, align 4
  switch i32 %600, label %610 [
    i32 12, label %601
  ]

601:                                              ; preds = %599
  %602 = load i32, ptr %42, align 4, !tbaa !9
  %603 = icmp sgt i32 %602, 0
  br i1 %603, label %604, label %608

604:                                              ; preds = %601
  %605 = load i32, ptr %42, align 4, !tbaa !9
  %606 = add nsw i32 %605, 1
  %607 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %606)
  br label %608

608:                                              ; preds = %604, %601
  %609 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 0, ptr %9, align 4
  br label %610

610:                                              ; preds = %608, %599
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  br label %611

611:                                              ; preds = %610, %526, %517, %508, %499, %490
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  %612 = load i32, ptr %9, align 4
  switch i32 %612, label %656 [
    i32 0, label %613
  ]

613:                                              ; preds = %611
  br label %640

614:                                              ; preds = %478
  %615 = load ptr, ptr @stderr, align 8, !tbaa !5
  %616 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %615, ptr noundef @.str.9) #6
  %617 = load ptr, ptr @stderr, align 8, !tbaa !5
  %618 = load i32, ptr %4, align 4, !tbaa !9
  %619 = load i32, ptr %4, align 4, !tbaa !9
  %620 = lshr i32 %619, 24
  %621 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %617, ptr noundef @.str.15, i32 noundef %618, i32 noundef %620) #6
  %622 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #6
  %623 = load ptr, ptr %3, align 8, !tbaa !5
  %624 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %623)
  %625 = getelementptr inbounds { i64, i64 }, ptr %45, i32 0, i32 0
  %626 = extractvalue { i64, i64 } %624, 0
  store i64 %626, ptr %625, align 8
  %627 = getelementptr inbounds { i64, i64 }, ptr %45, i32 0, i32 1
  %628 = extractvalue { i64, i64 } %624, 1
  store i64 %628, ptr %627, align 8
  %629 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #6
  %630 = load ptr, ptr %3, align 8, !tbaa !5
  %631 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %630)
  %632 = getelementptr inbounds { i64, i64 }, ptr %46, i32 0, i32 0
  %633 = extractvalue { i64, i64 } %631, 0
  store i64 %633, ptr %632, align 8
  %634 = getelementptr inbounds { i64, i64 }, ptr %46, i32 0, i32 1
  %635 = extractvalue { i64, i64 } %631, 1
  store i64 %635, ptr %634, align 8
  %636 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
  %637 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %622, ptr noundef @.str.16, i64 noundef %629, i64 noundef %636) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  %638 = load ptr, ptr @stderr, align 8, !tbaa !5
  %639 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %638, ptr noundef @.str.9) #6
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %656

640:                                              ; preds = %613
  br label %641

641:                                              ; preds = %640, %477
  br label %642

642:                                              ; preds = %641, %322
  br label %643

643:                                              ; preds = %642, %202
  br label %644

644:                                              ; preds = %643, %173
  br label %645

645:                                              ; preds = %644, %154
  br label %646

646:                                              ; preds = %645, %119
  br label %47, !llvm.loop !34

647:                                              ; preds = %47
  %648 = load ptr, ptr %3, align 8, !tbaa !5
  %649 = load ptr, ptr %648, align 8, !tbaa !11
  %650 = getelementptr i8, ptr %649, i64 -24
  %651 = load i64, ptr %650, align 8
  %652 = getelementptr inbounds i8, ptr %648, i64 %651
  %653 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %652)
  %654 = zext i1 %653 to i64
  %655 = select i1 %653, i32 0, i32 -1
  store i32 %655, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %656

656:                                              ; preds = %647, %614, %611, %475, %320, %200, %171, %152, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %657 = load i32, ptr %2, align 4
  ret i32 %657

658:                                              ; preds = %141, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %659

659:                                              ; preds = %658
  %660 = load ptr, ptr %7, align 8
  %661 = load i32, ptr %8, align 4
  %662 = insertvalue { ptr, i32 } poison, ptr %660, 0
  %663 = insertvalue { ptr, i32 } %662, i32 %661, 1
  resume { ptr, i32 } %663
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4json3mapC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapINS_3mapEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr) #2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4json6binaryINS_3mapEEENS_9bson_wrapIT_EERS3_(ptr noundef nonnull align 8 dereferenceable(80)) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 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)) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapISt10unique_ptrINS_3objESt14default_deleteIS3_EEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr) #2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4json6binaryISt10unique_ptrINS_3objESt14default_deleteIS2_EEEENS_9bson_wrapIT_EERS7_(ptr noundef nonnull align 8 dereferenceable(8)) #0

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) #3 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


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

%struct.anon = type { i8, i8, i8 }
%"class.std::basic_ostream" = type { ptr, %"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.json::map" = type { %"class.json::obj", %"class.P4::ordered_map" }
%"class.json::obj" = type { ptr }
%"class.P4::ordered_map" = type { %"class.std::__cxx11::list", %"class.std::map" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::pair<json::obj *const, std::unique_ptr<json::obj>>, std::allocator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<json::obj *const, std::unique_ptr<json::obj>>, std::allocator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<json::obj *const *, std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>, std::_Select1st<std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>>, P4::ordered_map<json::obj *, std::unique_ptr<json::obj>, json::obj::ptrless>::mapcmp>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<json::obj *const *, std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>, std::_Select1st<std::pair<json::obj *const *const, std::_List_iterator<std::pair<json::obj *const, std::unique_ptr<json::obj>>>>>, P4::ordered_map<json::obj *, std::unique_ptr<json::obj>, json::obj::ptrless>::mapcmp>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_List_iterator" = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"class.std::fpos" = type { i64, %struct.__mbstate_t }
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }

@options = external hidden local_unnamed_addr global %struct.anon, align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z8dump_binRSi(ptr noundef nonnull align 8 dereferenceable(16) %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.json::map", align 8
  %4 = alloca %"struct.std::_List_iterator", align 8
  %5 = alloca %"struct.std::_List_iterator", align 8
  %6 = alloca %"class.std::unique_ptr", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca [2 x i64], align 16
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::fpos", align 8
  %25 = alloca %"class.std::fpos", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %2, i64 noundef 4)
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr %26, i64 %29
  %31 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %30)
  br i1 %31, label %.lr.ph239, label %._crit_edge240

.lr.ph239:                                        ; preds = %1
  %32 = getelementptr inbounds i8, ptr %17, i64 8
  %33 = getelementptr inbounds i8, ptr %3, i64 8
  br label %34

34:                                               ; preds = %.lr.ph239, %439
  %.sroa.0.0236 = phi i64 [ undef, %.lr.ph239 ], [ %.sroa.0.4, %439 ]
  %.sroa.4.0235 = phi i64 [ undef, %.lr.ph239 ], [ %.sroa.4.4, %439 ]
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = lshr i32 %35, 24
  %trunc = trunc nuw i32 %36 to i8
  switch i8 %trunc, label %418 [
    i8 72, label %37
    i8 67, label %73
    i8 80, label %92
    i8 82, label %102
    i8 66, label %120
    i8 68, label %209
    i8 83, label %312
  ]

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #6
  call void @_ZN4json3mapC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %38 = invoke ptr @_ZN4json6binaryINS_3mapEEENS_9bson_wrapIT_EERS3_(ptr noundef nonnull align 8 dereferenceable(80) %3)
          to label %39 unwind label %48

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapINS_3mapEEE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr %38)
          to label %41 unwind label %48

41:                                               ; preds = %39
  %42 = load ptr, ptr %40, align 8, !tbaa !9
  %43 = getelementptr i8, ptr %42, i64 -24
  %44 = load i64, ptr %43, align 8
  %45 = getelementptr inbounds i8, ptr %40, i64 %44
  %46 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %45)
          to label %47 unwind label %48

47:                                               ; preds = %41
  br i1 %46, label %.critedge, label %50

48:                                               ; preds = %41, %39, %37
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %72

50:                                               ; preds = %47
  %51 = load i8, ptr getelementptr inbounds (i8, ptr @options, i64 1), align 1, !tbaa !11, !range !14, !noundef !15
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %.thread, label %53

.thread:                                          ; preds = %50
  call void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  br label %439

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %54 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(72) %33) #6
  store ptr %54, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %55 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %33) #6
  store ptr %55, ptr %5, align 8
  %56 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %56, label %.lr.ph232, label %._crit_edge233

.lr.ph232:                                        ; preds = %53, %67
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoPKNS_3objE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef %58)
          to label %60 unwind label %70

60:                                               ; preds = %.lr.ph232
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @.str)
          to label %62 unwind label %70

62:                                               ; preds = %60
  %63 = getelementptr inbounds i8, ptr %57, i64 8
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(8) %63)
          to label %65 unwind label %70

65:                                               ; preds = %62
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %67 unwind label %70

67:                                               ; preds = %65
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %69 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %69, label %.lr.ph232, label %._crit_edge233

70:                                               ; preds = %65, %62, %60, %.lr.ph232
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %72

._crit_edge233:                                   ; preds = %67, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  br label %439

72:                                               ; preds = %70, %48
  %.pn = phi { ptr, i32 } [ %71, %70 ], [ %49, %48 ]
  call void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  br label %452

73:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %74 = invoke ptr @_ZN4json6binaryISt10unique_ptrINS_3objESt14default_deleteIS2_EEEENS_9bson_wrapIT_EERS7_(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %75 unwind label %84

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapISt10unique_ptrINS_3objESt14default_deleteIS3_EEEE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr %74)
          to label %77 unwind label %84

77:                                               ; preds = %75
  %78 = load ptr, ptr %76, align 8, !tbaa !9
  %79 = getelementptr i8, ptr %78, i64 -24
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds i8, ptr %76, i64 %80
  %82 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %81)
          to label %83 unwind label %84

83:                                               ; preds = %77
  br i1 %82, label %.critedge145, label %86

84:                                               ; preds = %89, %77, %75, %73
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %452

86:                                               ; preds = %83
  %87 = load i8, ptr getelementptr inbounds (i8, ptr @options, i64 2), align 1, !tbaa !25, !range !14, !noundef !15
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %91, label %89

89:                                               ; preds = %86
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %91 unwind label %84

91:                                               ; preds = %86, %89
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %439

92:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %7, i64 noundef 4)
  %94 = load ptr, ptr %93, align 8, !tbaa !9
  %95 = getelementptr i8, ptr %94, i64 -24
  %96 = load i64, ptr %95, align 8
  %97 = getelementptr inbounds i8, ptr %93, i64 %96
  %98 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %97)
  br i1 %98, label %.critedge147, label %99

99:                                               ; preds = %92
  %100 = load i32, ptr %7, align 4, !tbaa !5
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %100)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %439

102:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %8, i64 noundef 4)
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = getelementptr i8, ptr %104, i64 -24
  %106 = load i64, ptr %105, align 8
  %107 = getelementptr inbounds i8, ptr %103, i64 %106
  %108 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %107)
  br i1 %108, label %119, label %109

109:                                              ; preds = %102
  %110 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %9, i64 noundef 4)
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = getelementptr i8, ptr %111, i64 -24
  %113 = load i64, ptr %112, align 8
  %114 = getelementptr inbounds i8, ptr %110, i64 %113
  %115 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %114)
  br i1 %115, label %119, label %.critedge149

.critedge149:                                     ; preds = %109
  %116 = load i32, ptr %8, align 4, !tbaa !5
  %117 = load i32, ptr %9, align 4, !tbaa !5
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %116, i32 noundef %117)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %439

119:                                              ; preds = %109, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %.loopexit

120:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  store i64 0, ptr %10, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  %121 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %10, i64 noundef 8)
  %122 = load ptr, ptr %121, align 8, !tbaa !9
  %123 = getelementptr i8, ptr %122, i64 -24
  %124 = load i64, ptr %123, align 8
  %125 = getelementptr inbounds i8, ptr %121, i64 %124
  %126 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %125)
  br i1 %126, label %.thread163, label %127

127:                                              ; preds = %120
  %128 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %12, i64 noundef 4)
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = getelementptr i8, ptr %129, i64 -24
  %131 = load i64, ptr %130, align 8
  %132 = getelementptr inbounds i8, ptr %128, i64 %131
  %133 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %132)
  br i1 %133, label %.thread163, label %134

134:                                              ; preds = %127
  %135 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %11, i64 noundef 4)
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = getelementptr i8, ptr %136, i64 -24
  %138 = load i64, ptr %137, align 8
  %139 = getelementptr inbounds i8, ptr %135, i64 %138
  %140 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %139)
  br i1 %140, label %.thread163, label %141

141:                                              ; preds = %134
  %142 = load i64, ptr %10, align 8, !tbaa !26
  %143 = load i32, ptr %12, align 4, !tbaa !5
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %142, i32 noundef %143, i32 noundef %144)
  %146 = load i32, ptr %11, align 4, !tbaa !5
  %147 = zext i32 %146 to i64
  %148 = load i32, ptr %12, align 4, !tbaa !5
  %149 = zext i32 %148 to i64
  %150 = mul nuw i64 %149, %147
  %151 = and i64 %150, 31
  %.not139 = icmp eq i64 %151, 0
  br i1 %.not139, label %154, label %152

152:                                              ; preds = %141
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %.pre256 = load i32, ptr %11, align 4, !tbaa !5
  %.pre257 = load i32, ptr %12, align 4, !tbaa !5
  %.pre262 = zext i32 %.pre256 to i64
  %.pre263 = zext i32 %.pre257 to i64
  %.pre265 = mul nuw i64 %.pre263, %.pre262
  br label %154

154:                                              ; preds = %152, %141
  %.pre-phi266 = phi i64 [ %.pre265, %152 ], [ %150, %141 ]
  %155 = lshr i64 %.pre-phi266, 5
  %156 = trunc i64 %155 to i32
  store i32 %156, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %.not141221.not = icmp eq i32 %156, 0
  br i1 %.not141221.not, label %.thread167, label %.lr.ph227.preheader

.lr.ph227.preheader:                              ; preds = %154
  %157 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %13, i64 noundef 4)
  %158 = load ptr, ptr %157, align 8, !tbaa !9
  %159 = getelementptr i8, ptr %158, i64 -24
  %160 = load i64, ptr %159, align 8
  %161 = getelementptr inbounds i8, ptr %157, i64 %160
  %162 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %161)
  br i1 %162, label %.loopexit246, label %163

163:                                              ; preds = %.lr.ph227.preheader
  %.pre259 = load i8, ptr @options, align 1, !tbaa !28, !range !14
  %164 = trunc nuw i8 %.pre259 to i1
  br i1 %164, label %167, label %165

165:                                              ; preds = %163
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %167

167:                                              ; preds = %163, %165
  %.2102.peel = phi i32 [ 0, %163 ], [ 1, %165 ]
  %168 = load i32, ptr %13, align 4
  %169 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %168)
  %170 = load i32, ptr %11, align 4, !tbaa !5
  %.not141.peel = icmp ugt i32 %170, 1
  br i1 %.not141.peel, label %.lr.ph227, label %.thread167

.lr.ph227:                                        ; preds = %167, %201
  %.099225 = phi i32 [ %202, %201 ], [ 1, %167 ]
  %.0100224 = phi i32 [ %.3103, %201 ], [ %.2102.peel, %167 ]
  %.0104223 = phi i32 [ %.1105, %201 ], [ 0, %167 ]
  %.1107222 = phi i32 [ %.2108, %201 ], [ %168, %167 ]
  %171 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %13, i64 noundef 4)
  %172 = load ptr, ptr %171, align 8, !tbaa !9
  %173 = getelementptr i8, ptr %172, i64 -24
  %174 = load i64, ptr %173, align 8
  %175 = getelementptr inbounds i8, ptr %171, i64 %174
  %176 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %175)
  br i1 %176, label %.loopexit246, label %177

177:                                              ; preds = %.lr.ph227
  %178 = load i32, ptr %13, align 4
  %179 = icmp eq i32 %178, %.1107222
  br i1 %179, label %180, label %182

180:                                              ; preds = %177
  %181 = add nsw i32 %.0104223, 1
  br label %201

182:                                              ; preds = %177
  %183 = icmp sgt i32 %.0104223, 0
  br i1 %183, label %184, label %189

184:                                              ; preds = %182
  %185 = add nuw nsw i32 %.0104223, 1
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %185)
  %187 = add nsw i32 %.0100224, 1
  %188 = icmp sgt i32 %.0100224, 7
  %spec.store.select = select i1 %188, i32 0, i32 %187
  br label %189

189:                                              ; preds = %184, %182
  %.1101 = phi i32 [ %spec.store.select, %184 ], [ %.0100224, %182 ]
  %190 = load i8, ptr @options, align 1, !tbaa !28, !range !14, !noundef !15
  %191 = trunc nuw i8 %190 to i1
  br i1 %191, label %198, label %192

192:                                              ; preds = %189
  %193 = add nsw i32 %.1101, 1
  %194 = and i32 %.1101, 7
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %196, label %198

196:                                              ; preds = %192
  %197 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %198

198:                                              ; preds = %196, %192, %189
  %.2102 = phi i32 [ %.1101, %189 ], [ %193, %196 ], [ %193, %192 ]
  %199 = load i32, ptr %13, align 4, !tbaa !5
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %199)
  br label %201

201:                                              ; preds = %198, %180
  %.2108 = phi i32 [ %.1107222, %180 ], [ %199, %198 ]
  %.1105 = phi i32 [ %181, %180 ], [ 0, %198 ]
  %.3103 = phi i32 [ %.0100224, %180 ], [ %.2102, %198 ]
  %202 = add nuw i32 %.099225, 1
  %203 = load i32, ptr %11, align 4, !tbaa !5
  %.not141 = icmp ult i32 %202, %203
  br i1 %.not141, label %.lr.ph227, label %._crit_edge228, !llvm.loop !29

._crit_edge228:                                   ; preds = %201
  %204 = icmp sgt i32 %.1105, 0
  br i1 %204, label %205, label %.thread167

205:                                              ; preds = %._crit_edge228
  %206 = add nuw nsw i32 %.1105, 1
  %207 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %206)
  br label %.thread167

.thread167:                                       ; preds = %167, %154, %._crit_edge228, %205
  %208 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %439

.thread163:                                       ; preds = %120, %127, %134
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %.loopexit

.loopexit246:                                     ; preds = %.lr.ph227.preheader, %.lr.ph227
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %.loopexit

209:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  store i64 0, ptr %14, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store i32 0, ptr %16, align 4, !tbaa !5
  %210 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %14, i64 noundef 8)
  %211 = load ptr, ptr %210, align 8, !tbaa !9
  %212 = getelementptr i8, ptr %211, i64 -24
  %213 = load i64, ptr %212, align 8
  %214 = getelementptr inbounds i8, ptr %210, i64 %213
  %215 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %214)
  br i1 %215, label %.thread173, label %216

216:                                              ; preds = %209
  %217 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %16, i64 noundef 4)
  %218 = load ptr, ptr %217, align 8, !tbaa !9
  %219 = getelementptr i8, ptr %218, i64 -24
  %220 = load i64, ptr %219, align 8
  %221 = getelementptr inbounds i8, ptr %217, i64 %220
  %222 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %221)
  br i1 %222, label %.thread173, label %223

223:                                              ; preds = %216
  %224 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %15, i64 noundef 4)
  %225 = load ptr, ptr %224, align 8, !tbaa !9
  %226 = getelementptr i8, ptr %225, i64 -24
  %227 = load i64, ptr %226, align 8
  %228 = getelementptr inbounds i8, ptr %224, i64 %227
  %229 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %228)
  br i1 %229, label %.thread173, label %230

230:                                              ; preds = %223
  %231 = load i64, ptr %14, align 8, !tbaa !26
  %232 = load i32, ptr %16, align 4, !tbaa !5
  %233 = load i32, ptr %15, align 4, !tbaa !5
  %234 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef %231, i32 noundef %232, i32 noundef %233)
  %235 = load i32, ptr %15, align 4, !tbaa !5
  %236 = zext i32 %235 to i64
  %237 = load i32, ptr %16, align 4, !tbaa !5
  %238 = zext i32 %237 to i64
  %239 = mul nuw i64 %238, %236
  %240 = and i64 %239, 63
  %.not136 = icmp eq i64 %240, 0
  br i1 %.not136, label %243, label %241

241:                                              ; preds = %230
  %242 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %.pre252 = load i32, ptr %16, align 4, !tbaa !5
  %.pre253 = load i32, ptr %15, align 4, !tbaa !5
  br label %243

243:                                              ; preds = %241, %230
  %244 = phi i32 [ %.pre253, %241 ], [ %235, %230 ]
  %245 = phi i32 [ %.pre252, %241 ], [ %237, %230 ]
  %246 = lshr i32 %245, 3
  store i32 %246, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  %247 = mul i32 %246, %244
  %.not138208.not = icmp eq i32 %247, 0
  br i1 %.not138208.not, label %._crit_edge216.thread, label %.lr.ph215

.lr.ph215:                                        ; preds = %243, %279
  %.091213 = phi i32 [ %280, %279 ], [ 0, %243 ]
  %.092212 = phi i32 [ %.395, %279 ], [ 0, %243 ]
  %.097211 = phi i32 [ %.198, %279 ], [ 0, %243 ]
  %.sroa.0.1210 = phi i64 [ %.sroa.0.2, %279 ], [ %.sroa.0.0236, %243 ]
  %.sroa.4.1209 = phi i64 [ %.sroa.4.2, %279 ], [ %.sroa.4.0235, %243 ]
  %248 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %17, i64 noundef 16)
  %249 = load ptr, ptr %248, align 8, !tbaa !9
  %250 = getelementptr i8, ptr %249, i64 -24
  %251 = load i64, ptr %250, align 8
  %252 = getelementptr inbounds i8, ptr %248, i64 %251
  %253 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %252)
  br i1 %253, label %.thread179, label %254

254:                                              ; preds = %.lr.ph215
  %.not137 = icmp ne i32 %.091213, 0
  %255 = load i64, ptr %17, align 16
  %256 = icmp eq i64 %255, %.sroa.0.1210
  %or.cond152 = select i1 %.not137, i1 %256, i1 false
  %257 = load i64, ptr %32, align 8
  %258 = icmp eq i64 %257, %.sroa.4.1209
  %or.cond155 = select i1 %or.cond152, i1 %258, i1 false
  br i1 %or.cond155, label %259, label %261

259:                                              ; preds = %254
  %260 = add nsw i32 %.097211, 1
  br label %279

261:                                              ; preds = %254
  %262 = icmp sgt i32 %.097211, 0
  br i1 %262, label %263, label %266

263:                                              ; preds = %261
  %264 = add nuw nsw i32 %.097211, 1
  %265 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %264)
  br label %266

266:                                              ; preds = %263, %261
  %.193 = phi i32 [ 0, %263 ], [ %.092212, %261 ]
  %267 = load i8, ptr @options, align 1, !tbaa !28, !range !14, !noundef !15
  %268 = trunc nuw i8 %267 to i1
  br i1 %268, label %275, label %269

269:                                              ; preds = %266
  %270 = add nsw i32 %.193, 1
  %271 = and i32 %.193, 1
  %272 = icmp eq i32 %271, 0
  br i1 %272, label %273, label %275

273:                                              ; preds = %269
  %274 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %275

275:                                              ; preds = %273, %269, %266
  %.294 = phi i32 [ %.193, %266 ], [ %270, %273 ], [ %270, %269 ]
  %276 = load i64, ptr %32, align 8, !tbaa !26
  %277 = load i64, ptr %17, align 16, !tbaa !26
  %278 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i64 noundef %276, i64 noundef %277)
  br label %279

279:                                              ; preds = %275, %259
  %.sroa.4.2 = phi i64 [ %.sroa.4.1209, %259 ], [ %276, %275 ]
  %.sroa.0.2 = phi i64 [ %.sroa.0.1210, %259 ], [ %277, %275 ]
  %.198 = phi i32 [ %260, %259 ], [ 0, %275 ]
  %.395 = phi i32 [ %.092212, %259 ], [ %.294, %275 ]
  %280 = add i32 %.091213, 16
  %281 = load i32, ptr %15, align 4, !tbaa !5
  %282 = load i32, ptr %16, align 4, !tbaa !5
  %283 = mul i32 %282, %281
  %.not138 = icmp ult i32 %280, %283
  br i1 %.not138, label %.lr.ph215, label %._crit_edge216, !llvm.loop !32

._crit_edge216:                                   ; preds = %279
  %284 = icmp sgt i32 %.198, 0
  br i1 %284, label %285, label %._crit_edge216.thread

285:                                              ; preds = %._crit_edge216
  %286 = add nuw nsw i32 %.198, 1
  %287 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %286)
  %.pre254 = load i32, ptr %15, align 4, !tbaa !5
  %.pre255 = load i32, ptr %16, align 4, !tbaa !5
  br label %._crit_edge216.thread

._crit_edge216.thread:                            ; preds = %243, %285, %._crit_edge216
  %.sroa.0.1.lcssa273 = phi i64 [ %.sroa.0.2, %285 ], [ %.sroa.0.2, %._crit_edge216 ], [ %.sroa.0.0236, %243 ]
  %.sroa.4.1.lcssa272 = phi i64 [ %.sroa.4.2, %285 ], [ %.sroa.4.2, %._crit_edge216 ], [ %.sroa.4.0235, %243 ]
  %288 = phi i32 [ %.pre255, %285 ], [ %282, %._crit_edge216 ], [ %246, %243 ]
  %289 = phi i32 [ %.pre254, %285 ], [ %281, %._crit_edge216 ], [ %244, %243 ]
  %.496 = phi i32 [ 0, %285 ], [ %.395, %._crit_edge216 ], [ 0, %243 ]
  %290 = mul i32 %288, %289
  %291 = and i32 %290, 15
  %292 = icmp eq i32 %291, 8
  br i1 %292, label %293, label %310

293:                                              ; preds = %._crit_edge216.thread
  %294 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %17, i64 noundef 8)
  %295 = load ptr, ptr %294, align 8, !tbaa !9
  %296 = getelementptr i8, ptr %295, i64 -24
  %297 = load i64, ptr %296, align 8
  %298 = getelementptr inbounds i8, ptr %294, i64 %297
  %299 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %298)
  br i1 %299, label %.thread179, label %300

300:                                              ; preds = %293
  %301 = load i8, ptr @options, align 1, !tbaa !28, !range !14, !noundef !15
  %302 = trunc nuw i8 %301 to i1
  %303 = and i32 %.496, 1
  %304 = icmp ne i32 %303, 0
  %or.cond158.not = select i1 %302, i1 true, i1 %304
  br i1 %or.cond158.not, label %307, label %305

305:                                              ; preds = %300
  %306 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %307

307:                                              ; preds = %305, %300
  %308 = load i64, ptr %17, align 16, !tbaa !26
  %309 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i64 noundef %308)
  br label %310

.thread173:                                       ; preds = %209, %216, %223
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %.loopexit

.thread179:                                       ; preds = %293, %.lr.ph215
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %.loopexit

310:                                              ; preds = %._crit_edge216.thread, %307
  %311 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %439

312:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  store i64 0, ptr %18, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  store i64 0, ptr %19, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #6
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  %313 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %18, i64 noundef 8)
  %314 = load ptr, ptr %313, align 8, !tbaa !9
  %315 = getelementptr i8, ptr %314, i64 -24
  %316 = load i64, ptr %315, align 8
  %317 = getelementptr inbounds i8, ptr %313, i64 %316
  %318 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %317)
  br i1 %318, label %.thread185, label %319

319:                                              ; preds = %312
  %320 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %20, i64 noundef 4)
  %321 = load ptr, ptr %320, align 8, !tbaa !9
  %322 = getelementptr i8, ptr %321, i64 -24
  %323 = load i64, ptr %322, align 8
  %324 = getelementptr inbounds i8, ptr %320, i64 %323
  %325 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %324)
  br i1 %325, label %.thread185, label %326

326:                                              ; preds = %319
  %327 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %19, i64 noundef 8)
  %328 = load ptr, ptr %327, align 8, !tbaa !9
  %329 = getelementptr i8, ptr %328, i64 -24
  %330 = load i64, ptr %329, align 8
  %331 = getelementptr inbounds i8, ptr %327, i64 %330
  %332 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %331)
  br i1 %332, label %.thread185, label %333

333:                                              ; preds = %326
  %334 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %21, i64 noundef 4)
  %335 = load ptr, ptr %334, align 8, !tbaa !9
  %336 = getelementptr i8, ptr %335, i64 -24
  %337 = load i64, ptr %336, align 8
  %338 = getelementptr inbounds i8, ptr %334, i64 %337
  %339 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %338)
  br i1 %339, label %.thread185, label %340

340:                                              ; preds = %333
  %341 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %22, i64 noundef 4)
  %342 = load ptr, ptr %341, align 8, !tbaa !9
  %343 = getelementptr i8, ptr %342, i64 -24
  %344 = load i64, ptr %343, align 8
  %345 = getelementptr inbounds i8, ptr %341, i64 %344
  %346 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %345)
  br i1 %346, label %.thread185, label %347

347:                                              ; preds = %340
  %348 = load i64, ptr %18, align 8, !tbaa !26
  %349 = load i32, ptr %20, align 4, !tbaa !5
  %350 = load i64, ptr %19, align 8, !tbaa !26
  %351 = load i32, ptr %21, align 4, !tbaa !5
  %352 = load i32, ptr %22, align 4, !tbaa !5
  %353 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i64 noundef %348, i32 noundef %349, i64 noundef %350, i32 noundef %351, i32 noundef %352)
  %354 = load i32, ptr %21, align 4, !tbaa !5
  %355 = and i32 %354, 31
  %.not = icmp eq i32 %355, 0
  br i1 %.not, label %358, label %356

356:                                              ; preds = %347
  %357 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %.pre = load i32, ptr %21, align 4, !tbaa !5
  br label %358

358:                                              ; preds = %356, %347
  %359 = phi i32 [ %.pre, %356 ], [ %354, %347 ]
  %360 = load i32, ptr %22, align 4, !tbaa !5
  %361 = zext i32 %360 to i64
  %362 = zext i32 %359 to i64
  %363 = mul nuw i64 %362, %361
  %364 = lshr i64 %363, 5
  %365 = trunc i64 %364 to i32
  store i32 %365, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  %.not135202.not = icmp eq i32 %365, 0
  br i1 %.not135202.not, label %.thread189, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %358
  %366 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %23, i64 noundef 4)
  %367 = load ptr, ptr %366, align 8, !tbaa !9
  %368 = getelementptr i8, ptr %367, i64 -24
  %369 = load i64, ptr %368, align 8
  %370 = getelementptr inbounds i8, ptr %366, i64 %369
  %371 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %370)
  br i1 %371, label %.loopexit243, label %372

372:                                              ; preds = %.lr.ph.preheader
  %.pre249 = load i8, ptr @options, align 1, !tbaa !28, !range !14
  %373 = trunc nuw i8 %.pre249 to i1
  br i1 %373, label %376, label %374

374:                                              ; preds = %372
  %375 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %376

376:                                              ; preds = %372, %374
  %.2.peel = phi i32 [ 0, %372 ], [ 1, %374 ]
  %377 = load i32, ptr %23, align 4
  %378 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %377)
  %379 = load i32, ptr %22, align 4, !tbaa !5
  %.not135.peel = icmp ugt i32 %379, 1
  br i1 %.not135.peel, label %.lr.ph, label %.thread189

.lr.ph:                                           ; preds = %376, %410
  %.0206 = phi i32 [ %411, %410 ], [ 1, %376 ]
  %.084205 = phi i32 [ %.3, %410 ], [ %.2.peel, %376 ]
  %.085204 = phi i32 [ %.186, %410 ], [ 0, %376 ]
  %.188203 = phi i32 [ %.289, %410 ], [ %377, %376 ]
  %380 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %23, i64 noundef 4)
  %381 = load ptr, ptr %380, align 8, !tbaa !9
  %382 = getelementptr i8, ptr %381, i64 -24
  %383 = load i64, ptr %382, align 8
  %384 = getelementptr inbounds i8, ptr %380, i64 %383
  %385 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %384)
  br i1 %385, label %.loopexit243, label %386

386:                                              ; preds = %.lr.ph
  %387 = load i32, ptr %23, align 4
  %388 = icmp eq i32 %387, %.188203
  br i1 %388, label %389, label %391

389:                                              ; preds = %386
  %390 = add nsw i32 %.085204, 1
  br label %410

391:                                              ; preds = %386
  %392 = icmp sgt i32 %.085204, 0
  br i1 %392, label %393, label %398

393:                                              ; preds = %391
  %394 = add nuw nsw i32 %.085204, 1
  %395 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %394)
  %396 = add nsw i32 %.084205, 1
  %397 = icmp sgt i32 %.084205, 7
  %spec.store.select10 = select i1 %397, i32 0, i32 %396
  br label %398

398:                                              ; preds = %393, %391
  %.1 = phi i32 [ %spec.store.select10, %393 ], [ %.084205, %391 ]
  %399 = load i8, ptr @options, align 1, !tbaa !28, !range !14, !noundef !15
  %400 = trunc nuw i8 %399 to i1
  br i1 %400, label %407, label %401

401:                                              ; preds = %398
  %402 = add nsw i32 %.1, 1
  %403 = and i32 %.1, 7
  %404 = icmp eq i32 %403, 0
  br i1 %404, label %405, label %407

405:                                              ; preds = %401
  %406 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %407

407:                                              ; preds = %405, %401, %398
  %.2 = phi i32 [ %.1, %398 ], [ %402, %405 ], [ %402, %401 ]
  %408 = load i32, ptr %23, align 4, !tbaa !5
  %409 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %408)
  br label %410

410:                                              ; preds = %407, %389
  %.289 = phi i32 [ %.188203, %389 ], [ %408, %407 ]
  %.186 = phi i32 [ %390, %389 ], [ 0, %407 ]
  %.3 = phi i32 [ %.084205, %389 ], [ %.2, %407 ]
  %411 = add nuw i32 %.0206, 1
  %412 = load i32, ptr %22, align 4, !tbaa !5
  %.not135 = icmp ult i32 %411, %412
  br i1 %.not135, label %.lr.ph, label %._crit_edge, !llvm.loop !33

._crit_edge:                                      ; preds = %410
  %413 = icmp sgt i32 %.186, 0
  br i1 %413, label %414, label %.thread189

414:                                              ; preds = %._crit_edge
  %415 = add nuw nsw i32 %.186, 1
  %416 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %415)
  br label %.thread189

.thread189:                                       ; preds = %376, %358, %._crit_edge, %414
  %417 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %439

.thread185:                                       ; preds = %312, %319, %326, %333, %340
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %.loopexit

.loopexit243:                                     ; preds = %.lr.ph.preheader, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %.loopexit

418:                                              ; preds = %34
  %419 = load ptr, ptr @stderr, align 8, !tbaa !34
  %420 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %419, ptr noundef nonnull @.str.9) #7
  %421 = load ptr, ptr @stderr, align 8, !tbaa !34
  %422 = load i32, ptr %2, align 4, !tbaa !5
  %423 = lshr i32 %422, 24
  %424 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %421, ptr noundef nonnull @.str.15, i32 noundef %422, i32 noundef %423) #7
  %425 = load ptr, ptr @stderr, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  %426 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %427 = extractvalue { i64, i64 } %426, 0
  store i64 %427, ptr %24, align 8
  %428 = getelementptr inbounds i8, ptr %24, i64 8
  %429 = extractvalue { i64, i64 } %426, 1
  store i64 %429, ptr %428, align 8
  %430 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #6
  %431 = call { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %432 = extractvalue { i64, i64 } %431, 0
  store i64 %432, ptr %25, align 8
  %433 = getelementptr inbounds i8, ptr %25, i64 8
  %434 = extractvalue { i64, i64 } %431, 1
  store i64 %434, ptr %433, align 8
  %435 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  %436 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %425, ptr noundef nonnull @.str.16, i64 noundef %430, i64 noundef %435) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  %437 = load ptr, ptr @stderr, align 8, !tbaa !34
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef nonnull @.str.9) #7
  br label %.loopexit

439:                                              ; preds = %._crit_edge233, %.thread189, %310, %.thread167, %91, %.thread, %99, %.critedge149
  %.sroa.4.4 = phi i64 [ %.sroa.4.0235, %._crit_edge233 ], [ %.sroa.4.0235, %91 ], [ %.sroa.4.0235, %99 ], [ %.sroa.4.1.lcssa272, %310 ], [ %.sroa.4.0235, %.critedge149 ], [ %.sroa.4.0235, %.thread ], [ %.sroa.4.0235, %.thread167 ], [ %.sroa.4.0235, %.thread189 ]
  %.sroa.0.4 = phi i64 [ %.sroa.0.0236, %._crit_edge233 ], [ %.sroa.0.0236, %91 ], [ %.sroa.0.0236, %99 ], [ %.sroa.0.1.lcssa273, %310 ], [ %.sroa.0.0236, %.critedge149 ], [ %.sroa.0.0236, %.thread ], [ %.sroa.0.0236, %.thread167 ], [ %.sroa.0.0236, %.thread189 ]
  %440 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %2, i64 noundef 4)
  %441 = load ptr, ptr %440, align 8, !tbaa !9
  %442 = getelementptr i8, ptr %441, i64 -24
  %443 = load i64, ptr %442, align 8
  %444 = getelementptr inbounds i8, ptr %440, i64 %443
  %445 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %444)
  br i1 %445, label %34, label %._crit_edge240, !llvm.loop !35

._crit_edge240:                                   ; preds = %439, %1
  %446 = load ptr, ptr %0, align 8, !tbaa !9
  %447 = getelementptr i8, ptr %446, i64 -24
  %448 = load i64, ptr %447, align 8
  %449 = getelementptr inbounds i8, ptr %0, i64 %448
  %450 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %449)
  %not. = xor i1 %450, true
  %451 = sext i1 %not. to i32
  br label %.loopexit

.critedge:                                        ; preds = %47
  call void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  br label %.loopexit

.critedge145:                                     ; preds = %83
  call void @_ZNSt10unique_ptrIN4json3objESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %.loopexit

.critedge147:                                     ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit243, %.thread185, %.thread179, %.thread173, %.loopexit246, %.thread163, %119, %.critedge147, %.critedge145, %.critedge, %._crit_edge240, %418
  %.13 = phi i32 [ -1, %119 ], [ -1, %.loopexit246 ], [ -1, %.loopexit243 ], [ -1, %418 ], [ %451, %._crit_edge240 ], [ -1, %.critedge ], [ -1, %.critedge145 ], [ -1, %.critedge147 ], [ -1, %.thread163 ], [ -1, %.thread173 ], [ -1, %.thread179 ], [ -1, %.thread185 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  ret i32 %.13

452:                                              ; preds = %84, %72
  %.pn.pn = phi { ptr, i32 } [ %.pn, %72 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn.pn
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4json3mapC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapINS_3mapEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4json6binaryINS_3mapEEENS_9bson_wrapIT_EERS3_(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

; 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 #0 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)) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4json3mapD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN4jsonrsERSiNS_9bson_wrapISt10unique_ptrINS_3objESt14default_deleteIS3_EEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4json6binaryISt10unique_ptrINS_3objESt14default_deleteIS2_EEEENS_9bson_wrapIT_EERS7_(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

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

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

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

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { cold nounwind }

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass