; LLVM IR from jzimmerman/langcc :: gen/meta/gen.ll (ZN4lang4meta6parser18_parse_proc_58_4_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.315" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"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.472" = 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_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_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_IN4lang4meta4Node9ParseExpr2_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: 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 @_ZN4lang4meta6parser18_parse_proc_58_4_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::Result_T", align 8
  %11 = alloca %"struct.langcc::rc_ptr.472", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.langcc::rc_ptr.315", align 8
  %15 = alloca %"struct.langcc::TokenBounds", align 4
  %16 = alloca %"struct.langcc::ParserAttrMask", align 8
  %17 = alloca %"struct.langcc::ParserLookahead", align 8
  %18 = alloca %"struct.langcc::rc_ptr.472", align 8
  %19 = alloca %"struct.langcc::Result_T", align 8
  %20 = alloca %"struct.langcc::TokenBounds", align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %25, i32 0, i32 5
  %27 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %27, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %28, i32 0, i32 7
  %30 = load i64, ptr %29, align 8, !tbaa !20
  store i64 %30, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %31, i32 0, i32 9
  %33 = load i64, ptr %32, align 8, !tbaa !21
  store i64 %33, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %34, i32 0, i32 3
  %36 = load i64, ptr %35, align 8, !tbaa !22
  store i64 %36, ptr %7, align 8, !tbaa !19
  %37 = load i64, ptr %7, align 8, !tbaa !19
  %38 = sub nsw i64 %37, 1
  store i64 %38, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %39, i32 0, i32 2
  %41 = load ptr, ptr %40, align 8, !tbaa !23
  %42 = load i64, ptr %7, align 8, !tbaa !19
  %43 = sub nsw i64 %42, 1
  %44 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %41, i64 %43
  %45 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %44, i32 0, i32 1
  %46 = load i64, ptr %45, align 8, !tbaa !24
  store i64 %46, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #8
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %47, i32 0, i32 4
  %49 = load ptr, ptr %48, align 8, !tbaa !26
  %50 = load i64, ptr %4, align 8, !tbaa !19
  %51 = sub nsw i64 %50, 1
  %52 = getelementptr inbounds %"struct.langcc::SymItem", ptr %49, i64 %51
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %52, i64 88, i1 false), !tbaa.struct !27
  %53 = load i64, ptr %4, align 8, !tbaa !19
  %54 = sub nsw i64 %53, 1
  store i64 %54, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %55, i32 0, i32 6
  %57 = load ptr, ptr %56, align 8, !tbaa !30
  %58 = load i64, ptr %5, align 8, !tbaa !19
  %59 = sub nsw i64 %58, 1
  %60 = getelementptr inbounds %"struct.langcc::Result_T", ptr %57, i64 %59
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %60, i64 16, i1 false), !tbaa.struct !31
  %61 = load i64, ptr %5, align 8, !tbaa !19
  %62 = sub nsw i64 %61, 1
  store i64 %62, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %63 = getelementptr inbounds %"struct.langcc::Result_T", ptr %10, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !32
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %65, i32 0, i32 12
  %67 = load ptr, ptr %66, align 8, !tbaa !33
  call void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.472") align 8 %11, ptr noundef %64, ptr noundef %67)
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %68 unwind label %150

68:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %69, i32 0, i32 12
  %71 = load ptr, ptr %70, align 8, !tbaa !33
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %72)
          to label %74 unwind label %154

74:                                               ; preds = %68
  %75 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %73)
          to label %76 unwind label %154

76:                                               ; preds = %74
  %77 = load i64, ptr %8, align 8, !tbaa !19
  %78 = trunc i64 %77 to i32
  %79 = getelementptr inbounds %"struct.langcc::Result_T", ptr %10, i32 0, i32 1
  %80 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %78, i32 noundef %81)
          to label %82 unwind label %154

82:                                               ; preds = %76
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %16)
          to label %83 unwind label %154

83:                                               ; preds = %82
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %17)
          to label %84 unwind label %154

84:                                               ; preds = %83
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %85 unwind label %154

85:                                               ; preds = %84
  %86 = load i64, ptr %15, align 4
  invoke void @_ZN4lang4meta4Node9ParseExpr3Alt8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS4_3VecINSA_INS2_2_TEEEEEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.315") align 8 %14, ptr noundef %71, i64 noundef %75, i64 %86, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %16, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %17, ptr noundef %18)
          to label %87 unwind label %158

87:                                               ; preds = %85
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  invoke void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %88 unwind label %162

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %89 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %90 unwind label %166

90:                                               ; preds = %88
  %91 = load i64, ptr %8, align 8, !tbaa !19
  %92 = trunc i64 %91 to i32
  %93 = getelementptr inbounds %"struct.langcc::Result_T", ptr %10, i32 0, i32 1
  %94 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %93, i32 0, i32 1
  %95 = load i32, ptr %94, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef %92, i32 noundef %95)
          to label %96 unwind label %166

96:                                               ; preds = %90
  %97 = load i64, ptr %20, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef %89, i64 %97)
          to label %98 unwind label %166

98:                                               ; preds = %96
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %99, i32 0, i32 6
  %101 = load ptr, ptr %100, align 8, !tbaa !30
  %102 = load i64, ptr %5, align 8, !tbaa !19
  %103 = getelementptr inbounds %"struct.langcc::Result_T", ptr %101, i64 %102
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %103, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !31
  %104 = load i64, ptr %5, align 8, !tbaa !19
  %105 = add nsw i64 %104, 1
  store i64 %105, ptr %5, align 8, !tbaa !19
  %106 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 114, i64 noundef %106)
          to label %107 unwind label %166

107:                                              ; preds = %98
  %108 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %109 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds [16 x i8], ptr %109, i64 0, i64 0
  store i8 8, ptr %110, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %111 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %112 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %111, i32 0, i32 0
  %113 = getelementptr inbounds [16 x i8], ptr %112, i64 0, i64 0
  %114 = load i8, ptr %113, align 8, !tbaa !28
  %115 = zext i8 %114 to i64
  store i64 %115, ptr %21, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store i64 0, ptr %22, align 8, !tbaa !19
  %116 = invoke 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)
          to label %117 unwind label %170

117:                                              ; preds = %107
  %118 = load i64, ptr %116, align 8, !tbaa !19
  %119 = trunc i64 %118 to i8
  %120 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %121 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds [16 x i8], ptr %121, i64 0, i64 0
  store i8 %119, ptr %122, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %123 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %124 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds [16 x i8], ptr %124, i64 0, i64 1
  store i8 8, ptr %125, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %126 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %127 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds [16 x i8], ptr %127, i64 0, i64 1
  %129 = load i8, ptr %128, align 1, !tbaa !28
  %130 = zext i8 %129 to i64
  store i64 %130, ptr %23, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  store i64 0, ptr %24, align 8, !tbaa !19
  %131 = invoke 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)
          to label %132 unwind label %174

132:                                              ; preds = %117
  %133 = load i64, ptr %131, align 8, !tbaa !19
  %134 = trunc i64 %133 to i8
  %135 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %136 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds [16 x i8], ptr %136, i64 0, i64 1
  store i8 %134, ptr %137, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  %138 = load i64, ptr %4, align 8, !tbaa !19
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %139, i32 0, i32 5
  store i64 %138, ptr %140, align 8, !tbaa !9
  %141 = load i64, ptr %5, align 8, !tbaa !19
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %142, i32 0, i32 7
  store i64 %141, ptr %143, align 8, !tbaa !20
  %144 = load i64, ptr %6, align 8, !tbaa !19
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %145, i32 0, i32 9
  store i64 %144, ptr %146, align 8, !tbaa !21
  %147 = load i64, ptr %7, align 8, !tbaa !19
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %148, i32 0, i32 3
  store i64 %147, ptr %149, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, 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

150:                                              ; preds = %2
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %12, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %13, align 4
  br label %181

154:                                              ; preds = %84, %83, %82, %76, %74, %68
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %12, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %13, align 4
  br label %180

158:                                              ; preds = %85
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %12, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %13, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  br label %180

162:                                              ; preds = %87
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %12, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %13, align 4
  br label %179

166:                                              ; preds = %98, %96, %90, %88
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %12, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %13, align 4
  br label %178

170:                                              ; preds = %107
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %12, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %178

174:                                              ; preds = %117
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %12, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %178

178:                                              ; preds = %174, %170, %166
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %179

179:                                              ; preds = %178, %162
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %180

180:                                              ; preds = %179, %158, %154
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %181

181:                                              ; preds = %180, %150
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, 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 %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %12, align 8
  %184 = load i32, ptr %13, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_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.315" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"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.472" = 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_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_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_IN4lang4meta4Node9ParseExpr2_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: 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 @_ZN4lang4meta6parser18_parse_proc_58_4_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.472", align 8
  %4 = alloca %"struct.langcc::rc_ptr.315", align 8
  %5 = alloca %"struct.langcc::TokenBounds", align 8
  %6 = alloca %"struct.langcc::ParserAttrMask", align 8
  %7 = alloca %"struct.langcc::ParserLookahead", align 8
  %8 = alloca %"struct.langcc::rc_ptr.472", align 8
  %9 = alloca %"struct.langcc::Result_T", align 8
  %10 = alloca %"struct.langcc::TokenBounds", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, 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 -24
  %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 = add nsw i64 %18, -1
  %31 = getelementptr inbounds %"struct.langcc::Result_T", ptr %29, i64 %30
  %.sroa.0.0.copyload = load ptr, ptr %31, align 8, !tbaa !25
  %.sroa.51.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 12
  %.sroa.51.0.copyload = load i32, ptr %.sroa.51.0..sroa_idx, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %32 = getelementptr inbounds i8, ptr %1, i64 184
  %33 = load ptr, ptr %32, align 8, !tbaa !27
  call void @_ZN6langcc15rc_from_ptr_extINS_3VecINS_6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEEEEEENS2_IT_EEPvPNS_5ArenaE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.472") align 8 %3, ptr noundef %.sroa.0.0.copyload, ptr noundef %33)
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %34 = load ptr, ptr %32, align 8, !tbaa !27
  %35 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %36 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  %37 = trunc i64 %27 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef %37, i32 noundef %.sroa.51.0.copyload)
  call void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %6)
  call void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %7)
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %38 = load i64, ptr %5, align 8
  invoke void @_ZN4lang4meta4Node9ParseExpr3Alt8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS4_3VecINSA_INS2_2_TEEEEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.315") align 8 %4, ptr noundef %34, i64 noundef %36, i64 %38, i1 noundef zeroext false, i64 noundef -1, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %6, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %7, ptr noundef nonnull %8)
          to label %39 unwind label %55

39:                                               ; preds = %2
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %40 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef %37, i32 noundef %.sroa.51.0.copyload)
  %41 = load i64, ptr %10, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %40, i64 %41)
  %42 = load ptr, ptr %28, align 8, !tbaa !24
  %43 = getelementptr inbounds %"struct.langcc::Result_T", ptr %42, i64 %30
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !28
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 114, i64 noundef %27)
          to label %44 unwind label %57

44:                                               ; preds = %39
  %45 = add nsw i64 %16, -1
  %46 = add nsw i64 %22, -1
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 8, ptr %47, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  store i64 8, ptr %11, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  store i64 0, ptr %12, align 8, !tbaa !30
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %49 = load i64, ptr %48, align 8, !tbaa !30
  %50 = trunc i64 %49 to i8
  store i8 %50, ptr %47, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %51 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 8, ptr %51, align 1, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  store i64 8, ptr %13, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  store i64 0, ptr %14, align 8, !tbaa !30
  %52 = 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)
  %53 = load i64, ptr %52, align 8, !tbaa !30
  %54 = trunc i64 %53 to i8
  store i8 %54, ptr %51, align 1, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  store i64 %45, ptr %15, align 8, !tbaa !5
  store i64 %18, ptr %17, align 8, !tbaa !18
  store i64 %20, ptr %19, align 8, !tbaa !19
  store i64 %46, ptr %21, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  ret void

55:                                               ; preds = %2
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %59

57:                                               ; preds = %39
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr3Alt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  br label %59

59:                                               ; preds = %57, %55
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node9ParseExpr2_TEEEEEED2Ev(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
}

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

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


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