; LLVM IR from thepowersgang/mrustc :: tools/minicargo (cfg)

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

%"class.CfgParseLexer::Tok" = type { i32, ptr, ptr, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { ptr }
%"struct.std::pair.34" = type { %"struct.std::__detail::_Node_const_iterator", %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.anon.36 = type { ptr }
%struct.CfgChecker = type { %"class.std::unordered_set", %"class.std::unordered_multimap" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.17 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; 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 #2

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.CfgParseLexer::Tok", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca i1, align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i8, align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i1, align 1
  %17 = alloca i32, align 4
  %18 = alloca %"class.CfgParseLexer::Tok", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %class.anon, align 8
  %23 = alloca %"struct.std::pair.34", align 8
  %24 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %25 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %26 = alloca %class.anon.36, align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca i1, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #8
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN13CfgParseLexer7consumeEv(ptr dead_on_unwind writable sret(%"class.CfgParseLexer::Tok") align 8 %8, ptr noundef nonnull align 8 dereferenceable(72) %30)
  %31 = invoke noundef i32 @_ZNK13CfgParseLexer3Tok2tyEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %32 unwind label %38

32:                                               ; preds = %3
  %33 = icmp ne i32 %31, 2
  br i1 %33, label %34, label %54

34:                                               ; preds = %32
  store i1 true, ptr %12, align 1
  %35 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  invoke void @_Z6formatIJA44_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 1 dereferenceable(44) @.str.17)
          to label %36 unwind label %42

36:                                               ; preds = %34
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %37 unwind label %46

37:                                               ; preds = %36
  store i1 false, ptr %12, align 1
  invoke void @__cxa_throw(ptr %35, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %288 unwind label %46

38:                                               ; preds = %3
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %9, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %10, align 4
  br label %282

42:                                               ; preds = %34
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %10, align 4
  br label %50

46:                                               ; preds = %37, %36
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %9, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %50

50:                                               ; preds = %46, %42
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  %51 = load i1, ptr %12, align 1
  br i1 %51, label %52, label %53

52:                                               ; preds = %50
  call void @__cxa_free_exception(ptr %35) #8
  br label %53

53:                                               ; preds = %52, %50
  br label %282

54:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #8
  invoke void @_ZNK13CfgParseLexer3Tok9to_stringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %55 unwind label %69

55:                                               ; preds = %54
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %56, i8 noundef signext 40)
          to label %58 unwind label %73

58:                                               ; preds = %55
  br i1 %57, label %59, label %170

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  %60 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.18)
          to label %61 unwind label %77

61:                                               ; preds = %59
  br i1 %60, label %62, label %81

62:                                               ; preds = %61
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = invoke noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %29, ptr noundef nonnull align 8 dereferenceable(72) %63, ptr noundef nonnull align 8 dereferenceable(24) %64)
          to label %66 unwind label %77

66:                                               ; preds = %62
  %67 = xor i1 %65, true
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %14, align 1, !tbaa !9
  br label %155

69:                                               ; preds = %54
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %9, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %10, align 4
  br label %281

73:                                               ; preds = %273, %170, %55
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %9, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %10, align 4
  br label %280

77:                                               ; preds = %161, %155, %131, %119, %115, %112, %109, %103, %91, %87, %84, %81, %62, %59
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %9, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %10, align 4
  br label %169

81:                                               ; preds = %61
  %82 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.19)
          to label %83 unwind label %77

83:                                               ; preds = %81
  br i1 %82, label %84, label %109

84:                                               ; preds = %83
  store i8 1, ptr %14, align 1, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK13CfgParseLexer3curEv(ptr noundef nonnull align 8 dereferenceable(72) %85)
          to label %87 unwind label %77

87:                                               ; preds = %84
  %88 = invoke noundef zeroext i1 @_ZNK13CfgParseLexer3TokneEc(ptr noundef nonnull align 8 dereferenceable(56) %86, i8 noundef signext 41)
          to label %89 unwind label %77

89:                                               ; preds = %87
  br i1 %88, label %90, label %108

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %106, %90
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = invoke noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %29, ptr noundef nonnull align 8 dereferenceable(72) %92, ptr noundef nonnull align 8 dereferenceable(24) %93)
          to label %95 unwind label %77

95:                                               ; preds = %91
  %96 = zext i1 %94 to i32
  %97 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %98 = trunc i8 %97 to i1
  %99 = zext i1 %98 to i32
  %100 = and i32 %99, %96
  %101 = icmp ne i32 %100, 0
  %102 = zext i1 %101 to i8
  store i8 %102, ptr %14, align 1, !tbaa !9
  br label %103

103:                                              ; preds = %95
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %104, i8 noundef signext 44)
          to label %106 unwind label %77

106:                                              ; preds = %103
  br i1 %105, label %91, label %107, !llvm.loop !13

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107, %89
  br label %154

109:                                              ; preds = %83
  %110 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.20)
          to label %111 unwind label %77

111:                                              ; preds = %109
  br i1 %110, label %112, label %137

112:                                              ; preds = %111
  store i8 0, ptr %14, align 1, !tbaa !9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK13CfgParseLexer3curEv(ptr noundef nonnull align 8 dereferenceable(72) %113)
          to label %115 unwind label %77

115:                                              ; preds = %112
  %116 = invoke noundef zeroext i1 @_ZNK13CfgParseLexer3TokneEc(ptr noundef nonnull align 8 dereferenceable(56) %114, i8 noundef signext 41)
          to label %117 unwind label %77

117:                                              ; preds = %115
  br i1 %116, label %118, label %136

118:                                              ; preds = %117
  br label %119

119:                                              ; preds = %134, %118
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = invoke noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %29, ptr noundef nonnull align 8 dereferenceable(72) %120, ptr noundef nonnull align 8 dereferenceable(24) %121)
          to label %123 unwind label %77

123:                                              ; preds = %119
  %124 = zext i1 %122 to i32
  %125 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %126 = trunc i8 %125 to i1
  %127 = zext i1 %126 to i32
  %128 = or i32 %127, %124
  %129 = icmp ne i32 %128, 0
  %130 = zext i1 %129 to i8
  store i8 %130, ptr %14, align 1, !tbaa !9
  br label %131

131:                                              ; preds = %123
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %132, i8 noundef signext 44)
          to label %134 unwind label %77

134:                                              ; preds = %131
  br i1 %133, label %119, label %135, !llvm.loop !15

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %117
  br label %153

137:                                              ; preds = %111
  store i1 true, ptr %16, align 1
  %138 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #8
  invoke void @_Z6formatIJA26_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA2_cEES6_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 1 dereferenceable(26) @.str.21, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(2) @.str.22)
          to label %139 unwind label %141

139:                                              ; preds = %137
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %140 unwind label %145

140:                                              ; preds = %139
  store i1 false, ptr %16, align 1
  invoke void @__cxa_throw(ptr %138, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %288 unwind label %145

141:                                              ; preds = %137
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %9, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %10, align 4
  br label %149

145:                                              ; preds = %140, %139
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %9, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %149

149:                                              ; preds = %145, %141
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  %150 = load i1, ptr %16, align 1
  br i1 %150, label %151, label %152

151:                                              ; preds = %149
  call void @__cxa_free_exception(ptr %138) #8
  br label %152

152:                                              ; preds = %151, %149
  br label %169

153:                                              ; preds = %136
  br label %154

154:                                              ; preds = %153, %108
  br label %155

155:                                              ; preds = %154, %66
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %156, i8 noundef signext 41)
          to label %158 unwind label %77

158:                                              ; preds = %155
  br i1 %157, label %166, label %159

159:                                              ; preds = %158
  %160 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %160, ptr noundef @.str.23)
          to label %161 unwind label %162

161:                                              ; preds = %159
  invoke void @__cxa_throw(ptr %160, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %288 unwind label %77

162:                                              ; preds = %159
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %9, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %10, align 4
  call void @__cxa_free_exception(ptr %160) #8
  br label %169

166:                                              ; preds = %158
  %167 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %168 = trunc i8 %167 to i1
  store i1 %168, ptr %4, align 1
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br label %278

169:                                              ; preds = %162, %152, %77
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br label %280

170:                                              ; preds = %58
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %171, i8 noundef signext 61)
          to label %173 unwind label %73

173:                                              ; preds = %170
  br i1 %172, label %174, label %273

174:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 56, ptr %18) #8
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN13CfgParseLexer7consumeEv(ptr dead_on_unwind writable sret(%"class.CfgParseLexer::Tok") align 8 %18, ptr noundef nonnull align 8 dereferenceable(72) %175)
          to label %176 unwind label %183

176:                                              ; preds = %174
  %177 = invoke noundef i32 @_ZNK13CfgParseLexer3Tok2tyEv(ptr noundef nonnull align 8 dereferenceable(56) %18)
          to label %178 unwind label %187

178:                                              ; preds = %176
  %179 = icmp ne i32 %177, 3
  br i1 %179, label %180, label %195

180:                                              ; preds = %178
  %181 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %181, ptr noundef @.str.24)
          to label %182 unwind label %191

182:                                              ; preds = %180
  invoke void @__cxa_throw(ptr %181, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %288 unwind label %187

183:                                              ; preds = %174
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %9, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %10, align 4
  br label %272

187:                                              ; preds = %182, %176
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %9, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %10, align 4
  br label %271

191:                                              ; preds = %180
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %9, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %10, align 4
  call void @__cxa_free_exception(ptr %181) #8
  br label %271

195:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %196 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK13CfgParseLexer3Tok3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(56) %18)
          to label %197 unwind label %217

197:                                              ; preds = %195
  store ptr %196, ptr %19, align 8, !tbaa !5
  %198 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.25)
          to label %199 unwind label %217

199:                                              ; preds = %197
  br i1 %198, label %200, label %221

200:                                              ; preds = %199
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %201) #8
  %203 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %202, ptr %203, align 8
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %204) #8
  %206 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %205, ptr %206, align 8
  %207 = getelementptr inbounds %class.anon, ptr %22, i32 0, i32 0
  %208 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %208, ptr %207, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  %210 = load ptr, ptr %209, align 8
  %211 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  %212 = load ptr, ptr %211, align 8
  %213 = getelementptr inbounds %class.anon, ptr %22, i32 0, i32 0
  %214 = load ptr, ptr %213, align 8
  %215 = invoke noundef zeroext i1 @"_ZSt6any_ofIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSC_E3$_0EbT_SK_T0_"(ptr %210, ptr %212, ptr %214)
          to label %216 unwind label %217

216:                                              ; preds = %200
  store i1 %215, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %269

217:                                              ; preds = %200, %197, %195
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %9, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %10, align 4
  br label %270

221:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %222 = getelementptr inbounds %struct.CfgChecker, ptr %29, i32 0, i32 1
  %223 = invoke { ptr, ptr } @_ZNKSt18unordered_multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE11equal_rangeERSB_(ptr noundef nonnull align 8 dereferenceable(56) %222, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %224 unwind label %247

224:                                              ; preds = %221
  %225 = getelementptr inbounds { ptr, ptr }, ptr %23, i32 0, i32 0
  %226 = extractvalue { ptr, ptr } %223, 0
  store ptr %226, ptr %225, align 8
  %227 = getelementptr inbounds { ptr, ptr }, ptr %23, i32 0, i32 1
  %228 = extractvalue { ptr, ptr } %223, 1
  store ptr %228, ptr %227, align 8
  %229 = getelementptr inbounds %"struct.std::pair.34", ptr %23, i32 0, i32 0
  %230 = getelementptr inbounds %"struct.std::pair.34", ptr %23, i32 0, i32 1
  %231 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull align 8 dereferenceable(8) %230) #8
  br i1 %231, label %232, label %251

232:                                              ; preds = %224
  %233 = getelementptr inbounds %"struct.std::pair.34", ptr %23, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %233, i64 8, i1 false)
  %234 = getelementptr inbounds %"struct.std::pair.34", ptr %23, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %234, i64 8, i1 false)
  %235 = getelementptr inbounds %class.anon.36, ptr %26, i32 0, i32 0
  %236 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %236, ptr %235, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %24, i32 0, i32 0
  %238 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %237, i32 0, i32 0
  %239 = load ptr, ptr %238, align 8
  %240 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %25, i32 0, i32 0
  %241 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %240, i32 0, i32 0
  %242 = load ptr, ptr %241, align 8
  %243 = getelementptr inbounds %class.anon.36, ptr %26, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8
  %245 = invoke noundef zeroext i1 @"_ZSt6any_ofINSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ELb0ELb1EEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorIS8_SaIS8_EEE3$_1EbT_SL_T0_"(ptr %239, ptr %242, ptr %244)
          to label %246 unwind label %247

246:                                              ; preds = %232
  store i1 %245, ptr %4, align 1
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %269

247:                                              ; preds = %232, %221
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %9, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %10, align 4
  br label %268

251:                                              ; preds = %224
  store i1 true, ptr %28, align 1
  %252 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #8
  %253 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_Z6formatIJA20_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cS6_A3_cEES6_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %27, ptr noundef nonnull align 1 dereferenceable(20) @.str.26, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(6) @.str.27, ptr noundef nonnull align 8 dereferenceable(32) %253, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
          to label %254 unwind label %256

254:                                              ; preds = %251
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %252, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %255 unwind label %260

255:                                              ; preds = %254
  store i1 false, ptr %28, align 1
  invoke void @__cxa_throw(ptr %252, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %288 unwind label %260

256:                                              ; preds = %251
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %9, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %10, align 4
  br label %264

260:                                              ; preds = %255, %254
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %9, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  br label %264

264:                                              ; preds = %260, %256
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  %265 = load i1, ptr %28, align 1
  br i1 %265, label %266, label %267

266:                                              ; preds = %264
  call void @__cxa_free_exception(ptr %252) #8
  br label %267

267:                                              ; preds = %266, %264
  br label %268

268:                                              ; preds = %267, %247
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %270

269:                                              ; preds = %246, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %18) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #8
  br label %278

270:                                              ; preds = %268, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %271

271:                                              ; preds = %270, %191, %187
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %18) #8
  br label %272

272:                                              ; preds = %271, %183
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #8
  br label %280

273:                                              ; preds = %173
  %274 = getelementptr inbounds %struct.CfgChecker, ptr %29, i32 0, i32 0
  %275 = invoke noundef i64 @_ZNKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(56) %274, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %276 unwind label %73

276:                                              ; preds = %273
  %277 = icmp ugt i64 %275, 0
  store i1 %277, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %278

278:                                              ; preds = %276, %269, %166
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #8
  %279 = load i1, ptr %4, align 1
  ret i1 %279

280:                                              ; preds = %272, %169, %73
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %281

281:                                              ; preds = %280, %69
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  br label %282

282:                                              ; preds = %281, %53, %38
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #8
  br label %283

283:                                              ; preds = %282
  %284 = load ptr, ptr %9, align 8
  %285 = load i32, ptr %10, align 4
  %286 = insertvalue { ptr, i32 } poison, ptr %284, 0
  %287 = insertvalue { ptr, i32 } %286, i32 %285, 1
  resume { ptr, i32 } %287

288:                                              ; preds = %255, %182, %161, %140, %37
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13CfgParseLexer3Tok9to_stringB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13CfgParseLexer7consumeEv(ptr dead_on_unwind noalias writable sret(%"class.CfgParseLexer::Tok") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72), i8 noundef signext) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13CfgParseLexer3TokneEc(ptr noundef nonnull align 8 dereferenceable(56), i8 noundef signext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6formatIJA26_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA2_cEES6_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZSt6any_ofIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSC_E3$_0EbT_SK_T0_"(ptr, ptr, ptr) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNKSt18unordered_multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE11equal_rangeERSB_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZSt6any_ofINSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ELb0ELb1EEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorIS8_SaIS8_EEE3$_1EbT_SL_T0_"(ptr, ptr, ptr) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6formatIJA20_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cS6_A3_cEES6_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(3)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

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


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

%"class.CfgParseLexer::Tok" = type { i32, ptr, ptr, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::pair.34" = type { %"struct.std::__detail::_Node_const_iterator", %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.17 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; 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 #2

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.CfgParseLexer::Tok", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.CfgParseLexer::Tok", align 8
  %9 = alloca %"struct.std::pair.34", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #7
  call void @_ZN13CfgParseLexer7consumeEv(ptr dead_on_unwind nonnull writable sret(%"class.CfgParseLexer::Tok") align 8 %4, ptr noundef nonnull align 8 dereferenceable(72) %1)
  %11 = call noundef i32 @_ZNK13CfgParseLexer3Tok2tyEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
  %.not = icmp eq i32 %11, 2
  br i1 %.not, label %21, label %12

12:                                               ; preds = %3
  %13 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  invoke void @_Z6formatIJA44_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 1 dereferenceable(44) @.str.17)
          to label %14 unwind label %.thread

14:                                               ; preds = %12
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %16 unwind label %.thread77

.thread77:                                        ; preds = %14
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %20

16:                                               ; preds = %14
  invoke void @__cxa_throw(ptr nonnull %13, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %128 unwind label %18

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

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

20:                                               ; preds = %.thread77, %.thread
  %.pn7176 = phi { ptr, i32 } [ %17, %.thread ], [ %15, %.thread77 ]
  call void @__cxa_free_exception(ptr %13) #7
  br label %127

21:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  invoke void @_ZNK13CfgParseLexer3Tok9to_stringB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %22 unwind label %31

22:                                               ; preds = %21
  %23 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %1, i8 noundef signext 40)
          to label %24 unwind label %33

24:                                               ; preds = %22
  br i1 %23, label %25, label %71

25:                                               ; preds = %24
  %26 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.18)
  br i1 %26, label %27, label %35

27:                                               ; preds = %25
  %28 = invoke noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %29 unwind label %.loopexit.split-lp.loopexit.split-lp

29:                                               ; preds = %27
  %30 = xor i1 %28, true
  br label %.loopexit91

31:                                               ; preds = %21
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %126

33:                                               ; preds = %121, %71, %22
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

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

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

35:                                               ; preds = %25
  %36 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.19)
  br i1 %36, label %37, label %45

37:                                               ; preds = %35
  %38 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK13CfgParseLexer3curEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %39 = call noundef zeroext i1 @_ZNK13CfgParseLexer3TokneEc(ptr noundef nonnull align 8 dereferenceable(56) %38, i8 noundef signext 41)
  br i1 %39, label %.preheader, label %.loopexit91

.preheader:                                       ; preds = %37, %43
  %.051 = phi i1 [ %44, %43 ], [ true, %37 ]
  %40 = invoke noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %41 unwind label %.loopexit

41:                                               ; preds = %.preheader
  %42 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %1, i8 noundef signext 44)
          to label %43 unwind label %.loopexit

43:                                               ; preds = %41
  %44 = and i1 %.051, %40
  br i1 %42, label %.preheader, label %.loopexit91, !llvm.loop !5

45:                                               ; preds = %35
  %46 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.20)
  br i1 %46, label %47, label %55

47:                                               ; preds = %45
  %48 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK13CfgParseLexer3curEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %49 = call noundef zeroext i1 @_ZNK13CfgParseLexer3TokneEc(ptr noundef nonnull align 8 dereferenceable(56) %48, i8 noundef signext 41)
  br i1 %49, label %.preheader92, label %.loopexit91

.preheader92:                                     ; preds = %47, %53
  %.152 = phi i1 [ %54, %53 ], [ false, %47 ]
  %50 = invoke noundef zeroext i1 @_ZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %51 unwind label %.loopexit.split-lp.loopexit

51:                                               ; preds = %.preheader92
  %52 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %1, i8 noundef signext 44)
          to label %53 unwind label %.loopexit.split-lp.loopexit

53:                                               ; preds = %51
  %54 = or i1 %.152, %50
  br i1 %52, label %.preheader92, label %.loopexit91, !llvm.loop !7

55:                                               ; preds = %45
  %56 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  invoke void @_Z6formatIJA26_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA2_cEES6_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 1 dereferenceable(26) @.str.21, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(2) @.str.22)
          to label %57 unwind label %.thread79

57:                                               ; preds = %55
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %59 unwind label %.thread83

.thread83:                                        ; preds = %57
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %63

59:                                               ; preds = %57
  invoke void @__cxa_throw(ptr nonnull %56, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %128 unwind label %61

.thread79:                                        ; preds = %55
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %63

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

63:                                               ; preds = %.thread83, %.thread79
  %.pn6582 = phi { ptr, i32 } [ %60, %.thread79 ], [ %58, %.thread83 ]
  call void @__cxa_free_exception(ptr %56) #7
  br label %.loopexit.split-lp

.loopexit91:                                      ; preds = %53, %43, %37, %47, %29
  %.253.shrunk = phi i1 [ %30, %29 ], [ true, %37 ], [ false, %47 ], [ %44, %43 ], [ %54, %53 ]
  %64 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %1, i8 noundef signext 41)
          to label %65 unwind label %.loopexit.split-lp.loopexit.split-lp

65:                                               ; preds = %.loopexit91
  br i1 %64, label %125, label %66

66:                                               ; preds = %65
  %67 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull @.str.23)
          to label %68 unwind label %69

68:                                               ; preds = %66
  invoke void @__cxa_throw(ptr nonnull %67, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %128 unwind label %.loopexit.split-lp.loopexit.split-lp

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

71:                                               ; preds = %24
  %72 = invoke noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72) %1, i8 noundef signext 61)
          to label %73 unwind label %33

73:                                               ; preds = %71
  br i1 %72, label %74, label %121

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #7
  invoke void @_ZN13CfgParseLexer7consumeEv(ptr dead_on_unwind nonnull writable sret(%"class.CfgParseLexer::Tok") align 8 %8, ptr noundef nonnull align 8 dereferenceable(72) %1)
          to label %75 unwind label %80

75:                                               ; preds = %74
  %76 = call noundef i32 @_ZNK13CfgParseLexer3Tok2tyEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
  %.not56 = icmp eq i32 %76, 3
  br i1 %.not56, label %86, label %77

77:                                               ; preds = %75
  %78 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull @.str.24)
          to label %79 unwind label %84

79:                                               ; preds = %77
  invoke void @__cxa_throw(ptr nonnull %78, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %128 unwind label %82

80:                                               ; preds = %74
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %120

82:                                               ; preds = %79
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %119

84:                                               ; preds = %77
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %78) #7
  br label %119

86:                                               ; preds = %75
  %87 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK13CfgParseLexer3Tok3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(56) %8)
  %88 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.25)
  br i1 %88, label %89, label %95

89:                                               ; preds = %86
  %90 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %91 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %92 = invoke noundef zeroext i1 @"_ZSt6any_ofIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSC_E3$_0EbT_SK_T0_"(ptr %90, ptr %91, ptr nonnull %87)
          to label %118 unwind label %93

93:                                               ; preds = %89
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %119

95:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  %96 = getelementptr inbounds i8, ptr %0, i64 56
  %97 = invoke { ptr, ptr } @_ZNKSt18unordered_multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE11equal_rangeERSB_(ptr noundef nonnull align 8 dereferenceable(56) %96, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %98 unwind label %106

98:                                               ; preds = %95
  %99 = extractvalue { ptr, ptr } %97, 0
  store ptr %99, ptr %9, align 8
  %100 = getelementptr inbounds i8, ptr %9, i64 8
  %101 = extractvalue { ptr, ptr } %97, 1
  store ptr %101, ptr %100, align 8
  %102 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %100) #7
  br i1 %102, label %103, label %108

103:                                              ; preds = %98
  %.sroa.02.0.copyload = load ptr, ptr %9, align 8
  %.sroa.01.0.copyload = load ptr, ptr %100, align 8
  %104 = invoke noundef zeroext i1 @"_ZSt6any_ofINSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ELb0ELb1EEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorIS8_SaIS8_EEE3$_1EbT_SL_T0_"(ptr %.sroa.02.0.copyload, ptr %.sroa.01.0.copyload, ptr nonnull %87)
          to label %105 unwind label %106

105:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %118

106:                                              ; preds = %103, %95
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %117

108:                                              ; preds = %98
  %109 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  invoke void @_Z6formatIJA20_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cS6_A3_cEES6_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 1 dereferenceable(20) @.str.26, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(6) @.str.27, ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
          to label %110 unwind label %.thread85

110:                                              ; preds = %108
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %109, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %112 unwind label %.thread89

.thread89:                                        ; preds = %110
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %116

112:                                              ; preds = %110
  invoke void @__cxa_throw(ptr nonnull %109, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %128 unwind label %114

.thread85:                                        ; preds = %108
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %116

114:                                              ; preds = %112
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %117

116:                                              ; preds = %.thread89, %.thread85
  %.pn88 = phi { ptr, i32 } [ %113, %.thread85 ], [ %111, %.thread89 ]
  call void @__cxa_free_exception(ptr %109) #7
  br label %117

117:                                              ; preds = %114, %116, %106
  %.pn58 = phi { ptr, i32 } [ %107, %106 ], [ %.pn88, %116 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %119

118:                                              ; preds = %89, %105
  %.034 = phi i1 [ %104, %105 ], [ %92, %89 ]
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #7
  br label %125

119:                                              ; preds = %93, %117, %84, %82
  %.pn62 = phi { ptr, i32 } [ %83, %82 ], [ %85, %84 ], [ %94, %93 ], [ %.pn58, %117 ]
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #7
  br label %120

120:                                              ; preds = %119, %80
  %.pn62.pn = phi { ptr, i32 } [ %.pn62, %119 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #7
  br label %.loopexit.split-lp

121:                                              ; preds = %73
  %122 = invoke noundef i64 @_ZNKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %123 unwind label %33

123:                                              ; preds = %121
  %124 = icmp ne i64 %122, 0
  br label %125

125:                                              ; preds = %65, %123, %118
  %.135 = phi i1 [ %.034, %118 ], [ %124, %123 ], [ %.253.shrunk, %65 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  ret i1 %.135

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %61, %69, %63, %120, %33
  %.pn67.pn = phi { ptr, i32 } [ %.pn62.pn, %120 ], [ %34, %33 ], [ %70, %69 ], [ %.pn6582, %63 ], [ %62, %61 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit93, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp94, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %126

126:                                              ; preds = %.loopexit.split-lp, %31
  %.pn67.pn.pn = phi { ptr, i32 } [ %.pn67.pn, %.loopexit.split-lp ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %127

127:                                              ; preds = %18, %20, %126
  %.pn71.pn = phi { ptr, i32 } [ %.pn7176, %20 ], [ %19, %18 ], [ %.pn67.pn.pn, %126 ]
  call void @_ZN13CfgParseLexer3TokD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn71.pn

128:                                              ; preds = %112, %79, %68, %59, %16
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13CfgParseLexer3Tok9to_stringB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13CfgParseLexer7consumeEv(ptr dead_on_unwind noalias writable sret(%"class.CfgParseLexer::Tok") align 8, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN13CfgParseLexer10consume_ifEc(ptr noundef nonnull align 8 dereferenceable(72), i8 noundef signext) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13CfgParseLexer3TokneEc(ptr noundef nonnull align 8 dereferenceable(56), i8 noundef signext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6formatIJA26_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA2_cEES6_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZSt6any_ofIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSC_E3$_0EbT_SK_T0_"(ptr, ptr, ptr) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNKSt18unordered_multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE11equal_rangeERSB_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZSt6any_ofINSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ELb0ELb1EEEZNK10CfgChecker9check_cfgER13CfgParseLexerRKSt6vectorIS8_SaIS8_EEE3$_1EbT_SL_T0_"(ptr, ptr, ptr) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6formatIJA20_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cS6_A3_cEES6_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass