; LLVM IR from chensoft/libsocket :: lib/libchen/src/data (json)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.chen::iterator::proxy" = type { i8, ptr }
%"class.std::allocator.5" = type { i8 }

@_ZTIN4chen4json5errorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.13 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [45 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4chen3str6formatIJPKcmEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_DpT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef, i64 noundef) #3 align 2

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4chen4json6decodeERdRKNS_8iterator7erasureISt18input_iterator_tagKhS5_PS5_lEERS7_SA_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.chen::iterator::proxy", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::allocator.5", align 1
  %14 = alloca %"class.chen::iterator::proxy", align 8
  %15 = alloca %"class.chen::iterator::proxy", align 8
  %16 = alloca %"class.chen::iterator::proxy", align 8
  %17 = alloca %"class.chen::iterator::proxy", align 8
  %18 = alloca %"class.chen::iterator::proxy", align 8
  %19 = alloca %"class.chen::iterator::proxy", align 8
  %20 = alloca %"class.chen::iterator::proxy", align 8
  %21 = alloca %"class.chen::iterator::proxy", align 8
  %22 = alloca %"class.chen::iterator::proxy", align 8
  %23 = alloca double, align 8
  %24 = alloca i64, align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca i1, align 1
  %27 = alloca i64, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca i1, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEeqERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31)
  br i1 %32, label %33, label %37

33:                                               ; preds = %4
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36)
  br label %37

37:                                               ; preds = %33, %4
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef 0)
  %39 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %40 unwind label %64

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEmcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 1, i8 noundef signext %39, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %41 unwind label %68

41:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %42 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 0)
          to label %43 unwind label %73

43:                                               ; preds = %41
  %44 = load i8, ptr %42, align 1, !tbaa !9
  %45 = sext i8 %44 to i32
  %46 = icmp eq i32 %45, 45
  br i1 %46, label %47, label %118

47:                                               ; preds = %43
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEeqERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %51 unwind label %73

51:                                               ; preds = %47
  br i1 %50, label %59, label %52

52:                                               ; preds = %51
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %55 unwind label %73

55:                                               ; preds = %52
  %56 = zext i8 %54 to i32
  %57 = call i32 @isdigit(i32 noundef %56) #7
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %77, label %59

59:                                               ; preds = %55, %51
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(8) %62)
          to label %63 unwind label %73

63:                                               ; preds = %59
  br label %117

64:                                               ; preds = %37
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %11, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %12, align 4
  br label %72

68:                                               ; preds = %40
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %11, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %72

72:                                               ; preds = %68, %64
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  br label %486

73:                                               ; preds = %402, %376, %371, %364, %323, %318, %299, %293, %287, %282, %270, %264, %259, %233, %228, %222, %190, %185, %173, %168, %143, %138, %131, %124, %118, %101, %94, %89, %77, %59, %52, %47, %41
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %11, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %12, align 4
  br label %485

77:                                               ; preds = %55
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
          to label %80 unwind label %73

80:                                               ; preds = %77
  %81 = zext i8 %79 to i32
  %82 = icmp eq i32 %81, 48
  br i1 %82, label %83, label %116

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %84, i32 noundef 0)
          to label %85 unwind label %106

85:                                               ; preds = %83
  %86 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %87 unwind label %110

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %86)
          to label %89 unwind label %110

89:                                               ; preds = %87
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %91)
          to label %93 unwind label %73

93:                                               ; preds = %89
  br i1 %92, label %94, label %115

94:                                               ; preds = %93
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %95)
          to label %97 unwind label %73

97:                                               ; preds = %94
  %98 = zext i8 %96 to i32
  %99 = call i32 @isdigit(i32 noundef %98) #7
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %115

101:                                              ; preds = %97
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %104)
          to label %105 unwind label %73

105:                                              ; preds = %101
  br label %115

106:                                              ; preds = %83
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %11, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %12, align 4
  br label %114

110:                                              ; preds = %87, %85
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br label %114

114:                                              ; preds = %110, %106
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %485

115:                                              ; preds = %105, %97, %93
  br label %116

116:                                              ; preds = %115, %80
  br label %117

117:                                              ; preds = %116, %63
  br label %137

118:                                              ; preds = %43
  %119 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 0)
          to label %120 unwind label %73

120:                                              ; preds = %118
  %121 = load i8, ptr %119, align 1, !tbaa !9
  %122 = sext i8 %121 to i32
  %123 = icmp eq i32 %122, 48
  br i1 %123, label %124, label %136

124:                                              ; preds = %120
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %125)
          to label %127 unwind label %73

127:                                              ; preds = %124
  %128 = zext i8 %126 to i32
  %129 = call i32 @isdigit(i32 noundef %128) #7
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %136

131:                                              ; preds = %127
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(8) %134)
          to label %135 unwind label %73

135:                                              ; preds = %131
  br label %136

136:                                              ; preds = %135, %127, %120
  br label %137

137:                                              ; preds = %136, %117
  br label %138

138:                                              ; preds = %158, %137
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull align 8 dereferenceable(8) %140)
          to label %142 unwind label %73

142:                                              ; preds = %138
  br i1 %141, label %143, label %150

143:                                              ; preds = %142
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %144)
          to label %146 unwind label %73

146:                                              ; preds = %143
  %147 = zext i8 %145 to i32
  %148 = call i32 @isdigit(i32 noundef %147) #7
  %149 = icmp ne i32 %148, 0
  br label %150

150:                                              ; preds = %146, %142
  %151 = phi i1 [ false, %142 ], [ %149, %146 ]
  br i1 %151, label %152, label %168

152:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %153, i32 noundef 0)
          to label %154 unwind label %159

154:                                              ; preds = %152
  %155 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %156 unwind label %163

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %155)
          to label %158 unwind label %163

158:                                              ; preds = %156
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %138, !llvm.loop !10

159:                                              ; preds = %152
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %11, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %12, align 4
  br label %167

163:                                              ; preds = %156, %154
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %11, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %167

167:                                              ; preds = %163, %159
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %485

168:                                              ; preds = %150
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %169, ptr noundef nonnull align 8 dereferenceable(8) %170)
          to label %172 unwind label %73

172:                                              ; preds = %168
  br i1 %171, label %173, label %259

173:                                              ; preds = %172
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %174)
          to label %176 unwind label %73

176:                                              ; preds = %173
  %177 = zext i8 %175 to i32
  %178 = icmp eq i32 %177, 46
  br i1 %178, label %179, label %259

179:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %180, i32 noundef 0)
          to label %181 unwind label %204

181:                                              ; preds = %179
  %182 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %183 unwind label %208

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %182)
          to label %185 unwind label %208

185:                                              ; preds = %183
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef nonnull align 8 dereferenceable(8) %187)
          to label %189 unwind label %73

189:                                              ; preds = %185
  br i1 %188, label %190, label %222

190:                                              ; preds = %189
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %191)
          to label %193 unwind label %73

193:                                              ; preds = %190
  %194 = zext i8 %192 to i32
  %195 = call i32 @isdigit(i32 noundef %194) #7
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %222

197:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %198, i32 noundef 0)
          to label %199 unwind label %213

199:                                              ; preds = %197
  %200 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %201 unwind label %217

201:                                              ; preds = %199
  %202 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %200)
          to label %203 unwind label %217

203:                                              ; preds = %201
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %227

204:                                              ; preds = %179
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %11, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %12, align 4
  br label %212

208:                                              ; preds = %183, %181
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %11, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %212

212:                                              ; preds = %208, %204
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %485

213:                                              ; preds = %197
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %11, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %12, align 4
  br label %221

217:                                              ; preds = %201, %199
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %11, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %221

221:                                              ; preds = %217, %213
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %485

222:                                              ; preds = %193, %189
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef nonnull align 8 dereferenceable(8) %225)
          to label %226 unwind label %73

226:                                              ; preds = %222
  br label %227

227:                                              ; preds = %226, %203
  br label %228

228:                                              ; preds = %248, %227
  %229 = load ptr, ptr %7, align 8, !tbaa !5
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull align 8 dereferenceable(8) %230)
          to label %232 unwind label %73

232:                                              ; preds = %228
  br i1 %231, label %233, label %240

233:                                              ; preds = %232
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %234)
          to label %236 unwind label %73

236:                                              ; preds = %233
  %237 = zext i8 %235 to i32
  %238 = call i32 @isdigit(i32 noundef %237) #7
  %239 = icmp ne i32 %238, 0
  br label %240

240:                                              ; preds = %236, %232
  %241 = phi i1 [ false, %232 ], [ %239, %236 ]
  br i1 %241, label %242, label %258

242:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %243, i32 noundef 0)
          to label %244 unwind label %249

244:                                              ; preds = %242
  %245 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %246 unwind label %253

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %245)
          to label %248 unwind label %253

248:                                              ; preds = %246
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %228, !llvm.loop !12

249:                                              ; preds = %242
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %11, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %12, align 4
  br label %257

253:                                              ; preds = %246, %244
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %11, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  br label %257

257:                                              ; preds = %253, %249
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %485

258:                                              ; preds = %240
  br label %259

259:                                              ; preds = %258, %176, %172
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef nonnull align 8 dereferenceable(8) %261)
          to label %263 unwind label %73

263:                                              ; preds = %259
  br i1 %262, label %264, label %408

264:                                              ; preds = %263
  %265 = load ptr, ptr %7, align 8, !tbaa !5
  %266 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %265)
          to label %267 unwind label %73

267:                                              ; preds = %264
  %268 = zext i8 %266 to i32
  %269 = icmp eq i32 %268, 101
  br i1 %269, label %276, label %270

270:                                              ; preds = %267
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  %272 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %271)
          to label %273 unwind label %73

273:                                              ; preds = %270
  %274 = zext i8 %272 to i32
  %275 = icmp eq i32 %274, 69
  br i1 %275, label %276, label %408

276:                                              ; preds = %273, %267
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %19, ptr noundef nonnull align 8 dereferenceable(8) %277, i32 noundef 0)
          to label %278 unwind label %337

278:                                              ; preds = %276
  %279 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %280 unwind label %341

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %279)
          to label %282 unwind label %341

282:                                              ; preds = %280
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  %283 = load ptr, ptr %7, align 8, !tbaa !5
  %284 = load ptr, ptr %8, align 8, !tbaa !5
  %285 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef nonnull align 8 dereferenceable(8) %284)
          to label %286 unwind label %73

286:                                              ; preds = %282
  br i1 %285, label %287, label %402

287:                                              ; preds = %286
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %288)
          to label %290 unwind label %73

290:                                              ; preds = %287
  %291 = zext i8 %289 to i32
  %292 = icmp eq i32 %291, 43
  br i1 %292, label %306, label %293

293:                                              ; preds = %290
  %294 = load ptr, ptr %7, align 8, !tbaa !5
  %295 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %294)
          to label %296 unwind label %73

296:                                              ; preds = %293
  %297 = zext i8 %295 to i32
  %298 = icmp eq i32 %297, 45
  br i1 %298, label %306, label %299

299:                                              ; preds = %296
  %300 = load ptr, ptr %7, align 8, !tbaa !5
  %301 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %300)
          to label %302 unwind label %73

302:                                              ; preds = %299
  %303 = zext i8 %301 to i32
  %304 = call i32 @isdigit(i32 noundef %303) #7
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %402

306:                                              ; preds = %302, %296, %290
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %307, i32 noundef 0)
          to label %308 unwind label %346

308:                                              ; preds = %306
  %309 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %310 unwind label %350

310:                                              ; preds = %308
  %311 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %309)
          to label %312 unwind label %350

312:                                              ; preds = %310
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  %313 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %314 = load i8, ptr %313, align 1, !tbaa !9
  %315 = sext i8 %314 to i32
  %316 = call i32 @isdigit(i32 noundef %315) #7
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %370, label %318

318:                                              ; preds = %312
  %319 = load ptr, ptr %7, align 8, !tbaa !5
  %320 = load ptr, ptr %8, align 8, !tbaa !5
  %321 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %319, ptr noundef nonnull align 8 dereferenceable(8) %320)
          to label %322 unwind label %73

322:                                              ; preds = %318
  br i1 %321, label %323, label %364

323:                                              ; preds = %322
  %324 = load ptr, ptr %7, align 8, !tbaa !5
  %325 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %324)
          to label %326 unwind label %73

326:                                              ; preds = %323
  %327 = zext i8 %325 to i32
  %328 = call i32 @isdigit(i32 noundef %327) #7
  %329 = icmp ne i32 %328, 0
  br i1 %329, label %330, label %364

330:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %331, i32 noundef 0)
          to label %332 unwind label %355

332:                                              ; preds = %330
  %333 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %334 unwind label %359

334:                                              ; preds = %332
  %335 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %333)
          to label %336 unwind label %359

336:                                              ; preds = %334
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %369

337:                                              ; preds = %276
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %11, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %12, align 4
  br label %345

341:                                              ; preds = %280, %278
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %11, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  br label %345

345:                                              ; preds = %341, %337
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %485

346:                                              ; preds = %306
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %11, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %12, align 4
  br label %354

350:                                              ; preds = %310, %308
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %11, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  br label %354

354:                                              ; preds = %350, %346
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %485

355:                                              ; preds = %330
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %11, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %12, align 4
  br label %363

359:                                              ; preds = %334, %332
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %11, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  br label %363

363:                                              ; preds = %359, %355
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %485

364:                                              ; preds = %326, %322
  %365 = load ptr, ptr %6, align 8, !tbaa !5
  %366 = load ptr, ptr %7, align 8, !tbaa !5
  %367 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %365, ptr noundef nonnull align 8 dereferenceable(8) %366, ptr noundef nonnull align 8 dereferenceable(8) %367)
          to label %368 unwind label %73

368:                                              ; preds = %364
  br label %369

369:                                              ; preds = %368, %336
  br label %370

370:                                              ; preds = %369, %312
  br label %371

371:                                              ; preds = %391, %370
  %372 = load ptr, ptr %7, align 8, !tbaa !5
  %373 = load ptr, ptr %8, align 8, !tbaa !5
  %374 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %372, ptr noundef nonnull align 8 dereferenceable(8) %373)
          to label %375 unwind label %73

375:                                              ; preds = %371
  br i1 %374, label %376, label %383

376:                                              ; preds = %375
  %377 = load ptr, ptr %7, align 8, !tbaa !5
  %378 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %377)
          to label %379 unwind label %73

379:                                              ; preds = %376
  %380 = zext i8 %378 to i32
  %381 = call i32 @isdigit(i32 noundef %380) #7
  %382 = icmp ne i32 %381, 0
  br label %383

383:                                              ; preds = %379, %375
  %384 = phi i1 [ false, %375 ], [ %382, %379 ]
  br i1 %384, label %385, label %401

385:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %386 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind writable sret(%"class.chen::iterator::proxy") align 8 %22, ptr noundef nonnull align 8 dereferenceable(8) %386, i32 noundef 0)
          to label %387 unwind label %392

387:                                              ; preds = %385
  %388 = invoke noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %389 unwind label %396

389:                                              ; preds = %387
  %390 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext %388)
          to label %391 unwind label %396

391:                                              ; preds = %389
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %371, !llvm.loop !13

392:                                              ; preds = %385
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %11, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %12, align 4
  br label %400

396:                                              ; preds = %389, %387
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %11, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %12, align 4
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #6
  br label %400

400:                                              ; preds = %396, %392
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %485

401:                                              ; preds = %383
  br label %407

402:                                              ; preds = %302, %286
  %403 = load ptr, ptr %6, align 8, !tbaa !5
  %404 = load ptr, ptr %7, align 8, !tbaa !5
  %405 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %403, ptr noundef nonnull align 8 dereferenceable(8) %404, ptr noundef nonnull align 8 dereferenceable(8) %405)
          to label %406 unwind label %73

406:                                              ; preds = %402
  br label %407

407:                                              ; preds = %406, %401
  br label %408

408:                                              ; preds = %407, %273, %263
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %409 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %410 = call double @atof(ptr noundef %409) #7
  store double %410, ptr %23, align 8, !tbaa !14
  %411 = load double, ptr %23, align 8, !tbaa !14
  %412 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %411)
          to label %413 unwind label %426

413:                                              ; preds = %408
  br i1 %412, label %414, label %447

414:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %415 = load ptr, ptr %7, align 8, !tbaa !5
  %416 = invoke noundef i64 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lE8distanceEv(ptr noundef nonnull align 8 dereferenceable(8) %415)
          to label %417 unwind label %430

417:                                              ; preds = %414
  %418 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %419 = sub i64 %416, %418
  store i64 %419, ptr %24, align 8, !tbaa !16
  store i1 true, ptr %26, align 1
  %420 = call ptr @__cxa_allocate_exception(i64 24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  %421 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %422 = load i64, ptr %24, align 8, !tbaa !16
  invoke void @_ZN4chen3str6formatIJPKcmEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_DpT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef @.str.13, ptr noundef %421, i64 noundef %422)
          to label %423 unwind label %434

423:                                              ; preds = %417
  %424 = load i64, ptr %24, align 8, !tbaa !16
  invoke void @_ZN4chen4json5errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull align 8 dereferenceable(24) %420, ptr noundef nonnull align 8 dereferenceable(32) %25, i64 noundef %424)
          to label %425 unwind label %438

425:                                              ; preds = %423
  store i1 false, ptr %26, align 1
  invoke void @__cxa_throw(ptr %420, ptr @_ZTIN4chen4json5errorE, ptr @_ZNSt13runtime_errorD2Ev) #8
          to label %492 unwind label %438

426:                                              ; preds = %447, %408
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %11, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %12, align 4
  br label %484

430:                                              ; preds = %414
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %11, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %12, align 4
  br label %446

434:                                              ; preds = %417
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %11, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %12, align 4
  br label %442

438:                                              ; preds = %425, %423
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %11, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %442

442:                                              ; preds = %438, %434
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  %443 = load i1, ptr %26, align 1
  br i1 %443, label %444, label %445

444:                                              ; preds = %442
  call void @__cxa_free_exception(ptr %420) #6
  br label %445

445:                                              ; preds = %444, %442
  br label %446

446:                                              ; preds = %445, %430
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %484

447:                                              ; preds = %413
  %448 = load double, ptr %23, align 8, !tbaa !14
  %449 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %448)
          to label %450 unwind label %426

450:                                              ; preds = %447
  br i1 %449, label %451, label %480

451:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %452 = load ptr, ptr %7, align 8, !tbaa !5
  %453 = invoke noundef i64 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lE8distanceEv(ptr noundef nonnull align 8 dereferenceable(8) %452)
          to label %454 unwind label %463

454:                                              ; preds = %451
  %455 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %456 = sub i64 %453, %455
  store i64 %456, ptr %27, align 8, !tbaa !16
  store i1 true, ptr %29, align 1
  %457 = call ptr @__cxa_allocate_exception(i64 24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  %458 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %459 = load i64, ptr %27, align 8, !tbaa !16
  invoke void @_ZN4chen3str6formatIJPKcmEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_DpT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef @.str.14, ptr noundef %458, i64 noundef %459)
          to label %460 unwind label %467

460:                                              ; preds = %454
  %461 = load i64, ptr %27, align 8, !tbaa !16
  invoke void @_ZN4chen4json5errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull align 8 dereferenceable(24) %457, ptr noundef nonnull align 8 dereferenceable(32) %28, i64 noundef %461)
          to label %462 unwind label %471

462:                                              ; preds = %460
  store i1 false, ptr %29, align 1
  invoke void @__cxa_throw(ptr %457, ptr @_ZTIN4chen4json5errorE, ptr @_ZNSt13runtime_errorD2Ev) #8
          to label %492 unwind label %471

463:                                              ; preds = %451
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %11, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %12, align 4
  br label %479

467:                                              ; preds = %454
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %11, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %12, align 4
  br label %475

471:                                              ; preds = %462, %460
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %11, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %475

475:                                              ; preds = %471, %467
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  %476 = load i1, ptr %29, align 1
  br i1 %476, label %477, label %478

477:                                              ; preds = %475
  call void @__cxa_free_exception(ptr %457) #6
  br label %478

478:                                              ; preds = %477, %475
  br label %479

479:                                              ; preds = %478, %463
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %484

480:                                              ; preds = %450
  br label %481

481:                                              ; preds = %480
  %482 = load double, ptr %23, align 8, !tbaa !14
  %483 = load ptr, ptr %5, align 8, !tbaa !5
  store double %482, ptr %483, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  ret void

484:                                              ; preds = %479, %446, %426
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %485

485:                                              ; preds = %484, %400, %363, %354, %345, %257, %221, %212, %167, %114, %73
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %486

486:                                              ; preds = %485, %72
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  br label %487

487:                                              ; preds = %486
  %488 = load ptr, ptr %11, align 8
  %489 = load i32, ptr %12, align 4
  %490 = insertvalue { ptr, i32 } poison, ptr %488, 0
  %491 = insertvalue { ptr, i32 } %490, i32 %489, 1
  resume { ptr, i32 } %491

492:                                              ; preds = %462, %425
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind noalias writable sret(%"class.chen::iterator::proxy") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isinfd(double noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) #1

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

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

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.chen::iterator::proxy" = type { i8, ptr }
%"class.std::allocator.5" = type { i8 }

@_ZTIN4chen4json5errorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.13 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [45 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4chen3str6formatIJPKcmEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_DpT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4chen4json6decodeERdRKNS_8iterator7erasureISt18input_iterator_tagKhS5_PS5_lEERS7_SA_(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.chen::iterator::proxy", align 8
  %7 = alloca %"class.std::allocator.5", align 1
  %8 = alloca %"class.chen::iterator::proxy", align 8
  %9 = alloca %"class.chen::iterator::proxy", align 8
  %10 = alloca %"class.chen::iterator::proxy", align 8
  %11 = alloca %"class.chen::iterator::proxy", align 8
  %12 = alloca %"class.chen::iterator::proxy", align 8
  %13 = alloca %"class.chen::iterator::proxy", align 8
  %14 = alloca %"class.chen::iterator::proxy", align 8
  %15 = alloca %"class.chen::iterator::proxy", align 8
  %16 = alloca %"class.chen::iterator::proxy", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = tail call noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEeqERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %19, label %20, label %21

20:                                               ; preds = %4
  tail call void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  br label %21

21:                                               ; preds = %20, %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
  %22 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEmcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 1, i8 noundef signext %22, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %34

23:                                               ; preds = %21
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 0)
  %25 = load i8, ptr %24, align 1, !tbaa !5
  %26 = icmp eq i8 %25, 45
  br i1 %26, label %27, label %56

27:                                               ; preds = %23
  %28 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEeqERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %29 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

29:                                               ; preds = %27
  br i1 %28, label %.invoke, label %30

30:                                               ; preds = %29
  %31 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %32 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

32:                                               ; preds = %30
  %33 = zext i8 %31 to i32
  %isdigittmp105 = add nsw i32 %33, -48
  %isdigit106 = icmp ult i32 %isdigittmp105, 10
  br i1 %isdigit106, label %36, label %.invoke

.invoke:                                          ; preds = %29, %32, %62, %49
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %.preheader166 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

34:                                               ; preds = %21
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %252

.loopexit:                                        ; preds = %196, %199
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %117, %114
  %lpad.loopexit160 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %64, %67
  %lpad.loopexit163 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %.invoke, %27, %30, %36, %44, %47, %60, %.critedge, %83, %91, %94, %113, %.critedge2, %133, %137, %145, %148, %152, %156, %168, %171, %195, %213
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

36:                                               ; preds = %32
  %37 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %38 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

38:                                               ; preds = %36
  %39 = icmp eq i8 %37, 48
  br i1 %39, label %40, label %.preheader166

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %41 unwind label %51

41:                                               ; preds = %40
  %42 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %43 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %42)
          to label %44 unwind label %53

44:                                               ; preds = %41
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %45 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %46 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

46:                                               ; preds = %44
  br i1 %45, label %47, label %.preheader166

47:                                               ; preds = %46
  %48 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %49 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

49:                                               ; preds = %47
  %50 = zext i8 %48 to i32
  %isdigittmp108 = add nsw i32 %50, -48
  %isdigit109 = icmp ult i32 %isdigittmp108, 10
  br i1 %isdigit109, label %.invoke, label %.preheader166

51:                                               ; preds = %40
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %41
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  br label %55

55:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %.loopexit.split-lp

56:                                               ; preds = %23
  %57 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 0)
  %58 = load i8, ptr %57, align 1, !tbaa !5
  %59 = icmp eq i8 %58, 48
  br i1 %59, label %60, label %.preheader166

60:                                               ; preds = %56
  %61 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %62 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

62:                                               ; preds = %60
  %63 = zext i8 %61 to i32
  %isdigittmp = add nsw i32 %63, -48
  %isdigit = icmp ult i32 %isdigittmp, 10
  br i1 %isdigit, label %.invoke, label %.preheader166

.preheader166:                                    ; preds = %.invoke, %56, %62, %46, %49, %38
  br label %64

64:                                               ; preds = %.preheader166, %75
  %65 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %66 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

66:                                               ; preds = %64
  br i1 %65, label %67, label %.critedge

67:                                               ; preds = %66
  %68 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %69 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

69:                                               ; preds = %67
  %70 = zext i8 %68 to i32
  %isdigittmp110 = add nsw i32 %70, -48
  %isdigit111 = icmp ult i32 %isdigittmp110, 10
  br i1 %isdigit111, label %71, label %.critedge

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %72 unwind label %76

72:                                               ; preds = %71
  %73 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %74 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %73)
          to label %75 unwind label %78

75:                                               ; preds = %72
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  br label %64, !llvm.loop !8

76:                                               ; preds = %71
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %72
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  br label %80

80:                                               ; preds = %78, %76
  %.pn145 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  br label %.loopexit.split-lp

.critedge:                                        ; preds = %66, %69
  %81 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %82 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

82:                                               ; preds = %.critedge
  br i1 %81, label %83, label %.critedge2

83:                                               ; preds = %82
  %84 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %85 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

85:                                               ; preds = %83
  %86 = icmp eq i8 %84, 46
  br i1 %86, label %87, label %.critedge2

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %88 unwind label %103

88:                                               ; preds = %87
  %89 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %90 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %89)
          to label %91 unwind label %105

91:                                               ; preds = %88
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  %92 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %93 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

93:                                               ; preds = %91
  br i1 %92, label %94, label %113

94:                                               ; preds = %93
  %95 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %96 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

96:                                               ; preds = %94
  %97 = zext i8 %95 to i32
  %isdigittmp114 = add nsw i32 %97, -48
  %isdigit115 = icmp ult i32 %isdigittmp114, 10
  br i1 %isdigit115, label %98, label %113

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %99 unwind label %108

99:                                               ; preds = %98
  %100 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  %101 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %100)
          to label %102 unwind label %110

102:                                              ; preds = %99
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  br label %.preheader165

103:                                              ; preds = %87
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %88
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  br label %107

107:                                              ; preds = %105, %103
  %.pn112 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  br label %.loopexit.split-lp

108:                                              ; preds = %98
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %99
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br label %112

112:                                              ; preds = %110, %108
  %.pn116 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  br label %.loopexit.split-lp

113:                                              ; preds = %96, %93
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %.preheader165 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader165:                                    ; preds = %113, %102
  br label %114

114:                                              ; preds = %.preheader165, %125
  %115 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %116 unwind label %.loopexit.split-lp.loopexit

116:                                              ; preds = %114
  br i1 %115, label %117, label %.critedge2

117:                                              ; preds = %116
  %118 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %119 unwind label %.loopexit.split-lp.loopexit

119:                                              ; preds = %117
  %120 = zext i8 %118 to i32
  %isdigittmp118 = add nsw i32 %120, -48
  %isdigit119 = icmp ult i32 %isdigittmp118, 10
  br i1 %isdigit119, label %121, label %.critedge2

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %122 unwind label %126

122:                                              ; preds = %121
  %123 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %124 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %123)
          to label %125 unwind label %128

125:                                              ; preds = %122
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  br label %114, !llvm.loop !10

126:                                              ; preds = %121
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %130

128:                                              ; preds = %122
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  br label %130

130:                                              ; preds = %128, %126
  %.pn143 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  br label %.loopexit.split-lp

.critedge2:                                       ; preds = %119, %116, %85, %82
  %131 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %132 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

132:                                              ; preds = %.critedge2
  br i1 %131, label %133, label %.critedge4

133:                                              ; preds = %132
  %134 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %135 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

135:                                              ; preds = %133
  %136 = icmp eq i8 %134, 101
  br i1 %136, label %141, label %137

137:                                              ; preds = %135
  %138 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %139 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

139:                                              ; preds = %137
  %140 = icmp eq i8 %138, 69
  br i1 %140, label %141, label %.critedge4

141:                                              ; preds = %139, %135
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %142 unwind label %180

142:                                              ; preds = %141
  %143 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %144 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %143)
          to label %145 unwind label %182

145:                                              ; preds = %142
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  %146 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %147 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

147:                                              ; preds = %145
  br i1 %146, label %148, label %213

148:                                              ; preds = %147
  %149 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %150 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

150:                                              ; preds = %148
  %151 = icmp eq i8 %149, 43
  br i1 %151, label %160, label %152

152:                                              ; preds = %150
  %153 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %154 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

154:                                              ; preds = %152
  %155 = icmp eq i8 %153, 45
  br i1 %155, label %160, label %156

156:                                              ; preds = %154
  %157 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %158 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

158:                                              ; preds = %156
  %159 = zext i8 %157 to i32
  %isdigittmp122 = add nsw i32 %159, -48
  %isdigit123 = icmp ult i32 %isdigittmp122, 10
  br i1 %isdigit123, label %160, label %213

160:                                              ; preds = %158, %154, %150
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %161 unwind label %185

161:                                              ; preds = %160
  %162 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  %163 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %162)
          to label %164 unwind label %187

164:                                              ; preds = %161
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  %165 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  %166 = load i8, ptr %165, align 1, !tbaa !5
  %167 = sext i8 %166 to i32
  %isdigittmp126 = add nsw i32 %167, -48
  %isdigit127 = icmp ult i32 %isdigittmp126, 10
  br i1 %isdigit127, label %.preheader, label %168

168:                                              ; preds = %164
  %169 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %170 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

170:                                              ; preds = %168
  br i1 %169, label %171, label %195

171:                                              ; preds = %170
  %172 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %173 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

173:                                              ; preds = %171
  %174 = zext i8 %172 to i32
  %isdigittmp128 = add nsw i32 %174, -48
  %isdigit129 = icmp ult i32 %isdigittmp128, 10
  br i1 %isdigit129, label %175, label %195

175:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %176 unwind label %190

176:                                              ; preds = %175
  %177 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  %178 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %177)
          to label %179 unwind label %192

179:                                              ; preds = %176
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %.preheader

180:                                              ; preds = %141
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %184

182:                                              ; preds = %142
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %184

184:                                              ; preds = %182, %180
  %.pn120 = phi { ptr, i32 } [ %183, %182 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %.loopexit.split-lp

185:                                              ; preds = %160
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %189

187:                                              ; preds = %161
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  br label %189

189:                                              ; preds = %187, %185
  %.pn124 = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %.loopexit.split-lp

190:                                              ; preds = %175
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %194

192:                                              ; preds = %176
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  br label %194

194:                                              ; preds = %192, %190
  %.pn130 = phi { ptr, i32 } [ %193, %192 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %.loopexit.split-lp

195:                                              ; preds = %173, %170
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader:                                       ; preds = %179, %195, %164
  br label %196

196:                                              ; preds = %.preheader, %207
  %197 = invoke noundef zeroext i1 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEneERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %198 unwind label %.loopexit

198:                                              ; preds = %196
  br i1 %197, label %199, label %.critedge4

199:                                              ; preds = %198
  %200 = invoke noundef zeroext i8 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %201 unwind label %.loopexit

201:                                              ; preds = %199
  %202 = zext i8 %200 to i32
  %isdigittmp132 = add nsw i32 %202, -48
  %isdigit133 = icmp ult i32 %isdigittmp132, 10
  br i1 %isdigit133, label %203, label %.critedge4

203:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  invoke void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind nonnull writable sret(%"class.chen::iterator::proxy") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %204 unwind label %208

204:                                              ; preds = %203
  %205 = call noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %206 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %205)
          to label %207 unwind label %210

207:                                              ; preds = %204
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br label %196, !llvm.loop !11

208:                                              ; preds = %203
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %212

210:                                              ; preds = %204
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4chen8iterator5proxyIKhNS0_7concept4baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  br label %212

212:                                              ; preds = %210, %208
  %.pn141 = phi { ptr, i32 } [ %211, %210 ], [ %209, %208 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br label %.loopexit.split-lp

213:                                              ; preds = %158, %147
  invoke void @_ZN4chen4json9exceptionERKNS_8iterator7erasureISt18input_iterator_tagKhS4_PS4_lEERS6_S9_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %.critedge4 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.critedge4:                                       ; preds = %198, %201, %213, %139, %132
  %214 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  %215 = call double @atof(ptr noundef %214) #6
  %216 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %215)
  br i1 %216, label %217, label %233

217:                                              ; preds = %.critedge4
  %218 = invoke noundef i64 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lE8distanceEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %219 unwind label %227

219:                                              ; preds = %217
  %220 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  %221 = sub i64 %218, %220
  %222 = call ptr @__cxa_allocate_exception(i64 24) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #5
  %223 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  invoke void @_ZN4chen3str6formatIJPKcmEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_DpT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull @.str.13, ptr noundef %223, i64 noundef %221)
          to label %224 unwind label %.thread

224:                                              ; preds = %219
  invoke void @_ZN4chen4json5errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull align 8 dereferenceable(24) %222, ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %221)
          to label %226 unwind label %.thread152

.thread152:                                       ; preds = %224
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  br label %232

226:                                              ; preds = %224
  invoke void @__cxa_throw(ptr nonnull %222, ptr nonnull @_ZTIN4chen4json5errorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #7
          to label %253 unwind label %230

227:                                              ; preds = %217
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.thread:                                          ; preds = %219
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  br label %232

230:                                              ; preds = %226
  %231 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  br label %.loopexit.split-lp

232:                                              ; preds = %.thread152, %.thread
  %.pn137151 = phi { ptr, i32 } [ %229, %.thread ], [ %225, %.thread152 ]
  call void @__cxa_free_exception(ptr %222) #5
  br label %.loopexit.split-lp

233:                                              ; preds = %.critedge4
  %234 = call noundef zeroext i1 @_ZSt5isnand(double noundef %215)
  br i1 %234, label %235, label %251

235:                                              ; preds = %233
  %236 = invoke noundef i64 @_ZNK4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lE8distanceEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %237 unwind label %245

237:                                              ; preds = %235
  %238 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  %239 = sub i64 %236, %238
  %240 = call ptr @__cxa_allocate_exception(i64 24) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #5
  %241 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  invoke void @_ZN4chen3str6formatIJPKcmEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_DpT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull @.str.14, ptr noundef %241, i64 noundef %239)
          to label %242 unwind label %.thread154

242:                                              ; preds = %237
  invoke void @_ZN4chen4json5errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull align 8 dereferenceable(24) %240, ptr noundef nonnull align 8 dereferenceable(32) %18, i64 noundef %239)
          to label %244 unwind label %.thread158

.thread158:                                       ; preds = %242
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  br label %250

244:                                              ; preds = %242
  invoke void @__cxa_throw(ptr nonnull %240, ptr nonnull @_ZTIN4chen4json5errorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #7
          to label %253 unwind label %248

245:                                              ; preds = %235
  %246 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.thread154:                                       ; preds = %237
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  br label %250

248:                                              ; preds = %244
  %249 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  br label %.loopexit.split-lp

250:                                              ; preds = %.thread158, %.thread154
  %.pn134157 = phi { ptr, i32 } [ %247, %.thread154 ], [ %243, %.thread158 ]
  call void @__cxa_free_exception(ptr %240) #5
  br label %.loopexit.split-lp

251:                                              ; preds = %233
  store double %215, ptr %0, align 8, !tbaa !12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  ret void

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %248, %230, %232, %227, %250, %245, %212, %194, %189, %184, %130, %112, %107, %80, %55
  %.pn145.pn = phi { ptr, i32 } [ %.pn145, %80 ], [ %.pn143, %130 ], [ %.pn141, %212 ], [ %.pn130, %194 ], [ %.pn124, %189 ], [ %.pn120, %184 ], [ %.pn116, %112 ], [ %.pn112, %107 ], [ %.pn, %55 ], [ %.pn137151, %232 ], [ %231, %230 ], [ %228, %227 ], [ %.pn134157, %250 ], [ %249, %248 ], [ %246, %245 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit160, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit163, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %252

252:                                              ; preds = %.loopexit.split-lp, %34
  %.pn145.pn.pn = phi { ptr, i32 } [ %.pn145.pn, %.loopexit.split-lp ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn145.pn.pn

253:                                              ; preds = %244, %226
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4chen8iterator7erasureISt18input_iterator_tagKhS3_PS3_lEppEi(ptr dead_on_unwind noalias writable sret(%"class.chen::iterator::proxy") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK4chen8iterator5proxyIKhNS0_7concept4baseEEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isinfd(double noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) local_unnamed_addr #1

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

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

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !6, i64 0}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass