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

; 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.163" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::Option::_T.464" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.465" = type { ptr, ptr }
%"struct.langcc::ParserProcState" = type { %"struct.langcc::rc_ptr.16", ptr, ptr, i64, ptr, i64, ptr, i64, ptr, i64, %"struct.langcc::SymItem", ptr, ptr }
%"struct.langcc::rc_ptr.16" = type { ptr, ptr }
%"struct.langcc::ParserVertexStackItem" = type { i64, i64 }

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: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16)) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6Option2_TINS4_6rc_ptrINS3_7ws_sig_2_TEEEEEbNSD_INS4_3VecINSD_INS1_13LexerModeCase2_TEEEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") align 8, ptr noundef, 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, i1 noundef zeroext, ptr noundef) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEC2ERKSB_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #6 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr, i64) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind noalias writable sret(%"struct.langcc::StrSlice") align 8, ptr noundef nonnull align 8 dereferenceable(192), i64 noundef) #7 align 2

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang4meta6parser19_parse_proc_10_21_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) #8 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.langcc::SymItem", align 8
  %10 = alloca %"struct.langcc::SymItem", align 8
  %11 = alloca %"struct.langcc::SymItem", align 8
  %12 = alloca %"struct.langcc::Result_T", align 8
  %13 = alloca %"struct.langcc::Result_T", align 8
  %14 = alloca %"struct.langcc::Result_T", align 8
  %15 = alloca %"struct.langcc::Result_T", align 8
  %16 = alloca %"struct.langcc::Result_T", align 8
  %17 = alloca %"struct.langcc::Result_T", align 8
  %18 = alloca %"struct.langcc::Result_T", align 8
  %19 = alloca %"struct.langcc::TokenBounds", align 4
  %20 = alloca %"struct.langcc::Result_T", align 8
  %21 = alloca %"struct.langcc::StrSlice", align 8
  %22 = alloca %"struct.langcc::Option::_T.464", align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i8, align 1
  %26 = alloca %"struct.langcc::rc_ptr.465", align 8
  %27 = alloca %"struct.langcc::rc_ptr.163", align 8
  %28 = alloca %"struct.langcc::TokenBounds", align 4
  %29 = alloca %"struct.langcc::ParserAttrMask", align 8
  %30 = alloca %"struct.langcc::ParserLookahead", align 8
  %31 = alloca %"struct.langcc::StrSlice", align 8
  %32 = alloca %"struct.langcc::Option::_T.464", align 4
  %33 = alloca %"struct.langcc::rc_ptr.465", align 8
  %34 = alloca %"struct.langcc::Result_T", align 8
  %35 = alloca %"struct.langcc::TokenBounds", align 4
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %36, i32 0, i32 5
  %38 = load i64, ptr %37, align 8, !tbaa !9
  store i64 %38, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %39, i32 0, i32 7
  %41 = load i64, ptr %40, align 8, !tbaa !20
  store i64 %41, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %42, i32 0, i32 9
  %44 = load i64, ptr %43, align 8, !tbaa !21
  store i64 %44, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %45, i32 0, i32 3
  %47 = load i64, ptr %46, align 8, !tbaa !22
  store i64 %47, ptr %7, align 8, !tbaa !19
  %48 = load i64, ptr %7, align 8, !tbaa !19
  %49 = sub nsw i64 %48, 3
  store i64 %49, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %50, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !23
  %53 = load i64, ptr %7, align 8, !tbaa !19
  %54 = sub nsw i64 %53, 1
  %55 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %52, i64 %54
  %56 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %55, i32 0, i32 1
  %57 = load i64, ptr %56, align 8, !tbaa !24
  store i64 %57, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #9
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %58, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !26
  %61 = load i64, ptr %4, align 8, !tbaa !19
  %62 = sub nsw i64 %61, 1
  %63 = getelementptr inbounds %"struct.langcc::SymItem", ptr %60, i64 %62
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %63, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #9
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !26
  %67 = load i64, ptr %4, align 8, !tbaa !19
  %68 = sub nsw i64 %67, 2
  %69 = getelementptr inbounds %"struct.langcc::SymItem", ptr %66, i64 %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %69, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #9
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %70, i32 0, i32 4
  %72 = load ptr, ptr %71, align 8, !tbaa !26
  %73 = load i64, ptr %4, align 8, !tbaa !19
  %74 = sub nsw i64 %73, 3
  %75 = getelementptr inbounds %"struct.langcc::SymItem", ptr %72, i64 %74
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %75, i64 88, i1 false), !tbaa.struct !27
  %76 = load i64, ptr %4, align 8, !tbaa !19
  %77 = sub nsw i64 %76, 3
  store i64 %77, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %78, i32 0, i32 6
  %80 = load ptr, ptr %79, align 8, !tbaa !30
  %81 = load i64, ptr %5, align 8, !tbaa !19
  %82 = sub nsw i64 %81, 1
  %83 = getelementptr inbounds %"struct.langcc::Result_T", ptr %80, i64 %82
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %83, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %84, i32 0, i32 6
  %86 = load ptr, ptr %85, align 8, !tbaa !30
  %87 = load i64, ptr %5, align 8, !tbaa !19
  %88 = sub nsw i64 %87, 2
  %89 = getelementptr inbounds %"struct.langcc::Result_T", ptr %86, i64 %88
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %89, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %90, i32 0, i32 6
  %92 = load ptr, ptr %91, align 8, !tbaa !30
  %93 = load i64, ptr %5, align 8, !tbaa !19
  %94 = sub nsw i64 %93, 3
  %95 = getelementptr inbounds %"struct.langcc::Result_T", ptr %92, i64 %94
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %95, i64 16, i1 false), !tbaa.struct !31
  %96 = load i64, ptr %5, align 8, !tbaa !19
  %97 = sub nsw i64 %96, 3
  store i64 %97, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %98, i32 0, i32 8
  %100 = load ptr, ptr %99, align 8, !tbaa !32
  %101 = load i64, ptr %6, align 8, !tbaa !19
  %102 = sub nsw i64 %101, 1
  %103 = getelementptr inbounds %"struct.langcc::Result_T", ptr %100, i64 %102
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %103, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %104, i32 0, i32 8
  %106 = load ptr, ptr %105, align 8, !tbaa !32
  %107 = load i64, ptr %6, align 8, !tbaa !19
  %108 = sub nsw i64 %107, 2
  %109 = getelementptr inbounds %"struct.langcc::Result_T", ptr %106, i64 %108
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %109, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %110, i32 0, i32 8
  %112 = load ptr, ptr %111, align 8, !tbaa !32
  %113 = load i64, ptr %6, align 8, !tbaa !19
  %114 = sub nsw i64 %113, 3
  %115 = getelementptr inbounds %"struct.langcc::Result_T", ptr %112, i64 %114
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %115, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %116, i32 0, i32 8
  %118 = load ptr, ptr %117, align 8, !tbaa !32
  %119 = load i64, ptr %6, align 8, !tbaa !19
  %120 = sub nsw i64 %119, 4
  %121 = getelementptr inbounds %"struct.langcc::Result_T", ptr %118, i64 %120
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %121, i64 16, i1 false), !tbaa.struct !31
  %122 = load i64, ptr %6, align 8, !tbaa !19
  %123 = sub nsw i64 %122, 4
  store i64 %123, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !31
  %124 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8
  %126 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %127 = load i64, ptr %126, align 8
  %128 = call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %125, i64 %127)
  store i64 %128, ptr %19, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %19, i32 0, i32 0
  %131 = load i32, ptr %130, align 4, !tbaa !33
  %132 = sext i32 %131 to i64
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind writable sret(%"struct.langcc::StrSlice") align 8 %21, ptr noundef nonnull align 8 dereferenceable(192) %129, i64 noundef %132)
  call void @llvm.lifetime.start.p0(i64 20, ptr %22) #9
  %133 = getelementptr inbounds %"struct.langcc::Result_T", ptr %12, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !34
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %135, i32 0, i32 12
  %137 = load ptr, ptr %136, align 8, !tbaa !35
  invoke void @_ZN6langcc20rc_from_ptr_ext_takeINS_6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEEEET_PvPNS_5ArenaE(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.464") align 4 %22, ptr noundef %134, ptr noundef %137)
          to label %138 unwind label %209

138:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  %139 = getelementptr inbounds %"struct.langcc::Result_T", ptr %15, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !34
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %141, i32 0, i32 12
  %143 = load ptr, ptr %142, align 8, !tbaa !35
  %144 = invoke noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef %140, ptr noundef %143)
          to label %145 unwind label %213

145:                                              ; preds = %138
  %146 = zext i1 %144 to i8
  store i8 %146, ptr %25, align 1, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #9
  %147 = getelementptr inbounds %"struct.langcc::Result_T", ptr %17, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8, !tbaa !34
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %149, i32 0, i32 12
  %151 = load ptr, ptr %150, align 8, !tbaa !35
  invoke void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4meta4Node13LexerModeCase2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.465") align 8 %26, ptr noundef %148, ptr noundef %151)
          to label %152 unwind label %217

152:                                              ; preds = %145
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %153 unwind label %221

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %154, i32 0, i32 12
  %156 = load ptr, ptr %155, align 8, !tbaa !35
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  %158 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %157)
          to label %159 unwind label %225

159:                                              ; preds = %153
  %160 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %158)
          to label %161 unwind label %225

161:                                              ; preds = %159
  %162 = load i64, ptr %8, align 8, !tbaa !19
  %163 = trunc i64 %162 to i32
  %164 = getelementptr inbounds %"struct.langcc::Result_T", ptr %18, i32 0, i32 1
  %165 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %164, i32 0, i32 1
  %166 = load i32, ptr %165, align 4, !tbaa !38
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %163, i32 noundef %166)
          to label %167 unwind label %225

167:                                              ; preds = %161
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %29)
          to label %168 unwind label %225

168:                                              ; preds = %167
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %30)
          to label %169 unwind label %225

169:                                              ; preds = %168
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %170 unwind label %225

170:                                              ; preds = %169
  invoke void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEC2ERKSB_(ptr noundef nonnull align 4 dereferenceable(20) %32, ptr noundef nonnull align 4 dereferenceable(20) %22)
          to label %171 unwind label %229

171:                                              ; preds = %170
  %172 = load i8, ptr %25, align 1, !tbaa !36, !range !39, !noundef !40
  %173 = trunc i8 %172 to i1
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %174 unwind label %233

174:                                              ; preds = %171
  %175 = load i64, ptr %28, align 4
  invoke void @_ZN4lang4meta4Node9LexerDecl4Mode8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6Option2_TINS4_6rc_ptrINS3_7ws_sig_2_TEEEEEbNSD_INS4_3VecINSD_INS1_13LexerModeCase2_TEEEEEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.163") align 8 %27, ptr noundef %156, i64 noundef %160, i64 %175, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %29, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %30, ptr noundef %31, ptr noundef %32, i1 noundef zeroext %173, ptr noundef %33)
          to label %176 unwind label %237

176:                                              ; preds = %174
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #9
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %32) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  invoke void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %177 unwind label %243

177:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #9
  %178 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %179 unwind label %247

179:                                              ; preds = %177
  %180 = load i64, ptr %8, align 8, !tbaa !19
  %181 = trunc i64 %180 to i32
  %182 = getelementptr inbounds %"struct.langcc::Result_T", ptr %18, i32 0, i32 1
  %183 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %182, i32 0, i32 1
  %184 = load i32, ptr %183, align 4, !tbaa !38
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %35, i32 noundef %181, i32 noundef %184)
          to label %185 unwind label %247

185:                                              ; preds = %179
  %186 = load i64, ptr %35, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef %178, i64 %186)
          to label %187 unwind label %247

187:                                              ; preds = %185
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %188, i32 0, i32 6
  %190 = load ptr, ptr %189, align 8, !tbaa !30
  %191 = load i64, ptr %5, align 8, !tbaa !19
  %192 = getelementptr inbounds %"struct.langcc::Result_T", ptr %190, i64 %191
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %192, ptr align 8 %34, i64 16, i1 false), !tbaa.struct !31
  %193 = load i64, ptr %5, align 8, !tbaa !19
  %194 = add nsw i64 %193, 1
  store i64 %194, ptr %5, align 8, !tbaa !19
  %195 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 95, i64 noundef %195)
          to label %196 unwind label %247

196:                                              ; preds = %187
  %197 = load i64, ptr %4, align 8, !tbaa !19
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %198, i32 0, i32 5
  store i64 %197, ptr %199, align 8, !tbaa !9
  %200 = load i64, ptr %5, align 8, !tbaa !19
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %201, i32 0, i32 7
  store i64 %200, ptr %202, align 8, !tbaa !20
  %203 = load i64, ptr %6, align 8, !tbaa !19
  %204 = load ptr, ptr %3, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %204, i32 0, i32 9
  store i64 %203, ptr %205, align 8, !tbaa !21
  %206 = load i64, ptr %7, align 8, !tbaa !19
  %207 = load ptr, ptr %3, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %207, i32 0, i32 3
  store i64 %206, ptr %208, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %22) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr %22) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  ret void

209:                                              ; preds = %2
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %23, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %24, align 4
  br label %256

213:                                              ; preds = %138
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %23, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %24, align 4
  br label %255

217:                                              ; preds = %145
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %23, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %24, align 4
  br label %254

221:                                              ; preds = %152
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %23, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %24, align 4
  br label %253

225:                                              ; preds = %169, %168, %167, %161, %159, %153
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %23, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %24, align 4
  br label %252

229:                                              ; preds = %170
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %23, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %24, align 4
  br label %242

233:                                              ; preds = %171
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %23, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %24, align 4
  br label %241

237:                                              ; preds = %174
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %23, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %24, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #9
  br label %241

241:                                              ; preds = %237, %233
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %32) #9
  br label %242

242:                                              ; preds = %241, %229
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %252

243:                                              ; preds = %176
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %23, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %24, align 4
  br label %251

247:                                              ; preds = %187, %185, %179, %177
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %23, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  br label %251

251:                                              ; preds = %247, %243
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #9
  br label %252

252:                                              ; preds = %251, %242, %225
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  br label %253

253:                                              ; preds = %252, %221
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  br label %254

254:                                              ; preds = %253, %217
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  br label %255

255:                                              ; preds = %254, %213
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %22) #9
  br label %256

256:                                              ; preds = %255, %209
  call void @llvm.lifetime.end.p0(i64 20, ptr %22) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %257

257:                                              ; preds = %256
  %258 = load ptr, ptr %23, align 8
  %259 = load i32, ptr %24, align 4
  %260 = insertvalue { ptr, i32 } poison, ptr %258, 0
  %261 = insertvalue { ptr, i32 } %260, i32 %259, 1
  resume { ptr, i32 } %261
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc20rc_from_ptr_ext_takeINS_6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEEEET_PvPNS_5ArenaE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.464") align 4, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4meta4Node13LexerModeCase2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.465") align 8, ptr noundef, ptr noundef) #6

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = { alwaysinline 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 #8 = { mustprogress noinline 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 #9 = { 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, !12, i64 48}
!10 = !{!"_ZTSN6langcc15ParserProcStateE", !11, i64 0, !6, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !13, i64 88, !6, i64 176, !6, i64 184}
!11 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !6, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN6langcc7SymItemE", !12, i64 0, !12, i64 8, !14, i64 16, !12, i64 32, !12, i64 40, !12, i64 48, !15, i64 56, !18, i64 72}
!14 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!15 = !{!"_ZTSN6langcc8Result_TE", !6, i64 0, !16, i64 8}
!16 = !{!"_ZTSN6langcc11TokenBoundsE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!10, !12, i64 64}
!21 = !{!10, !12, i64 80}
!22 = !{!10, !12, i64 32}
!23 = !{!10, !6, i64 24}
!24 = !{!25, !12, i64 8}
!25 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !12, i64 0, !12, i64 8}
!26 = !{!10, !6, i64 40}
!27 = !{i64 0, i64 8, !19, i64 8, i64 8, !19, i64 16, i64 16, !28, i64 32, i64 8, !19, i64 40, i64 8, !19, i64 48, i64 8, !19, i64 56, i64 8, !5, i64 64, i64 4, !29, i64 68, i64 4, !29, i64 72, i64 16, !28}
!28 = !{!7, !7, i64 0}
!29 = !{!17, !17, i64 0}
!30 = !{!10, !6, i64 56}
!31 = !{i64 0, i64 8, !5, i64 8, i64 4, !29, i64 12, i64 4, !29}
!32 = !{!10, !6, i64 72}
!33 = !{!16, !17, i64 0}
!34 = !{!15, !6, i64 0}
!35 = !{!10, !6, i64 184}
!36 = !{!37, !37, i64 0}
!37 = !{!"bool", !7, i64 0}
!38 = !{!15, !17, i64 12}
!39 = !{i8 0, i8 2}
!40 = !{}


; 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.163" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::Option::_T.464" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.465" = type { ptr, ptr }
%"struct.langcc::ParserVertexStackItem" = type { i64, i64 }

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: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16)) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6Option2_TINS4_6rc_ptrINS3_7ws_sig_2_TEEEEEbNSD_INS4_3VecINSD_INS1_13LexerModeCase2_TEEEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") align 8, ptr noundef, 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, i1 noundef zeroext, ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEC2ERKSB_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #6 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr, i64) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind noalias writable sret(%"struct.langcc::StrSlice") align 8, ptr noundef nonnull align 8 dereferenceable(192), i64 noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang4meta6parser19_parse_proc_10_21_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) local_unnamed_addr #8 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::StrSlice", align 8
  %4 = alloca %"struct.langcc::Option::_T.464", align 4
  %5 = alloca %"struct.langcc::rc_ptr.465", align 8
  %6 = alloca %"struct.langcc::rc_ptr.163", align 8
  %7 = alloca %"struct.langcc::TokenBounds", align 8
  %8 = alloca %"struct.langcc::ParserAttrMask", align 8
  %9 = alloca %"struct.langcc::ParserLookahead", align 8
  %10 = alloca %"struct.langcc::StrSlice", align 8
  %11 = alloca %"struct.langcc::Option::_T.464", align 4
  %12 = alloca %"struct.langcc::rc_ptr.465", align 8
  %13 = alloca %"struct.langcc::Result_T", align 8
  %14 = alloca %"struct.langcc::TokenBounds", align 8
  %15 = getelementptr inbounds i8, ptr %1, i64 48
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %1, i64 64
  %18 = load i64, ptr %17, align 8, !tbaa !18
  %19 = getelementptr inbounds i8, ptr %1, i64 80
  %20 = load i64, ptr %19, align 8, !tbaa !19
  %21 = getelementptr inbounds i8, ptr %1, i64 32
  %22 = load i64, ptr %21, align 8, !tbaa !20
  %23 = getelementptr inbounds i8, ptr %1, i64 24
  %24 = load ptr, ptr %23, align 8, !tbaa !21
  %25 = getelementptr %"struct.langcc::ParserVertexStackItem", ptr %24, i64 %22
  %26 = getelementptr i8, ptr %25, i64 -56
  %27 = load i64, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %1, i64 56
  %29 = load ptr, ptr %28, align 8, !tbaa !24
  %30 = getelementptr %"struct.langcc::Result_T", ptr %29, i64 %18
  %31 = getelementptr i8, ptr %30, i64 -16
  %.sroa.011.0.copyload = load ptr, ptr %31, align 8, !tbaa !25
  %32 = getelementptr i8, ptr %30, i64 -32
  %.sroa.09.0.copyload = load ptr, ptr %32, align 8, !tbaa !25
  %.sroa.510.0..sroa_idx = getelementptr i8, ptr %30, i64 -24
  %.sroa.510.0.copyload = load i64, ptr %.sroa.510.0..sroa_idx, align 8
  %33 = getelementptr inbounds i8, ptr %1, i64 72
  %34 = load ptr, ptr %33, align 8, !tbaa !26
  %35 = getelementptr %"struct.langcc::Result_T", ptr %34, i64 %20
  %36 = getelementptr i8, ptr %35, i64 -16
  %.sroa.07.0.copyload = load ptr, ptr %36, align 8, !tbaa !25
  %37 = getelementptr i8, ptr %35, i64 -48
  %.sroa.05.0.copyload = load ptr, ptr %37, align 8, !tbaa !25
  %38 = add nsw i64 %20, -4
  %.sroa.4.0..sroa_idx = getelementptr inbounds %"struct.langcc::Result_T", ptr %34, i64 %38, i32 1, i32 1
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !27
  %39 = tail call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %.sroa.09.0.copyload, i64 %.sroa.510.0.copyload)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  %sext = shl i64 %39, 32
  %40 = ashr exact i64 %sext, 32
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::StrSlice") align 8 %3, ptr noundef nonnull align 8 dereferenceable(192) %1, i64 noundef %40)
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %4) #9
  %41 = getelementptr inbounds i8, ptr %1, i64 184
  %42 = load ptr, ptr %41, align 8, !tbaa !28
  invoke void @_ZN6langcc20rc_from_ptr_ext_takeINS_6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEEEET_PvPNS_5ArenaE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.464") align 4 %4, ptr noundef %.sroa.011.0.copyload, ptr noundef %42)
          to label %43 unwind label %66

43:                                               ; preds = %2
  %44 = load ptr, ptr %41, align 8, !tbaa !28
  %45 = invoke noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef %.sroa.07.0.copyload, ptr noundef %44)
          to label %46 unwind label %68

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %47 = load ptr, ptr %41, align 8, !tbaa !28
  invoke void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4meta4Node13LexerModeCase2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.465") align 8 %5, ptr noundef %.sroa.05.0.copyload, ptr noundef %47)
          to label %48 unwind label %70

48:                                               ; preds = %46
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  %49 = load ptr, ptr %41, align 8, !tbaa !28
  %50 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %51 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %50)
  %52 = trunc i64 %27 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef %52, i32 noundef %.sroa.4.0.copyload)
  call void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %8)
  call void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %9)
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %53 unwind label %72

53:                                               ; preds = %48
  invoke void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEC2ERKSB_(ptr noundef nonnull align 4 dereferenceable(20) %11, ptr noundef nonnull align 4 dereferenceable(20) %4)
          to label %54 unwind label %74

54:                                               ; preds = %53
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %5)
  %55 = load i64, ptr %7, align 8
  invoke void @_ZN4lang4meta4Node9LexerDecl4Mode8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6Option2_TINS4_6rc_ptrINS3_7ws_sig_2_TEEEEEbNSD_INS4_3VecINSD_INS1_13LexerModeCase2_TEEEEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.163") align 8 %6, ptr noundef %49, i64 noundef %51, i64 %55, i1 noundef zeroext false, i64 noundef -1, 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, i1 noundef zeroext %45, ptr noundef nonnull %12)
          to label %56 unwind label %76

56:                                               ; preds = %54
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %11) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %57 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %14, i32 noundef %52, i32 noundef %.sroa.4.0.copyload)
  %58 = load i64, ptr %14, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %57, i64 %58)
  %59 = load ptr, ptr %28, align 8, !tbaa !24
  %60 = getelementptr %"struct.langcc::Result_T", ptr %59, i64 %18
  %61 = getelementptr i8, ptr %60, i64 -48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !29
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 95, i64 noundef %27)
          to label %62 unwind label %79

62:                                               ; preds = %56
  %63 = add nsw i64 %18, -2
  %64 = add nsw i64 %16, -3
  %65 = add nsw i64 %22, -3
  store i64 %64, ptr %15, align 8, !tbaa !5
  store i64 %63, ptr %17, align 8, !tbaa !18
  store i64 %38, ptr %19, align 8, !tbaa !19
  store i64 %65, ptr %21, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %4) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  ret void

66:                                               ; preds = %2
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %84

68:                                               ; preds = %43
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %83

70:                                               ; preds = %46
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %82

72:                                               ; preds = %48
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %81

74:                                               ; preds = %53
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %54
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %11) #9
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %81

79:                                               ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  br label %81

81:                                               ; preds = %79, %78, %72
  %.pn69 = phi { ptr, i32 } [ %80, %79 ], [ %.pn, %78 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %82

82:                                               ; preds = %81, %70
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %81 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  br label %83

83:                                               ; preds = %82, %68
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %82 ], [ %69, %68 ]
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %4) #9
  br label %84

84:                                               ; preds = %83, %66
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %83 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn69.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc20rc_from_ptr_ext_takeINS_6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEEEET_PvPNS_5ArenaE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.464") align 4, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4meta4Node13LexerModeCase2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.465") align 8, ptr noundef, ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 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 = { 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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = { alwaysinline 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 #8 = { mustprogress noinline 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 #9 = { 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, !11, i64 48}
!6 = !{!"_ZTSN6langcc15ParserProcStateE", !7, i64 0, !8, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !11, i64 64, !8, i64 72, !11, i64 80, !12, i64 88, !8, i64 176, !8, i64 184}
!7 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"_ZTSN6langcc7SymItemE", !11, i64 0, !11, i64 8, !13, i64 16, !11, i64 32, !11, i64 40, !11, i64 48, !14, i64 56, !17, i64 72}
!13 = !{!"_ZTSN6langcc14ParserAttrMaskE", !9, i64 0}
!14 = !{!"_ZTSN6langcc8Result_TE", !8, i64 0, !15, i64 8}
!15 = !{!"_ZTSN6langcc11TokenBoundsE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !9, i64 0}
!17 = !{!"_ZTSN6langcc15ParserLookaheadE", !9, i64 0}
!18 = !{!6, !11, i64 64}
!19 = !{!6, !11, i64 80}
!20 = !{!6, !11, i64 32}
!21 = !{!6, !8, i64 24}
!22 = !{!23, !11, i64 8}
!23 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !11, i64 0, !11, i64 8}
!24 = !{!6, !8, i64 56}
!25 = !{!8, !8, i64 0}
!26 = !{!6, !8, i64 72}
!27 = !{!16, !16, i64 0}
!28 = !{!6, !8, i64 184}
!29 = !{i64 0, i64 8, !25, i64 8, i64 4, !27, i64 12, i64 4, !27}


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