; LLVM IR from thepowersgang/mrustc :: tools/common (toml)

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

%struct.TomlToken = type { i32, %"class.std::__cxx11::basic_string", i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @__cxa_free_exception(ptr)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9TomlToken14lex_from_innerERSt14basic_ifstreamIcSt11char_traitsIcEERj(ptr dead_on_unwind noalias writable sret(%struct.TomlToken) align 8 %0, ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull align 4 dereferenceable(4) %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i64, align 8
  %17 = alloca i8, align 1
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %24 = alloca i8, align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca i8, align 1
  %28 = alloca i1, align 1
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  br label %29

29:                                               ; preds = %42, %3
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  store i32 %31, ptr %7, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %29
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = icmp ne i32 %33, -1
  br i1 %34, label %35, label %42

35:                                               ; preds = %32
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = icmp ne i32 %36, 10
  br i1 %37, label %38, label %42

38:                                               ; preds = %35
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = call i32 @isspace(i32 noundef %39) #8
  %41 = icmp ne i32 %40, 0
  br label %42

42:                                               ; preds = %38, %35, %32
  %43 = phi i1 [ false, %35 ], [ false, %32 ], [ %41, %38 ]
  br i1 %43, label %29, label %44, !llvm.loop !11

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %45 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %45, label %339 [
    i32 -1, label %46
    i32 91, label %52
    i32 93, label %54
    i32 123, label %56
    i32 125, label %58
    i32 44, label %60
    i32 46, label %62
    i32 61, label %64
    i32 10, label %66
    i32 35, label %68
    i32 39, label %83
    i32 34, label %194
  ]

46:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 0)
          to label %47 unwind label %48

47:                                               ; preds = %46
  store i32 1, ptr %11, align 4
  br label %587

48:                                               ; preds = %367, %363, %359, %332, %327, %323, %312, %310, %302, %287, %275, %272, %264, %256, %253, %246, %240, %229, %223, %206, %200, %194, %187, %182, %178, %166, %151, %146, %131, %128, %121, %115, %104, %98, %95, %89, %83, %81, %78, %72, %66, %64, %62, %60, %58, %56, %54, %52, %46
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %9, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %10, align 4
  br label %588

52:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 1)
          to label %53 unwind label %48

53:                                               ; preds = %52
  store i32 1, ptr %11, align 4
  br label %587

54:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 2)
          to label %55 unwind label %48

55:                                               ; preds = %54
  store i32 1, ptr %11, align 4
  br label %587

56:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 3)
          to label %57 unwind label %48

57:                                               ; preds = %56
  store i32 1, ptr %11, align 4
  br label %587

58:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 4)
          to label %59 unwind label %48

59:                                               ; preds = %58
  store i32 1, ptr %11, align 4
  br label %587

60:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 7)
          to label %61 unwind label %48

61:                                               ; preds = %60
  store i32 1, ptr %11, align 4
  br label %587

62:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 8)
          to label %63 unwind label %48

63:                                               ; preds = %62
  store i32 1, ptr %11, align 4
  br label %587

64:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 5)
          to label %65 unwind label %48

65:                                               ; preds = %64
  store i32 1, ptr %11, align 4
  br label %587

66:                                               ; preds = %44
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 6)
          to label %67 unwind label %48

67:                                               ; preds = %66
  store i32 1, ptr %11, align 4
  br label %587

68:                                               ; preds = %44
  br label %69

69:                                               ; preds = %80, %68
  %70 = load i32, ptr %7, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 10
  br i1 %71, label %72, label %81

72:                                               ; preds = %69
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %73)
          to label %75 unwind label %48

75:                                               ; preds = %72
  store i32 %74, ptr %7, align 4, !tbaa !9
  %76 = load i32, ptr %7, align 4, !tbaa !9
  %77 = icmp eq i32 %76, -1
  br i1 %77, label %78, label %80

78:                                               ; preds = %75
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 0)
          to label %79 unwind label %48

79:                                               ; preds = %78
  store i32 1, ptr %11, align 4
  br label %587

80:                                               ; preds = %75
  br label %69, !llvm.loop !13

81:                                               ; preds = %69
  invoke void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 6)
          to label %82 unwind label %48

82:                                               ; preds = %81
  store i32 1, ptr %11, align 4
  br label %587

83:                                               ; preds = %44
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %84)
          to label %86 unwind label %48

86:                                               ; preds = %83
  store i32 %85, ptr %7, align 4, !tbaa !9
  %87 = load i32, ptr %7, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 39
  br i1 %88, label %89, label %157

89:                                               ; preds = %86
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %90)
          to label %92 unwind label %48

92:                                               ; preds = %89
  store i32 %91, ptr %7, align 4, !tbaa !9
  %93 = load i32, ptr %7, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 39
  br i1 %94, label %95, label %98

95:                                               ; preds = %92
  %96 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.20)
          to label %97 unwind label %48

97:                                               ; preds = %95
  br label %156

98:                                               ; preds = %92
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %99)
          to label %101 unwind label %48

101:                                              ; preds = %98
  store i32 %100, ptr %7, align 4, !tbaa !9
  %102 = load i32, ptr %7, align 4, !tbaa !9
  %103 = icmp eq i32 %102, 10
  br i1 %103, label %104, label %111

104:                                              ; preds = %101
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = add i32 %106, 1
  store i32 %107, ptr %105, align 4, !tbaa !9
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %108)
          to label %110 unwind label %48

110:                                              ; preds = %104
  store i32 %109, ptr %7, align 4, !tbaa !9
  br label %111

111:                                              ; preds = %110, %101
  br label %112

112:                                              ; preds = %154, %111
  %113 = load i32, ptr %7, align 4, !tbaa !9
  %114 = icmp eq i32 %113, 39
  br i1 %114, label %115, label %134

115:                                              ; preds = %112
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %116)
          to label %118 unwind label %48

118:                                              ; preds = %115
  store i32 %117, ptr %7, align 4, !tbaa !9
  %119 = load i32, ptr %7, align 4, !tbaa !9
  %120 = icmp eq i32 %119, 39
  br i1 %120, label %121, label %131

121:                                              ; preds = %118
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %122)
          to label %124 unwind label %48

124:                                              ; preds = %121
  store i32 %123, ptr %7, align 4, !tbaa !9
  %125 = load i32, ptr %7, align 4, !tbaa !9
  %126 = icmp eq i32 %125, 39
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  br label %155

128:                                              ; preds = %124
  %129 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext 39)
          to label %130 unwind label %48

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130, %118
  %132 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext 39)
          to label %133 unwind label %48

133:                                              ; preds = %131
  br label %134

134:                                              ; preds = %133, %112
  %135 = load i32, ptr %7, align 4, !tbaa !9
  %136 = icmp eq i32 %135, 10
  br i1 %136, label %137, label %141

137:                                              ; preds = %134
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = add i32 %139, 1
  store i32 %140, ptr %138, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %137, %134
  %142 = load i32, ptr %7, align 4, !tbaa !9
  %143 = icmp eq i32 %142, -1
  br i1 %143, label %144, label %151

144:                                              ; preds = %141
  %145 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %145, ptr noundef @.str.21)
          to label %146 unwind label %147

146:                                              ; preds = %144
  invoke void @__cxa_throw(ptr %145, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %594 unwind label %48

147:                                              ; preds = %144
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  call void @__cxa_free_exception(ptr %145) #7
  br label %588

151:                                              ; preds = %141
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %152)
          to label %154 unwind label %48

154:                                              ; preds = %151
  store i32 %153, ptr %7, align 4, !tbaa !9
  br label %112, !llvm.loop !14

155:                                              ; preds = %127
  br label %156

156:                                              ; preds = %155, %97
  br label %187

157:                                              ; preds = %86
  br label %158

158:                                              ; preds = %185, %157
  %159 = load i32, ptr %7, align 4, !tbaa !9
  %160 = icmp ne i32 %159, 39
  br i1 %160, label %161, label %186

161:                                              ; preds = %158
  %162 = load i32, ptr %7, align 4, !tbaa !9
  %163 = icmp eq i32 %162, -1
  br i1 %163, label %164, label %171

164:                                              ; preds = %161
  %165 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %165, ptr noundef @.str.22)
          to label %166 unwind label %167

166:                                              ; preds = %164
  invoke void @__cxa_throw(ptr %165, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %594 unwind label %48

167:                                              ; preds = %164
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %9, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %10, align 4
  call void @__cxa_free_exception(ptr %165) #7
  br label %588

171:                                              ; preds = %161
  %172 = load i32, ptr %7, align 4, !tbaa !9
  %173 = icmp eq i32 %172, 10
  br i1 %173, label %174, label %178

174:                                              ; preds = %171
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = add i32 %176, 1
  store i32 %177, ptr %175, align 4, !tbaa !9
  br label %178

178:                                              ; preds = %174, %171
  %179 = load i32, ptr %7, align 4, !tbaa !9
  %180 = trunc i32 %179 to i8
  %181 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %180)
          to label %182 unwind label %48

182:                                              ; preds = %178
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %183)
          to label %185 unwind label %48

185:                                              ; preds = %182
  store i32 %184, ptr %7, align 4, !tbaa !9
  br label %158, !llvm.loop !15

186:                                              ; preds = %158
  br label %187

187:                                              ; preds = %186, %156
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %188 unwind label %48

188:                                              ; preds = %187
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 10, ptr noundef %12)
          to label %189 unwind label %190

189:                                              ; preds = %188
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  store i32 1, ptr %11, align 4
  br label %587

190:                                              ; preds = %188
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %9, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %588

194:                                              ; preds = %44
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %195)
          to label %197 unwind label %48

197:                                              ; preds = %194
  store i32 %196, ptr %7, align 4, !tbaa !9
  %198 = load i32, ptr %7, align 4, !tbaa !9
  %199 = icmp eq i32 %198, 34
  br i1 %199, label %200, label %293

200:                                              ; preds = %197
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %201)
          to label %203 unwind label %48

203:                                              ; preds = %200
  store i32 %202, ptr %7, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  %205 = icmp ne i32 %204, 34
  br i1 %205, label %206, label %223

206:                                              ; preds = %203
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = load i32, ptr %7, align 4, !tbaa !9
  %209 = trunc i32 %208 to i8
  %210 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7putbackEc(ptr noundef nonnull align 8 dereferenceable(16) %207, i8 noundef signext %209)
          to label %211 unwind label %48

211:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %212 unwind label %214

212:                                              ; preds = %211
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 10, ptr noundef %13)
          to label %213 unwind label %218

213:                                              ; preds = %212
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  store i32 1, ptr %11, align 4
  br label %587

214:                                              ; preds = %211
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %9, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %10, align 4
  br label %222

218:                                              ; preds = %212
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %9, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %222

222:                                              ; preds = %218, %214
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %588

223:                                              ; preds = %203
  %224 = load ptr, ptr %5, align 8, !tbaa !5
  %225 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %224)
          to label %226 unwind label %48

226:                                              ; preds = %223
  store i32 %225, ptr %7, align 4, !tbaa !9
  %227 = load i32, ptr %7, align 4, !tbaa !9
  %228 = icmp eq i32 %227, 10
  br i1 %228, label %229, label %236

229:                                              ; preds = %226
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = load i32, ptr %230, align 4, !tbaa !9
  %232 = add i32 %231, 1
  store i32 %232, ptr %230, align 4, !tbaa !9
  %233 = load ptr, ptr %5, align 8, !tbaa !5
  %234 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %233)
          to label %235 unwind label %48

235:                                              ; preds = %229
  store i32 %234, ptr %7, align 4, !tbaa !9
  br label %236

236:                                              ; preds = %235, %226
  br label %237

237:                                              ; preds = %290, %236
  %238 = load i32, ptr %7, align 4, !tbaa !9
  %239 = icmp eq i32 %238, 34
  br i1 %239, label %240, label %259

240:                                              ; preds = %237
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %241)
          to label %243 unwind label %48

243:                                              ; preds = %240
  store i32 %242, ptr %7, align 4, !tbaa !9
  %244 = load i32, ptr %7, align 4, !tbaa !9
  %245 = icmp eq i32 %244, 34
  br i1 %245, label %246, label %256

246:                                              ; preds = %243
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %247)
          to label %249 unwind label %48

249:                                              ; preds = %246
  store i32 %248, ptr %7, align 4, !tbaa !9
  %250 = load i32, ptr %7, align 4, !tbaa !9
  %251 = icmp eq i32 %250, 34
  br i1 %251, label %252, label %253

252:                                              ; preds = %249
  br label %291

253:                                              ; preds = %249
  %254 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext 34)
          to label %255 unwind label %48

255:                                              ; preds = %253
  br label %256

256:                                              ; preds = %255, %243
  %257 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext 34)
          to label %258 unwind label %48

258:                                              ; preds = %256
  br label %259

259:                                              ; preds = %258, %237
  %260 = load i32, ptr %7, align 4, !tbaa !9
  %261 = icmp eq i32 %260, -1
  br i1 %261, label %262, label %269

262:                                              ; preds = %259
  %263 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %263, ptr noundef @.str.21)
          to label %264 unwind label %265

264:                                              ; preds = %262
  invoke void @__cxa_throw(ptr %263, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %594 unwind label %48

265:                                              ; preds = %262
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %9, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %10, align 4
  call void @__cxa_free_exception(ptr %263) #7
  br label %588

269:                                              ; preds = %259
  %270 = load i32, ptr %7, align 4, !tbaa !9
  %271 = icmp eq i32 %270, 92
  br i1 %271, label %272, label %275

272:                                              ; preds = %269
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_113handle_escapeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt14basic_ifstreamIcS3_E(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(256) %273)
          to label %274 unwind label %48

274:                                              ; preds = %272
  br label %287

275:                                              ; preds = %269
  %276 = load i32, ptr %7, align 4, !tbaa !9
  %277 = trunc i32 %276 to i8
  %278 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %277)
          to label %279 unwind label %48

279:                                              ; preds = %275
  %280 = load i32, ptr %7, align 4, !tbaa !9
  %281 = icmp eq i32 %280, 10
  br i1 %281, label %282, label %286

282:                                              ; preds = %279
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = load i32, ptr %283, align 4, !tbaa !9
  %285 = add i32 %284, 1
  store i32 %285, ptr %283, align 4, !tbaa !9
  br label %286

286:                                              ; preds = %282, %279
  br label %287

287:                                              ; preds = %286, %274
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %288)
          to label %290 unwind label %48

290:                                              ; preds = %287
  store i32 %289, ptr %7, align 4, !tbaa !9
  br label %237, !llvm.loop !16

291:                                              ; preds = %252
  br label %292

292:                                              ; preds = %291
  br label %332

293:                                              ; preds = %197
  br label %294

294:                                              ; preds = %330, %315, %293
  %295 = load i32, ptr %7, align 4, !tbaa !9
  %296 = icmp ne i32 %295, 34
  br i1 %296, label %297, label %331

297:                                              ; preds = %294
  %298 = load i32, ptr %7, align 4, !tbaa !9
  %299 = icmp eq i32 %298, -1
  br i1 %299, label %300, label %307

300:                                              ; preds = %297
  %301 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %301, ptr noundef @.str.23)
          to label %302 unwind label %303

302:                                              ; preds = %300
  invoke void @__cxa_throw(ptr %301, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %594 unwind label %48

303:                                              ; preds = %300
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %9, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %10, align 4
  call void @__cxa_free_exception(ptr %301) #7
  br label %588

307:                                              ; preds = %297
  %308 = load i32, ptr %7, align 4, !tbaa !9
  %309 = icmp eq i32 %308, 92
  br i1 %309, label %310, label %316

310:                                              ; preds = %307
  %311 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_113handle_escapeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt14basic_ifstreamIcS3_E(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(256) %311)
          to label %312 unwind label %48

312:                                              ; preds = %310
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %313)
          to label %315 unwind label %48

315:                                              ; preds = %312
  store i32 %314, ptr %7, align 4, !tbaa !9
  br label %294, !llvm.loop !17

316:                                              ; preds = %307
  %317 = load i32, ptr %7, align 4, !tbaa !9
  %318 = icmp eq i32 %317, 10
  br i1 %318, label %319, label %323

319:                                              ; preds = %316
  %320 = load ptr, ptr %6, align 8, !tbaa !5
  %321 = load i32, ptr %320, align 4, !tbaa !9
  %322 = add i32 %321, 1
  store i32 %322, ptr %320, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %319, %316
  %324 = load i32, ptr %7, align 4, !tbaa !9
  %325 = trunc i32 %324 to i8
  %326 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %325)
          to label %327 unwind label %48

327:                                              ; preds = %323
  %328 = load ptr, ptr %5, align 8, !tbaa !5
  %329 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %328)
          to label %330 unwind label %48

330:                                              ; preds = %327
  store i32 %329, ptr %7, align 4, !tbaa !9
  br label %294, !llvm.loop !17

331:                                              ; preds = %294
  br label %332

332:                                              ; preds = %331, %292
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %333 unwind label %48

333:                                              ; preds = %332
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 10, ptr noundef %15)
          to label %334 unwind label %335

334:                                              ; preds = %333
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  store i32 1, ptr %11, align 4
  br label %587

335:                                              ; preds = %333
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %9, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %588

339:                                              ; preds = %44
  %340 = load i32, ptr %7, align 4, !tbaa !9
  %341 = call i32 @isalnum(i32 noundef %340) #8
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %346, label %343

343:                                              ; preds = %339
  %344 = load i32, ptr %7, align 4, !tbaa !9
  %345 = icmp eq i32 %344, 95
  br i1 %345, label %346, label %569

346:                                              ; preds = %343, %339
  br label %347

347:                                              ; preds = %366, %346
  %348 = load i32, ptr %7, align 4, !tbaa !9
  %349 = call i32 @isalnum(i32 noundef %348) #8
  %350 = icmp ne i32 %349, 0
  br i1 %350, label %357, label %351

351:                                              ; preds = %347
  %352 = load i32, ptr %7, align 4, !tbaa !9
  %353 = icmp eq i32 %352, 45
  br i1 %353, label %357, label %354

354:                                              ; preds = %351
  %355 = load i32, ptr %7, align 4, !tbaa !9
  %356 = icmp eq i32 %355, 95
  br label %357

357:                                              ; preds = %354, %351, %347
  %358 = phi i1 [ true, %351 ], [ true, %347 ], [ %356, %354 ]
  br i1 %358, label %359, label %367

359:                                              ; preds = %357
  %360 = load i32, ptr %7, align 4, !tbaa !9
  %361 = trunc i32 %360 to i8
  %362 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %361)
          to label %363 unwind label %48

363:                                              ; preds = %359
  %364 = load ptr, ptr %5, align 8, !tbaa !5
  %365 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %364)
          to label %366 unwind label %48

366:                                              ; preds = %363
  store i32 %365, ptr %7, align 4, !tbaa !9
  br label %347, !llvm.loop !18

367:                                              ; preds = %357
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = load i32, ptr %7, align 4, !tbaa !9
  %370 = trunc i32 %369 to i8
  %371 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7putbackEc(ptr noundef nonnull align 8 dereferenceable(16) %368, i8 noundef signext %370)
          to label %372 unwind label %48

372:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store i64 0, ptr %16, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 1, ptr %17, align 1, !tbaa !21
  %373 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %374 = icmp ugt i64 %373, 2
  br i1 %374, label %375, label %520

375:                                              ; preds = %372
  %376 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 0)
          to label %377 unwind label %393

377:                                              ; preds = %375
  %378 = load i8, ptr %376, align 1, !tbaa !23
  %379 = sext i8 %378 to i32
  %380 = icmp eq i32 %379, 48
  br i1 %380, label %381, label %520

381:                                              ; preds = %377
  %382 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 1)
          to label %383 unwind label %393

383:                                              ; preds = %381
  %384 = load i8, ptr %382, align 1, !tbaa !23
  %385 = sext i8 %384 to i32
  %386 = icmp eq i32 %385, 120
  br i1 %386, label %387, label %434

387:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store i64 2, ptr %18, align 8, !tbaa !19
  br label %388

388:                                              ; preds = %429, %387
  %389 = load i64, ptr %18, align 8, !tbaa !19
  %390 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %391 = icmp ult i64 %389, %390
  br i1 %391, label %397, label %392

392:                                              ; preds = %388
  store i32 17, ptr %11, align 4
  br label %432

393:                                              ; preds = %560, %557, %475, %434, %381, %375
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %9, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %10, align 4
  br label %568

397:                                              ; preds = %388
  %398 = load i64, ptr %18, align 8, !tbaa !19
  %399 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %398)
          to label %400 unwind label %407

400:                                              ; preds = %397
  %401 = load i8, ptr %399, align 1, !tbaa !23
  %402 = sext i8 %401 to i32
  store i32 %402, ptr %7, align 4, !tbaa !9
  %403 = load i32, ptr %7, align 4, !tbaa !9
  %404 = call i32 @isxdigit(i32 noundef %403) #8
  %405 = icmp ne i32 %404, 0
  br i1 %405, label %411, label %406

406:                                              ; preds = %400
  store i8 0, ptr %17, align 1, !tbaa !21
  store i32 17, ptr %11, align 4
  br label %432

407:                                              ; preds = %397
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %9, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %568

411:                                              ; preds = %400
  %412 = load i64, ptr %16, align 8, !tbaa !19
  %413 = mul nsw i64 %412, 16
  store i64 %413, ptr %16, align 8, !tbaa !19
  %414 = load i32, ptr %7, align 4, !tbaa !9
  %415 = icmp sle i32 %414, 57
  br i1 %415, label %416, label %419

416:                                              ; preds = %411
  %417 = load i32, ptr %7, align 4, !tbaa !9
  %418 = sub nsw i32 %417, 48
  br label %424

419:                                              ; preds = %411
  %420 = load i32, ptr %7, align 4, !tbaa !9
  %421 = and i32 %420, -33
  %422 = sub nsw i32 %421, 65
  %423 = add nsw i32 %422, 10
  br label %424

424:                                              ; preds = %419, %416
  %425 = phi i32 [ %418, %416 ], [ %423, %419 ]
  %426 = sext i32 %425 to i64
  %427 = load i64, ptr %16, align 8, !tbaa !19
  %428 = add nsw i64 %427, %426
  store i64 %428, ptr %16, align 8, !tbaa !19
  br label %429

429:                                              ; preds = %424
  %430 = load i64, ptr %18, align 8, !tbaa !19
  %431 = add i64 %430, 1
  store i64 %431, ptr %18, align 8, !tbaa !19
  br label %388, !llvm.loop !24

432:                                              ; preds = %406, %392
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %433

433:                                              ; preds = %432
  br label %519

434:                                              ; preds = %383
  %435 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 1)
          to label %436 unwind label %393

436:                                              ; preds = %434
  %437 = load i8, ptr %435, align 1, !tbaa !23
  %438 = sext i8 %437 to i32
  %439 = icmp eq i32 %438, 111
  br i1 %439, label %440, label %475

440:                                              ; preds = %436
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store i64 2, ptr %19, align 8, !tbaa !19
  br label %441

441:                                              ; preds = %470, %440
  %442 = load i64, ptr %19, align 8, !tbaa !19
  %443 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %444 = icmp ult i64 %442, %443
  br i1 %444, label %446, label %445

445:                                              ; preds = %441
  store i32 20, ptr %11, align 4
  br label %473

446:                                              ; preds = %441
  %447 = load i64, ptr %19, align 8, !tbaa !19
  %448 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %447)
          to label %449 unwind label %458

449:                                              ; preds = %446
  %450 = load i8, ptr %448, align 1, !tbaa !23
  %451 = sext i8 %450 to i32
  store i32 %451, ptr %7, align 4, !tbaa !9
  %452 = load i32, ptr %7, align 4, !tbaa !9
  %453 = icmp sle i32 48, %452
  br i1 %453, label %454, label %457

454:                                              ; preds = %449
  %455 = load i32, ptr %7, align 4, !tbaa !9
  %456 = icmp sle i32 %455, 55
  br i1 %456, label %462, label %457

457:                                              ; preds = %454, %449
  store i8 0, ptr %17, align 1, !tbaa !21
  store i32 20, ptr %11, align 4
  br label %473

458:                                              ; preds = %446
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %9, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %568

462:                                              ; preds = %454
  %463 = load i64, ptr %16, align 8, !tbaa !19
  %464 = mul nsw i64 %463, 8
  store i64 %464, ptr %16, align 8, !tbaa !19
  %465 = load i32, ptr %7, align 4, !tbaa !9
  %466 = sub nsw i32 %465, 48
  %467 = sext i32 %466 to i64
  %468 = load i64, ptr %16, align 8, !tbaa !19
  %469 = add nsw i64 %468, %467
  store i64 %469, ptr %16, align 8, !tbaa !19
  br label %470

470:                                              ; preds = %462
  %471 = load i64, ptr %19, align 8, !tbaa !19
  %472 = add i64 %471, 1
  store i64 %472, ptr %19, align 8, !tbaa !19
  br label %441, !llvm.loop !25

473:                                              ; preds = %457, %445
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %474

474:                                              ; preds = %473
  br label %518

475:                                              ; preds = %436
  %476 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 1)
          to label %477 unwind label %393

477:                                              ; preds = %475
  %478 = load i8, ptr %476, align 1, !tbaa !23
  %479 = sext i8 %478 to i32
  %480 = icmp eq i32 %479, 98
  br i1 %480, label %481, label %516

481:                                              ; preds = %477
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store i64 2, ptr %20, align 8, !tbaa !19
  br label %482

482:                                              ; preds = %511, %481
  %483 = load i64, ptr %20, align 8, !tbaa !19
  %484 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %485 = icmp ult i64 %483, %484
  br i1 %485, label %487, label %486

486:                                              ; preds = %482
  store i32 23, ptr %11, align 4
  br label %514

487:                                              ; preds = %482
  %488 = load i64, ptr %20, align 8, !tbaa !19
  %489 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %488)
          to label %490 unwind label %499

490:                                              ; preds = %487
  %491 = load i8, ptr %489, align 1, !tbaa !23
  %492 = sext i8 %491 to i32
  store i32 %492, ptr %7, align 4, !tbaa !9
  %493 = load i32, ptr %7, align 4, !tbaa !9
  %494 = icmp sle i32 48, %493
  br i1 %494, label %495, label %498

495:                                              ; preds = %490
  %496 = load i32, ptr %7, align 4, !tbaa !9
  %497 = icmp sle i32 %496, 49
  br i1 %497, label %503, label %498

498:                                              ; preds = %495, %490
  store i8 0, ptr %17, align 1, !tbaa !21
  store i32 23, ptr %11, align 4
  br label %514

499:                                              ; preds = %487
  %500 = landingpad { ptr, i32 }
          cleanup
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %9, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %568

503:                                              ; preds = %495
  %504 = load i64, ptr %16, align 8, !tbaa !19
  %505 = mul nsw i64 %504, 2
  store i64 %505, ptr %16, align 8, !tbaa !19
  %506 = load i32, ptr %7, align 4, !tbaa !9
  %507 = sub nsw i32 %506, 48
  %508 = sext i32 %507 to i64
  %509 = load i64, ptr %16, align 8, !tbaa !19
  %510 = add nsw i64 %509, %508
  store i64 %510, ptr %16, align 8, !tbaa !19
  br label %511

511:                                              ; preds = %503
  %512 = load i64, ptr %20, align 8, !tbaa !19
  %513 = add i64 %512, 1
  store i64 %513, ptr %20, align 8, !tbaa !19
  br label %482, !llvm.loop !26

514:                                              ; preds = %498, %486
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %515

515:                                              ; preds = %514
  br label %517

516:                                              ; preds = %477
  br label %517

517:                                              ; preds = %516, %515
  br label %518

518:                                              ; preds = %517, %474
  br label %519

519:                                              ; preds = %518, %433
  br label %554

520:                                              ; preds = %377, %372
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store ptr %8, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %521 = load ptr, ptr %21, align 8, !tbaa !5
  %522 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %521) #7
  %523 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %22, i32 0, i32 0
  store ptr %522, ptr %523, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %524 = load ptr, ptr %21, align 8, !tbaa !5
  %525 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %524) #7
  %526 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %23, i32 0, i32 0
  store ptr %525, ptr %526, align 8
  br label %527

527:                                              ; preds = %550, %520
  %528 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br i1 %528, label %530, label %529

529:                                              ; preds = %527
  store i32 26, ptr %11, align 4
  br label %552

530:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  %531 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %532 = load i8, ptr %531, align 1, !tbaa !23
  store i8 %532, ptr %24, align 1, !tbaa !23
  %533 = load i8, ptr %24, align 1, !tbaa !23
  %534 = sext i8 %533 to i32
  %535 = call i32 @isdigit(i32 noundef %534) #8
  %536 = icmp ne i32 %535, 0
  br i1 %536, label %538, label %537

537:                                              ; preds = %530
  store i8 0, ptr %17, align 1, !tbaa !21
  store i32 26, ptr %11, align 4
  br label %547

538:                                              ; preds = %530
  %539 = load i64, ptr %16, align 8, !tbaa !19
  %540 = mul nsw i64 %539, 10
  store i64 %540, ptr %16, align 8, !tbaa !19
  %541 = load i8, ptr %24, align 1, !tbaa !23
  %542 = sext i8 %541 to i32
  %543 = sub nsw i32 %542, 48
  %544 = sext i32 %543 to i64
  %545 = load i64, ptr %16, align 8, !tbaa !19
  %546 = add nsw i64 %545, %544
  store i64 %546, ptr %16, align 8, !tbaa !19
  store i32 0, ptr %11, align 4
  br label %547

547:                                              ; preds = %538, %537
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  %548 = load i32, ptr %11, align 4
  switch i32 %548, label %552 [
    i32 0, label %549
  ]

549:                                              ; preds = %547
  br label %550

550:                                              ; preds = %549
  %551 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br label %527

552:                                              ; preds = %547, %529
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %553

553:                                              ; preds = %552
  br label %554

554:                                              ; preds = %553, %519
  %555 = load i8, ptr %17, align 1, !tbaa !21, !range !27, !noundef !28
  %556 = trunc i8 %555 to i1
  br i1 %556, label %557, label %560

557:                                              ; preds = %554
  %558 = load i64, ptr %16, align 8, !tbaa !19
  invoke void @_ZN9TomlTokenC2ENS_4TypeEl(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 11, i64 noundef %558)
          to label %559 unwind label %393

559:                                              ; preds = %557
  store i32 1, ptr %11, align 4
  br label %567

560:                                              ; preds = %554
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %561 unwind label %393

561:                                              ; preds = %560
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 9, ptr noundef %25)
          to label %562 unwind label %563

562:                                              ; preds = %561
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  store i32 1, ptr %11, align 4
  br label %567

563:                                              ; preds = %561
  %564 = landingpad { ptr, i32 }
          cleanup
  %565 = extractvalue { ptr, i32 } %564, 0
  store ptr %565, ptr %9, align 8
  %566 = extractvalue { ptr, i32 } %564, 1
  store i32 %566, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %568

567:                                              ; preds = %562, %559
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %587

568:                                              ; preds = %563, %499, %458, %407, %393
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %588

569:                                              ; preds = %343
  store i1 true, ptr %28, align 1
  %570 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  %571 = load i32, ptr %7, align 4, !tbaa !9
  %572 = trunc i32 %571 to i8
  store i8 %572, ptr %27, align 1, !tbaa !23
  invoke void @_Z6formatIJA22_ccA10_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 1 dereferenceable(22) @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef nonnull align 1 dereferenceable(10) @.str.25)
          to label %573 unwind label %575

573:                                              ; preds = %569
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %570, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %574 unwind label %579

574:                                              ; preds = %573
  store i1 false, ptr %28, align 1
  invoke void @__cxa_throw(ptr %570, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %594 unwind label %579

575:                                              ; preds = %569
  %576 = landingpad { ptr, i32 }
          cleanup
  %577 = extractvalue { ptr, i32 } %576, 0
  store ptr %577, ptr %9, align 8
  %578 = extractvalue { ptr, i32 } %576, 1
  store i32 %578, ptr %10, align 4
  br label %583

579:                                              ; preds = %574, %573
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %9, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %583

583:                                              ; preds = %579, %575
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  %584 = load i1, ptr %28, align 1
  br i1 %584, label %585, label %586

585:                                              ; preds = %583
  call void @__cxa_free_exception(ptr %570) #7
  br label %586

586:                                              ; preds = %585, %583
  br label %588

587:                                              ; preds = %567, %334, %213, %189, %82, %79, %67, %65, %63, %61, %59, %57, %55, %53, %47
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret void

588:                                              ; preds = %586, %568, %335, %303, %265, %222, %190, %167, %147, %48
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %589

589:                                              ; preds = %588
  %590 = load ptr, ptr %9, align 8
  %591 = load i32, ptr %10, align 4
  %592 = insertvalue { ptr, i32 } poison, ptr %590, 0
  %593 = insertvalue { ptr, i32 } %592, i32 %591, 1
  resume { ptr, i32 } %593

594:                                              ; preds = %574, %302, %264, %166, %146
  unreachable
}

declare noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

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

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

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

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

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7putbackEc(ptr noundef nonnull align 8 dereferenceable(16), i8 noundef signext) #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113handle_escapeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt14basic_ifstreamIcS3_E(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(256)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 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) #3 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9TomlTokenC2ENS_4TypeEl(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i64 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6formatIJA22_ccA10_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(22), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(10)) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { 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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = !{i8 0, i8 2}
!28 = !{}


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

%struct.TomlToken = type { i32, %"class.std::__cxx11::basic_string", i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9TomlToken14lex_from_innerERSt14basic_ifstreamIcSt11char_traitsIcEERj(ptr dead_on_unwind noalias writable sret(%struct.TomlToken) align 8 %0, ptr noundef nonnull align 8 dereferenceable(256) %1, ptr nocapture noundef nonnull align 4 dereferenceable(4) %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca i8, align 1
  br label %14

14:                                               ; preds = %16, %3
  %15 = tail call noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  switch i32 %15, label %16 [
    i32 -1, label %.critedge
    i32 10, label %.critedge
  ]

16:                                               ; preds = %14
  %17 = tail call i32 @isspace(i32 noundef %15) #7
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %.critedge, label %14, !llvm.loop !5

.critedge:                                        ; preds = %14, %14, %16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  switch i32 %15, label %163 [
    i32 -1, label %18
    i32 91, label %19
    i32 93, label %20
    i32 123, label %21
    i32 125, label %22
    i32 44, label %23
    i32 46, label %24
    i32 61, label %25
    i32 10, label %26
    i32 35, label %.preheader202
    i32 39, label %33
    i32 34, label %90
  ]

18:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 0)
  br label %268

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

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

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %52, %56, %60, %62, %72
  %lpad.loopexit206 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %118, %122, %126, %128, %135, %136, %144
  %lpad.loopexit214 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %.invoke, %155, %151
  %lpad.loopexit219 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %.invoke266, %172, %.loopexit216, %112, %108, %97, %94, %90, %.loopexit208, %46, %42, %40, %37, %33
  %lpad.loopexit.split-lp220 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

19:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 1)
  br label %268

20:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 2)
  br label %268

21:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 3)
  br label %268

22:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 4)
  br label %268

23:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 7)
  br label %268

24:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 8)
  br label %268

25:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 5)
  br label %268

26:                                               ; preds = %.critedge
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 6)
  br label %268

.preheader202:                                    ; preds = %.critedge, %29
  %.0121 = phi i32 [ %28, %29 ], [ %15, %.critedge ]
  %.not171 = icmp eq i32 %.0121, 10
  br i1 %.not171, label %32, label %27

27:                                               ; preds = %.preheader202
  %28 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %29 unwind label %.loopexit.split-lp.loopexit

29:                                               ; preds = %27
  %30 = icmp eq i32 %28, -1
  br i1 %30, label %31, label %.preheader202, !llvm.loop !7

31:                                               ; preds = %29
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 0)
  br label %268

32:                                               ; preds = %.preheader202
  call void @_ZN9TomlTokenC2ENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 6)
  br label %268

33:                                               ; preds = %.critedge
  %34 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %35 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

35:                                               ; preds = %33
  %36 = icmp eq i32 %34, 39
  br i1 %36, label %37, label %.preheader209

37:                                               ; preds = %35
  %38 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %39 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

39:                                               ; preds = %37
  %.not170 = icmp eq i32 %38, 39
  br i1 %.not170, label %42, label %40

40:                                               ; preds = %39
  %41 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.20)
          to label %.loopexit208 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

42:                                               ; preds = %39
  %43 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %44 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

44:                                               ; preds = %42
  %45 = icmp eq i32 %43, 10
  br i1 %45, label %46, label %.preheader286

46:                                               ; preds = %44
  %47 = load i32, ptr %2, align 4, !tbaa !8
  %48 = add i32 %47, 1
  store i32 %48, ptr %2, align 4, !tbaa !8
  %49 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader286 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader286:                                    ; preds = %46, %44
  %.2.ph = phi i32 [ %49, %46 ], [ %43, %44 ]
  br label %50

50:                                               ; preds = %.preheader286, %72
  %.2 = phi i32 [ %73, %72 ], [ %.2.ph, %.preheader286 ]
  %51 = icmp eq i32 %.2, 39
  br i1 %51, label %52, label %64

52:                                               ; preds = %50
  %53 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %54 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

54:                                               ; preds = %52
  %55 = icmp eq i32 %53, 39
  br i1 %55, label %56, label %62

56:                                               ; preds = %54
  %57 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %58 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

58:                                               ; preds = %56
  %59 = icmp eq i32 %57, 39
  br i1 %59, label %.loopexit208, label %60

60:                                               ; preds = %58
  %61 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext 39)
          to label %62 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

62:                                               ; preds = %60, %54
  %.3 = phi i32 [ %57, %60 ], [ %53, %54 ]
  %63 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext 39)
          to label %64 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

64:                                               ; preds = %62, %50
  %.4 = phi i32 [ %.3, %62 ], [ %.2, %50 ]
  switch i32 %.4, label %72 [
    i32 10, label %65
    i32 -1, label %68
  ]

65:                                               ; preds = %64
  %66 = load i32, ptr %2, align 4, !tbaa !8
  %67 = add i32 %66, 1
  store i32 %67, ptr %2, align 4, !tbaa !8
  br label %72

68:                                               ; preds = %64
  %69 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull @.str.21)
          to label %.invoke266 unwind label %70

70:                                               ; preds = %68
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %69) #8
  br label %.loopexit.split-lp

72:                                               ; preds = %65, %64
  %73 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %50 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit, !llvm.loop !12

.preheader209:                                    ; preds = %35, %84
  %.5 = phi i32 [ %85, %84 ], [ %34, %35 ]
  switch i32 %.5, label %81 [
    i32 39, label %.loopexit208
    i32 -1, label %74
    i32 10, label %78
  ]

74:                                               ; preds = %.preheader209
  %75 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull @.str.22)
          to label %.invoke266 unwind label %76

76:                                               ; preds = %74
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %75) #8
  br label %.loopexit.split-lp

78:                                               ; preds = %.preheader209
  %79 = load i32, ptr %2, align 4, !tbaa !8
  %80 = add i32 %79, 1
  store i32 %80, ptr %2, align 4, !tbaa !8
  br label %81

81:                                               ; preds = %.preheader209, %78
  %82 = trunc i32 %.5 to i8
  %83 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %82)
          to label %84 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

84:                                               ; preds = %81
  %85 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader209 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, !llvm.loop !13

.loopexit208:                                     ; preds = %.preheader209, %58, %40
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %86 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

86:                                               ; preds = %.loopexit208
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 10, ptr noundef nonnull %5)
          to label %87 unwind label %88

87:                                               ; preds = %86
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  br label %268

88:                                               ; preds = %86
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  br label %.loopexit.split-lp

90:                                               ; preds = %.critedge
  %91 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %92 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

92:                                               ; preds = %90
  %93 = icmp eq i32 %91, 34
  br i1 %93, label %94, label %.preheader217

94:                                               ; preds = %92
  %95 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %96 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

96:                                               ; preds = %94
  %.not167 = icmp eq i32 %95, 34
  br i1 %.not167, label %108, label %97

97:                                               ; preds = %96
  %98 = trunc i32 %95 to i8
  %99 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7putbackEc(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 noundef signext %98)
          to label %100 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

100:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %101 unwind label %103

101:                                              ; preds = %100
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 10, ptr noundef nonnull %6)
          to label %102 unwind label %105

102:                                              ; preds = %101
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  br label %268

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

105:                                              ; preds = %101
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %107

107:                                              ; preds = %105, %103
  %.pn = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  br label %.loopexit.split-lp

108:                                              ; preds = %96
  %109 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %110 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

110:                                              ; preds = %108
  %111 = icmp eq i32 %109, 10
  br i1 %111, label %112, label %.preheader288

112:                                              ; preds = %110
  %113 = load i32, ptr %2, align 4, !tbaa !8
  %114 = add i32 %113, 1
  store i32 %114, ptr %2, align 4, !tbaa !8
  %115 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader288 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader288:                                    ; preds = %112, %110
  %.7.ph = phi i32 [ %115, %112 ], [ %109, %110 ]
  br label %116

116:                                              ; preds = %.preheader288, %144
  %.7 = phi i32 [ %145, %144 ], [ %.7.ph, %.preheader288 ]
  %117 = icmp eq i32 %.7, 34
  br i1 %117, label %118, label %130

118:                                              ; preds = %116
  %119 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %120 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

120:                                              ; preds = %118
  %121 = icmp eq i32 %119, 34
  br i1 %121, label %122, label %128

122:                                              ; preds = %120
  %123 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %124 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

124:                                              ; preds = %122
  %125 = icmp eq i32 %123, 34
  br i1 %125, label %.loopexit216, label %126

126:                                              ; preds = %124
  %127 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext 34)
          to label %128 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

128:                                              ; preds = %126, %120
  %.8 = phi i32 [ %123, %126 ], [ %119, %120 ]
  %129 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext 34)
          to label %130 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

130:                                              ; preds = %128, %116
  %.9 = phi i32 [ %.8, %128 ], [ %.7, %116 ]
  switch i32 %.9, label %136 [
    i32 -1, label %131
    i32 92, label %135
  ]

131:                                              ; preds = %130
  %132 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %132, ptr noundef nonnull @.str.21)
          to label %.invoke266 unwind label %133

133:                                              ; preds = %131
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %132) #8
  br label %.loopexit.split-lp

135:                                              ; preds = %130
  invoke void @_ZN12_GLOBAL__N_113handle_escapeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt14basic_ifstreamIcS3_E(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(256) %1)
          to label %144 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

136:                                              ; preds = %130
  %137 = trunc i32 %.9 to i8
  %138 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %137)
          to label %139 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

139:                                              ; preds = %136
  %140 = icmp eq i32 %.9, 10
  br i1 %140, label %141, label %144

141:                                              ; preds = %139
  %142 = load i32, ptr %2, align 4, !tbaa !8
  %143 = add i32 %142, 1
  store i32 %143, ptr %2, align 4, !tbaa !8
  br label %144

144:                                              ; preds = %139, %141, %135
  %145 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %116 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, !llvm.loop !14

.preheader217:                                    ; preds = %92, %.invoke
  %.10 = phi i32 [ %158, %.invoke ], [ %91, %92 ]
  switch i32 %.10, label %155 [
    i32 34, label %.loopexit216
    i32 -1, label %146
    i32 92, label %151
    i32 10, label %152
  ]

146:                                              ; preds = %.preheader217
  %147 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %147, ptr noundef nonnull @.str.23)
          to label %.invoke266 unwind label %149

.invoke266:                                       ; preds = %146, %131, %74, %68
  %148 = phi ptr [ %69, %68 ], [ %75, %74 ], [ %132, %131 ], [ %147, %146 ]
  invoke void @__cxa_throw(ptr nonnull %148, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %.cont unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.cont:                                            ; preds = %.invoke266
  unreachable

149:                                              ; preds = %146
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %147) #8
  br label %.loopexit.split-lp

151:                                              ; preds = %.preheader217
  invoke void @_ZN12_GLOBAL__N_113handle_escapeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt14basic_ifstreamIcS3_E(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(256) %1)
          to label %.invoke unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

152:                                              ; preds = %.preheader217
  %153 = load i32, ptr %2, align 4, !tbaa !8
  %154 = add i32 %153, 1
  store i32 %154, ptr %2, align 4, !tbaa !8
  br label %155

155:                                              ; preds = %.preheader217, %152
  %156 = trunc i32 %.10 to i8
  %157 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %156)
          to label %.invoke unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.invoke:                                          ; preds = %155, %151
  %158 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader217 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, !llvm.loop !15

.loopexit216:                                     ; preds = %.preheader217, %124
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %159 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

159:                                              ; preds = %.loopexit216
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 10, ptr noundef nonnull %8)
          to label %160 unwind label %161

160:                                              ; preds = %159
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %268

161:                                              ; preds = %159
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %.loopexit.split-lp

163:                                              ; preds = %.critedge
  %164 = call i32 @isalnum(i32 noundef %15) #7
  %165 = icmp ne i32 %164, 0
  %166 = icmp eq i32 %15, 95
  %or.cond3 = or i1 %166, %165
  br i1 %or.cond3, label %.preheader201, label %258

.preheader201:                                    ; preds = %163, %170
  %.11 = phi i32 [ %171, %170 ], [ %15, %163 ]
  %167 = call i32 @isalnum(i32 noundef %.11) #7
  %.fr = freeze i32 %167
  %.not193 = icmp eq i32 %.fr, 0
  br i1 %.not193, label %switch.early.test, label %.critedge7

switch.early.test:                                ; preds = %.preheader201
  switch i32 %.11, label %172 [
    i32 95, label %.critedge7
    i32 45, label %.critedge7
  ]

.critedge7:                                       ; preds = %switch.early.test, %switch.early.test, %.preheader201
  %168 = trunc i32 %.11 to i8
  %169 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %168)
          to label %170 unwind label %.loopexit

170:                                              ; preds = %.critedge7
  %171 = invoke noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader201 unwind label %.loopexit, !llvm.loop !16

172:                                              ; preds = %switch.early.test
  %173 = trunc i32 %.11 to i8
  %174 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7putbackEc(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 noundef signext %173)
          to label %175 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

175:                                              ; preds = %172
  %176 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %177 = icmp ugt i64 %176, 2
  br i1 %177, label %178, label %240

178:                                              ; preds = %175
  %179 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef 0)
  %180 = load i8, ptr %179, align 1, !tbaa !17
  %181 = icmp eq i8 %180, 48
  br i1 %181, label %182, label %240

182:                                              ; preds = %178
  %183 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef 1)
  %184 = load i8, ptr %183, align 1, !tbaa !17
  %185 = icmp eq i8 %184, 120
  br i1 %185, label %.preheader, label %206

.preheader:                                       ; preds = %182
  %186 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %187 = icmp ugt i64 %186, 2
  br i1 %187, label %.lr.ph239, label %.thread

188:                                              ; preds = %.thread184
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.lr.ph239:                                        ; preds = %.preheader, %194
  %.0129238 = phi i64 [ %203, %194 ], [ 2, %.preheader ]
  %.0137237 = phi i64 [ %202, %194 ], [ 0, %.preheader ]
  %190 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %.0129238)
  %191 = load i8, ptr %190, align 1, !tbaa !17
  %192 = sext i8 %191 to i32
  %193 = call i32 @isxdigit(i32 noundef %192) #7
  %.not174 = icmp eq i32 %193, 0
  br i1 %.not174, label %.thread184, label %194

194:                                              ; preds = %.lr.ph239
  %195 = shl nsw i64 %.0137237, 4
  %196 = icmp slt i8 %191, 58
  %197 = add nsw i32 %192, -48
  %198 = and i32 %192, 95
  %199 = add nsw i32 %198, -55
  %200 = select i1 %196, i32 %197, i32 %199
  %201 = sext i32 %200 to i64
  %202 = add nsw i64 %195, %201
  %203 = add nuw i64 %.0129238, 1
  %204 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %205 = icmp ult i64 %203, %204
  br i1 %205, label %.lr.ph239, label %.thread, !llvm.loop !18

206:                                              ; preds = %182
  %207 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef 1)
  %208 = load i8, ptr %207, align 1, !tbaa !17
  %209 = icmp eq i8 %208, 111
  br i1 %209, label %.preheader195, label %223

.preheader195:                                    ; preds = %206
  %210 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %211 = icmp ugt i64 %210, 2
  br i1 %211, label %.lr.ph235, label %.thread

.lr.ph235:                                        ; preds = %.preheader195, %215
  %.0128234 = phi i64 [ %220, %215 ], [ 2, %.preheader195 ]
  %.1138233 = phi i64 [ %219, %215 ], [ 0, %.preheader195 ]
  %212 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %.0128234)
  %213 = load i8, ptr %212, align 1, !tbaa !17
  %214 = and i8 %213, -8
  %or.cond9 = icmp eq i8 %214, 48
  br i1 %or.cond9, label %215, label %.thread184

215:                                              ; preds = %.lr.ph235
  %216 = shl nsw i64 %.1138233, 3
  %217 = and i8 %213, 7
  %218 = zext nneg i8 %217 to i64
  %219 = or disjoint i64 %216, %218
  %220 = add nuw i64 %.0128234, 1
  %221 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %222 = icmp ult i64 %220, %221
  br i1 %222, label %.lr.ph235, label %.thread, !llvm.loop !19

223:                                              ; preds = %206
  %224 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef 1)
  %225 = load i8, ptr %224, align 1, !tbaa !17
  %226 = icmp eq i8 %225, 98
  br i1 %226, label %.preheader198, label %.thread

.preheader198:                                    ; preds = %223
  %227 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %228 = icmp ugt i64 %227, 2
  br i1 %228, label %.lr.ph231, label %.thread

.lr.ph231:                                        ; preds = %.preheader198, %232
  %.0127230 = phi i64 [ %237, %232 ], [ 2, %.preheader198 ]
  %.2139229 = phi i64 [ %236, %232 ], [ 0, %.preheader198 ]
  %229 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %.0127230)
  %230 = load i8, ptr %229, align 1, !tbaa !17
  %231 = and i8 %230, -2
  %or.cond11 = icmp eq i8 %231, 48
  br i1 %or.cond11, label %232, label %.thread184

232:                                              ; preds = %.lr.ph231
  %233 = shl nsw i64 %.2139229, 1
  %234 = and i8 %230, 1
  %235 = zext nneg i8 %234 to i64
  %236 = or disjoint i64 %233, %235
  %237 = add nuw i64 %.0127230, 1
  %238 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %239 = icmp ult i64 %237, %238
  br i1 %239, label %.lr.ph231, label %.thread, !llvm.loop !20

240:                                              ; preds = %178, %175
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %241 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  store ptr %241, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %242 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  store ptr %242, ptr %10, align 8
  %243 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %243, label %.lr.ph, label %.thread.critedge

.lr.ph:                                           ; preds = %240, %247
  %.3140228 = phi i64 [ %250, %247 ], [ 0, %240 ]
  %244 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %245 = load i8, ptr %244, align 1, !tbaa !17
  %246 = sext i8 %245 to i32
  %isdigittmp = add nsw i32 %246, -48
  %isdigit = icmp ult i32 %isdigittmp, 10
  br i1 %isdigit, label %247, label %253

247:                                              ; preds = %.lr.ph
  %248 = mul nsw i64 %.3140228, 10
  %249 = zext nneg i32 %isdigittmp to i64
  %250 = add nsw i64 %248, %249
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %252 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %252, label %.lr.ph, label %.thread.critedge

253:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %.thread184

.thread.critedge:                                 ; preds = %247, %240
  %.3140.lcssa = phi i64 [ 0, %240 ], [ %250, %247 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %.thread

.thread:                                          ; preds = %232, %215, %194, %.preheader198, %.preheader195, %.preheader, %.thread.critedge, %223
  %.6143181 = phi i64 [ 0, %223 ], [ %.3140.lcssa, %.thread.critedge ], [ 0, %.preheader ], [ 0, %.preheader195 ], [ 0, %.preheader198 ], [ %202, %194 ], [ %219, %215 ], [ %236, %232 ]
  call void @_ZN9TomlTokenC2ENS_4TypeEl(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 11, i64 noundef %.6143181)
  br label %268

.thread184:                                       ; preds = %.lr.ph231, %.lr.ph235, %.lr.ph239, %253
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %254 unwind label %188

254:                                              ; preds = %.thread184
  invoke void @_ZN9TomlTokenC2ENS_4TypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef 9, ptr noundef nonnull %11)
          to label %255 unwind label %256

255:                                              ; preds = %254
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %268

256:                                              ; preds = %254
  %257 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %.loopexit.split-lp

258:                                              ; preds = %163
  %259 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  %260 = trunc i32 %15 to i8
  store i8 %260, ptr %13, align 1, !tbaa !17
  invoke void @_Z6formatIJA22_ccA10_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 1 dereferenceable(22) @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 1 dereferenceable(10) @.str.25)
          to label %261 unwind label %.thread187

261:                                              ; preds = %258
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %259, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %263 unwind label %.thread191

.thread191:                                       ; preds = %261
  %262 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %267

263:                                              ; preds = %261
  invoke void @__cxa_throw(ptr nonnull %259, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %269 unwind label %265

.thread187:                                       ; preds = %258
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %267

265:                                              ; preds = %263
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %.loopexit.split-lp

267:                                              ; preds = %.thread191, %.thread187
  %.pn172190 = phi { ptr, i32 } [ %264, %.thread187 ], [ %262, %.thread191 ]
  call void @__cxa_free_exception(ptr %259) #8
  br label %.loopexit.split-lp

268:                                              ; preds = %.thread, %255, %160, %102, %87, %32, %31, %26, %25, %24, %23, %22, %21, %20, %19, %18
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  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, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit, %265, %188, %256, %267, %161, %149, %133, %107, %88, %76, %70
  %.pn177 = phi { ptr, i32 } [ %.pn172190, %267 ], [ %266, %265 ], [ %.pn, %107 ], [ %162, %161 ], [ %134, %133 ], [ %150, %149 ], [ %89, %88 ], [ %71, %70 ], [ %77, %76 ], [ %257, %256 ], [ %189, %188 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit203, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit206, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit211, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit214, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit219, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp220, %.loopexit.split-lp.loopexit.split-lp.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) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn177

269:                                              ; preds = %263
  unreachable
}

declare noundef i32 @_ZNSi3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) local_unnamed_addr #5

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

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

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

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7putbackEc(ptr noundef nonnull align 8 dereferenceable(16), i8 noundef signext) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113handle_escapeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt14basic_ifstreamIcS3_E(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 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 #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9TomlTokenC2ENS_4TypeEl(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i64 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6formatIJA22_ccA10_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(22), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(10)) local_unnamed_addr #4

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass