; LLVM IR from Aeternum-Veritas/Merry :: asm/src/worker.ll (ZN4masm6Parser11handle_callEv)

; 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::unordered_map.8" = type { %"class.std::_Hashtable.9" }
%"class.std::_Hashtable.9" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.126" = type { %"struct.std::_Vector_base.127" }
%"struct.std::_Vector_base.127" = type { %"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<masm::Token>::_Storage", i8 }>
%"union.std::_Optional_payload_base<masm::Token>::_Storage" = type { %"struct.masm::Token" }
%"struct.masm::Token" = type { %"class.std::__cxx11::basic_string", i32, i64, i64, i64, %"class.std::vector.106" }
%"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.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl" }
%"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.masm::Node" = type { i32, %"class.std::unique_ptr.155", %"class.std::shared_ptr", i64 }
%"class.std::unique_ptr.155" = type { %"struct.std::__uniq_ptr_data.156" }
%"struct.std::__uniq_ptr_data.156" = type { %"class.std::__uniq_ptr_impl.157" }
%"class.std::__uniq_ptr_impl.157" = type { %"class.std::tuple.158" }
%"class.std::tuple.158" = type { %"struct.std::_Tuple_impl.159" }
%"struct.std::_Tuple_impl.159" = type { %"struct.std::_Head_base.162" }
%"struct.std::_Head_base.162" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::unique_ptr.163" = type { %"struct.std::__uniq_ptr_data.164" }
%"struct.std::__uniq_ptr_data.164" = type { %"class.std::__uniq_ptr_impl.165" }
%"class.std::__uniq_ptr_impl.165" = type { %"class.std::tuple.166" }
%"class.std::tuple.166" = type { %"struct.std::_Tuple_impl.167" }
%"struct.std::_Tuple_impl.167" = type { %"struct.std::_Head_base.170" }
%"struct.std::_Head_base.170" = type { ptr }
%"class.std::allocator.2" = type { i8 }
%"class.masm::Parser" = type <{ %"class.masm::Lexer", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8], %"struct.masm::Token", %"class.std::shared_ptr", %"class.std::vector.137", i8, [7 x i8] }>
%"class.masm::Lexer" = type <{ %"class.std::shared_ptr", %"class.std::shared_ptr", i64, i64, i64, i64, i64, %"class.__gnu_cxx::__normal_iterator", %"class.__gnu_cxx::__normal_iterator", i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.137" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"struct.masm::NodeName" = type { %"class.std::variant" }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type <{ %"union.std::__detail::__variant::_Variadic_union", i8 }>
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.171", [28 x i8] }
%"union.std::__detail::__variant::_Variadic_union.171" = type { %"struct.std::__detail::__variant::_Uninitialized.172" }
%"struct.std::__detail::__variant::_Uninitialized.172" = type { i32 }

@_ZN4masmL8regr_mapE = external hidden global %"class.std::unordered_map.8", align 8
@_ZN4masmL5nodesE = external hidden global %"class.std::vector.126", align 8
@.str.290 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.313 = external hidden unnamed_addr constant [66 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind writable sret(%"class.std::optional") align 8, ptr noundef nonnull align 8 dereferenceable(89), i1 noundef zeroext) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4masm6Parser11handle_callEv(ptr noundef nonnull align 8 dereferenceable(313) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.masm::Token", align 8
  %5 = alloca %"struct.masm::Node", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::unique_ptr.163", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::optional", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.2", align 1
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.2", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  %22 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 88, ptr %4) #6
  call void @_ZN4masm5TokenC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #6
  call void @_ZN4masm4NodeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  %23 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %24 = invoke noundef i64 @_ZN4masm5Lexer8get_lineEv(ptr noundef nonnull align 8 dereferenceable(89) %23)
          to label %25 unwind label %50

25:                                               ; preds = %1
  %26 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 3
  store i64 %24, ptr %26, align 8, !tbaa !9
  %27 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 6
  %28 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 2
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  invoke void @_ZSt11make_uniqueIN4masm8NodeNameEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.163") align 8 %8)
          to label %30 unwind label %54

30:                                               ; preds = %25
  %31 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 1
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EEaSINS0_8NodeNameES2_IS6_EEENSt9enable_ifIXsr6__and_ISt6__and_IJSt14is_convertibleINS_IT_T0_E7pointerEPS1_ESt6__not_ISt8is_arrayISB_EEEESt13is_assignableIRS3_OSC_EEE5valueERS4_E4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @_ZNSt10unique_ptrIN4masm8NodeNameESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %33 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 1
  %34 = call noundef ptr @_ZNKSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  store ptr %34, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #6
  %35 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %10, ptr noundef nonnull align 8 dereferenceable(89) %35, i1 noundef zeroext false)
          to label %36 unwind label %58

36:                                               ; preds = %30
  %37 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %10) #6
  br i1 %37, label %85, label %38

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %40 unwind label %62

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.313, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %41 unwind label %66

41:                                               ; preds = %40
  %42 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %43 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %42)
          to label %44 unwind label %70

44:                                               ; preds = %41
  %45 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %46 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %45)
          to label %47 unwind label %70

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.290, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %48 unwind label %74

48:                                               ; preds = %47
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef %11, ptr noundef %12, i64 noundef %43, i64 noundef %46, i64 noundef 0, i64 noundef 0, ptr noundef %14)
          to label %49 unwind label %78

49:                                               ; preds = %48
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  store i1 false, ptr %2, align 1
  store i32 1, ptr %16, align 4
  br label %157

50:                                               ; preds = %1
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %6, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %7, align 4
  br label %161

54:                                               ; preds = %25
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %6, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %161

58:                                               ; preds = %30
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %6, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %7, align 4
  br label %160

62:                                               ; preds = %155, %148, %142, %101, %87, %85, %38
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %6, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %7, align 4
  br label %159

66:                                               ; preds = %40
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %6, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %7, align 4
  br label %84

70:                                               ; preds = %44, %41
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %6, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %7, align 4
  br label %83

74:                                               ; preds = %47
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %6, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %7, align 4
  br label %82

78:                                               ; preds = %48
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %6, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %82

82:                                               ; preds = %78, %74
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %83

83:                                               ; preds = %82, %70
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %84

84:                                               ; preds = %83, %66
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %159

85:                                               ; preds = %36
  %86 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %10)
          to label %87 unwind label %62

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %86)
          to label %89 unwind label %62

89:                                               ; preds = %87
  %90 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !22
  %92 = icmp ne i32 %91, 1
  br i1 %92, label %93, label %132

93:                                               ; preds = %89
  %94 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %95 = load i32, ptr %94, align 8, !tbaa !22
  %96 = icmp sge i32 %95, 20
  br i1 %96, label %97, label %101

97:                                               ; preds = %93
  %98 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %99 = load i32, ptr %98, align 8, !tbaa !22
  %100 = icmp sle i32 %99, 35
  br i1 %100, label %132, label %101

101:                                              ; preds = %97, %93
  %102 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %102)
          to label %103 unwind label %62

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

104:                                              ; preds = %103
  %105 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %106 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %105)
          to label %107 unwind label %117

107:                                              ; preds = %104
  %108 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %109 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %108)
          to label %110 unwind label %117

110:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.290, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %111 unwind label %121

111:                                              ; preds = %110
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef %17, ptr noundef %18, i64 noundef %106, i64 noundef %109, i64 noundef 0, i64 noundef 0, ptr noundef %20)
          to label %112 unwind label %125

112:                                              ; preds = %111
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  store i1 false, ptr %2, align 1
  store i32 1, ptr %16, align 4
  br label %157

113:                                              ; preds = %103
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %6, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %7, align 4
  br label %131

117:                                              ; preds = %107, %104
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %6, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %7, align 4
  br label %130

121:                                              ; preds = %110
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %6, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %7, align 4
  br label %129

125:                                              ; preds = %111
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %6, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %129

129:                                              ; preds = %125, %121
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %130

130:                                              ; preds = %129, %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %131

131:                                              ; preds = %130, %113
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %159

132:                                              ; preds = %97, %89
  %133 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %134 = load i32, ptr %133, align 8, !tbaa !22
  %135 = icmp eq i32 %134, 1
  %136 = zext i1 %135 to i64
  %137 = select i1 %135, i32 149, i32 150
  %138 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 0
  store i32 %137, ptr %138, align 8, !tbaa !31
  %139 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %140 = load i32, ptr %139, align 8, !tbaa !22
  %141 = icmp eq i32 %140, 1
  br i1 %141, label %142, label %148

142:                                              ; preds = %132
  %143 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 0
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.masm::NodeName", ptr %144, i32 0, i32 0
  %146 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8RegisterEEEaSIRS5_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS5_S7_EE4typeEE18is_constructible_vISG_SD_E15is_assignable_vIRSG_SD_EERS8_E4typeESE_(ptr noundef nonnull align 8 dereferenceable(33) %145, ptr noundef nonnull align 8 dereferenceable(32) %143)
          to label %147 unwind label %62

147:                                              ; preds = %142
  br label %155

148:                                              ; preds = %132
  %149 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %150 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN4masm9TokenTypeENS0_8RegisterESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) @_ZN4masmL8regr_mapE, ptr noundef nonnull align 4 dereferenceable(4) %149)
          to label %151 unwind label %62

151:                                              ; preds = %148
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.masm::NodeName", ptr %152, i32 0, i32 0
  %154 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8RegisterEEEaSIRS7_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS5_S7_EE4typeEE18is_constructible_vISG_SD_E15is_assignable_vIRSG_SD_EERS8_E4typeESE_(ptr noundef nonnull align 8 dereferenceable(33) %153, ptr noundef nonnull align 4 dereferenceable(4) %150) #6
  br label %155

155:                                              ; preds = %151, %147
  invoke void @_ZNSt6vectorIN4masm4NodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN4masmL5nodesE, ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %156 unwind label %62

156:                                              ; preds = %155
  store i1 true, ptr %2, align 1
  store i32 1, ptr %16, align 4
  br label %157

157:                                              ; preds = %156, %112, %49
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #6
  call void @_ZN4masm5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %4) #6
  %158 = load i1, ptr %2, align 1
  ret i1 %158

159:                                              ; preds = %131, %84, %62
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #6
  br label %160

160:                                              ; preds = %159, %58
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %161

161:                                              ; preds = %160, %54, %50
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #6
  call void @_ZN4masm5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %4) #6
  br label %162

162:                                              ; preds = %161
  %163 = load ptr, ptr %6, align 8
  %164 = load i32, ptr %7, align 4
  %165 = insertvalue { ptr, i32 } poison, ptr %163, 0
  %166 = insertvalue { ptr, i32 } %165, i32 %164, 1
  resume { ptr, i32 } %166
}

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

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

declare void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #3

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

declare noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89)) #3

declare noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4masm8NodeNameEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.163") align 8) #5

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

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

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

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

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

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

declare noundef i64 @_ZN4masm5Lexer8get_lineEv(ptr noundef nonnull align 8 dereferenceable(89)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN4masm9TokenTypeENS0_8RegisterESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8RegisterEEEaSIRS7_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS5_S7_EE4typeEE18is_constructible_vISG_SD_E15is_assignable_vIRSG_SD_EERS8_E4typeESE_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !21, i64 32}
!10 = !{!"_ZTSN4masm4NodeE", !11, i64 0, !12, i64 8, !18, i64 16, !21, i64 32}
!11 = !{!"_ZTSN4masm8NodeKindE", !7, i64 0}
!12 = !{!"_ZTSSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt15__uniq_ptr_dataIN4masm4BaseESt14default_deleteIS1_ELb1ELb1EE", !14, i64 0}
!14 = !{!"_ZTSSt15__uniq_ptr_implIN4masm4BaseESt14default_deleteIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt5tupleIJPN4masm4BaseESt14default_deleteIS1_EEE", !16, i64 0}
!16 = !{!"_ZTSSt11_Tuple_implILm0EJPN4masm4BaseESt14default_deleteIS1_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_Head_baseILm0EPN4masm4BaseELb0EE", !6, i64 0}
!18 = !{!"_ZTSSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !26, i64 32}
!23 = !{!"_ZTSN4masm5TokenE", !24, i64 0, !26, i64 32, !21, i64 40, !21, i64 48, !21, i64 56, !27, i64 64}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !21, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"_ZTSN4masm9TokenTypeE", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIN4masm5TokenESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN4masm5TokenESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!10, !11, i64 0}


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

%"class.std::unordered_map.8" = type { %"class.std::_Hashtable.9" }
%"class.std::_Hashtable.9" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.126" = type { %"struct.std::_Vector_base.127" }
%"struct.std::_Vector_base.127" = type { %"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<masm::Node, std::allocator<masm::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<masm::Token>::_Storage", i8 }>
%"union.std::_Optional_payload_base<masm::Token>::_Storage" = type { %"struct.masm::Token" }
%"struct.masm::Token" = type { %"class.std::__cxx11::basic_string", i32, i64, i64, i64, %"class.std::vector.106" }
%"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.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl" }
%"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.masm::Node" = type { i32, %"class.std::unique_ptr.155", %"class.std::shared_ptr", i64 }
%"class.std::unique_ptr.155" = type { %"struct.std::__uniq_ptr_data.156" }
%"struct.std::__uniq_ptr_data.156" = type { %"class.std::__uniq_ptr_impl.157" }
%"class.std::__uniq_ptr_impl.157" = type { %"class.std::tuple.158" }
%"class.std::tuple.158" = type { %"struct.std::_Tuple_impl.159" }
%"struct.std::_Tuple_impl.159" = type { %"struct.std::_Head_base.162" }
%"struct.std::_Head_base.162" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::unique_ptr.163" = type { %"struct.std::__uniq_ptr_data.164" }
%"struct.std::__uniq_ptr_data.164" = type { %"class.std::__uniq_ptr_impl.165" }
%"class.std::__uniq_ptr_impl.165" = type { %"class.std::tuple.166" }
%"class.std::tuple.166" = type { %"struct.std::_Tuple_impl.167" }
%"struct.std::_Tuple_impl.167" = type { %"struct.std::_Head_base.170" }
%"struct.std::_Head_base.170" = type { ptr }
%"class.std::allocator.2" = type { i8 }

@_ZN4masmL8regr_mapE = external hidden global %"class.std::unordered_map.8", align 8
@_ZN4masmL5nodesE = external hidden global %"class.std::vector.126", align 8
@.str.290 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.313 = external hidden unnamed_addr constant [66 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind writable sret(%"class.std::optional") align 8, ptr noundef nonnull align 8 dereferenceable(89), i1 noundef zeroext) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4masm6Parser11handle_callEv(ptr noundef nonnull align 8 dereferenceable(313) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"struct.masm::Token", align 8
  %3 = alloca %"struct.masm::Node", align 8
  %4 = alloca %"class.std::unique_ptr.163", align 8
  %5 = alloca %"class.std::optional", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.2", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %2) #6
  call void @_ZN4masm5TokenC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %2) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #6
  call void @_ZN4masm4NodeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  %16 = invoke noundef i64 @_ZN4masm5Lexer8get_lineEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %17 unwind label %38

17:                                               ; preds = %1
  %18 = getelementptr inbounds i8, ptr %3, i64 32
  store i64 %16, ptr %18, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %0, i64 256
  %20 = getelementptr inbounds i8, ptr %3, i64 16
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  invoke void @_ZSt11make_uniqueIN4masm8NodeNameEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.163") align 8 %4)
          to label %22 unwind label %40

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %3, i64 8
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EEaSINS0_8NodeNameES2_IS6_EEENSt9enable_ifIXsr6__and_ISt6__and_IJSt14is_convertibleINS_IT_T0_E7pointerEPS1_ESt6__not_ISt8is_arrayISB_EEEESt13is_assignableIRS3_OSC_EEE5valueERS4_E4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @_ZNSt10unique_ptrIN4masm8NodeNameESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %25 = call noundef ptr @_ZNKSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #6
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind nonnull writable sret(%"class.std::optional") align 8 %5, ptr noundef nonnull align 8 dereferenceable(89) %0, i1 noundef zeroext false)
          to label %26 unwind label %42

26:                                               ; preds = %22
  %27 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %5) #6
  br i1 %27, label %57, label %28

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %30 unwind label %44

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.313, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %31 unwind label %46

31:                                               ; preds = %30
  %32 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %33 unwind label %48

33:                                               ; preds = %31
  %34 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %35 unwind label %48

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.290, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %36 unwind label %50

36:                                               ; preds = %35
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef nonnull %6, ptr noundef nonnull %7, i64 noundef %32, i64 noundef %34, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %9)
          to label %37 unwind label %52

37:                                               ; preds = %36
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %.sink.split

38:                                               ; preds = %1
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %98

40:                                               ; preds = %17
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %98

42:                                               ; preds = %22
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %97

44:                                               ; preds = %94, %90, %88, %65, %59, %57, %28
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %96

46:                                               ; preds = %30
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %56

48:                                               ; preds = %33, %31
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %55

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

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

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %55

55:                                               ; preds = %54, %48
  %.pn.pn = phi { ptr, i32 } [ %.pn, %54 ], [ %49, %48 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %56

56:                                               ; preds = %55, %46
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %55 ], [ %47, %46 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %96

57:                                               ; preds = %26
  %58 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %5)
          to label %59 unwind label %44

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %58)
          to label %61 unwind label %44

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %2, i64 32
  %63 = load i32, ptr %62, align 8
  %.not = icmp eq i32 %63, 1
  %64 = add i32 %63, -20
  %or.cond = icmp ult i32 %64, 16
  %or.cond29 = or i1 %.not, %or.cond
  br i1 %or.cond29, label %86, label %65

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %67 unwind label %44

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.313, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %68 unwind label %75

