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

; 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::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.268" = type { %"struct.std::__uniq_ptr_data.269" }
%"struct.std::__uniq_ptr_data.269" = type { %"class.std::__uniq_ptr_impl.270" }
%"class.std::__uniq_ptr_impl.270" = type { %"class.std::tuple.271" }
%"class.std::tuple.271" = type { %"struct.std::_Tuple_impl.272" }
%"struct.std::_Tuple_impl.272" = type { %"struct.std::_Head_base.275" }
%"struct.std::_Head_base.275" = 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::NodeIntr" = type { %"class.std::variant.276" }
%"class.std::variant.276" = type { %"struct.std::__detail::__variant::_Variant_base.base.289", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base.289" = type { %"struct.std::__detail::__variant::_Move_assign_base.base.288" }
%"struct.std::__detail::__variant::_Move_assign_base.base.288" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base.287" }
%"struct.std::__detail::__variant::_Copy_assign_base.base.287" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base.286" }
%"struct.std::__detail::__variant::_Move_ctor_base.base.286" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base.285" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base.285" = type { %"struct.std::__detail::__variant::_Variant_storage.base.284" }
%"struct.std::__detail::__variant::_Variant_storage.base.284" = type { %"union.std::__detail::__variant::_Variadic_union.283", i8 }
%"union.std::__detail::__variant::_Variadic_union.283" = type { %"union.std::__detail::__variant::_Variadic_union.249" }
%"union.std::__detail::__variant::_Variadic_union.249" = type { %"struct.std::__detail::__variant::_Uninitialized" }
%"struct.std::__detail::__variant::_Uninitialized" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [32 x i8] }

@_ZN4masmL5nodesE = external hidden global %"class.std::vector.126", align 8
@.str.290 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.334 = external hidden unnamed_addr constant [65 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_intrEv(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.268", 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_uniqueIN4masm8NodeIntrEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.268") 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_8NodeIntrES2_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_ptrIN4masm8NodeIntrESt14default_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.334, 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 %146

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 %150

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 %150

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 %149

62:                                               ; preds = %144, %113, %106, %99, %92, %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 %148

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 %148

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
  switch i32 %91, label %113 [
    i32 4, label %92
    i32 1, label %99
    i32 2, label %106
  ]

92:                                               ; preds = %89
  %93 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 0
  store i32 314, ptr %93, align 8, !tbaa !31
  %94 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 5
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.masm::NodeIntr", ptr %95, i32 0, i32 0
  %97 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRS4_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33) %96, ptr noundef nonnull align 8 dereferenceable(24) %94)
          to label %98 unwind label %62

98:                                               ; preds = %92
  br label %144

99:                                               ; preds = %89
  %100 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 0
  store i32 315, ptr %100, align 8, !tbaa !31
  %101 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 0
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.masm::NodeIntr", ptr %102, i32 0, i32 0
  %104 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRSA_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33) %103, ptr noundef nonnull align 8 dereferenceable(32) %101)
          to label %105 unwind label %62

105:                                              ; preds = %99
  br label %144

106:                                              ; preds = %89
  %107 = getelementptr inbounds %"struct.masm::Node", ptr %5, i32 0, i32 0
  store i32 313, ptr %107, align 8, !tbaa !31
  %108 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 0
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.masm::NodeIntr", ptr %109, i32 0, i32 0
  %111 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRSA_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33) %110, ptr noundef nonnull align 8 dereferenceable(32) %108)
          to label %112 unwind label %62

112:                                              ; preds = %106
  br label %144

113:                                              ; preds = %89
  %114 = 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) %114)
          to label %115 unwind label %62

115:                                              ; preds = %113
  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.334, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %116 unwind label %125

116:                                              ; preds = %115
  %117 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %118 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %117)
          to label %119 unwind label %129

119:                                              ; preds = %116
  %120 = getelementptr inbounds %"class.masm::Parser", ptr %22, i32 0, i32 0
  %121 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %120)
          to label %122 unwind label %129

122:                                              ; preds = %119
  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 %123 unwind label %133

123:                                              ; preds = %122
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef %17, ptr noundef %18, i64 noundef %118, i64 noundef %121, i64 noundef 0, i64 noundef 0, ptr noundef %20)
          to label %124 unwind label %137

124:                                              ; preds = %123
  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 %146

125:                                              ; preds = %115
  %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
  br label %143

129:                                              ; preds = %119, %116
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %6, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %7, align 4
  br label %142

133:                                              ; preds = %122
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %6, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %7, align 4
  br label %141

137:                                              ; preds = %123
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %6, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %141

141:                                              ; preds = %137, %133
  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 %142

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

143:                                              ; preds = %142, %125
  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 %148

144:                                              ; preds = %112, %105, %98
  invoke void @_ZNSt6vectorIN4masm4NodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN4masmL5nodesE, ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %145 unwind label %62

145:                                              ; preds = %144
  store i1 true, ptr %2, align 1
  store i32 1, ptr %16, align 4
  br label %146

146:                                              ; preds = %145, %124, %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
  %147 = load i1, ptr %2, align 1
  ret i1 %147

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

149:                                              ; preds = %148, %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 %150

150:                                              ; preds = %149, %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 %151

151:                                              ; preds = %150
  %152 = load ptr, ptr %6, align 8
  %153 = load i32, ptr %7, align 4
  %154 = insertvalue { ptr, i32 } poison, ptr %152, 0
  %155 = insertvalue { ptr, i32 } %154, i32 %153, 1
  resume { ptr, i32 } %155
}

; 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4masm8NodeIntrEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.268") align 8) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRSA_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) #2 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::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.268" = type { %"struct.std::__uniq_ptr_data.269" }
%"struct.std::__uniq_ptr_data.269" = type { %"class.std::__uniq_ptr_impl.270" }
%"class.std::__uniq_ptr_impl.270" = type { %"class.std::tuple.271" }
%"class.std::tuple.271" = type { %"struct.std::_Tuple_impl.272" }
%"struct.std::_Tuple_impl.272" = type { %"struct.std::_Head_base.275" }
%"struct.std::_Head_base.275" = type { ptr }
%"class.std::allocator.2" = type { i8 }

@_ZN4masmL5nodesE = external hidden global %"class.std::vector.126", align 8
@.str.290 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.334 = external hidden unnamed_addr constant [65 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_intrEv(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.268", 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_uniqueIN4masm8NodeIntrEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.268") 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_8NodeIntrES2_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_ptrIN4masm8NodeIntrESt14default_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.334, 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 %94

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

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

44:                                               ; preds = %.invoke, %90, %69, %64, %59, %57, %28
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %92

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 %92

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, !tbaa !21
  switch i32 %63, label %69 [
    i32 4, label %64
    i32 1, label %.invoke
    i32 2, label %67
  ]

64:                                               ; preds = %61
  store i32 314, ptr %3, align 8, !tbaa !30
  %65 = getelementptr inbounds i8, ptr %2, i64 64
  %66 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRS4_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33) %25, ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %90 unwind label %44

67:                                               ; preds = %61
  br label %.invoke

.invoke:                                          ; preds = %61, %67
  %storemerge = phi i32 [ 313, %67 ], [ 315, %61 ]
  store i32 %storemerge, ptr %3, align 8, !tbaa !30
  %68 = invoke noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRSA_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33) %25, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %90 unwind label %44

69:                                               ; preds = %61
  %70 = 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) %70)
          to label %71 unwind label %44

71:                                               ; preds = %69
  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.334, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %72 unwind label %79

72:                                               ; preds = %71
  %73 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %74 unwind label %81

74:                                               ; preds = %72
  %75 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %76 unwind label %81

76:                                               ; preds = %74
  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 %77 unwind label %83

77:                                               ; preds = %76
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef nonnull %11, ptr noundef nonnull %12, i64 noundef %73, i64 noundef %75, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %14)
          to label %78 unwind label %85

78:                                               ; preds = %77
  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

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

81:                                               ; preds = %74, %72
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %88

83:                                               ; preds = %76
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %87

85:                                               ; preds = %77
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %87

87:                                               ; preds = %85, %83
  %.pn19 = phi { ptr, i32 } [ %86, %85 ], [ %84, %83 ]
  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 %88

88:                                               ; preds = %87, %81
  %.pn19.pn = phi { ptr, i32 } [ %.pn19, %87 ], [ %82, %81 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %89

89:                                               ; preds = %88, %79
  %.pn19.pn.pn = phi { ptr, i32 } [ %.pn19.pn, %88 ], [ %80, %79 ]
  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 %92

90:                                               ; preds = %.invoke, %64
  invoke void @_ZNSt6vectorIN4masm4NodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN4masmL5nodesE, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %91 unwind label %44

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

91:                                               ; preds = %.sink.split, %90
  %.0 = phi i1 [ true, %90 ], [ 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

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

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

94:                                               ; preds = %93, %40, %38
  %.pn19.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn19.pn.pn.pn.pn, %93 ], [ %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 } %.pn19.pn.pn.pn.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: 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: 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4masm8NodeIntrEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.268") align 8) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt7variantIJSt6vectorIN4masm5TokenESaIS2_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEaSIRSA_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS4_SA_EE4typeEE18is_constructible_vISJ_SG_E15is_assignable_vIRSJ_SG_EERSB_E4typeESH_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 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 = !{!22, !25, i64 32}
!22 = !{!"_ZTSN4masm5TokenE", !23, i64 0, !25, i64 32, !20, i64 40, !20, i64 48, !20, i64 56, !26, i64 64}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !20, i64 8, !8, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !16, i64 0}
!25 = !{!"_ZTSN4masm9TokenTypeE", !8, i64 0}
!26 = !{!"_ZTSSt6vectorIN4masm5TokenESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN4masm5TokenESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!30 = !{!6, !7, i64 0}


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