; LLVM IR from manish1596/Relational-Algebra-Query-Solver :: RA_Engine.ll/Z15parse_conditionNSt7 (cxx1112basic_stringIcSt11char_traitsIcESaIcEEER5table)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, 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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, 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::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl" }
%"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl" = type { %"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl_data" }
%"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.26" = type { %"class.std::deque.27" }
%"class.std::deque.27" = type { %"class.std::_Deque_base.28" }
%"class.std::_Deque_base.28" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.29", %"struct.std::_Deque_iterator.29" }
%"struct.std::_Deque_iterator.29" = type { ptr, ptr, ptr, ptr }
%class.table = type { %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<attribute, std::allocator<attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<attribute, std::allocator<attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<attribute, std::allocator<attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<attribute, std::allocator<attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::vector<std::__cxx11::basic_string<char>>, std::allocator<std::vector<std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::__cxx11::basic_string<char>>, std::allocator<std::vector<std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::__cxx11::basic_string<char>>, std::allocator<std::vector<std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::__cxx11::basic_string<char>>, std::allocator<std::vector<std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.attribute = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@.str.8 = external hidden unnamed_addr constant [1 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: 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) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z10Precedencecc(i8 noundef signext, i8 noundef signext) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext, i1 noundef zeroext, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8eval_expRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEES5_RSt6vectorIS5_SaIS5_EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

32:                                               ; preds = %49, %3
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.table, ptr %35, i32 0, i32 1
  %37 = call noundef i64 @_ZNKSt6vectorI9attributeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  %38 = icmp ult i64 %34, %37
  br i1 %38, label %39, label %56

39:                                               ; preds = %32
  %40 = load i32, ptr %7, align 4, !tbaa !9
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %class.table, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI9attributeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %44) #4
  %46 = getelementptr inbounds %class.attribute, ptr %45, i32 0, i32 0
  %47 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %48 unwind label %52

48:                                               ; preds = %39
  store i32 %40, ptr %47, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %7, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %7, align 4, !tbaa !9
  br label %32, !llvm.loop !11

52:                                               ; preds = %39
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %10, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %11, align 4
  br label %434

56:                                               ; preds = %32
  store i1 false, ptr %12, align 1
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %422, %56
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %class.table, ptr %60, i32 0, i32 2
  %62 = call noundef i64 @_ZNKSt6vectorIS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #4
  %63 = icmp ult i64 %59, %62
  br i1 %63, label %64, label %429

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 80, ptr %13) #4
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %65 unwind label %78

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 80, ptr %14) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %66 unwind label %82

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %67 unwind label %86

67:                                               ; preds = %66
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %class.table, ptr %68, i32 0, i32 2
  %70 = load i32, ptr %7, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %71) #4
  invoke void @_Z8eval_expRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEES5_RSt6vectorIS5_SaIS5_EE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef %16, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %73 unwind label %90

73:                                               ; preds = %67
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  %74 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.8)
          to label %75 unwind label %94

75:                                               ; preds = %73
  br i1 %74, label %76, label %102

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 -1, ptr %17, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %77 unwind label %98

77:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  store i1 true, ptr %12, align 1
  store i32 1, ptr %18, align 4
  br label %419

78:                                               ; preds = %64
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %10, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %11, align 4
  br label %428

82:                                               ; preds = %65
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %10, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %11, align 4
  br label %427

86:                                               ; preds = %66
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %10, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %11, align 4
  br label %426

90:                                               ; preds = %67
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %10, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  br label %426

94:                                               ; preds = %416, %411, %349, %339, %335, %269, %265, %262, %253, %245, %237, %235, %171, %162, %160, %156, %148, %125, %117, %108, %73
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %10, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %11, align 4
  br label %425

98:                                               ; preds = %76
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %10, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %425

102:                                              ; preds = %75
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %345, %102
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  %107 = icmp ult i64 %105, %106
  br i1 %107, label %108, label %348

108:                                              ; preds = %103
  %109 = load i32, ptr %8, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %110)
          to label %112 unwind label %94

112:                                              ; preds = %108
  %113 = load i8, ptr %111, align 1, !tbaa !13
  %114 = sext i8 %113 to i32
  %115 = icmp eq i32 %114, 32
  br i1 %115, label %116, label %117

116:                                              ; preds = %112
  br label %345

117:                                              ; preds = %112
  %118 = load i32, ptr %8, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %119)
          to label %121 unwind label %94

121:                                              ; preds = %117
  %122 = load i8, ptr %120, align 1, !tbaa !13
  %123 = sext i8 %122 to i32
  %124 = icmp eq i32 %123, 48
  br i1 %124, label %133, label %125

125:                                              ; preds = %121
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %127)
          to label %129 unwind label %94

129:                                              ; preds = %125
  %130 = load i8, ptr %128, align 1, !tbaa !13
  %131 = sext i8 %130 to i32
  %132 = icmp eq i32 %131, 49
  br i1 %132, label %133, label %148

133:                                              ; preds = %129, %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #4
  %134 = load i32, ptr %8, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %135)
          to label %137 unwind label %144

137:                                              ; preds = %133
  %138 = load i8, ptr %136, align 1, !tbaa !13
  %139 = sext i8 %138 to i32
  %140 = sub nsw i32 %139, 48
  %141 = icmp ne i32 %140, 0
  %142 = zext i1 %141 to i8
  store i8 %142, ptr %19, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %143 unwind label %144

143:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #4
  br label %344

144:                                              ; preds = %137, %133
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %10, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #4
  br label %425

148:                                              ; preds = %129
  %149 = load i32, ptr %8, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %150)
          to label %152 unwind label %94

152:                                              ; preds = %148
  %153 = load i8, ptr %151, align 1, !tbaa !13
  %154 = sext i8 %153 to i32
  %155 = icmp eq i32 %154, 40
  br i1 %155, label %156, label %162

156:                                              ; preds = %152
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %158)
          to label %160 unwind label %94

160:                                              ; preds = %156
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushERKc(ptr noundef nonnull align 8 dereferenceable(80) %14, ptr noundef nonnull align 1 dereferenceable(1) %159)
          to label %161 unwind label %94

161:                                              ; preds = %160
  br label %343

162:                                              ; preds = %152
  %163 = load i32, ptr %8, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %164)
          to label %166 unwind label %94

166:                                              ; preds = %162
  %167 = load i8, ptr %165, align 1, !tbaa !13
  %168 = sext i8 %167 to i32
  %169 = icmp eq i32 %168, 41
  br i1 %169, label %170, label %237

170:                                              ; preds = %166
  br label %171

171:                                              ; preds = %224, %222, %170
  %172 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %173 unwind label %94

173:                                              ; preds = %171
  %174 = load i8, ptr %172, align 1, !tbaa !13
  %175 = sext i8 %174 to i32
  %176 = icmp ne i32 %175, 40
  br i1 %176, label %177, label %235

177:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #4
  %178 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %179 unwind label %196

179:                                              ; preds = %177
  %180 = load i8, ptr %178, align 1, !tbaa !14, !range !16, !noundef !17
  %181 = trunc i8 %180 to i1
  %182 = zext i1 %181 to i8
  store i8 %182, ptr %20, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %183 unwind label %196

183:                                              ; preds = %179
  %184 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %185 unwind label %196

185:                                              ; preds = %183
  %186 = load i8, ptr %184, align 1, !tbaa !13
  %187 = sext i8 %186 to i32
  %188 = icmp eq i32 %187, 33
  br i1 %188, label %189, label %204

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #4
  %190 = load i8, ptr %20, align 1, !tbaa !14, !range !16, !noundef !17
  %191 = trunc i8 %190 to i1
  %192 = xor i1 %191, true
  %193 = zext i1 %192 to i8
  store i8 %193, ptr %21, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %194 unwind label %200

194:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %195 unwind label %196

195:                                              ; preds = %194
  store i32 11, ptr %18, align 4
  br label %222, !llvm.loop !18

196:                                              ; preds = %194, %183, %179, %177
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %10, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %11, align 4
  br label %234

200:                                              ; preds = %189
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %10, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  br label %234

204:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  %205 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %206 unwind label %225

206:                                              ; preds = %204
  %207 = load i8, ptr %205, align 1, !tbaa !14, !range !16, !noundef !17
  %208 = trunc i8 %207 to i1
  %209 = zext i1 %208 to i8
  store i8 %209, ptr %22, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %210 unwind label %225

210:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #4
  %211 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %212 unwind label %229

212:                                              ; preds = %210
  %213 = load i8, ptr %211, align 1, !tbaa !13
  %214 = load i8, ptr %22, align 1, !tbaa !14, !range !16, !noundef !17
  %215 = trunc i8 %214 to i1
  %216 = load i8, ptr %20, align 1, !tbaa !14, !range !16, !noundef !17
  %217 = trunc i8 %216 to i1
  %218 = call noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext %213, i1 noundef zeroext %215, i1 noundef zeroext %217)
  %219 = zext i1 %218 to i8
  store i8 %219, ptr %23, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %220 unwind label %229

220:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %221 unwind label %225

221:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  store i32 0, ptr %18, align 4
  br label %222

222:                                              ; preds = %221, %195
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  %223 = load i32, ptr %18, align 4
  switch i32 %223, label %440 [
    i32 0, label %224
    i32 11, label %171
  ]

224:                                              ; preds = %222
  br label %171, !llvm.loop !18

225:                                              ; preds = %220, %206, %204
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %10, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %11, align 4
  br label %233

229:                                              ; preds = %212, %210
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %10, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #4
  br label %233

233:                                              ; preds = %229, %225
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  br label %234

234:                                              ; preds = %233, %200, %196
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  br label %425

235:                                              ; preds = %173
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %236 unwind label %94

236:                                              ; preds = %235
  br label %342

237:                                              ; preds = %166
  %238 = load i32, ptr %8, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %239)
          to label %241 unwind label %94

241:                                              ; preds = %237
  %242 = load i8, ptr %240, align 1, !tbaa !13
  %243 = sext i8 %242 to i32
  %244 = icmp eq i32 %243, 38
  br i1 %244, label %261, label %245

245:                                              ; preds = %241
  %246 = load i32, ptr %8, align 4, !tbaa !9
  %247 = sext i32 %246 to i64
  %248 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %247)
          to label %249 unwind label %94

249:                                              ; preds = %245
  %250 = load i8, ptr %248, align 1, !tbaa !13
  %251 = sext i8 %250 to i32
  %252 = icmp eq i32 %251, 124
  br i1 %252, label %261, label %253

253:                                              ; preds = %249
  %254 = load i32, ptr %8, align 4, !tbaa !9
  %255 = sext i32 %254 to i64
  %256 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %255)
          to label %257 unwind label %94

257:                                              ; preds = %253
  %258 = load i8, ptr %256, align 1, !tbaa !13
  %259 = sext i8 %258 to i32
  %260 = icmp eq i32 %259, 33
  br i1 %260, label %261, label %341

261:                                              ; preds = %257, %249, %241
  br label %262

262:                                              ; preds = %324, %322, %261
  %263 = invoke noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %264 unwind label %94

264:                                              ; preds = %262
  br i1 %263, label %275, label %265

265:                                              ; preds = %264
  %266 = load i32, ptr %8, align 4, !tbaa !9
  %267 = sext i32 %266 to i64
  %268 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %267)
          to label %269 unwind label %94

269:                                              ; preds = %265
  %270 = load i8, ptr %268, align 1, !tbaa !13
  %271 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %272 unwind label %94

272:                                              ; preds = %269
  %273 = load i8, ptr %271, align 1, !tbaa !13
  %274 = call noundef zeroext i1 @_Z10Precedencecc(i8 noundef signext %270, i8 noundef signext %273)
  br label %275

275:                                              ; preds = %272, %264
  %276 = phi i1 [ false, %264 ], [ %274, %272 ]
  br i1 %276, label %277, label %335

277:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #4
  %278 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %279 unwind label %296

279:                                              ; preds = %277
  %280 = load i8, ptr %278, align 1, !tbaa !14, !range !16, !noundef !17
  %281 = trunc i8 %280 to i1
  %282 = zext i1 %281 to i8
  store i8 %282, ptr %24, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %283 unwind label %296

283:                                              ; preds = %279
  %284 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %285 unwind label %296

285:                                              ; preds = %283
  %286 = load i8, ptr %284, align 1, !tbaa !13
  %287 = sext i8 %286 to i32
  %288 = icmp eq i32 %287, 33
  br i1 %288, label %289, label %304

289:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #4
  %290 = load i8, ptr %24, align 1, !tbaa !14, !range !16, !noundef !17
  %291 = trunc i8 %290 to i1
  %292 = xor i1 %291, true
  %293 = zext i1 %292 to i8
  store i8 %293, ptr %25, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %294 unwind label %300

294:                                              ; preds = %289
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %295 unwind label %296

295:                                              ; preds = %294
  store i32 13, ptr %18, align 4
  br label %322, !llvm.loop !19

296:                                              ; preds = %294, %283, %279, %277
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %10, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %11, align 4
  br label %334

300:                                              ; preds = %289
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %10, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  br label %334

304:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #4
  %305 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %306 unwind label %325

306:                                              ; preds = %304
  %307 = load i8, ptr %305, align 1, !tbaa !14, !range !16, !noundef !17
  %308 = trunc i8 %307 to i1
  %309 = zext i1 %308 to i8
  store i8 %309, ptr %26, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %310 unwind label %325

310:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #4
  %311 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %312 unwind label %329

312:                                              ; preds = %310
  %313 = load i8, ptr %311, align 1, !tbaa !13
  %314 = load i8, ptr %26, align 1, !tbaa !14, !range !16, !noundef !17
  %315 = trunc i8 %314 to i1
  %316 = load i8, ptr %24, align 1, !tbaa !14, !range !16, !noundef !17
  %317 = trunc i8 %316 to i1
  %318 = call noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext %313, i1 noundef zeroext %315, i1 noundef zeroext %317)
  %319 = zext i1 %318 to i8
  store i8 %319, ptr %27, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %320 unwind label %329

320:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %321 unwind label %325

321:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #4
  store i32 0, ptr %18, align 4
  br label %322

322:                                              ; preds = %321, %295
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #4
  %323 = load i32, ptr %18, align 4
  switch i32 %323, label %440 [
    i32 0, label %324
    i32 13, label %262
  ]

324:                                              ; preds = %322
  br label %262, !llvm.loop !19

325:                                              ; preds = %320, %306, %304
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %10, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %11, align 4
  br label %333

329:                                              ; preds = %312, %310
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %10, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  br label %333

333:                                              ; preds = %329, %325
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #4
  br label %334

334:                                              ; preds = %333, %300, %296
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #4
  br label %425

335:                                              ; preds = %275
  %336 = load i32, ptr %8, align 4, !tbaa !9
  %337 = sext i32 %336 to i64
  %338 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %337)
          to label %339 unwind label %94

339:                                              ; preds = %335
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushERKc(ptr noundef nonnull align 8 dereferenceable(80) %14, ptr noundef nonnull align 1 dereferenceable(1) %338)
          to label %340 unwind label %94

340:                                              ; preds = %339
  br label %341

341:                                              ; preds = %340, %257
  br label %342

342:                                              ; preds = %341, %236
  br label %343

343:                                              ; preds = %342, %161
  br label %344

344:                                              ; preds = %343, %143
  br label %345

345:                                              ; preds = %344, %116
  %346 = load i32, ptr %8, align 4, !tbaa !9
  %347 = add nsw i32 %346, 1
  store i32 %347, ptr %8, align 4, !tbaa !9
  br label %103, !llvm.loop !20

348:                                              ; preds = %103
  br label %349

349:                                              ; preds = %400, %398, %348
  %350 = invoke noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %351 unwind label %94

351:                                              ; preds = %349
  %352 = xor i1 %350, true
  br i1 %352, label %353, label %411

353:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #4
  %354 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %355 unwind label %372

355:                                              ; preds = %353
  %356 = load i8, ptr %354, align 1, !tbaa !14, !range !16, !noundef !17
  %357 = trunc i8 %356 to i1
  %358 = zext i1 %357 to i8
  store i8 %358, ptr %28, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %359 unwind label %372

359:                                              ; preds = %355
  %360 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %361 unwind label %372

361:                                              ; preds = %359
  %362 = load i8, ptr %360, align 1, !tbaa !13
  %363 = sext i8 %362 to i32
  %364 = icmp eq i32 %363, 33
  br i1 %364, label %365, label %380

365:                                              ; preds = %361
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #4
  %366 = load i8, ptr %28, align 1, !tbaa !14, !range !16, !noundef !17
  %367 = trunc i8 %366 to i1
  %368 = xor i1 %367, true
  %369 = zext i1 %368 to i8
  store i8 %369, ptr %29, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %370 unwind label %376

370:                                              ; preds = %365
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %371 unwind label %372

371:                                              ; preds = %370
  store i32 15, ptr %18, align 4
  br label %398, !llvm.loop !21

372:                                              ; preds = %370, %359, %355, %353
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %10, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %11, align 4
  br label %410

376:                                              ; preds = %365
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %10, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #4
  br label %410

380:                                              ; preds = %361
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #4
  %381 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %382 unwind label %401

382:                                              ; preds = %380
  %383 = load i8, ptr %381, align 1, !tbaa !14, !range !16, !noundef !17
  %384 = trunc i8 %383 to i1
  %385 = zext i1 %384 to i8
  store i8 %385, ptr %30, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %386 unwind label %401

386:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #4
  %387 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %388 unwind label %405

388:                                              ; preds = %386
  %389 = load i8, ptr %387, align 1, !tbaa !13
  %390 = load i8, ptr %30, align 1, !tbaa !14, !range !16, !noundef !17
  %391 = trunc i8 %390 to i1
  %392 = load i8, ptr %28, align 1, !tbaa !14, !range !16, !noundef !17
  %393 = trunc i8 %392 to i1
  %394 = call noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext %389, i1 noundef zeroext %391, i1 noundef zeroext %393)
  %395 = zext i1 %394 to i8
  store i8 %395, ptr %31, align 1, !tbaa !14
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %396 unwind label %405

396:                                              ; preds = %388
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %397 unwind label %401

397:                                              ; preds = %396
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #4
  store i32 0, ptr %18, align 4
  br label %398

398:                                              ; preds = %397, %371
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  %399 = load i32, ptr %18, align 4
  switch i32 %399, label %440 [
    i32 0, label %400
    i32 15, label %349
  ]

400:                                              ; preds = %398
  br label %349, !llvm.loop !21

401:                                              ; preds = %396, %382, %380
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %10, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %11, align 4
  br label %409

405:                                              ; preds = %388, %386
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %10, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #4
  br label %409

409:                                              ; preds = %405, %401
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #4
  br label %410

410:                                              ; preds = %409, %376, %372
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  br label %425

411:                                              ; preds = %351
  %412 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %413 unwind label %94

413:                                              ; preds = %411
  %414 = load i8, ptr %412, align 1, !tbaa !14, !range !16, !noundef !17
  %415 = trunc i8 %414 to i1
  br i1 %415, label %416, label %418

416:                                              ; preds = %413
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %417 unwind label %94

417:                                              ; preds = %416
  br label %418

418:                                              ; preds = %417, %413
  store i32 0, ptr %18, align 4
  br label %419

419:                                              ; preds = %418, %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %14) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %14) #4
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %13) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %13) #4
  %420 = load i32, ptr %18, align 4
  switch i32 %420, label %430 [
    i32 0, label %421
  ]

421:                                              ; preds = %419
  br label %422

422:                                              ; preds = %421
  %423 = load i32, ptr %7, align 4, !tbaa !9
  %424 = add nsw i32 %423, 1
  store i32 %424, ptr %7, align 4, !tbaa !9
  br label %57, !llvm.loop !22

425:                                              ; preds = %410, %334, %234, %144, %98, %94
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  br label %426

426:                                              ; preds = %425, %90, %86
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %14) #4
  br label %427

427:                                              ; preds = %426, %82
  call void @llvm.lifetime.end.p0(i64 80, ptr %14) #4
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %13) #4
  br label %428

428:                                              ; preds = %427, %78
  call void @llvm.lifetime.end.p0(i64 80, ptr %13) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %434

429:                                              ; preds = %57
  store i1 true, ptr %12, align 1
  store i32 1, ptr %18, align 4
  br label %430

430:                                              ; preds = %429, %419
  %431 = load i1, ptr %12, align 1
  br i1 %431, label %433, label %432

432:                                              ; preds = %430
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %433

433:                                              ; preds = %432, %430
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void

434:                                              ; preds = %428, %52
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %435

435:                                              ; preds = %434
  %436 = load ptr, ptr %10, align 8
  %437 = load i32, ptr %11, align 4
  %438 = insertvalue { ptr, i32 } poison, ptr %436, 0
  %439 = insertvalue { ptr, i32 } %438, i32 %437, 1
  resume { ptr, i32 } %439

440:                                              ; preds = %398, %322, %222
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, 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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, 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::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl" }
%"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl" = type { %"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl_data" }
%"struct.std::_Deque_base<bool, std::allocator<bool>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.26" = type { %"class.std::deque.27" }
%"class.std::deque.27" = type { %"class.std::_Deque_base.28" }
%"class.std::_Deque_base.28" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.29", %"struct.std::_Deque_iterator.29" }
%"struct.std::_Deque_iterator.29" = type { ptr, ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [1 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: 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 #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z10Precedencecc(i8 noundef signext, i8 noundef signext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z15parse_conditionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER5table(ptr dead_on_unwind noalias writable sret(%"class.std::vector.18") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(80) %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::map", align 8
  %6 = alloca %"class.std::stack", align 8
  %7 = alloca %"class.std::stack.26", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #4
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #4
  %18 = getelementptr inbounds i8, ptr %2, i64 32
  store i32 0, ptr %4, align 4, !tbaa !5
  %19 = call noundef i64 @_ZNKSt6vectorI9attributeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %.not74 = icmp eq i64 %19, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3, %24
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI9attributeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %21) #4
  %23 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %24 unwind label %30

24:                                               ; preds = %.lr.ph
  store i32 %20, ptr %23, align 4, !tbaa !5
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %4, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = call noundef i64 @_ZNKSt6vectorI9attributeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %29 = icmp ugt i64 %28, %27
  br i1 %29, label %.lr.ph, label %._crit_edge, !llvm.loop !9

30:                                               ; preds = %.lr.ph
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %200

._crit_edge:                                      ; preds = %24, %3
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %32 = getelementptr inbounds i8, ptr %2, i64 56
  store i32 0, ptr %4, align 4, !tbaa !5
  %33 = call noundef i64 @_ZNKSt6vectorIS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  %.not75 = icmp eq i64 %33, 0
  br i1 %.not75, label %.critedge58, label %.lr.ph73

.lr.ph73:                                         ; preds = %._crit_edge, %188
  %.03971 = phi i1 [ %.140, %188 ], [ false, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #4
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %34 unwind label %45

34:                                               ; preds = %.lr.ph73
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #4
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
          to label %35 unwind label %47

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %36 unwind label %49

36:                                               ; preds = %35
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %38) #4
  invoke void @_Z8eval_expRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEES5_RSt6vectorIS5_SaIS5_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull %9, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %40 unwind label %51

40:                                               ; preds = %36
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  %41 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.8)
  br i1 %41, label %43, label %.preheader60

.preheader60:                                     ; preds = %40
  %42 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  %.not76 = icmp eq i64 %42, 0
  br i1 %.not76, label %.preheader59, label %.lr.ph68

43:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  store i32 -1, ptr %10, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %44 unwind label %53

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  br label %187

45:                                               ; preds = %.lr.ph73
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %197

47:                                               ; preds = %34
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %196

49:                                               ; preds = %35
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %195

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  br label %195

.loopexit:                                        ; preds = %.invoke
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %194

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

53:                                               ; preds = %43
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  br label %194

.preheader59:                                     ; preds = %156, %.preheader60
  %55 = call noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  br i1 %55, label %._crit_edge70, label %.lr.ph69

.lr.ph68:                                         ; preds = %.preheader60, %156
  %indvars.iv = phi i64 [ %indvars.iv.next, %156 ], [ 0, %.preheader60 ]
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %57 = load i8, ptr %56, align 1, !tbaa !11
  %58 = icmp eq i8 %57, 32
  br i1 %58, label %156, label %59

59:                                               ; preds = %.lr.ph68
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %61 = load i8, ptr %60, align 1, !tbaa !11
  %62 = icmp eq i8 %61, 48
  br i1 %62, label %67, label %63

63:                                               ; preds = %59
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %65 = load i8, ptr %64, align 1, !tbaa !11
  %66 = icmp eq i8 %65, 49
  br i1 %66, label %67, label %75

67:                                               ; preds = %63, %59
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #4
  %68 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %69 = load i8, ptr %68, align 1, !tbaa !11
  %70 = icmp ne i8 %69, 48
  %71 = zext i1 %70 to i8
  store i8 %71, ptr %11, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %72 unwind label %73

72:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  br label %156

73:                                               ; preds = %67
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  br label %194

75:                                               ; preds = %63
  %76 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %77 = load i8, ptr %76, align 1, !tbaa !11
  %78 = icmp eq i8 %77, 40
  %79 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  br i1 %78, label %.invoke, label %81

.invoke:                                          ; preds = %75, %.critedge
  %80 = phi ptr [ %155, %.critedge ], [ %79, %75 ]
  invoke void @_ZNSt5stackIcSt5dequeIcSaIcEEE4pushERKc(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %156 unwind label %.loopexit

81:                                               ; preds = %75
  %82 = load i8, ptr %79, align 1, !tbaa !11
  %83 = icmp eq i8 %82, 41
  br i1 %83, label %.preheader, label %111

.preheader:                                       ; preds = %81
  %84 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %85 = load i8, ptr %84, align 1, !tbaa !11
  %.not64 = icmp eq i8 %85, 40
  br i1 %.not64, label %._crit_edge66, label %.lr.ph65

.lr.ph65:                                         ; preds = %.preheader, %106
  %86 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %87 = load i8, ptr %86, align 1, !tbaa !12, !range !14, !noundef !15
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %88 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %89 = load i8, ptr %88, align 1, !tbaa !11
  %90 = icmp eq i8 %89, 33
  br i1 %90, label %91, label %96

91:                                               ; preds = %.lr.ph65
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #4
  %92 = xor i8 %87, 1
  store i8 %92, ptr %12, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %93 unwind label %94

93:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  br label %106, !llvm.loop !16

94:                                               ; preds = %91
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  br label %194

96:                                               ; preds = %.lr.ph65
  %97 = trunc nuw i8 %87 to i1
  %98 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %99 = load i8, ptr %98, align 1, !tbaa !12, !range !14, !noundef !15
  %100 = trunc nuw i8 %99 to i1
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #4
  %101 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %102 = load i8, ptr %101, align 1, !tbaa !11
  %103 = call noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext %102, i1 noundef zeroext %100, i1 noundef zeroext %97)
  %104 = zext i1 %103 to i8
  store i8 %104, ptr %13, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %105 unwind label %109

105:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  br label %106

106:                                              ; preds = %105, %93
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %107 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %108 = load i8, ptr %107, align 1, !tbaa !11
  %.not = icmp eq i8 %108, 40
  br i1 %.not, label %._crit_edge66, label %.lr.ph65

109:                                              ; preds = %96
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  br label %194

._crit_edge66:                                    ; preds = %106, %.preheader
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  br label %156

111:                                              ; preds = %81
  %112 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %113 = load i8, ptr %112, align 1, !tbaa !11
  %114 = icmp eq i8 %113, 38
  br i1 %114, label %123, label %115

115:                                              ; preds = %111
  %116 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %117 = load i8, ptr %116, align 1, !tbaa !11
  %118 = icmp eq i8 %117, 124
  br i1 %118, label %123, label %119

119:                                              ; preds = %115
  %120 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %121 = load i8, ptr %120, align 1, !tbaa !11
  %122 = icmp eq i8 %121, 33
  br i1 %122, label %123, label %156

123:                                              ; preds = %119, %115, %111
  %124 = call noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  br i1 %124, label %.critedge, label %.lr.ph62

.lr.ph62:                                         ; preds = %123, %151
  %125 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  %126 = load i8, ptr %125, align 1, !tbaa !11
  %127 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %128 = load i8, ptr %127, align 1, !tbaa !11
  %129 = call noundef zeroext i1 @_Z10Precedencecc(i8 noundef signext %126, i8 noundef signext %128)
  br i1 %129, label %130, label %.critedge

130:                                              ; preds = %.lr.ph62
  %131 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %132 = load i8, ptr %131, align 1, !tbaa !12, !range !14, !noundef !15
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %133 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %134 = load i8, ptr %133, align 1, !tbaa !11
  %135 = icmp eq i8 %134, 33
  br i1 %135, label %136, label %141

136:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #4
  %137 = xor i8 %132, 1
  store i8 %137, ptr %14, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %138 unwind label %139

138:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  br label %151, !llvm.loop !17

139:                                              ; preds = %136
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  br label %194

141:                                              ; preds = %130
  %142 = trunc nuw i8 %132 to i1
  %143 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %144 = load i8, ptr %143, align 1, !tbaa !12, !range !14, !noundef !15
  %145 = trunc nuw i8 %144 to i1
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #4
  %146 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %147 = load i8, ptr %146, align 1, !tbaa !11
  %148 = call noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext %147, i1 noundef zeroext %145, i1 noundef zeroext %142)
  %149 = zext i1 %148 to i8
  store i8 %149, ptr %15, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %150 unwind label %153

150:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  br label %151

151:                                              ; preds = %150, %138
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %152 = call noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  br i1 %152, label %.critedge, label %.lr.ph62

153:                                              ; preds = %141
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  br label %194

.critedge:                                        ; preds = %.lr.ph62, %151, %123
  %155 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %indvars.iv)
  br label %.invoke

156:                                              ; preds = %.invoke, %72, %._crit_edge66, %119, %.lr.ph68
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %157 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  %158 = icmp ugt i64 %157, %indvars.iv.next
  br i1 %158, label %.lr.ph68, label %.preheader59, !llvm.loop !18

.lr.ph69:                                         ; preds = %.preheader59, %179
  %159 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %160 = load i8, ptr %159, align 1, !tbaa !12, !range !14, !noundef !15
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %161 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %162 = load i8, ptr %161, align 1, !tbaa !11
  %163 = icmp eq i8 %162, 33
  br i1 %163, label %164, label %169

164:                                              ; preds = %.lr.ph69
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #4
  %165 = xor i8 %160, 1
  store i8 %165, ptr %16, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %166 unwind label %167

166:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #4
  br label %179, !llvm.loop !19

167:                                              ; preds = %164
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #4
  br label %194

169:                                              ; preds = %.lr.ph69
  %170 = trunc nuw i8 %160 to i1
  %171 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %172 = load i8, ptr %171, align 1, !tbaa !12, !range !14, !noundef !15
  %173 = trunc nuw i8 %172 to i1
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #4
  %174 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIcSt5dequeIcSaIcEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %175 = load i8, ptr %174, align 1, !tbaa !11
  %176 = call noundef zeroext i1 @_Z7applyOpcbb(i8 noundef signext %175, i1 noundef zeroext %173, i1 noundef zeroext %170)
  %177 = zext i1 %176 to i8
  store i8 %177, ptr %17, align 1, !tbaa !12
  invoke void @_ZNSt5stackIbSt5dequeIbSaIbEEE4pushEOb(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %178 unwind label %181

178:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  br label %179

179:                                              ; preds = %178, %166
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  %180 = call noundef zeroext i1 @_ZNKSt5stackIcSt5dequeIcSaIcEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %7)
  br i1 %180, label %._crit_edge70, label %.lr.ph69

181:                                              ; preds = %169
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  br label %194

._crit_edge70:                                    ; preds = %179, %.preheader59
  %183 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5stackIbSt5dequeIbSaIbEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  %184 = load i8, ptr %183, align 1, !tbaa !12, !range !14, !noundef !15
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %187

186:                                              ; preds = %._crit_edge70
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %187 unwind label %.loopexit.split-lp

187:                                              ; preds = %._crit_edge70, %186, %44
  %.140 = phi i1 [ true, %44 ], [ %.03971, %186 ], [ %.03971, %._crit_edge70 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #4
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #4
  br i1 %41, label %198, label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %4, align 4, !tbaa !5
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %4, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = call noundef i64 @_ZNKSt6vectorIS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  %193 = icmp ugt i64 %192, %191
  br i1 %193, label %.lr.ph73, label %.critedge58, !llvm.loop !20

194:                                              ; preds = %.loopexit, %.loopexit.split-lp, %167, %181, %139, %153, %94, %109, %73, %53
  %.pn50 = phi { ptr, i32 } [ %54, %53 ], [ %74, %73 ], [ %95, %94 ], [ %110, %109 ], [ %140, %139 ], [ %154, %153 ], [ %168, %167 ], [ %182, %181 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  br label %195

195:                                              ; preds = %194, %51, %49
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %194 ], [ %52, %51 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @_ZNSt5stackIcSt5dequeIcSaIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #4
  br label %196

196:                                              ; preds = %195, %47
  %.pn50.pn.pn = phi { ptr, i32 } [ %.pn50.pn, %195 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #4
  call void @_ZNSt5stackIbSt5dequeIbSaIbEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #4
  br label %197

197:                                              ; preds = %196, %45
  %.pn50.pn.pn.pn = phi { ptr, i32 } [ %.pn50.pn.pn, %196 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %200

198:                                              ; preds = %187
  br i1 %.140, label %.critedge58, label %199

199:                                              ; preds = %198
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %.critedge58

.critedge58:                                      ; preds = %188, %._crit_edge, %199, %198
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  ret void

200:                                              ; preds = %197, %30
  %.pn55 = phi { ptr, i32 } [ %31, %30 ], [ %.pn50.pn.pn.pn, %197 ]
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn55
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


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