68:                                               ; preds = %67
  %69 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %70 unwind label %77

70:                                               ; preds = %68
  %71 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %72 unwind label %77

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.290, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %73 unwind label %79

73:                                               ; preds = %72
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef nonnull %11, ptr noundef nonnull %12, i64 noundef %69, i64 noundef %71, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %14)
          to label %74 unwind label %81

74:                                               ; preds = %73
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %.sink.split

75:                                               ; preds = %67
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %85

77:                                               ; preds = %70, %68
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %84

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

81:                                               ; preds = %73
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %83

83:                                               ; preds = %81, %79
  %.pn21 = phi { ptr, i32 } [ %82, %81 ], [ %80, %79 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %84

84:                                               ; preds = %83, %77
  %.pn21.pn = phi { ptr, i32 } [ %.pn21, %83 ], [ %78, %77 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %85

85:                                               ; preds = %84, %75
  %.pn21.pn.pn = phi { ptr, i32 } [ %.pn21.pn, %84 ], [ %76, %75 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %96

86:                                               ; preds = %61
  %87 = select i1 %.not, i32 149, i32 150
  store i32 %87, ptr %3, align 8, !tbaa !21
  br i1 %.not, label %88, label %90

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8RegisterEEEaSIRS5_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS5_S7_EE4typeEE18is_constructible_vISG_SD_E15is_assignable_vIRSG_SD_EERS8_E4typeESE_(ptr noundef nonnull align 8 dereferenceable(33) %25, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %94 unwind label %44

90:                                               ; preds = %86
  %91 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN4masm9TokenTypeENS0_8RegisterESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) @_ZN4masmL8regr_mapE, ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %92 unwind label %44

92:                                               ; preds = %90
  %93 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8RegisterEEEaSIRS7_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS5_S7_EE4typeEE18is_constructible_vISG_SD_E15is_assignable_vIRSG_SD_EERS8_E4typeESE_(ptr noundef nonnull align 8 dereferenceable(33) %25, ptr noundef nonnull align 4 dereferenceable(4) %91) #6
  br label %94

94:                                               ; preds = %88, %92
  invoke void @_ZNSt6vectorIN4masm4NodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN4masmL5nodesE, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %95 unwind label %44

.sink.split:                                      ; preds = %37, %74
  %.sink = phi ptr [ %11, %74 ], [ %6, %37 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #6
  br label %95

95:                                               ; preds = %.sink.split, %94
  %.0 = phi i1 [ true, %94 ], [ false, %.sink.split ]
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %5) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #6
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #6
  call void @_ZN4masm5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %2) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %2) #6
  ret i1 %.0

96:                                               ; preds = %85, %56, %44
  %.pn25 = phi { ptr, i32 } [ %45, %44 ], [ %.pn21.pn.pn, %85 ], [ %.pn.pn.pn, %56 ]
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %5) #6
  br label %97

97:                                               ; preds = %96, %42
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %96 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #6
  br label %98

98:                                               ; preds = %97, %40, %38
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %97 ], [ %41, %40 ], [ %39, %38 ]
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #6
  call void @_ZN4masm5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %2) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn25.pn.pn
}

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

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

declare void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

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

declare noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #3

declare noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4masm8NodeNameEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.163") align 8) local_unnamed_addr #5

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

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

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

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

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

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

declare noundef i64 @_ZN4masm5Lexer8get_lineEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIN4masm9TokenTypeENS0_8RegisterESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8RegisterEEEaSIRS7_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS5_S7_EE4typeEE18is_constructible_vISG_SD_E15is_assignable_vIRSG_SD_EERS8_E4typeESE_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !20, i64 32}
!6 = !{!"_ZTSN4masm4NodeE", !7, i64 0, !10, i64 8, !17, i64 16, !20, i64 32}
!7 = !{!"_ZTSN4masm8NodeKindE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt15__uniq_ptr_dataIN4masm4BaseESt14default_deleteIS1_ELb1ELb1EE", !12, i64 0}
!12 = !{!"_ZTSSt15__uniq_ptr_implIN4masm4BaseESt14default_deleteIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt5tupleIJPN4masm4BaseESt14default_deleteIS1_EEE", !14, i64 0}
!14 = !{!"_ZTSSt11_Tuple_implILm0EJPN4masm4BaseESt14default_deleteIS1_EEE", !15, i64 0}
!15 = !{!"_ZTSSt10_Head_baseILm0EPN4masm4BaseELb0EE", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"_ZTSSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0}
!20 = !{!"long", !8, i64 0}
!21 = !{!6, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass