; LLVM IR from jzimmerman/langcc :: gen/data/gen.ll (ZN4lang4data6parser19_parse_proc_10_11_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.27" = type { ptr, ptr }
%"struct.langcc::rc_ptr.82" = 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.80", i64, i64 }
%"struct.langcc::rc_ptr.80" = 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::rc_ptr.110" = 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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang4data4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.27") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 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 #6 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 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 #5 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 #5 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 #6 align 2

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

; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang4data6parser19_parse_proc_10_11_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::SymItem", align 8
  %13 = alloca %"struct.langcc::SymItem", align 8
  %14 = alloca %"struct.langcc::SymItem", align 8
  %15 = alloca %"struct.langcc::SymItem", align 8
  %16 = alloca %"struct.langcc::SymItem", align 8
  %17 = alloca %"struct.langcc::SymItem", align 8
  %18 = alloca %"struct.langcc::SymItem", align 8
  %19 = alloca %"struct.langcc::Result_T", align 8
  %20 = alloca %"struct.langcc::Result_T", align 8
  %21 = alloca %"struct.langcc::Result_T", align 8
  %22 = alloca %"struct.langcc::Result_T", align 8
  %23 = alloca %"struct.langcc::Result_T", align 8
  %24 = alloca %"struct.langcc::Result_T", align 8
  %25 = alloca %"struct.langcc::Result_T", align 8
  %26 = alloca %"struct.langcc::Result_T", align 8
  %27 = alloca %"struct.langcc::Result_T", align 8
  %28 = alloca %"struct.langcc::Result_T", align 8
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca %"struct.langcc::TokenBounds", align 4
  %32 = alloca %"struct.langcc::Result_T", align 8
  %33 = alloca %"struct.langcc::StrSlice", align 8
  %34 = alloca %"struct.langcc::rc_ptr.110", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca %"struct.langcc::rc_ptr.27", align 8
  %38 = alloca %"struct.langcc::rc_ptr.82", align 8
  %39 = alloca %"struct.langcc::TokenBounds", align 4
  %40 = alloca %"struct.langcc::ParserAttrMask", align 8
  %41 = alloca %"struct.langcc::ParserLookahead", align 8
  %42 = alloca %"struct.langcc::StrSlice", align 8
  %43 = alloca %"struct.langcc::rc_ptr.110", align 8
  %44 = alloca %"struct.langcc::rc_ptr.27", align 8
  %45 = alloca %"struct.langcc::Result_T", align 8
  %46 = 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
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %47, i32 0, i32 5
  %49 = load i64, ptr %48, align 8, !tbaa !9
  store i64 %49, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %50, i32 0, i32 7
  %52 = load i64, ptr %51, align 8, !tbaa !20
  store i64 %52, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %53, i32 0, i32 9
  %55 = load i64, ptr %54, align 8, !tbaa !21
  store i64 %55, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %56, i32 0, i32 3
  %58 = load i64, ptr %57, align 8, !tbaa !22
  store i64 %58, ptr %7, align 8, !tbaa !19
  %59 = load i64, ptr %7, align 8, !tbaa !19
  %60 = sub nsw i64 %59, 10
  store i64 %60, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %61, i32 0, i32 2
  %63 = load ptr, ptr %62, align 8, !tbaa !23
  %64 = load i64, ptr %7, align 8, !tbaa !19
  %65 = sub nsw i64 %64, 1
  %66 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %63, i64 %65
  %67 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %66, i32 0, i32 1
  %68 = load i64, ptr %67, align 8, !tbaa !24
  store i64 %68, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #9
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %69, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !26
  %72 = load i64, ptr %4, align 8, !tbaa !19
  %73 = sub nsw i64 %72, 1
  %74 = getelementptr inbounds %"struct.langcc::SymItem", ptr %71, i64 %73
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %74, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #9
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !26
  %78 = load i64, ptr %4, align 8, !tbaa !19
  %79 = sub nsw i64 %78, 2
  %80 = getelementptr inbounds %"struct.langcc::SymItem", ptr %77, i64 %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %80, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #9
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !26
  %84 = load i64, ptr %4, align 8, !tbaa !19
  %85 = sub nsw i64 %84, 3
  %86 = getelementptr inbounds %"struct.langcc::SymItem", ptr %83, i64 %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %86, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %12) #9
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %87, i32 0, i32 4
  %89 = load ptr, ptr %88, align 8, !tbaa !26
  %90 = load i64, ptr %4, align 8, !tbaa !19
  %91 = sub nsw i64 %90, 4
  %92 = getelementptr inbounds %"struct.langcc::SymItem", ptr %89, i64 %91
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %92, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %13) #9
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %93, i32 0, i32 4
  %95 = load ptr, ptr %94, align 8, !tbaa !26
  %96 = load i64, ptr %4, align 8, !tbaa !19
  %97 = sub nsw i64 %96, 5
  %98 = getelementptr inbounds %"struct.langcc::SymItem", ptr %95, i64 %97
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %98, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %14) #9
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %99, i32 0, i32 4
  %101 = load ptr, ptr %100, align 8, !tbaa !26
  %102 = load i64, ptr %4, align 8, !tbaa !19
  %103 = sub nsw i64 %102, 6
  %104 = getelementptr inbounds %"struct.langcc::SymItem", ptr %101, i64 %103
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %104, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %15) #9
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %105, i32 0, i32 4
  %107 = load ptr, ptr %106, align 8, !tbaa !26
  %108 = load i64, ptr %4, align 8, !tbaa !19
  %109 = sub nsw i64 %108, 7
  %110 = getelementptr inbounds %"struct.langcc::SymItem", ptr %107, i64 %109
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %110, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %16) #9
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %111, i32 0, i32 4
  %113 = load ptr, ptr %112, align 8, !tbaa !26
  %114 = load i64, ptr %4, align 8, !tbaa !19
  %115 = sub nsw i64 %114, 8
  %116 = getelementptr inbounds %"struct.langcc::SymItem", ptr %113, i64 %115
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %116, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %17) #9
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %117, i32 0, i32 4
  %119 = load ptr, ptr %118, align 8, !tbaa !26
  %120 = load i64, ptr %4, align 8, !tbaa !19
  %121 = sub nsw i64 %120, 9
  %122 = getelementptr inbounds %"struct.langcc::SymItem", ptr %119, i64 %121
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %122, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %18) #9
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %123, i32 0, i32 4
  %125 = load ptr, ptr %124, align 8, !tbaa !26
  %126 = load i64, ptr %4, align 8, !tbaa !19
  %127 = sub nsw i64 %126, 10
  %128 = getelementptr inbounds %"struct.langcc::SymItem", ptr %125, i64 %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %128, i64 88, i1 false), !tbaa.struct !27
  %129 = load i64, ptr %4, align 8, !tbaa !19
  %130 = sub nsw i64 %129, 10
  store i64 %130, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %131, i32 0, i32 6
  %133 = load ptr, ptr %132, align 8, !tbaa !30
  %134 = load i64, ptr %5, align 8, !tbaa !19
  %135 = sub nsw i64 %134, 1
  %136 = getelementptr inbounds %"struct.langcc::Result_T", ptr %133, i64 %135
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %136, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %137, i32 0, i32 6
  %139 = load ptr, ptr %138, align 8, !tbaa !30
  %140 = load i64, ptr %5, align 8, !tbaa !19
  %141 = sub nsw i64 %140, 2
  %142 = getelementptr inbounds %"struct.langcc::Result_T", ptr %139, i64 %141
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %142, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %143, i32 0, i32 6
  %145 = load ptr, ptr %144, align 8, !tbaa !30
  %146 = load i64, ptr %5, align 8, !tbaa !19
  %147 = sub nsw i64 %146, 3
  %148 = getelementptr inbounds %"struct.langcc::Result_T", ptr %145, i64 %147
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %148, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %149, i32 0, i32 6
  %151 = load ptr, ptr %150, align 8, !tbaa !30
  %152 = load i64, ptr %5, align 8, !tbaa !19
  %153 = sub nsw i64 %152, 4
  %154 = getelementptr inbounds %"struct.langcc::Result_T", ptr %151, i64 %153
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %154, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #9
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %155, i32 0, i32 6
  %157 = load ptr, ptr %156, align 8, !tbaa !30
  %158 = load i64, ptr %5, align 8, !tbaa !19
  %159 = sub nsw i64 %158, 5
  %160 = getelementptr inbounds %"struct.langcc::Result_T", ptr %157, i64 %159
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %160, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #9
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %161, i32 0, i32 6
  %163 = load ptr, ptr %162, align 8, !tbaa !30
  %164 = load i64, ptr %5, align 8, !tbaa !19
  %165 = sub nsw i64 %164, 6
  %166 = getelementptr inbounds %"struct.langcc::Result_T", ptr %163, i64 %165
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %166, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #9
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %167, i32 0, i32 6
  %169 = load ptr, ptr %168, align 8, !tbaa !30
  %170 = load i64, ptr %5, align 8, !tbaa !19
  %171 = sub nsw i64 %170, 7
  %172 = getelementptr inbounds %"struct.langcc::Result_T", ptr %169, i64 %171
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %172, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #9
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %173, i32 0, i32 6
  %175 = load ptr, ptr %174, align 8, !tbaa !30
  %176 = load i64, ptr %5, align 8, !tbaa !19
  %177 = sub nsw i64 %176, 8
  %178 = getelementptr inbounds %"struct.langcc::Result_T", ptr %175, i64 %177
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %178, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %179, i32 0, i32 6
  %181 = load ptr, ptr %180, align 8, !tbaa !30
  %182 = load i64, ptr %5, align 8, !tbaa !19
  %183 = sub nsw i64 %182, 9
  %184 = getelementptr inbounds %"struct.langcc::Result_T", ptr %181, i64 %183
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %184, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #9
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %185, i32 0, i32 6
  %187 = load ptr, ptr %186, align 8, !tbaa !30
  %188 = load i64, ptr %5, align 8, !tbaa !19
  %189 = sub nsw i64 %188, 10
  %190 = getelementptr inbounds %"struct.langcc::Result_T", ptr %187, i64 %189
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %190, i64 16, i1 false), !tbaa.struct !31
  %191 = load i64, ptr %5, align 8, !tbaa !19
  %192 = sub nsw i64 %191, 10
  store i64 %192, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #9
  %193 = getelementptr inbounds %"struct.langcc::Result_T", ptr %27, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8, !tbaa !32
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %195, i32 0, i32 12
  %197 = load ptr, ptr %196, align 8, !tbaa !33
  %198 = call noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef %194, ptr noundef %197)
  %199 = zext i1 %198 to i8
  store i8 %199, ptr %29, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  %200 = getelementptr inbounds %"struct.langcc::Result_T", ptr %26, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !32
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %202, i32 0, i32 12
  %204 = load ptr, ptr %203, align 8, !tbaa !33
  %205 = call noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef %201, ptr noundef %204)
  %206 = zext i1 %205 to i8
  store i8 %206, ptr %30, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !31
  %207 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8
  %209 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %210 = load i64, ptr %209, align 8
  %211 = call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %208, i64 %210)
  store i64 %211, ptr %31, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #9
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %31, i32 0, i32 0
  %214 = load i32, ptr %213, align 4, !tbaa !36
  %215 = sext i32 %214 to i64
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind writable sret(%"struct.langcc::StrSlice") align 8 %33, ptr noundef nonnull align 8 dereferenceable(192) %212, i64 noundef %215)
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #9
  %216 = getelementptr inbounds %"struct.langcc::Result_T", ptr %23, i32 0, i32 0
  %217 = load ptr, ptr %216, align 8, !tbaa !32
  %218 = load ptr, ptr %3, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %218, i32 0, i32 12
  %220 = load ptr, ptr %219, align 8, !tbaa !33
  invoke void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4data4Node5Param2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.110") align 8 %34, ptr noundef %217, ptr noundef %220)
          to label %221 unwind label %285

221:                                              ; preds = %2
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %222 unwind label %289

222:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #9
  %223 = getelementptr inbounds %"struct.langcc::Result_T", ptr %20, i32 0, i32 0
  %224 = load ptr, ptr %223, align 8, !tbaa !32
  %225 = getelementptr inbounds i8, ptr %224, i64 48
  invoke void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang4data4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.27") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %225)
          to label %226 unwind label %293

226:                                              ; preds = %222
  invoke void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %227 unwind label %297

227:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #9
  %228 = load ptr, ptr %3, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %228, i32 0, i32 12
  %230 = load ptr, ptr %229, align 8, !tbaa !33
  %231 = load ptr, ptr %3, align 8, !tbaa !5
  %232 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %231)
          to label %233 unwind label %301

233:                                              ; preds = %227
  %234 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %232)
          to label %235 unwind label %301

235:                                              ; preds = %233
  %236 = load i64, ptr %8, align 8, !tbaa !19
  %237 = trunc i64 %236 to i32
  %238 = getelementptr inbounds %"struct.langcc::Result_T", ptr %19, i32 0, i32 1
  %239 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %238, i32 0, i32 1
  %240 = load i32, ptr %239, align 4, !tbaa !37
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %39, i32 noundef %237, i32 noundef %240)
          to label %241 unwind label %301

241:                                              ; preds = %235
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %40)
          to label %242 unwind label %301

242:                                              ; preds = %241
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %41)
          to label %243 unwind label %301

243:                                              ; preds = %242
  %244 = load i8, ptr %29, align 1, !tbaa !34, !range !38, !noundef !39
  %245 = trunc i8 %244 to i1
  %246 = load i8, ptr %30, align 1, !tbaa !34, !range !38, !noundef !39
  %247 = trunc i8 %246 to i1
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %248 unwind label %301

248:                                              ; preds = %243
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %249 unwind label %305

249:                                              ; preds = %248
  invoke void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %250 unwind label %309

250:                                              ; preds = %249
  %251 = load i64, ptr %39, align 4
  invoke void @_ZN4lang4data4Node5Entry6Method8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadEbbNS4_8StrSliceENS4_6rc_ptrINS4_3VecINSB_INS1_5Param2_TEEEEEEENSB_INS1_4Expr2_TEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.82") align 8 %38, ptr noundef %230, i64 noundef %234, i64 %251, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %40, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %41, i1 noundef zeroext %245, i1 noundef zeroext %247, ptr noundef %42, ptr noundef %43, ptr noundef %44)
          to label %252 unwind label %313

252:                                              ; preds = %250
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  invoke void @_ZNK6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %253 unwind label %319

253:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #9
  %254 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %255 unwind label %323

255:                                              ; preds = %253
  %256 = load i64, ptr %8, align 8, !tbaa !19
  %257 = trunc i64 %256 to i32
  %258 = getelementptr inbounds %"struct.langcc::Result_T", ptr %19, i32 0, i32 1
  %259 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %258, i32 0, i32 1
  %260 = load i32, ptr %259, align 4, !tbaa !37
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %46, i32 noundef %257, i32 noundef %260)
          to label %261 unwind label %323

261:                                              ; preds = %255
  %262 = load i64, ptr %46, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef %254, i64 %262)
          to label %263 unwind label %323

263:                                              ; preds = %261
  %264 = load ptr, ptr %3, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %264, i32 0, i32 6
  %266 = load ptr, ptr %265, align 8, !tbaa !30
  %267 = load i64, ptr %5, align 8, !tbaa !19
  %268 = getelementptr inbounds %"struct.langcc::Result_T", ptr %266, i64 %267
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %268, ptr align 8 %45, i64 16, i1 false), !tbaa.struct !31
  %269 = load i64, ptr %5, align 8, !tbaa !19
  %270 = add nsw i64 %269, 1
  store i64 %270, ptr %5, align 8, !tbaa !19
  %271 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 40, i64 noundef %271)
          to label %272 unwind label %323

272:                                              ; preds = %263
  %273 = load i64, ptr %4, align 8, !tbaa !19
  %274 = load ptr, ptr %3, align 8, !tbaa !5
  %275 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %274, i32 0, i32 5
  store i64 %273, ptr %275, align 8, !tbaa !9
  %276 = load i64, ptr %5, align 8, !tbaa !19
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %277, i32 0, i32 7
  store i64 %276, ptr %278, align 8, !tbaa !20
  %279 = load i64, ptr %6, align 8, !tbaa !19
  %280 = load ptr, ptr %3, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %280, i32 0, i32 9
  store i64 %279, ptr %281, align 8, !tbaa !21
  %282 = load i64, ptr %7, align 8, !tbaa !19
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %283, i32 0, i32 3
  store i64 %282, ptr %284, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #9
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #9
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 88, 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

285:                                              ; preds = %2
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %35, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %36, align 4
  br label %332

289:                                              ; preds = %221
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %35, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %36, align 4
  br label %331

293:                                              ; preds = %222
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %35, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %36, align 4
  br label %330

297:                                              ; preds = %226
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %35, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %36, align 4
  br label %329

301:                                              ; preds = %243, %242, %241, %235, %233, %227
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %35, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %36, align 4
  br label %328

305:                                              ; preds = %248
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %35, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %36, align 4
  br label %318

309:                                              ; preds = %249
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %35, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %36, align 4
  br label %317

313:                                              ; preds = %250
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %35, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %36, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  br label %317

317:                                              ; preds = %313, %309
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  br label %318

318:                                              ; preds = %317, %305
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  br label %328

319:                                              ; preds = %252
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %35, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %36, align 4
  br label %327

323:                                              ; preds = %263, %261, %255, %253
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %35, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #9
  br label %327

327:                                              ; preds = %323, %319
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #9
  br label %328

328:                                              ; preds = %327, %318, %301
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #9
  br label %329

329:                                              ; preds = %328, %297
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #9
  br label %330

330:                                              ; preds = %329, %293
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  br label %331

331:                                              ; preds = %330, %289
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #9
  br label %332

332:                                              ; preds = %331, %285
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 88, 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 %333

333:                                              ; preds = %332
  %334 = load ptr, ptr %35, align 8
  %335 = load i32, ptr %36, align 4
  %336 = insertvalue { ptr, i32 } poison, ptr %334, 0
  %337 = insertvalue { ptr, i32 } %336, i32 %335, 1
  resume { ptr, i32 } %337
}

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 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 = { 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 #4 = { 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 = { 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 = { 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 = !{!15, !6, i64 0}
!33 = !{!10, !6, i64 184}
!34 = !{!35, !35, i64 0}
!35 = !{!"bool", !7, i64 0}
!36 = !{!16, !17, i64 0}
!37 = !{!15, !17, i64 12}
!38 = !{i8 0, i8 2}
!39 = !{}


; 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.27" = type { ptr, ptr }
%"struct.langcc::rc_ptr.82" = 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.80", i64, i64 }
%"struct.langcc::rc_ptr.80" = 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::rc_ptr.110" = 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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 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 #6 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 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 #5 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 #5 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 #6 align 2

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

; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang4data6parser19_parse_proc_10_11_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::rc_ptr.110", align 8
  %5 = alloca %"struct.langcc::rc_ptr.27", align 8
  %6 = alloca %"struct.langcc::rc_ptr.82", 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::rc_ptr.110", align 8
  %12 = alloca %"struct.langcc::rc_ptr.27", 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 -168
  %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
  %.sroa.4.0..sroa_idx = getelementptr i8, ptr %30, i64 -4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !25
  %31 = getelementptr i8, ptr %30, i64 -32
  %.sroa.012.0.copyload = load ptr, ptr %31, align 8, !tbaa !26
  %32 = getelementptr i8, ptr %30, i64 -80
  %.sroa.010.0.copyload = load ptr, ptr %32, align 8, !tbaa !26
  %33 = getelementptr i8, ptr %30, i64 -112
  %.sroa.08.0.copyload = load ptr, ptr %33, align 8, !tbaa !26
  %.sroa.59.0..sroa_idx = getelementptr i8, ptr %30, i64 -104
  %.sroa.59.0.copyload = load i64, ptr %.sroa.59.0..sroa_idx, align 8
  %34 = getelementptr i8, ptr %30, i64 -128
  %.sroa.06.0.copyload = load ptr, ptr %34, align 8, !tbaa !26
  %35 = getelementptr i8, ptr %30, i64 -144
  %.sroa.04.0.copyload = load ptr, ptr %35, align 8, !tbaa !26
  %36 = getelementptr inbounds i8, ptr %1, i64 184
  %37 = load ptr, ptr %36, align 8, !tbaa !27
  %38 = tail call noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef %.sroa.04.0.copyload, ptr noundef %37)
  %39 = load ptr, ptr %36, align 8, !tbaa !27
  %40 = tail call noundef zeroext i1 @_ZN6langcc20rc_from_ptr_ext_takeIbEET_PvPNS_5ArenaE(ptr noundef %.sroa.06.0.copyload, ptr noundef %39)
  %41 = tail call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %.sroa.08.0.copyload, i64 %.sroa.59.0.copyload)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  %sext = shl i64 %41, 32
  %42 = 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 %42)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %43 = load ptr, ptr %36, align 8, !tbaa !27
  invoke void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4data4Node5Param2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.110") align 8 %4, ptr noundef %.sroa.010.0.copyload, ptr noundef %43)
          to label %44 unwind label %63

44:                                               ; preds = %2
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %45 = getelementptr inbounds i8, ptr %.sroa.012.0.copyload, i64 48
  invoke void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang4data4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.27") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %46 unwind label %65

46:                                               ; preds = %44
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  %47 = load ptr, ptr %36, align 8, !tbaa !27
  %48 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %49 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
  %50 = trunc i64 %27 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef %50, 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 %51 unwind label %67

51:                                               ; preds = %46
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %5)
  %52 = load i64, ptr %7, align 8
  invoke void @_ZN4lang4data4Node5Entry6Method8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadEbbNS4_8StrSliceENS4_6rc_ptrINS4_3VecINSB_INS1_5Param2_TEEEEEEENSB_INS1_4Expr2_TEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.82") align 8 %6, ptr noundef %47, i64 noundef %49, i64 %52, 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, i1 noundef zeroext %38, i1 noundef zeroext %40, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12)
          to label %53 unwind label %69

53:                                               ; preds = %51
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @_ZNK6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %54 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %14, i32 noundef %50, i32 noundef %.sroa.4.0.copyload)
  %55 = load i64, ptr %14, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %54, i64 %55)
  %56 = load ptr, ptr %28, align 8, !tbaa !24
  %57 = getelementptr %"struct.langcc::Result_T", ptr %56, i64 %18
  %58 = getelementptr i8, ptr %57, i64 -160
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 8 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !28
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 40, i64 noundef %27)
          to label %59 unwind label %71

59:                                               ; preds = %53
  %60 = add nsw i64 %18, -9
  %61 = add nsw i64 %16, -10
  %62 = add nsw i64 %22, -10
  store i64 %61, ptr %15, align 8, !tbaa !5
  store i64 %60, ptr %17, align 8, !tbaa !18
  store i64 %20, ptr %19, align 8, !tbaa !19
  store i64 %62, ptr %21, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_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_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, 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

63:                                               ; preds = %2
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %75

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

67:                                               ; preds = %46
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %73

69:                                               ; preds = %51
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %73

71:                                               ; preds = %53
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  br label %73

73:                                               ; preds = %71, %69, %67
  %.pn = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %74

74:                                               ; preds = %73, %65
  %.pn.pn = phi { ptr, i32 } [ %.pn, %73 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4data4Node5Param2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  br label %75

75:                                               ; preds = %74, %63
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %74 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 16, 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 } %.pn.pn.pn
}

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4data4Node5Entry6Method2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_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 = { 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 = { 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 #4 = { 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 = { 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 = { 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 = !{!16, !16, i64 0}
!26 = !{!8, !8, i64 0}
!27 = !{!6, !8, i64 184}
!28 = !{i64 0, i64 8, !26, i64 8, i64 4, !25, i64 12, i64 4, !25}


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