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

; 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 }
%"class.std::allocator.2" = type { i8 }
%"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.225" = type { %"struct.std::__uniq_ptr_data.226" }
%"struct.std::__uniq_ptr_data.226" = type { %"class.std::__uniq_ptr_impl.227" }
%"class.std::__uniq_ptr_impl.227" = type { %"class.std::tuple.228" }
%"class.std::tuple.228" = type { %"struct.std::_Tuple_impl.229" }
%"struct.std::_Tuple_impl.229" = type { %"struct.std::_Head_base.232" }
%"struct.std::_Head_base.232" = type { ptr }
%"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::NodeLea" = type { i32, i32, i32, 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.323 = external hidden unnamed_addr constant [49 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8optionalIN4masm5TokenEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96)) 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 noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #4 align 2

; 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 @_ZN4masm6Parser10handle_leaEv(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 [4 x i32], align 16
  %6 = alloca %"class.std::optional", align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::optional", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.2", align 1
  %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
  %22 = alloca %"struct.masm::Node", align 8
  %23 = alloca %"class.std::unique_ptr.225", align 8
  %24 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %25 = 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 16, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #6
  call void @_ZNSt8optionalIN4masm5TokenEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %26

26:                                               ; preds = %124, %1
  %27 = load i64, ptr %7, align 8, !tbaa !9
  %28 = icmp ult i64 %27, 4
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  store i32 2, ptr %8, align 4
  br label %127

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #6
  %31 = getelementptr inbounds %"class.masm::Parser", ptr %25, i32 0, i32 0
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %9, ptr noundef nonnull align 8 dereferenceable(89) %31, i1 noundef zeroext false)
          to label %32 unwind label %47

32:                                               ; preds = %30
  %33 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96) %6, ptr noundef nonnull align 8 dereferenceable(96) %9) #6
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %9) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #6
  %34 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  br i1 %34, label %74, label %35

35:                                               ; preds = %32
  %36 = getelementptr inbounds %"class.masm::Parser", ptr %25, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %37 unwind label %51

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.323, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %38 unwind label %55

38:                                               ; preds = %37
  %39 = getelementptr inbounds %"class.masm::Parser", ptr %25, i32 0, i32 0
  %40 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %39)
          to label %41 unwind label %59

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

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

45:                                               ; preds = %44
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef %12, ptr noundef %13, i64 noundef %40, i64 noundef %43, i64 noundef 0, i64 noundef 0, ptr noundef %15)
          to label %46 unwind label %67

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

47:                                               ; preds = %30
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %10, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #6
  br label %129

51:                                               ; preds = %117, %86, %76, %74, %35
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  br label %129

55:                                               ; preds = %37
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  br label %73

59:                                               ; preds = %41, %38
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  br label %72

63:                                               ; preds = %44
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  br label %71

67:                                               ; preds = %45
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %71

71:                                               ; preds = %67, %63
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %72

72:                                               ; preds = %71, %59
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %73

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

74:                                               ; preds = %32
  %75 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %6)
          to label %76 unwind label %51

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %75)
          to label %78 unwind label %51

78:                                               ; preds = %76
  %79 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %80 = load i32, ptr %79, align 8, !tbaa !11
  %81 = icmp sge i32 %80, 20
  br i1 %81, label %82, label %86

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !11
  %85 = icmp sle i32 %84, 35
  br i1 %85, label %117, label %86

86:                                               ; preds = %82, %78
  %87 = getelementptr inbounds %"class.masm::Parser", ptr %25, 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) %87)
          to label %88 unwind label %51

88:                                               ; preds = %86
  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.323, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %89 unwind label %98

89:                                               ; preds = %88
  %90 = getelementptr inbounds %"class.masm::Parser", ptr %25, i32 0, i32 0
  %91 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %90)
          to label %92 unwind label %102

92:                                               ; preds = %89
  %93 = getelementptr inbounds %"class.masm::Parser", ptr %25, i32 0, i32 0
  %94 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %93)
          to label %95 unwind label %102

95:                                               ; preds = %92
  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 %96 unwind label %106

96:                                               ; preds = %95
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef %17, ptr noundef %18, i64 noundef %91, i64 noundef %94, i64 noundef 0, i64 noundef 0, ptr noundef %20)
          to label %97 unwind label %110

97:                                               ; preds = %96
  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 %8, align 4
  br label %127

98:                                               ; preds = %88
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %10, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %11, align 4
  br label %116

102:                                              ; preds = %92, %89
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %10, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %11, align 4
  br label %115

106:                                              ; preds = %95
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %10, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %11, align 4
  br label %114

110:                                              ; preds = %96
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %10, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %114

114:                                              ; preds = %110, %106
  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 %115

115:                                              ; preds = %114, %102
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %116

116:                                              ; preds = %115, %98
  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 %129

117:                                              ; preds = %82
  %118 = getelementptr inbounds %"struct.masm::Token", ptr %4, i32 0, i32 1
  %119 = 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) %118)
          to label %120 unwind label %51

120:                                              ; preds = %117
  %121 = load i32, ptr %119, align 4, !tbaa !20
  %122 = load i64, ptr %7, align 8, !tbaa !9
  %123 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %122
  store i32 %121, ptr %123, align 4, !tbaa !20
  br label %124

124:                                              ; preds = %120
  %125 = load i64, ptr %7, align 8, !tbaa !9
  %126 = add i64 %125, 1
  store i64 %126, ptr %7, align 8, !tbaa !9
  br label %26, !llvm.loop !22

127:                                              ; preds = %97, %46, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %128 = load i32, ptr %8, align 4
  switch i32 %128, label %163 [
    i32 2, label %130
  ]

129:                                              ; preds = %116, %73, %51, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %165

130:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #6
  call void @_ZN4masm4NodeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  %131 = getelementptr inbounds %"struct.masm::Node", ptr %22, i32 0, i32 0
  store i32 220, ptr %131, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  invoke void @_ZSt11make_uniqueIN4masm7NodeLeaEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.225") align 8 %23)
          to label %132 unwind label %154

132:                                              ; preds = %130
  %133 = getelementptr inbounds %"struct.masm::Node", ptr %22, i32 0, i32 1
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EEaSINS0_7NodeLeaES2_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) %133, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @_ZNSt10unique_ptrIN4masm7NodeLeaESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %135 = getelementptr inbounds %"struct.masm::Node", ptr %22, i32 0, i32 1
  %136 = call noundef ptr @_ZNKSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %135) #6
  store ptr %136, ptr %24, align 8, !tbaa !5
  %137 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0
  %138 = load i32, ptr %137, align 16, !tbaa !20
  %139 = load ptr, ptr %24, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.masm::NodeLea", ptr %139, i32 0, i32 0
  store i32 %138, ptr %140, align 4, !tbaa !36
  %141 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1
  %142 = load i32, ptr %141, align 4, !tbaa !20
  %143 = load ptr, ptr %24, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.masm::NodeLea", ptr %143, i32 0, i32 1
  store i32 %142, ptr %144, align 4, !tbaa !38
  %145 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2
  %146 = load i32, ptr %145, align 8, !tbaa !20
  %147 = load ptr, ptr %24, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.masm::NodeLea", ptr %147, i32 0, i32 2
  store i32 %146, ptr %148, align 4, !tbaa !39
  %149 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3
  %150 = load i32, ptr %149, align 4, !tbaa !20
  %151 = load ptr, ptr %24, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.masm::NodeLea", ptr %151, i32 0, i32 3
  store i32 %150, ptr %152, align 4, !tbaa !40
  invoke void @_ZNSt6vectorIN4masm4NodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN4masmL5nodesE, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %153 unwind label %158

153:                                              ; preds = %132
  store i1 true, ptr %2, align 1
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  br label %163

154:                                              ; preds = %130
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %10, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %162

158:                                              ; preds = %132
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %10, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %162

162:                                              ; preds = %158, %154
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  br label %165

163:                                              ; preds = %153, %127
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 16, 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
  %164 = load i1, ptr %2, align 1
  ret i1 %164

165:                                              ; preds = %162, %129
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 16, 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 %166

166:                                              ; preds = %165
  %167 = load ptr, ptr %10, align 8
  %168 = load i32, ptr %11, align 4
  %169 = insertvalue { ptr, i32 } poison, ptr %167, 0
  %170 = insertvalue { ptr, i32 } %169, i32 %168, 1
  resume { ptr, i32 } %170
}

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4masm7NodeLeaEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.225") align 8) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EEaSINS0_7NodeLeaES2_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_ptrIN4masm7NodeLeaESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !15, i64 32}
!12 = !{!"_ZTSN4masm5TokenE", !13, i64 0, !15, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !16, i64 64}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !10, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"_ZTSN4masm9TokenTypeE", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN4masm5TokenESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN4masm5TokenESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTSN4masm8RegisterE", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !26, i64 0}
!25 = !{!"_ZTSN4masm4NodeE", !26, i64 0, !27, i64 8, !33, i64 16, !10, i64 32}
!26 = !{!"_ZTSN4masm8NodeKindE", !7, i64 0}
!27 = !{!"_ZTSSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_dataIN4masm4BaseESt14default_deleteIS1_ELb1ELb1EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_implIN4masm4BaseESt14default_deleteIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt5tupleIJPN4masm4BaseESt14default_deleteIS1_EEE", !31, i64 0}
!31 = !{!"_ZTSSt11_Tuple_implILm0EJPN4masm4BaseESt14default_deleteIS1_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_Head_baseILm0EPN4masm4BaseELb0EE", !6, i64 0}
!33 = !{!"_ZTSSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !35, i64 8}
!35 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!36 = !{!37, !21, i64 0}
!37 = !{!"_ZTSN4masm7NodeLeaE", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!38 = !{!37, !21, i64 4}
!39 = !{!37, !21, i64 8}
!40 = !{!37, !21, i64 12}


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

%"class.std::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 }
%"class.std::allocator.2" = type { i8 }
%"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.225" = type { %"struct.std::__uniq_ptr_data.226" }
%"struct.std::__uniq_ptr_data.226" = type { %"class.std::__uniq_ptr_impl.227" }
%"class.std::__uniq_ptr_impl.227" = type { %"class.std::tuple.228" }
%"class.std::tuple.228" = type { %"struct.std::_Tuple_impl.229" }
%"struct.std::_Tuple_impl.229" = type { %"struct.std::_Head_base.232" }
%"struct.std::_Head_base.232" = type { ptr }

@_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.323 = external hidden unnamed_addr constant [49 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8optionalIN4masm5TokenEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96)) 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 noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #4 align 2

; 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 @_ZN4masm6Parser10handle_leaEv(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 %"class.std::optional", align 8
  %4 = alloca %"class.std::optional", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.2", align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.2", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"struct.masm::Node", align 8
  %16 = alloca %"class.std::unique_ptr.225", align 8
  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 96, ptr nonnull %3) #6
  call void @_ZNSt8optionalIN4masm5TokenEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  %17 = getelementptr inbounds i8, ptr %2, i64 32
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #6
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind nonnull writable sret(%"class.std::optional") align 8 %4, ptr noundef nonnull align 8 dereferenceable(89) %0, i1 noundef zeroext false)
          to label %18 unwind label %31

18:                                               ; preds = %1
  %19 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  %20 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  br i1 %20, label %44, label %21

21:                                               ; preds = %104, %90, %76, %18
  %22 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %23 unwind label %.loopexit.split-lp

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.323, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %24 unwind label %33

24:                                               ; preds = %23
  %25 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %26 unwind label %35

26:                                               ; preds = %24
  %27 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %28 unwind label %35

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

29:                                               ; preds = %28
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef nonnull %5, ptr noundef nonnull %6, i64 noundef %25, i64 noundef %27, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %8)
          to label %30 unwind label %39

30:                                               ; preds = %29
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %130

31:                                               ; preds = %102, %88, %74, %1
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  br label %132

.loopexit:                                        ; preds = %114, %109, %107, %100, %95, %93, %86, %81, %79, %44, %46, %72
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %132

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

33:                                               ; preds = %23
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %43

35:                                               ; preds = %26, %24
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %42

37:                                               ; preds = %28
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %41

39:                                               ; preds = %29
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %41

41:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %42

42:                                               ; preds = %41, %35
  %.pn.pn = phi { ptr, i32 } [ %.pn, %41 ], [ %36, %35 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %43

43:                                               ; preds = %42, %33
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %42 ], [ %34, %33 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %132

44:                                               ; preds = %18
  %45 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3)
          to label %46 unwind label %.loopexit

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %45)
          to label %48 unwind label %.loopexit

48:                                               ; preds = %46
  %49 = load i32, ptr %17, align 8
  %50 = add i32 %49, -20
  %or.cond = icmp ult i32 %50, 16
  br i1 %or.cond, label %72, label %51

51:                                               ; preds = %111, %97, %83, %48
  %52 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %53 unwind label %.loopexit.split-lp

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.323, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %54 unwind label %61

54:                                               ; preds = %53
  %55 = invoke noundef i64 @_ZN4masm5Lexer11get_line_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %56 unwind label %63

56:                                               ; preds = %54
  %57 = invoke noundef i64 @_ZN4masm5Lexer10get_col_stEv(ptr noundef nonnull align 8 dereferenceable(89) %0)
          to label %58 unwind label %63

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.290, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %59 unwind label %65

59:                                               ; preds = %58
  invoke void @_ZN4masm3logENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmmmS5_(ptr noundef nonnull %10, ptr noundef nonnull %11, i64 noundef %55, i64 noundef %57, i64 noundef 0, i64 noundef 0, ptr noundef nonnull %13)
          to label %60 unwind label %67

60:                                               ; preds = %59
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %130

61:                                               ; preds = %53
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %71

63:                                               ; preds = %56, %54
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %70

65:                                               ; preds = %58
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %59
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %69

69:                                               ; preds = %67, %65
  %.pn29 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %70

70:                                               ; preds = %69, %63
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %69 ], [ %64, %63 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %71

71:                                               ; preds = %70, %61
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %70 ], [ %62, %61 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %132

72:                                               ; preds = %48
  %73 = 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) %17)
          to label %74 unwind label %.loopexit

74:                                               ; preds = %72
  %75 = load i32, ptr %73, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #6
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind nonnull writable sret(%"class.std::optional") align 8 %4, ptr noundef nonnull align 8 dereferenceable(89) %0, i1 noundef zeroext false)
          to label %76 unwind label %31

76:                                               ; preds = %74
  %77 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  %78 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  br i1 %78, label %79, label %21

79:                                               ; preds = %76
  %80 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3)
          to label %81 unwind label %.loopexit

81:                                               ; preds = %79
  %82 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %80)
          to label %83 unwind label %.loopexit

83:                                               ; preds = %81
  %84 = load i32, ptr %17, align 8
  %85 = add i32 %84, -20
  %or.cond.1 = icmp ult i32 %85, 16
  br i1 %or.cond.1, label %86, label %51

86:                                               ; preds = %83
  %87 = 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) %17)
          to label %88 unwind label %.loopexit

88:                                               ; preds = %86
  %89 = load i32, ptr %87, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #6
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind nonnull writable sret(%"class.std::optional") align 8 %4, ptr noundef nonnull align 8 dereferenceable(89) %0, i1 noundef zeroext false)
          to label %90 unwind label %31

90:                                               ; preds = %88
  %91 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  %92 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  br i1 %92, label %93, label %21

93:                                               ; preds = %90
  %94 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3)
          to label %95 unwind label %.loopexit

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %94)
          to label %97 unwind label %.loopexit

97:                                               ; preds = %95
  %98 = load i32, ptr %17, align 8
  %99 = add i32 %98, -20
  %or.cond.2 = icmp ult i32 %99, 16
  br i1 %or.cond.2, label %100, label %51

100:                                              ; preds = %97
  %101 = 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) %17)
          to label %102 unwind label %.loopexit

102:                                              ; preds = %100
  %103 = load i32, ptr %101, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #6
  invoke void @_ZN4masm5Lexer10next_tokenEb(ptr dead_on_unwind nonnull writable sret(%"class.std::optional") align 8 %4, ptr noundef nonnull align 8 dereferenceable(89) %0, i1 noundef zeroext false)
          to label %104 unwind label %31

104:                                              ; preds = %102
  %105 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt8optionalIN4masm5TokenEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  %106 = call noundef zeroext i1 @_ZNKSt8optionalIN4masm5TokenEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  br i1 %106, label %107, label %21

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNRSt8optionalIN4masm5TokenEE5valueEv(ptr noundef nonnull align 8 dereferenceable(96) %3)
          to label %109 unwind label %.loopexit

109:                                              ; preds = %107
  %110 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4masm5TokenaSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %108)
          to label %111 unwind label %.loopexit

111:                                              ; preds = %109
  %112 = load i32, ptr %17, align 8
  %113 = add i32 %112, -20
  %or.cond.3 = icmp ult i32 %113, 16
  br i1 %or.cond.3, label %114, label %51

114:                                              ; preds = %111
  %115 = 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) %17)
          to label %.critedge unwind label %.loopexit

.critedge:                                        ; preds = %114
  %116 = load i32, ptr %115, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #6
  call void @_ZN4masm4NodeC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  store i32 220, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  invoke void @_ZSt11make_uniqueIN4masm7NodeLeaEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.225") align 8 %16)
          to label %117 unwind label %125

117:                                              ; preds = %.critedge
  %118 = getelementptr inbounds i8, ptr %15, i64 8
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EEaSINS0_7NodeLeaES2_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) %118, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZNSt10unique_ptrIN4masm7NodeLeaESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  %120 = call noundef ptr @_ZNKSt10unique_ptrIN4masm4BaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %118) #6
  store i32 %75, ptr %120, align 4, !tbaa !23
  %121 = getelementptr inbounds i8, ptr %120, i64 4
  store i32 %89, ptr %121, align 4, !tbaa !25
  %122 = getelementptr inbounds i8, ptr %120, i64 8
  store i32 %103, ptr %122, align 4, !tbaa !26
  %123 = getelementptr inbounds i8, ptr %120, i64 12
  store i32 %116, ptr %123, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIN4masm4NodeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN4masmL5nodesE, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %124 unwind label %127

124:                                              ; preds = %117
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #6
  br label %130

125:                                              ; preds = %.critedge
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br label %129

127:                                              ; preds = %117
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %129

129:                                              ; preds = %127, %125
  %.pn33 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @_ZN4masm4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #6
  br label %132

130:                                              ; preds = %30, %60, %124
  %131 = phi i1 [ false, %30 ], [ false, %60 ], [ true, %124 ]
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  call void @llvm.lifetime.end.p0(i64 96, 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 %131

132:                                              ; preds = %.loopexit, %.loopexit.split-lp, %31, %43, %71, %129
  %.pn35.pn = phi { ptr, i32 } [ %.pn33, %129 ], [ %.pn29.pn.pn, %71 ], [ %.pn.pn.pn, %43 ], [ %32, %31 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt14_Optional_baseIN4masm5TokenELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %3) #6
  call void @llvm.lifetime.end.p0(i64 96, 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 } %.pn35.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 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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN4masm7NodeLeaEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.225") 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_7NodeLeaES2_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_ptrIN4masm7NodeLeaESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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, !6, i64 0}
!6 = !{!"_ZTSN4masm8RegisterE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN4masm4NodeE", !11, i64 0, !12, i64 8, !19, i64 16, !22, 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", !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"_ZTSSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !20, i64 0}
!20 = !{!"_ZTSSt12__shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EE", !18, i64 0, !21, i64 8}
!21 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !18, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSN4masm7NodeLeaE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!25 = !{!24, !6, i64 4}
!26 = !{!24, !6, i64 8}
!27 = !{!24, !6, i64 12}


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