; LLVM IR from jzimmerman/langcc :: gen/meta (gen)

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

%"struct.langcc::rc_ptr.29" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.450" = type { ptr, ptr }
%"struct.langcc::Option::_T.305" = type { i32, [32 x i8] }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.lang::meta::Node::LexerDecl::Mode::ws_sig_::spec::_T" = type { %"struct.lang::meta::Node::_T", %"struct.langcc::Option::_T.305", %"struct.langcc::rc_ptr.450" }
%"struct.lang::meta::Node::_T" = type { ptr, %"struct.langcc::hash_obj", %"struct.langcc::enable_rc_from_this_poly", i32, i64, %"struct.langcc::TokenBounds", i8, i64, %"struct.langcc::ParserAttrMask", %"struct.langcc::ParserLookahead" }
%"struct.langcc::hash_obj" = type { %"struct.langcc::Option::_T" }
%"struct.langcc::Option::_T" = type { i32, [32 x i8] }
%"struct.langcc::enable_rc_from_this_poly" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN6langcc6Option2_TINS_8StrSliceEEaSERKS3_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6Option2_TINS6_8StrSliceEEENS6_6rc_ptrINS6_3VecISC_EEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.29") align 8, i64 noundef, i64, i1 noundef zeroext, i64 noundef, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_8StrSliceEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_8StrSliceEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(36)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEEC2INS3_9LexerDecl4Mode7ws_sig_4spec2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4meta4Node2_TEEES6_EEclES6_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc7make_rcINS_3VecINS_8StrSliceEEEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.450") align 8) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc3VecINS_8StrSliceEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc3VecINS_8StrSliceEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21xformT_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEESt8functionIFNS0_INS3_2_TEEESC_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.langcc::Option::_T.305", align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.langcc::Option::_T.305", align 4
  %11 = alloca %"struct.langcc::rc_ptr.450", align 8
  %12 = alloca i64, align 8
  %13 = alloca %"struct.langcc::rc_ptr.29", align 8
  %14 = alloca %"struct.langcc::TokenBounds", align 4
  %15 = alloca %"struct.langcc::ParserAttrMask", align 8
  %16 = alloca %"struct.langcc::ParserLookahead", align 8
  %17 = alloca %"struct.langcc::Option::_T.305", align 4
  %18 = alloca %"struct.langcc::rc_ptr.450", align 8
  %19 = alloca %"struct.langcc::rc_ptr.21", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 36, ptr %7) #7
  call void @_ZN6langcc4NoneINS_8StrSliceEEENS_6Option2_TIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.305") align 4 %7)
  %20 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %21 unwind label %34

21:                                               ; preds = %3
  %22 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::ws_sig_::spec::_T", ptr %20, i32 0, i32 1
  %23 = invoke noundef zeroext i1 @_ZNK6langcc6Option2_TINS_8StrSliceEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(36) %22)
          to label %24 unwind label %34

24:                                               ; preds = %21
  br i1 %23, label %25, label %47

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 36, ptr %10) #7
  %26 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %27 unwind label %38

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::ws_sig_::spec::_T", ptr %26, i32 0, i32 1
  %29 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc6Option2_TINS_8StrSliceEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(36) %28)
          to label %30 unwind label %38

30:                                               ; preds = %27
  invoke void @_ZN6langcc4SomeINS_8StrSliceEEENS_6Option2_TIT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.305") align 4 %10, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %31 unwind label %38

31:                                               ; preds = %30
  %32 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN6langcc6Option2_TINS_8StrSliceEEaSERKS3_(ptr noundef nonnull align 4 dereferenceable(36) %7, ptr noundef nonnull align 4 dereferenceable(36) %10)
          to label %33 unwind label %42

33:                                               ; preds = %31
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %10) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #7
  br label %47

34:                                               ; preds = %21, %3
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %8, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %9, align 4
  br label %136

38:                                               ; preds = %30, %27, %25
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %8, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %9, align 4
  br label %46

42:                                               ; preds = %31
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %8, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %9, align 4
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %10) #7
  br label %46

46:                                               ; preds = %42, %38
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #7
  br label %136

47:                                               ; preds = %33, %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  invoke void @_ZN6langcc7make_rcINS_3VecINS_8StrSliceEEEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.450") align 8 %11)
          to label %48 unwind label %74

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !9
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %49

49:                                               ; preds = %71, %48
  %50 = load i64, ptr %12, align 8, !tbaa !9
  %51 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %52 unwind label %78

52:                                               ; preds = %49
  %53 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::ws_sig_::spec::_T", ptr %51, i32 0, i32 2
  %54 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
          to label %55 unwind label %78

55:                                               ; preds = %52
  %56 = invoke noundef i64 @_ZNK6langcc3VecINS_8StrSliceEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %54)
          to label %57 unwind label %78

57:                                               ; preds = %55
  %58 = icmp slt i64 %50, %56
  br i1 %58, label %59, label %82

59:                                               ; preds = %57
  %60 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %61 unwind label %78

61:                                               ; preds = %59
  %62 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %63 unwind label %78

63:                                               ; preds = %61
  %64 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::ws_sig_::spec::_T", ptr %62, i32 0, i32 2
  %65 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %64)
          to label %66 unwind label %78

66:                                               ; preds = %63
  %67 = load i64, ptr %12, align 8, !tbaa !9
  %68 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc3VecINS_8StrSliceEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %65, i64 noundef %67)
          to label %69 unwind label %78

69:                                               ; preds = %66
  invoke void @_ZN6langcc3VecINS_8StrSliceEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(64) %60, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %70 unwind label %78

70:                                               ; preds = %69
  br label %71

71:                                               ; preds = %70
  %72 = load i64, ptr %12, align 8, !tbaa !9
  %73 = add nsw i64 %72, 1
  store i64 %73, ptr %12, align 8, !tbaa !9
  br label %49, !llvm.loop !11

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

78:                                               ; preds = %69, %66, %63, %61, %59, %55, %52, %49
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %8, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %9, align 4
  br label %134

82:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %83 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %84 unwind label %111

84:                                               ; preds = %82
  %85 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %83, i32 0, i32 4
  %86 = load i64, ptr %85, align 8, !tbaa !13
  %87 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %88 unwind label %111

88:                                               ; preds = %84
  %89 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %87, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %89, i64 8, i1 false), !tbaa.struct !25
  %90 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %91 unwind label %111

91:                                               ; preds = %88
  %92 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %90, i32 0, i32 6
  %93 = load i8, ptr %92, align 8, !tbaa !27, !range !28, !noundef !29
  %94 = trunc i8 %93 to i1
  %95 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %96 unwind label %111

96:                                               ; preds = %91
  %97 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %95, i32 0, i32 7
  %98 = load i64, ptr %97, align 8, !tbaa !30
  %99 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %100 unwind label %111

100:                                              ; preds = %96
  %101 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %99, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 8 %101, i64 16, i1 false), !tbaa.struct !31
  %102 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %103 unwind label %111

103:                                              ; preds = %100
  %104 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %102, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %16, ptr align 8 %104, i64 16, i1 false), !tbaa.struct !31
  invoke void @_ZN6langcc6Option2_TINS_8StrSliceEEC2ERKS3_(ptr noundef nonnull align 4 dereferenceable(36) %17, ptr noundef nonnull align 4 dereferenceable(36) %7)
          to label %105 unwind label %111

105:                                              ; preds = %103
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %106 unwind label %115

106:                                              ; preds = %105
  %107 = load i64, ptr %14, align 4
  invoke void @_ZN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6Option2_TINS6_8StrSliceEEENS6_6rc_ptrINS6_3VecISC_EEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.29") align 8 %13, i64 noundef %86, i64 %107, i1 noundef zeroext %94, i64 noundef %98, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %15, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %16, ptr noundef %17, ptr noundef %18)
          to label %108 unwind label %119

108:                                              ; preds = %106
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %17) #7
  invoke void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEEC2INS3_9LexerDecl4Mode7ws_sig_4spec2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_EE(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %109 unwind label %124

109:                                              ; preds = %108
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4meta4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %19)
          to label %110 unwind label %128

110:                                              ; preds = %109
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %7) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr %7) #7
  ret void

111:                                              ; preds = %103, %100, %96, %91, %88, %84, %82
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %8, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %9, align 4
  br label %133

115:                                              ; preds = %105
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %8, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %9, align 4
  br label %123

119:                                              ; preds = %106
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %8, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %9, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %123

123:                                              ; preds = %119, %115
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %17) #7
  br label %133

124:                                              ; preds = %108
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %8, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %9, align 4
  br label %132

128:                                              ; preds = %109
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %8, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %9, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %132

132:                                              ; preds = %128, %124
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %133

133:                                              ; preds = %132, %123, %111
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %134

134:                                              ; preds = %133, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %135

135:                                              ; preds = %134, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  br label %136

136:                                              ; preds = %135, %46, %34
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %7) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr %7) #7
  br label %137

137:                                              ; preds = %136
  %138 = load ptr, ptr %8, align 8
  %139 = load i32, ptr %9, align 4
  %140 = insertvalue { ptr, i32 } poison, ptr %138, 0
  %141 = insertvalue { ptr, i32 } %140, i32 %139, 1
  resume { ptr, i32 } %141
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4NoneINS_8StrSliceEEENS_6Option2_TIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.305") align 4) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4SomeINS_8StrSliceEEENS_6Option2_TIT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.305") align 4, ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc6Option2_TINS_8StrSliceEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(36)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_8StrSliceEEC2ERKS3_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 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 #6 = { 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 #7 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 72}
!14 = !{!"_ZTSN4lang4meta4Node2_TE", !15, i64 8, !18, i64 48, !19, i64 64, !10, i64 72, !20, i64 80, !22, i64 88, !10, i64 96, !23, i64 104, !24, i64 120}
!15 = !{!"_ZTSN6langcc8hash_objE", !16, i64 0}
!16 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !17, i64 0, !7, i64 4}
!17 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!18 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!19 = !{!"_ZTSN4lang4meta4Node2_WE", !7, i64 0}
!20 = !{!"_ZTSN6langcc11TokenBoundsE", !21, i64 0, !21, i64 4}
!21 = !{!"int", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!24 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!26 = !{!21, !21, i64 0}
!27 = !{!14, !22, i64 88}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!14, !10, i64 96}
!31 = !{i64 0, i64 16, !32}
!32 = !{!7, !7, 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"

%"struct.langcc::rc_ptr.29" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.450" = type { ptr, ptr }
%"struct.langcc::Option::_T.305" = type { i32, [32 x i8] }

declare i32 @__gxx_personality_v0(...)

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

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN6langcc6Option2_TINS_8StrSliceEEaSERKS3_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6Option2_TINS6_8StrSliceEEENS6_6rc_ptrINS6_3VecISC_EEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.29") align 8, i64 noundef, i64, i1 noundef zeroext, i64 noundef, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_8StrSliceEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_8StrSliceEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEEC2INS3_9LexerDecl4Mode7ws_sig_4spec2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4meta4Node2_TEEES6_EEclES6_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc7make_rcINS_3VecINS_8StrSliceEEEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.450") align 8) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc3VecINS_8StrSliceEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc3VecINS_8StrSliceEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21xformT_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEESt8functionIFNS0_INS3_2_TEEESC_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::Option::_T.305", align 4
  %5 = alloca %"struct.langcc::Option::_T.305", align 4
  %6 = alloca %"struct.langcc::rc_ptr.450", align 8
  %7 = alloca %"struct.langcc::rc_ptr.29", align 8
  %8 = alloca %"struct.langcc::ParserAttrMask", align 8
  %9 = alloca %"struct.langcc::ParserLookahead", align 8
  %10 = alloca %"struct.langcc::Option::_T.305", align 4
  %11 = alloca %"struct.langcc::rc_ptr.450", align 8
  %12 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %4) #7
  call void @_ZN6langcc4NoneINS_8StrSliceEEENS_6Option2_TIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.305") align 4 %4)
  %13 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %14 = getelementptr inbounds i8, ptr %13, i64 136
  %15 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_8StrSliceEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(36) %14)
  br i1 %15, label %16, label %29

16:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %5) #7
  %17 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %18 = getelementptr inbounds i8, ptr %17, i64 136
  %19 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc6Option2_TINS_8StrSliceEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(36) %18)
          to label %20 unwind label %24

20:                                               ; preds = %16
  invoke void @_ZN6langcc4SomeINS_8StrSliceEEENS_6Option2_TIT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.305") align 4 %5, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %21 unwind label %24

21:                                               ; preds = %20
  %22 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN6langcc6Option2_TINS_8StrSliceEEaSERKS3_(ptr noundef nonnull align 4 dereferenceable(36) %4, ptr noundef nonnull align 4 dereferenceable(36) %5)
          to label %23 unwind label %26

23:                                               ; preds = %21
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %5) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #7
  br label %29

24:                                               ; preds = %20, %16
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %28

26:                                               ; preds = %21
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %5) #7
  br label %28

28:                                               ; preds = %26, %24
  %.pn = phi { ptr, i32 } [ %27, %26 ], [ %25, %24 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #7
  br label %79

29:                                               ; preds = %23, %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  invoke void @_ZN6langcc7make_rcINS_3VecINS_8StrSliceEEEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.450") align 8 %6)
          to label %.preheader unwind label %47

.preheader:                                       ; preds = %29
  %30 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %31 = getelementptr inbounds i8, ptr %30, i64 176
  %32 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
  %33 = call noundef i64 @_ZNK6langcc3VecINS_8StrSliceEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %32)
  %34 = icmp sgt i64 %33, 0
  br i1 %34, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %40
  %.0417 = phi i64 [ %41, %40 ], [ 0, %.preheader ]
  %35 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %36 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %37 = getelementptr inbounds i8, ptr %36, i64 176
  %38 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc3VecINS_8StrSliceEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %38, i64 noundef %.0417)
  invoke void @_ZN6langcc3VecINS_8StrSliceEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(64) %35, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %40 unwind label %49

40:                                               ; preds = %.lr.ph
  %41 = add nuw nsw i64 %.0417, 1
  %42 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %43 = getelementptr inbounds i8, ptr %42, i64 176
  %44 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
  %45 = call noundef i64 @_ZNK6langcc3VecINS_8StrSliceEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %44)
  %46 = icmp slt i64 %41, %45
  br i1 %46, label %.lr.ph, label %._crit_edge, !llvm.loop !5

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

49:                                               ; preds = %.lr.ph
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %77

._crit_edge:                                      ; preds = %40, %.preheader
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %51 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %52 = getelementptr inbounds i8, ptr %51, i64 72
  %53 = load i64, ptr %52, align 8, !tbaa !7
  %54 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %55 = getelementptr inbounds i8, ptr %54, i64 80
  %.sroa.0.0.copyload = load i64, ptr %55, align 8
  %56 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %57 = getelementptr inbounds i8, ptr %56, i64 88
  %58 = load i8, ptr %57, align 8, !tbaa !23, !range !24, !noundef !25
  %59 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %60 = getelementptr inbounds i8, ptr %59, i64 96
  %61 = load i64, ptr %60, align 8, !tbaa !26
  %62 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %63 = getelementptr inbounds i8, ptr %62, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %63, i64 16, i1 false), !tbaa.struct !27
  %64 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %65 = getelementptr inbounds i8, ptr %64, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %65, i64 16, i1 false), !tbaa.struct !27
  invoke void @_ZN6langcc6Option2_TINS_8StrSliceEEC2ERKS3_(ptr noundef nonnull align 4 dereferenceable(36) %10, ptr noundef nonnull align 4 dereferenceable(36) %4)
          to label %66 unwind label %70

66:                                               ; preds = %._crit_edge
  %67 = trunc nuw i8 %58 to i1
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %6)
  invoke void @_ZN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6Option2_TINS6_8StrSliceEEENS6_6rc_ptrINS6_3VecISC_EEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.29") align 8 %7, i64 noundef %53, i64 %.sroa.0.0.copyload, i1 noundef zeroext %67, i64 noundef %61, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %8, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %9, ptr noundef nonnull %10, ptr noundef nonnull %11)
          to label %68 unwind label %72

68:                                               ; preds = %66
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %10) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEEC2INS3_9LexerDecl4Mode7ws_sig_4spec2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_EE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %7)
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4meta4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull %12)
          to label %69 unwind label %74

69:                                               ; preds = %68
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %4) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #7
  ret void

70:                                               ; preds = %._crit_edge
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %76

72:                                               ; preds = %66
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %10) #7
  br label %76

74:                                               ; preds = %68
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_4spec2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %76

76:                                               ; preds = %74, %72, %70
  %.pn11 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %77

77:                                               ; preds = %76, %49
  %.pn13 = phi { ptr, i32 } [ %50, %49 ], [ %.pn11, %76 ]
  call void @_ZN6langcc6rc_ptrINS_3VecINS_8StrSliceEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %78

78:                                               ; preds = %77, %47
  %.pn13.pn = phi { ptr, i32 } [ %.pn13, %77 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %79

79:                                               ; preds = %78, %28
  %.pn13.pn.pn = phi { ptr, i32 } [ %.pn13.pn, %78 ], [ %.pn, %28 ]
  call void @_ZN6langcc6Option2_TINS_8StrSliceEED2Ev(ptr noundef nonnull align 4 dereferenceable(36) %4) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn13.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4NoneINS_8StrSliceEEENS_6Option2_TIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.305") align 4) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4SomeINS_8StrSliceEEENS_6Option2_TIT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.305") align 4, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc6Option2_TINS_8StrSliceEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_8StrSliceEEC2ERKS3_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 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 #6 = { 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 #7 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !17, i64 72}
!8 = !{!"_ZTSN4lang4meta4Node2_TE", !9, i64 8, !14, i64 48, !16, i64 64, !17, i64 72, !18, i64 80, !20, i64 88, !17, i64 96, !21, i64 104, !22, i64 120}
!9 = !{!"_ZTSN6langcc8hash_objE", !10, i64 0}
!10 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !11, i64 0, !12, i64 4}
!11 = !{!"_ZTSN6langcc6Option2_WE", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !15, i64 0, !15, i64 8}
!15 = !{!"any pointer", !12, i64 0}
!16 = !{!"_ZTSN4lang4meta4Node2_WE", !12, i64 0}
!17 = !{!"long", !12, i64 0}
!18 = !{!"_ZTSN6langcc11TokenBoundsE", !19, i64 0, !19, i64 4}
!19 = !{!"int", !12, i64 0}
!20 = !{!"bool", !12, i64 0}
!21 = !{!"_ZTSN6langcc14ParserAttrMaskE", !12, i64 0}
!22 = !{!"_ZTSN6langcc15ParserLookaheadE", !12, i64 0}
!23 = !{!8, !20, i64 88}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!8, !17, i64 96}
!27 = !{i64 0, i64 16, !28}
!28 = !{!12, !12, i64 0}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass