; LLVM IR from jzimmerman/langcc :: gen/cc/gen.ll (ZN4lang2cc6parser18_parse_proc_60_5_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.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.323" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.419" = 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::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_ptrIN4lang2cc4Node4Expr2_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_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang2cc6parser18_parse_proc_60_5_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) #7 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::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::rc_ptr.45", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.langcc::rc_ptr.419", align 8
  %21 = alloca %"struct.langcc::rc_ptr.323", align 8
  %22 = alloca %"struct.langcc::TokenBounds", align 4
  %23 = alloca %"struct.langcc::ParserAttrMask", align 8
  %24 = alloca %"struct.langcc::ParserLookahead", align 8
  %25 = alloca %"struct.langcc::rc_ptr.45", align 8
  %26 = alloca %"struct.langcc::rc_ptr.419", align 8
  %27 = alloca %"struct.langcc::Result_T", align 8
  %28 = alloca %"struct.langcc::TokenBounds", align 4
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %41, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !9
  store i64 %43, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %44, i32 0, i32 7
  %46 = load i64, ptr %45, align 8, !tbaa !20
  store i64 %46, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %47, i32 0, i32 9
  %49 = load i64, ptr %48, align 8, !tbaa !21
  store i64 %49, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %50, i32 0, i32 3
  %52 = load i64, ptr %51, align 8, !tbaa !22
  store i64 %52, ptr %7, align 8, !tbaa !19
  %53 = load i64, ptr %7, align 8, !tbaa !19
  %54 = sub nsw i64 %53, 4
  store i64 %54, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %55, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !23
  %58 = load i64, ptr %7, align 8, !tbaa !19
  %59 = sub nsw i64 %58, 1
  %60 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %57, i64 %59
  %61 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %60, i32 0, i32 1
  %62 = load i64, ptr %61, align 8, !tbaa !24
  store i64 %62, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #8
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !26
  %66 = load i64, ptr %4, align 8, !tbaa !19
  %67 = sub nsw i64 %66, 1
  %68 = getelementptr inbounds %"struct.langcc::SymItem", ptr %65, i64 %67
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %68, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #8
  %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, 2
  %74 = getelementptr inbounds %"struct.langcc::SymItem", ptr %71, i64 %73
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %74, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #8
  %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, 3
  %80 = getelementptr inbounds %"struct.langcc::SymItem", ptr %77, i64 %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %80, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %12) #8
  %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, 4
  %86 = getelementptr inbounds %"struct.langcc::SymItem", ptr %83, i64 %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %86, i64 88, i1 false), !tbaa.struct !27
  %87 = load i64, ptr %4, align 8, !tbaa !19
  %88 = sub nsw i64 %87, 4
  store i64 %88, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %89, i32 0, i32 6
  %91 = load ptr, ptr %90, align 8, !tbaa !30
  %92 = load i64, ptr %5, align 8, !tbaa !19
  %93 = sub nsw i64 %92, 1
  %94 = getelementptr inbounds %"struct.langcc::Result_T", ptr %91, i64 %93
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %94, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %95, i32 0, i32 6
  %97 = load ptr, ptr %96, align 8, !tbaa !30
  %98 = load i64, ptr %5, align 8, !tbaa !19
  %99 = sub nsw i64 %98, 2
  %100 = getelementptr inbounds %"struct.langcc::Result_T", ptr %97, i64 %99
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %100, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %101, i32 0, i32 6
  %103 = load ptr, ptr %102, align 8, !tbaa !30
  %104 = load i64, ptr %5, align 8, !tbaa !19
  %105 = sub nsw i64 %104, 3
  %106 = getelementptr inbounds %"struct.langcc::Result_T", ptr %103, i64 %105
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %106, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %107, i32 0, i32 6
  %109 = load ptr, ptr %108, align 8, !tbaa !30
  %110 = load i64, ptr %5, align 8, !tbaa !19
  %111 = sub nsw i64 %110, 4
  %112 = getelementptr inbounds %"struct.langcc::Result_T", ptr %109, i64 %111
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %112, i64 16, i1 false), !tbaa.struct !31
  %113 = load i64, ptr %5, align 8, !tbaa !19
  %114 = sub nsw i64 %113, 4
  store i64 %114, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %115 = getelementptr inbounds %"struct.langcc::Result_T", ptr %16, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8, !tbaa !32
  %117 = getelementptr inbounds i8, ptr %116, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.45") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %117)
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %118 unwind label %288

118:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %119 = getelementptr inbounds %"struct.langcc::Result_T", ptr %14, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !32
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %121, i32 0, i32 12
  %123 = load ptr, ptr %122, align 8, !tbaa !33
  invoke void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.419") align 8 %20, ptr noundef %120, ptr noundef %123)
          to label %124 unwind label %292

124:                                              ; preds = %118
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %125 unwind label %296

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %126, i32 0, i32 12
  %128 = load ptr, ptr %127, align 8, !tbaa !33
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %129)
          to label %131 unwind label %300

131:                                              ; preds = %125
  %132 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %130)
          to label %133 unwind label %300

133:                                              ; preds = %131
  %134 = load i64, ptr %8, align 8, !tbaa !19
  %135 = trunc i64 %134 to i32
  %136 = getelementptr inbounds %"struct.langcc::Result_T", ptr %13, i32 0, i32 1
  %137 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %135, i32 noundef %138)
          to label %139 unwind label %300

139:                                              ; preds = %133
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %23)
          to label %140 unwind label %300

140:                                              ; preds = %139
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %24)
          to label %141 unwind label %300

141:                                              ; preds = %140
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %142 unwind label %300

142:                                              ; preds = %141
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %143 unwind label %304

143:                                              ; preds = %142
  %144 = load i64, ptr %22, align 4
  invoke void @_ZN4lang2cc4Node4Expr8Template8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEENSA_INS4_3VecISC_EEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.323") align 8 %21, ptr noundef %128, i64 noundef %132, i64 %144, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %23, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %24, ptr noundef %25, ptr noundef %26)
          to label %145 unwind label %308

145:                                              ; preds = %143
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #8
  invoke void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %146 unwind label %313

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %147 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %148 unwind label %317

148:                                              ; preds = %146
  %149 = load i64, ptr %8, align 8, !tbaa !19
  %150 = trunc i64 %149 to i32
  %151 = getelementptr inbounds %"struct.langcc::Result_T", ptr %13, i32 0, i32 1
  %152 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %151, i32 0, i32 1
  %153 = load i32, ptr %152, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %150, i32 noundef %153)
          to label %154 unwind label %317

154:                                              ; preds = %148
  %155 = load i64, ptr %28, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef %147, i64 %155)
          to label %156 unwind label %317

156:                                              ; preds = %154
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %157, i32 0, i32 6
  %159 = load ptr, ptr %158, align 8, !tbaa !30
  %160 = load i64, ptr %5, align 8, !tbaa !19
  %161 = getelementptr inbounds %"struct.langcc::Result_T", ptr %159, i64 %160
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %161, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !31
  %162 = load i64, ptr %5, align 8, !tbaa !19
  %163 = add nsw i64 %162, 1
  store i64 %163, ptr %5, align 8, !tbaa !19
  %164 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 167, i64 noundef %164)
          to label %165 unwind label %317

165:                                              ; preds = %156
  %166 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %167 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds [16 x i8], ptr %167, i64 0, i64 0
  store i8 1, ptr %168, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %169 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %170 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %169, i32 0, i32 0
  %171 = getelementptr inbounds [16 x i8], ptr %170, i64 0, i64 0
  %172 = load i8, ptr %171, align 8, !tbaa !28
  %173 = zext i8 %172 to i64
  store i64 %173, ptr %29, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  store i64 0, ptr %30, align 8, !tbaa !19
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %175 unwind label %321

175:                                              ; preds = %165
  %176 = load i64, ptr %174, align 8, !tbaa !19
  %177 = trunc i64 %176 to i8
  %178 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %179 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %178, i32 0, i32 0
  %180 = getelementptr inbounds [16 x i8], ptr %179, i64 0, i64 0
  store i8 %177, ptr %180, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  %181 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %182 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds [16 x i8], ptr %182, i64 0, i64 1
  store i8 1, ptr %183, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %184 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %185 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %184, i32 0, i32 0
  %186 = getelementptr inbounds [16 x i8], ptr %185, i64 0, i64 1
  %187 = load i8, ptr %186, align 1, !tbaa !28
  %188 = zext i8 %187 to i64
  store i64 %188, ptr %31, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %189 = getelementptr inbounds %"struct.langcc::SymItem", ptr %12, i32 0, i32 2
  %190 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %189, i32 0, i32 0
  %191 = getelementptr inbounds [16 x i8], ptr %190, i64 0, i64 1
  %192 = load i8, ptr %191, align 1, !tbaa !28
  %193 = zext i8 %192 to i64
  store i64 %193, ptr %32, align 8, !tbaa !19
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %195 unwind label %325

195:                                              ; preds = %175
  %196 = load i64, ptr %194, align 8, !tbaa !19
  %197 = trunc i64 %196 to i8
  %198 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %199 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %198, i32 0, i32 0
  %200 = getelementptr inbounds [16 x i8], ptr %199, i64 0, i64 1
  store i8 %197, ptr %200, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %201 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %202 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %201, i32 0, i32 0
  %203 = getelementptr inbounds [16 x i8], ptr %202, i64 0, i64 2
  store i8 1, ptr %203, align 2, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %204 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %205 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds [16 x i8], ptr %205, i64 0, i64 2
  %207 = load i8, ptr %206, align 2, !tbaa !28
  %208 = zext i8 %207 to i64
  store i64 %208, ptr %33, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %209 = getelementptr inbounds %"struct.langcc::SymItem", ptr %12, i32 0, i32 2
  %210 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds [16 x i8], ptr %210, i64 0, i64 2
  %212 = load i8, ptr %211, align 2, !tbaa !28
  %213 = zext i8 %212 to i64
  store i64 %213, ptr %34, align 8, !tbaa !19
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %215 unwind label %329

215:                                              ; preds = %195
  %216 = load i64, ptr %214, align 8, !tbaa !19
  %217 = trunc i64 %216 to i8
  %218 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %219 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds [16 x i8], ptr %219, i64 0, i64 2
  store i8 %217, ptr %220, align 2, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %221 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %222 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds [16 x i8], ptr %222, i64 0, i64 3
  store i8 1, ptr %223, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %224 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %225 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds [16 x i8], ptr %225, i64 0, i64 3
  %227 = load i8, ptr %226, align 1, !tbaa !28
  %228 = zext i8 %227 to i64
  store i64 %228, ptr %35, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %229 = getelementptr inbounds %"struct.langcc::SymItem", ptr %12, i32 0, i32 2
  %230 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %229, i32 0, i32 0
  %231 = getelementptr inbounds [16 x i8], ptr %230, i64 0, i64 3
  %232 = load i8, ptr %231, align 1, !tbaa !28
  %233 = zext i8 %232 to i64
  store i64 %233, ptr %36, align 8, !tbaa !19
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %235 unwind label %333

235:                                              ; preds = %215
  %236 = load i64, ptr %234, align 8, !tbaa !19
  %237 = trunc i64 %236 to i8
  %238 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %239 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds [16 x i8], ptr %239, i64 0, i64 3
  store i8 %237, ptr %240, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  %241 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %242 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %241, i32 0, i32 0
  %243 = getelementptr inbounds [16 x i8], ptr %242, i64 0, i64 4
  store i8 18, ptr %243, align 4, !tbaa !28
  %244 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %245 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %244, i32 0, i32 0
  %246 = getelementptr inbounds [16 x i8], ptr %245, i64 0, i64 5
  store i8 18, ptr %246, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %247 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %248 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %247, i32 0, i32 0
  %249 = getelementptr inbounds [16 x i8], ptr %248, i64 0, i64 5
  %250 = load i8, ptr %249, align 1, !tbaa !28
  %251 = zext i8 %250 to i64
  store i64 %251, ptr %37, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store i64 12, ptr %38, align 8, !tbaa !19
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %253 unwind label %337

253:                                              ; preds = %235
  %254 = load i64, ptr %252, align 8, !tbaa !19
  %255 = trunc i64 %254 to i8
  %256 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %257 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %256, i32 0, i32 0
  %258 = getelementptr inbounds [16 x i8], ptr %257, i64 0, i64 5
  store i8 %255, ptr %258, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %259 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %260 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %259, i32 0, i32 0
  %261 = getelementptr inbounds [16 x i8], ptr %260, i64 0, i64 5
  %262 = load i8, ptr %261, align 1, !tbaa !28
  %263 = zext i8 %262 to i64
  store i64 %263, ptr %39, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %264 = getelementptr inbounds %"struct.langcc::SymItem", ptr %12, i32 0, i32 2
  %265 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds [16 x i8], ptr %265, i64 0, i64 5
  %267 = load i8, ptr %266, align 1, !tbaa !28
  %268 = zext i8 %267 to i64
  store i64 %268, ptr %40, align 8, !tbaa !19
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %270 unwind label %341

270:                                              ; preds = %253
  %271 = load i64, ptr %269, align 8, !tbaa !19
  %272 = trunc i64 %271 to i8
  %273 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %274 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %273, i32 0, i32 0
  %275 = getelementptr inbounds [16 x i8], ptr %274, i64 0, i64 5
  store i8 %272, ptr %275, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %276 = load i64, ptr %4, align 8, !tbaa !19
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %277, i32 0, i32 5
  store i64 %276, ptr %278, align 8, !tbaa !9
  %279 = load i64, ptr %5, align 8, !tbaa !19
  %280 = load ptr, ptr %3, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %280, i32 0, i32 7
  store i64 %279, ptr %281, align 8, !tbaa !20
  %282 = load i64, ptr %6, align 8, !tbaa !19
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %283, i32 0, i32 9
  store i64 %282, ptr %284, align 8, !tbaa !21
  %285 = load i64, ptr %7, align 8, !tbaa !19
  %286 = load ptr, ptr %3, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %286, i32 0, i32 3
  store i64 %285, ptr %287, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  ret void

288:                                              ; preds = %2
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %18, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %19, align 4
  br label %350

292:                                              ; preds = %118
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %18, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %19, align 4
  br label %349

296:                                              ; preds = %124
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %18, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %19, align 4
  br label %348

300:                                              ; preds = %141, %140, %139, %133, %131, %125
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %18, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %19, align 4
  br label %347

304:                                              ; preds = %142
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %18, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %19, align 4
  br label %312

308:                                              ; preds = %143
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %18, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %19, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #8
  br label %312

312:                                              ; preds = %308, %304
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #8
  br label %347

313:                                              ; preds = %145
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %18, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %19, align 4
  br label %346

317:                                              ; preds = %156, %154, %148, %146
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %18, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %19, align 4
  br label %345

321:                                              ; preds = %165
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %18, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %345

325:                                              ; preds = %175
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %18, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %345

329:                                              ; preds = %195
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %18, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %345

333:                                              ; preds = %215
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %18, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %345

337:                                              ; preds = %235
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %18, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %345

341:                                              ; preds = %253
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %18, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %345

345:                                              ; preds = %341, %337, %333, %329, %325, %321, %317
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %346

346:                                              ; preds = %345, %313
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  br label %347

347:                                              ; preds = %346, %312, %300
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %348

348:                                              ; preds = %347, %296
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  br label %349

349:                                              ; preds = %348, %292
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  br label %350

350:                                              ; preds = %349, %288
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %351

351:                                              ; preds = %350
  %352 = load ptr, ptr %18, align 8
  %353 = load i32, ptr %19, align 4
  %354 = insertvalue { ptr, i32 } poison, ptr %352, 0
  %355 = insertvalue { ptr, i32 } %354, i32 %353, 1
  resume { ptr, i32 } %355
}

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_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 = { 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 #8 = { 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 = !{!15, !17, i64 12}


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

%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.323" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.419" = 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::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_ptrIN4lang2cc4Node4Expr2_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_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress noinline uwtable
define dso_local void @_ZN4lang2cc6parser18_parse_proc_60_5_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::rc_ptr.45", align 8
  %4 = alloca %"struct.langcc::rc_ptr.419", align 8
  %5 = alloca %"struct.langcc::rc_ptr.323", align 8
  %6 = alloca %"struct.langcc::TokenBounds", align 8
  %7 = alloca %"struct.langcc::ParserAttrMask", align 8
  %8 = alloca %"struct.langcc::ParserLookahead", align 8
  %9 = alloca %"struct.langcc::rc_ptr.45", align 8
  %10 = alloca %"struct.langcc::rc_ptr.419", align 8
  %11 = alloca %"struct.langcc::Result_T", align 8
  %12 = alloca %"struct.langcc::TokenBounds", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = getelementptr inbounds i8, ptr %1, i64 48
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  %28 = load i64, ptr %27, align 8, !tbaa !18
  %29 = getelementptr inbounds i8, ptr %1, i64 80
  %30 = load i64, ptr %29, align 8, !tbaa !19
  %31 = getelementptr inbounds i8, ptr %1, i64 32
  %32 = load i64, ptr %31, align 8, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %1, i64 24
  %34 = load ptr, ptr %33, align 8, !tbaa !21
  %35 = getelementptr %"struct.langcc::ParserVertexStackItem", ptr %34, i64 %32
  %36 = getelementptr i8, ptr %35, i64 -72
  %37 = load i64, ptr %36, align 8, !tbaa !22
  %38 = getelementptr inbounds i8, ptr %1, i64 40
  %39 = load ptr, ptr %38, align 8, !tbaa !24
  %40 = add nsw i64 %26, -4
  %41 = getelementptr inbounds %"struct.langcc::SymItem", ptr %39, i64 %40
  %.sroa.46.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 17
  %.sroa.46.0.copyload = load i8, ptr %.sroa.46.0..sroa_idx, align 1
  %.sroa.57.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 18
  %.sroa.57.0.copyload = load i8, ptr %.sroa.57.0..sroa_idx, align 2
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 19
  %.sroa.6.0.copyload = load i8, ptr %.sroa.6.0..sroa_idx, align 1
  %.sroa.78.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 21
  %.sroa.78.0.copyload = load i8, ptr %.sroa.78.0..sroa_idx, align 1
  %42 = getelementptr inbounds i8, ptr %1, i64 56
  %43 = load ptr, ptr %42, align 8, !tbaa !25
  %44 = getelementptr %"struct.langcc::Result_T", ptr %43, i64 %28
  %.sroa.4.0..sroa_idx = getelementptr i8, ptr %44, i64 -4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !26
  %45 = getelementptr i8, ptr %44, i64 -32
  %.sroa.01.0.copyload = load ptr, ptr %45, align 8, !tbaa !27
  %46 = add nsw i64 %28, -4
  %47 = getelementptr inbounds %"struct.langcc::Result_T", ptr %43, i64 %46
  %.sroa.0.0.copyload = load ptr, ptr %47, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %48 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 48
  call void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang2cc4Node4Expr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.45") align 8 %3, ptr noundef nonnull align 8 dereferenceable(16) %48)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %49 = getelementptr inbounds i8, ptr %1, i64 184
  %50 = load ptr, ptr %49, align 8, !tbaa !28
  invoke void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.419") align 8 %4, ptr noundef %.sroa.01.0.copyload, ptr noundef %50)
          to label %51 unwind label %94

51:                                               ; preds = %2
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %52 = load ptr, ptr %49, align 8, !tbaa !28
  %53 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %54 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
  %55 = trunc i64 %37 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef %55, i32 noundef %.sroa.4.0.copyload)
  call void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %7)
  call void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %8)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %56 = load i64, ptr %6, align 8
  invoke void @_ZN4lang2cc4Node4Expr8Template8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEENSA_INS4_3VecISC_EEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.323") align 8 %5, ptr noundef %52, i64 noundef %54, i64 %56, i1 noundef zeroext false, i64 noundef -1, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %7, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %8, ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %57 unwind label %96

57:                                               ; preds = %51
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %58 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef %55, i32 noundef %.sroa.4.0.copyload)
  %59 = load i64, ptr %12, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %58, i64 %59)
  %60 = load ptr, ptr %42, align 8, !tbaa !25
  %61 = getelementptr inbounds %"struct.langcc::Result_T", ptr %60, i64 %46
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !29
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 167, i64 noundef %37)
          to label %62 unwind label %98

62:                                               ; preds = %57
  %63 = add nsw i64 %28, -3
  %64 = add nsw i64 %32, -4
  %65 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 1, ptr %65, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  store i64 1, ptr %13, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  store i64 0, ptr %14, align 8, !tbaa !31
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %67 = load i64, ptr %66, align 8, !tbaa !31
  %68 = trunc i64 %67 to i8
  store i8 %68, ptr %65, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %69 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 1, ptr %69, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  store i64 1, ptr %15, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %70 = zext i8 %.sroa.46.0.copyload to i64
  store i64 %70, ptr %16, align 8, !tbaa !31
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %72 = load i64, ptr %71, align 8, !tbaa !31
  %73 = trunc i64 %72 to i8
  store i8 %73, ptr %69, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  %74 = getelementptr inbounds i8, ptr %0, i64 18
  store i8 1, ptr %74, align 2, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  store i64 1, ptr %17, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %75 = zext i8 %.sroa.57.0.copyload to i64
  store i64 %75, ptr %18, align 8, !tbaa !31
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %77 = load i64, ptr %76, align 8, !tbaa !31
  %78 = trunc i64 %77 to i8
  store i8 %78, ptr %74, align 2, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %79 = getelementptr inbounds i8, ptr %0, i64 19
  store i8 1, ptr %79, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  store i64 1, ptr %19, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %80 = zext i8 %.sroa.6.0.copyload to i64
  store i64 %80, ptr %20, align 8, !tbaa !31
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %82 = load i64, ptr %81, align 8, !tbaa !31
  %83 = trunc i64 %82 to i8
  store i8 %83, ptr %79, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  %84 = getelementptr inbounds i8, ptr %0, i64 20
  store i8 18, ptr %84, align 4, !tbaa !30
  %85 = getelementptr inbounds i8, ptr %0, i64 21
  store i8 18, ptr %85, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  store i64 18, ptr %21, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  store i64 12, ptr %22, align 8, !tbaa !31
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %87 = load i64, ptr %86, align 8, !tbaa !31
  %88 = trunc i64 %87 to i8
  store i8 %88, ptr %85, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %89 = and i64 %87, 255
  store i64 %89, ptr %23, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  %90 = zext i8 %.sroa.78.0.copyload to i64
  store i64 %90, ptr %24, align 8, !tbaa !31
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %92 = load i64, ptr %91, align 8, !tbaa !31
  %93 = trunc i64 %92 to i8
  store i8 %93, ptr %85, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  store i64 %40, ptr %25, align 8, !tbaa !5
  store i64 %63, ptr %27, align 8, !tbaa !18
  store i64 %30, ptr %29, align 8, !tbaa !19
  store i64 %64, ptr %31, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  ret void

94:                                               ; preds = %2
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %101

96:                                               ; preds = %51
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br label %100

98:                                               ; preds = %57
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  br label %100

100:                                              ; preds = %98, %96
  %.pn = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  br label %101

101:                                              ; preds = %100, %94
  %.pn.pn = phi { ptr, i32 } [ %.pn, %100 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK6langcc6rc_ptrIN4lang2cc4Node4Expr8Template2_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_ptrIN4lang2cc4Node4Expr8Template2_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 = { 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 #8 = { 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 40}
!25 = !{!6, !8, i64 56}
!26 = !{!16, !16, i64 0}
!27 = !{!8, !8, i64 0}
!28 = !{!6, !8, i64 184}
!29 = !{i64 0, i64 8, !27, i64 8, i64 4, !26, i64 12, i64 4, !26}
!30 = !{!9, !9, i64 0}
!31 = !{!11, !11, i64 0}


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