; LLVM IR from fritzsedlazeck/SURVIVOR :: src/analysis_sv (Simplify_SVs)

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

%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, bool>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, bool>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, bool>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, bool>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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.sv_simple_str = type <{ %struct.strcoordinate, %struct.strcoordinate, %"class.std::__cxx11::basic_string", %"class.std::map", %"struct.std::pair", [6 x i8] }>
%struct.strcoordinate = type { i32, %"class.std::__cxx11::basic_string" }
%"struct.std::pair" = type { i8, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13parse_supportPcSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8, ptr noundef, ptr noundef) #0

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13parse_line_svPciSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERS6_(ptr dead_on_unwind noalias writable sret(%struct.sv_simple_str) align 8 %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(32) %4) #0 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i1, align 1
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::map", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  store i1 false, ptr %12, align 1
  call void @_ZN13sv_simple_strC2Ev(ptr noundef nonnull align 8 dereferenceable(162) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %21

21:                                               ; preds = %244, %5
  %22 = load i64, ptr %13, align 8, !tbaa !11
  %23 = load i32, ptr %8, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = icmp ult i64 %22, %24
  br i1 %25, label %26, label %40

26:                                               ; preds = %21
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = load i64, ptr %13, align 8, !tbaa !11
  %29 = getelementptr inbounds i8, ptr %27, i64 %28
  %30 = load i8, ptr %29, align 1, !tbaa !13
  %31 = sext i8 %30 to i32
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %40

33:                                               ; preds = %26
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load i64, ptr %13, align 8, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %34, i64 %35
  %37 = load i8, ptr %36, align 1, !tbaa !13
  %38 = sext i8 %37 to i32
  %39 = icmp ne i32 %38, 10
  br label %40

40:                                               ; preds = %33, %26, %21
  %41 = phi i1 [ false, %26 ], [ false, %21 ], [ %39, %33 ]
  br i1 %41, label %43, label %42

42:                                               ; preds = %40
  store i32 2, ptr %14, align 4
  br label %247

43:                                               ; preds = %40
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %66

46:                                               ; preds = %43
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = load i64, ptr %13, align 8, !tbaa !11
  %49 = getelementptr inbounds i8, ptr %47, i64 %48
  %50 = load i8, ptr %49, align 1, !tbaa !13
  %51 = sext i8 %50 to i32
  %52 = icmp ne i32 %51, 9
  br i1 %52, label %53, label %66

53:                                               ; preds = %46
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load i64, ptr %13, align 8, !tbaa !11
  %56 = getelementptr inbounds i8, ptr %54, i64 %55
  %57 = load i8, ptr %56, align 1, !tbaa !13
  %58 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 0
  %59 = getelementptr inbounds %struct.strcoordinate, ptr %58, i32 0, i32 1
  %60 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %59, i8 noundef signext %57)
          to label %61 unwind label %62

61:                                               ; preds = %53
  br label %66

62:                                               ; preds = %108, %53
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %15, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %16, align 4
  br label %248

66:                                               ; preds = %61, %46, %43
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = icmp eq i32 %67, 1
  br i1 %68, label %69, label %84

69:                                               ; preds = %66
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = load i64, ptr %13, align 8, !tbaa !11
  %72 = sub i64 %71, 1
  %73 = getelementptr inbounds i8, ptr %70, i64 %72
  %74 = load i8, ptr %73, align 1, !tbaa !13
  %75 = sext i8 %74 to i32
  %76 = icmp eq i32 %75, 9
  br i1 %76, label %77, label %84

77:                                               ; preds = %69
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = load i64, ptr %13, align 8, !tbaa !11
  %80 = getelementptr inbounds i8, ptr %78, i64 %79
  %81 = call i32 @atoi(ptr noundef %80) #8
  %82 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 0
  %83 = getelementptr inbounds %struct.strcoordinate, ptr %82, i32 0, i32 0
  store i32 %81, ptr %83, align 8, !tbaa !14
  br label %84

84:                                               ; preds = %77, %69, %66
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = icmp eq i32 %85, 4
  br i1 %86, label %87, label %116

87:                                               ; preds = %84
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load i64, ptr %13, align 8, !tbaa !11
  %90 = getelementptr inbounds i8, ptr %88, i64 %89
  %91 = load i8, ptr %90, align 1, !tbaa !13
  %92 = sext i8 %91 to i32
  %93 = icmp ne i32 %92, 9
  br i1 %93, label %94, label %116

94:                                               ; preds = %87
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load i64, ptr %13, align 8, !tbaa !11
  %97 = getelementptr inbounds i8, ptr %95, i64 %96
  %98 = load i8, ptr %97, align 1, !tbaa !13
  %99 = sext i8 %98 to i32
  %100 = icmp ne i32 %99, 60
  br i1 %100, label %101, label %116

101:                                              ; preds = %94
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load i64, ptr %13, align 8, !tbaa !11
  %104 = getelementptr inbounds i8, ptr %102, i64 %103
  %105 = load i8, ptr %104, align 1, !tbaa !13
  %106 = sext i8 %105 to i32
  %107 = icmp ne i32 %106, 62
  br i1 %107, label %108, label %116

108:                                              ; preds = %101
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = load i64, ptr %13, align 8, !tbaa !11
  %111 = getelementptr inbounds i8, ptr %109, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !13
  %113 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 2
  %114 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %113, i8 noundef signext %112)
          to label %115 unwind label %62

115:                                              ; preds = %108
  br label %116

116:                                              ; preds = %115, %101, %94, %87, %84
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = icmp eq i32 %117, 7
  br i1 %118, label %119, label %143

119:                                              ; preds = %116
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = load i64, ptr %13, align 8, !tbaa !11
  %122 = getelementptr inbounds i8, ptr %120, i64 %121
  %123 = call i32 @strncmp(ptr noundef %122, ptr noundef @.str.2, i64 noundef 9) #8
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %125, label %143

125:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #7
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = load i64, ptr %13, align 8, !tbaa !11
  %128 = add i64 %127, 9
  %129 = getelementptr inbounds i8, ptr %126, i64 %128
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %130 unwind label %134

130:                                              ; preds = %125
  invoke void @_Z13parse_supportPcSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr dead_on_unwind writable sret(%"class.std::map") align 8 %17, ptr noundef %129, ptr noundef %18)
          to label %131 unwind label %138

131:                                              ; preds = %130
  %132 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 3
  %133 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(48) %132, ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #7
  br label %143

134:                                              ; preds = %125
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %15, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %16, align 4
  br label %142

138:                                              ; preds = %130
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %15, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %16, align 4
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %142

142:                                              ; preds = %138, %134
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #7
  br label %248

143:                                              ; preds = %131, %119, %116
  %144 = load i32, ptr %11, align 4, !tbaa !9
  %145 = icmp eq i32 %144, 7
  br i1 %145, label %146, label %160

146:                                              ; preds = %143
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load i64, ptr %13, align 8, !tbaa !11
  %149 = getelementptr inbounds i8, ptr %147, i64 %148
  %150 = call i32 @strncmp(ptr noundef %149, ptr noundef @.str.3, i64 noundef 4) #8
  %151 = icmp eq i32 %150, 0
  br i1 %151, label %152, label %160

152:                                              ; preds = %146
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = load i64, ptr %13, align 8, !tbaa !11
  %155 = add i64 %154, 4
  %156 = getelementptr inbounds i8, ptr %153, i64 %155
  %157 = call i32 @atoi(ptr noundef %156) #8
  %158 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 1
  %159 = getelementptr inbounds %struct.strcoordinate, ptr %158, i32 0, i32 0
  store i32 %157, ptr %159, align 8, !tbaa !29
  br label %160

160:                                              ; preds = %152, %146, %143
  %161 = load i32, ptr %11, align 4, !tbaa !9
  %162 = icmp eq i32 %161, 7
  br i1 %162, label %163, label %182

163:                                              ; preds = %160
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = load i64, ptr %13, align 8, !tbaa !11
  %166 = getelementptr inbounds i8, ptr %164, i64 %165
  %167 = call i32 @strncmp(ptr noundef %166, ptr noundef @.str.4, i64 noundef 5) #8
  %168 = icmp eq i32 %167, 0
  br i1 %168, label %169, label %182

169:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = load i64, ptr %13, align 8, !tbaa !11
  %172 = add i64 %171, 5
  %173 = getelementptr inbounds i8, ptr %170, i64 %172
  invoke void @_Z9parse_seqB5cxx11Pc(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef %173)
          to label %174 unwind label %178

174:                                              ; preds = %169
  %175 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 1
  %176 = getelementptr inbounds %struct.strcoordinate, ptr %175, i32 0, i32 1
  %177 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %176, ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %182

178:                                              ; preds = %169
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %15, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %248

182:                                              ; preds = %174, %163, %160
  %183 = load i32, ptr %11, align 4, !tbaa !9
  %184 = icmp eq i32 %183, 7
  br i1 %184, label %185, label %212

185:                                              ; preds = %182
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = load i64, ptr %13, align 8, !tbaa !11
  %188 = getelementptr inbounds i8, ptr %186, i64 %187
  %189 = call i32 @strncmp(ptr noundef %188, ptr noundef @.str.5, i64 noundef 8) #8
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %191, label %212

191:                                              ; preds = %185
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = load i64, ptr %13, align 8, !tbaa !11
  %194 = add i64 %193, 8
  %195 = getelementptr inbounds i8, ptr %192, i64 %194
  %196 = load i8, ptr %195, align 1, !tbaa !13
  %197 = sext i8 %196 to i32
  %198 = icmp eq i32 %197, 43
  %199 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 4
  %200 = getelementptr inbounds %"struct.std::pair", ptr %199, i32 0, i32 0
  %201 = zext i1 %198 to i8
  store i8 %201, ptr %200, align 8, !tbaa !30
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = load i64, ptr %13, align 8, !tbaa !11
  %204 = add i64 %203, 9
  %205 = getelementptr inbounds i8, ptr %202, i64 %204
  %206 = load i8, ptr %205, align 1, !tbaa !13
  %207 = sext i8 %206 to i32
  %208 = icmp eq i32 %207, 43
  %209 = getelementptr inbounds %struct.sv_simple_str, ptr %0, i32 0, i32 4
  %210 = getelementptr inbounds %"struct.std::pair", ptr %209, i32 0, i32 1
  %211 = zext i1 %208 to i8
  store i8 %211, ptr %210, align 1, !tbaa !31
  br label %212

212:                                              ; preds = %191, %185, %182
  %213 = load i32, ptr %11, align 4, !tbaa !9
  %214 = icmp eq i32 %213, 7
  br i1 %214, label %215, label %233

215:                                              ; preds = %212
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = load i64, ptr %13, align 8, !tbaa !11
  %218 = getelementptr inbounds i8, ptr %216, i64 %217
  %219 = call i32 @strncmp(ptr noundef %218, ptr noundef @.str.6, i64 noundef 9) #8
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %233

221:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = load i64, ptr %13, align 8, !tbaa !11
  %224 = add i64 %223, 9
  %225 = getelementptr inbounds i8, ptr %222, i64 %224
  invoke void @_Z15parse_gene_nameB5cxx11Pc(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef %225)
          to label %226 unwind label %229

226:                                              ; preds = %221
  %227 = load ptr, ptr %10, align 8, !tbaa !5
  %228 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %227, ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  store i32 2, ptr %14, align 4
  br label %247

229:                                              ; preds = %221
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %15, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %248

233:                                              ; preds = %215, %212
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = load i64, ptr %13, align 8, !tbaa !11
  %236 = getelementptr inbounds i8, ptr %234, i64 %235
  %237 = load i8, ptr %236, align 1, !tbaa !13
  %238 = sext i8 %237 to i32
  %239 = icmp eq i32 %238, 9
  br i1 %239, label %240, label %243

240:                                              ; preds = %233
  %241 = load i32, ptr %11, align 4, !tbaa !9
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr %11, align 4, !tbaa !9
  br label %243

243:                                              ; preds = %240, %233
  br label %244

244:                                              ; preds = %243
  %245 = load i64, ptr %13, align 8, !tbaa !11
  %246 = add i64 %245, 1
  store i64 %246, ptr %13, align 8, !tbaa !11
  br label %21, !llvm.loop !32

247:                                              ; preds = %226, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %249

248:                                              ; preds = %229, %178, %142, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @_ZN13sv_simple_strD2Ev(ptr noundef nonnull align 8 dereferenceable(162) %0) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %253

249:                                              ; preds = %247
  store i1 true, ptr %12, align 1
  store i32 1, ptr %14, align 4
  %250 = load i1, ptr %12, align 1
  br i1 %250, label %252, label %251

251:                                              ; preds = %249
  call void @_ZN13sv_simple_strD2Ev(ptr noundef nonnull align 8 dereferenceable(162) %0) #7
  br label %252

252:                                              ; preds = %251, %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  ret void

253:                                              ; preds = %248
  %254 = load ptr, ptr %15, align 8
  %255 = load i32, ptr %16, align 4
  %256 = insertvalue { ptr, i32 } poison, ptr %254, 0
  %257 = insertvalue { ptr, i32 } %256, i32 %255, 1
  resume { ptr, i32 } %257
}

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13sv_simple_strD2Ev(ptr noundef nonnull align 8 dereferenceable(162)) unnamed_addr #6 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"_ZTS13sv_simple_str", !16, i64 0, !16, i64 40, !17, i64 80, !19, i64 112, !27, i64 160}
!16 = !{!"_ZTS13strcoordinate", !10, i64 0, !17, i64 8}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !12, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !22, i64 0, !24, i64 8}
!22 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !23, i64 0}
!23 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!24 = !{!"_ZTSSt15_Rb_tree_header", !25, i64 0, !12, i64 32}
!25 = !{!"_ZTSSt18_Rb_tree_node_base", !26, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!26 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!27 = !{!"_ZTSSt4pairIbbE", !28, i64 0, !28, i64 1}
!28 = !{!"bool", !7, i64 0}
!29 = !{!15, !10, i64 40}
!30 = !{!15, !28, i64 160}
!31 = !{!15, !28, i64 161}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


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

%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, bool>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, bool>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, bool>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, bool>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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.sv_simple_str = type <{ %struct.strcoordinate, %struct.strcoordinate, %"class.std::__cxx11::basic_string", %"class.std::map", %"struct.std::pair", [6 x i8] }>
%struct.strcoordinate = type { i32, %"class.std::__cxx11::basic_string" }
%"struct.std::pair" = type { i8, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13parse_supportPcSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8, ptr noundef, ptr noundef) local_unnamed_addr #0

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13parse_line_svPciSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERS6_(ptr dead_on_unwind noalias nonnull writable sret(%struct.sv_simple_str) align 8 %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(32) %4) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::map", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  tail call void @_ZN13sv_simple_strC2Ev(ptr noundef nonnull align 8 dereferenceable(162) %0)
  %10 = sext i32 %2 to i64
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = getelementptr inbounds i8, ptr %0, i64 112
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = getelementptr inbounds i8, ptr %0, i64 48
  %15 = getelementptr inbounds i8, ptr %0, i64 160
  %16 = getelementptr inbounds i8, ptr %0, i64 161
  %17 = getelementptr inbounds i8, ptr %0, i64 80
  br label %18

18:                                               ; preds = %.lr.ph, %.critedge78
  %.06185 = phi i64 [ 0, %.lr.ph ], [ %84, %.critedge78 ]
  %.06284 = phi i32 [ 0, %.lr.ph ], [ %spec.select, %.critedge78 ]
  %19 = getelementptr inbounds i8, ptr %1, i64 %.06185
  %20 = load i8, ptr %19, align 1, !tbaa !5
  switch i8 %20, label %21 [
    i8 0, label %.critedge
    i8 10, label %.critedge
  ]

21:                                               ; preds = %18
  %22 = icmp ne i32 %.06284, 0
  %.not67 = icmp eq i8 %20, 9
  %or.cond = or i1 %22, %.not67
  br i1 %or.cond, label %25, label %.invoke

23:                                               ; preds = %.invoke
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %85

25:                                               ; preds = %21
  switch i32 %.06284, label %.critedge78 [
    i32 1, label %26
    i32 4, label %32
    i32 7, label %35
  ]

26:                                               ; preds = %25
  %27 = getelementptr i8, ptr %19, i64 -1
  %28 = load i8, ptr %27, align 1, !tbaa !5
  %29 = icmp eq i8 %28, 9
  br i1 %29, label %30, label %.critedge78

30:                                               ; preds = %26
  %31 = call i32 @atoi(ptr nocapture noundef %19) #7
  store i32 %31, ptr %0, align 8, !tbaa !8
  br label %.critedge78

32:                                               ; preds = %25
  switch i8 %20, label %.invoke [
    i8 9, label %.critedge78
    i8 60, label %.critedge78
    i8 62, label %.critedge78
  ]

.invoke:                                          ; preds = %21, %32
  %33 = phi ptr [ %17, %32 ], [ %11, %21 ]
  %34 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %33, i8 noundef signext %20)
          to label %.critedge78 unwind label %23

35:                                               ; preds = %25
  %36 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 9) #7
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %48

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #8
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %39 unwind label %43

39:                                               ; preds = %38
  %40 = getelementptr i8, ptr %19, i64 9
  invoke void @_Z13parse_supportPcSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::map") align 8 %6, ptr noundef %40, ptr noundef nonnull %7)
          to label %41 unwind label %45

41:                                               ; preds = %39
  %42 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %6) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  br label %48

43:                                               ; preds = %38
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %39
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  br label %47

47:                                               ; preds = %45, %43
  %.pn = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  br label %85

48:                                               ; preds = %35, %41
  %49 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef 4) #7
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %.critedge75

51:                                               ; preds = %48
  %52 = getelementptr i8, ptr %19, i64 4
  %53 = call i32 @atoi(ptr nocapture noundef %52) #7
  store i32 %53, ptr %13, align 8, !tbaa !26
  br label %.critedge75

.critedge75:                                      ; preds = %48, %51
  %54 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 5) #7
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %.critedge76

56:                                               ; preds = %.critedge75
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  %57 = getelementptr i8, ptr %19, i64 5
  invoke void @_Z9parse_seqB5cxx11Pc(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef %57)
          to label %58 unwind label %60

58:                                               ; preds = %56
  %59 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %.critedge76

60:                                               ; preds = %56
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %85

.critedge76:                                      ; preds = %.critedge75, %58
  %62 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.5, i64 noundef 8) #7
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %.critedge77

64:                                               ; preds = %.critedge76
  %65 = getelementptr i8, ptr %19, i64 8
  %66 = load i8, ptr %65, align 1, !tbaa !5
  %67 = icmp eq i8 %66, 43
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %15, align 8, !tbaa !27
  %69 = getelementptr i8, ptr %19, i64 9
  %70 = load i8, ptr %69, align 1, !tbaa !5
  %71 = icmp eq i8 %70, 43
  %72 = zext i1 %71 to i8
  store i8 %72, ptr %16, align 1, !tbaa !28
  br label %.critedge77

.critedge77:                                      ; preds = %.critedge76, %64
  %73 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef 9) #7
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %.critedge78

75:                                               ; preds = %.critedge77
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  %76 = getelementptr i8, ptr %19, i64 9
  invoke void @_Z15parse_gene_nameB5cxx11Pc(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef %76)
          to label %77 unwind label %79

77:                                               ; preds = %75
  %78 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %.critedge

79:                                               ; preds = %75
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %85

.critedge78:                                      ; preds = %.invoke, %25, %32, %32, %32, %30, %26, %.critedge77
  %81 = load i8, ptr %19, align 1, !tbaa !5
  %82 = icmp eq i8 %81, 9
  %83 = zext i1 %82 to i32
  %spec.select = add nuw nsw i32 %.06284, %83
  %84 = add nuw i64 %.06185, 1
  %exitcond.not = icmp eq i64 %84, %10
  br i1 %exitcond.not, label %.critedge, label %18, !llvm.loop !29

85:                                               ; preds = %79, %60, %47, %23
  %.pn72 = phi { ptr, i32 } [ %80, %79 ], [ %61, %60 ], [ %.pn, %47 ], [ %24, %23 ]
  call void @_ZN13sv_simple_strD2Ev(ptr noundef nonnull align 8 dereferenceable(162) %0) #8
  resume { ptr, i32 } %.pn72

.critedge:                                        ; preds = %.critedge78, %18, %18, %5, %77
  ret void
}

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #5

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13sv_simple_strD2Ev(ptr noundef nonnull align 8 dereferenceable(162)) unnamed_addr #6 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 0}
!9 = !{!"_ZTS13sv_simple_str", !10, i64 0, !10, i64 40, !12, i64 80, !16, i64 112, !24, i64 160}
!10 = !{!"_ZTS13strcoordinate", !11, i64 0, !12, i64 8}
!11 = !{!"int", !6, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !6, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !6, i64 0}
!15 = !{!"long", !6, i64 0}
!16 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !15, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !6, i64 0}
!24 = !{!"_ZTSSt4pairIbbE", !25, i64 0, !25, i64 1}
!25 = !{!"bool", !6, i64 0}
!26 = !{!9, !11, i64 40}
!27 = !{!9, !25, i64 160}
!28 = !{!9, !25, i64 161}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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