; LLVM IR from jzimmerman/langcc :: gen/meta/gen.ll (ZN4lang4meta6parser18_parse_proc_71_0_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.44" = type { ptr, ptr }
%"struct.langcc::rc_ptr.328" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::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_ptrIN4lang4meta4Node9ParseExpr2_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_polyIN4lang4meta4Node9ParseExpr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.44") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9ParseExpr4Name8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6rc_ptrINS2_2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.328") 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 noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192)) #3 align 2

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEE6decrefEv(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 @_ZN4lang4meta6parser18_parse_proc_71_0_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) #8 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.langcc::SymItem", align 8
  %10 = alloca %"struct.langcc::SymItem", align 8
  %11 = alloca %"struct.langcc::SymItem", align 8
  %12 = alloca %"struct.langcc::Result_T", align 8
  %13 = alloca %"struct.langcc::Result_T", align 8
  %14 = alloca %"struct.langcc::Result_T", align 8
  %15 = alloca %"struct.langcc::TokenBounds", align 4
  %16 = alloca %"struct.langcc::Result_T", align 8
  %17 = alloca %"struct.langcc::StrSlice", align 8
  %18 = alloca %"struct.langcc::rc_ptr.44", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"struct.langcc::rc_ptr.328", 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::StrSlice", align 8
  %26 = alloca %"struct.langcc::rc_ptr.44", 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
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %33, i32 0, i32 5
  %35 = load i64, ptr %34, align 8, !tbaa !9
  store i64 %35, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %36, i32 0, i32 7
  %38 = load i64, ptr %37, align 8, !tbaa !20
  store i64 %38, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %39, i32 0, i32 9
  %41 = load i64, ptr %40, align 8, !tbaa !21
  store i64 %41, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %42, i32 0, i32 3
  %44 = load i64, ptr %43, align 8, !tbaa !22
  store i64 %44, ptr %7, align 8, !tbaa !19
  %45 = load i64, ptr %7, align 8, !tbaa !19
  %46 = sub nsw i64 %45, 3
  store i64 %46, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !23
  %50 = load i64, ptr %7, align 8, !tbaa !19
  %51 = sub nsw i64 %50, 1
  %52 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %49, i64 %51
  %53 = getelementptr inbounds %"struct.langcc::ParserVertexStackItem", ptr %52, i32 0, i32 1
  %54 = load i64, ptr %53, align 8, !tbaa !24
  store i64 %54, ptr %8, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #9
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %55, i32 0, i32 4
  %57 = load ptr, ptr %56, align 8, !tbaa !26
  %58 = load i64, ptr %4, align 8, !tbaa !19
  %59 = sub nsw i64 %58, 1
  %60 = getelementptr inbounds %"struct.langcc::SymItem", ptr %57, i64 %59
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %60, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #9
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %61, i32 0, i32 4
  %63 = load ptr, ptr %62, align 8, !tbaa !26
  %64 = load i64, ptr %4, align 8, !tbaa !19
  %65 = sub nsw i64 %64, 2
  %66 = getelementptr inbounds %"struct.langcc::SymItem", ptr %63, i64 %65
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %66, i64 88, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #9
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %67, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !26
  %70 = load i64, ptr %4, align 8, !tbaa !19
  %71 = sub nsw i64 %70, 3
  %72 = getelementptr inbounds %"struct.langcc::SymItem", ptr %69, i64 %71
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %72, i64 88, i1 false), !tbaa.struct !27
  %73 = load i64, ptr %4, align 8, !tbaa !19
  %74 = sub nsw i64 %73, 3
  store i64 %74, ptr %4, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %75, i32 0, i32 6
  %77 = load ptr, ptr %76, align 8, !tbaa !30
  %78 = load i64, ptr %5, align 8, !tbaa !19
  %79 = sub nsw i64 %78, 1
  %80 = getelementptr inbounds %"struct.langcc::Result_T", ptr %77, i64 %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %80, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %81, i32 0, i32 6
  %83 = load ptr, ptr %82, align 8, !tbaa !30
  %84 = load i64, ptr %5, align 8, !tbaa !19
  %85 = sub nsw i64 %84, 2
  %86 = getelementptr inbounds %"struct.langcc::Result_T", ptr %83, i64 %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %86, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %87, i32 0, i32 6
  %89 = load ptr, ptr %88, align 8, !tbaa !30
  %90 = load i64, ptr %5, align 8, !tbaa !19
  %91 = sub nsw i64 %90, 3
  %92 = getelementptr inbounds %"struct.langcc::Result_T", ptr %89, i64 %91
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %92, i64 16, i1 false), !tbaa.struct !31
  %93 = load i64, ptr %5, align 8, !tbaa !19
  %94 = sub nsw i64 %93, 3
  store i64 %94, ptr %5, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !31
  %95 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8
  %97 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %98 = load i64, ptr %97, align 8
  %99 = call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %96, i64 %98)
  store i64 %99, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %15, i32 0, i32 0
  %102 = load i32, ptr %101, align 4, !tbaa !32
  %103 = sext i32 %102 to i64
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind writable sret(%"struct.langcc::StrSlice") align 8 %17, ptr noundef nonnull align 8 dereferenceable(192) %100, i64 noundef %103)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  %104 = getelementptr inbounds %"struct.langcc::Result_T", ptr %12, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !33
  %106 = getelementptr inbounds i8, ptr %105, i64 48
  invoke void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang4meta4Node9ParseExpr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.44") align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %106)
          to label %107 unwind label %196

107:                                              ; preds = %2
  invoke void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %108 unwind label %200

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #9
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %109, i32 0, i32 12
  %111 = load ptr, ptr %110, align 8, !tbaa !34
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %112)
          to label %114 unwind label %204

114:                                              ; preds = %108
  %115 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %113)
          to label %116 unwind label %204

116:                                              ; preds = %114
  %117 = load i64, ptr %8, align 8, !tbaa !19
  %118 = trunc i64 %117 to i32
  %119 = getelementptr inbounds %"struct.langcc::Result_T", ptr %12, i32 0, i32 1
  %120 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 4, !tbaa !35
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %118, i32 noundef %121)
          to label %122 unwind label %204

122:                                              ; preds = %116
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %23)
          to label %123 unwind label %204

123:                                              ; preds = %122
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %24)
          to label %124 unwind label %204

124:                                              ; preds = %123
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %125 unwind label %204

125:                                              ; preds = %124
  invoke void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %126 unwind label %208

126:                                              ; preds = %125
  %127 = load i64, ptr %22, align 4
  invoke void @_ZN4lang4meta4Node9ParseExpr4Name8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6rc_ptrINS2_2_TEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.328") align 8 %21, ptr noundef %111, i64 noundef %115, i64 %127, 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 %128 unwind label %212

128:                                              ; preds = %126
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  invoke void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %129 unwind label %217

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  %130 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %131 unwind label %221

131:                                              ; preds = %129
  %132 = load i64, ptr %8, align 8, !tbaa !19
  %133 = trunc i64 %132 to i32
  %134 = getelementptr inbounds %"struct.langcc::Result_T", ptr %12, i32 0, i32 1
  %135 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !35
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %133, i32 noundef %136)
          to label %137 unwind label %221

137:                                              ; preds = %131
  %138 = load i64, ptr %28, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef %130, i64 %138)
          to label %139 unwind label %221

139:                                              ; preds = %137
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %140, i32 0, i32 6
  %142 = load ptr, ptr %141, align 8, !tbaa !30
  %143 = load i64, ptr %5, align 8, !tbaa !19
  %144 = getelementptr inbounds %"struct.langcc::Result_T", ptr %142, i64 %143
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %144, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !31
  %145 = load i64, ptr %5, align 8, !tbaa !19
  %146 = add nsw i64 %145, 1
  store i64 %146, ptr %5, align 8, !tbaa !19
  %147 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 114, i64 noundef %147)
          to label %148 unwind label %221

148:                                              ; preds = %139
  %149 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %150 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %149, i32 0, i32 0
  %151 = getelementptr inbounds [16 x i8], ptr %150, i64 0, i64 0
  store i8 8, ptr %151, align 8, !tbaa !28
  %152 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %153 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %152, i32 0, i32 0
  %154 = getelementptr inbounds [16 x i8], ptr %153, i64 0, i64 1
  store i8 8, ptr %154, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %155 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %156 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %155, i32 0, i32 0
  %157 = getelementptr inbounds [16 x i8], ptr %156, i64 0, i64 1
  %158 = load i8, ptr %157, align 1, !tbaa !28
  %159 = zext i8 %158 to i64
  store i64 %159, ptr %29, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  store i64 3, ptr %30, align 8, !tbaa !19
  %160 = 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 %161 unwind label %225

161:                                              ; preds = %148
  %162 = load i64, ptr %160, align 8, !tbaa !19
  %163 = trunc i64 %162 to i8
  %164 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %165 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds [16 x i8], ptr %165, i64 0, i64 1
  store i8 %163, ptr %166, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %167 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %168 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %167, i32 0, i32 0
  %169 = getelementptr inbounds [16 x i8], ptr %168, i64 0, i64 1
  %170 = load i8, ptr %169, align 1, !tbaa !28
  %171 = zext i8 %170 to i64
  store i64 %171, ptr %31, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %172 = getelementptr inbounds %"struct.langcc::SymItem", ptr %9, i32 0, i32 2
  %173 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds [16 x i8], ptr %173, i64 0, i64 1
  %175 = load i8, ptr %174, align 1, !tbaa !28
  %176 = zext i8 %175 to i64
  store i64 %176, ptr %32, align 8, !tbaa !19
  %177 = 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 %178 unwind label %229

178:                                              ; preds = %161
  %179 = load i64, ptr %177, align 8, !tbaa !19
  %180 = trunc i64 %179 to i8
  %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 %180, ptr %183, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  %184 = load i64, ptr %4, align 8, !tbaa !19
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %185, i32 0, i32 5
  store i64 %184, ptr %186, align 8, !tbaa !9
  %187 = load i64, ptr %5, align 8, !tbaa !19
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %188, i32 0, i32 7
  store i64 %187, ptr %189, align 8, !tbaa !20
  %190 = load i64, ptr %6, align 8, !tbaa !19
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %191, i32 0, i32 9
  store i64 %190, ptr %192, align 8, !tbaa !21
  %193 = load i64, ptr %7, align 8, !tbaa !19
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %194, i32 0, i32 3
  store i64 %193, ptr %195, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  ret void

196:                                              ; preds = %2
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %19, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %20, align 4
  br label %237

200:                                              ; preds = %107
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %19, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %20, align 4
  br label %236

204:                                              ; preds = %124, %123, %122, %116, %114, %108
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %19, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %20, align 4
  br label %235

208:                                              ; preds = %125
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %19, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %20, align 4
  br label %216

212:                                              ; preds = %126
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %19, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %20, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  br label %216

216:                                              ; preds = %212, %208
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %235

217:                                              ; preds = %128
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %19, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %20, align 4
  br label %234

221:                                              ; preds = %139, %137, %131, %129
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %19, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %20, align 4
  br label %233

225:                                              ; preds = %148
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %19, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %233

229:                                              ; preds = %161
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %19, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %233

233:                                              ; preds = %229, %225, %221
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  br label %234

234:                                              ; preds = %233, %217
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #9
  br label %235

235:                                              ; preds = %234, %216, %204
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #9
  br label %236

236:                                              ; preds = %235, %200
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #9
  br label %237

237:                                              ; preds = %236, %196
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %238

238:                                              ; preds = %237
  %239 = load ptr, ptr %19, align 8
  %240 = load i32, ptr %20, align 4
  %241 = insertvalue { ptr, i32 } poison, ptr %239, 0
  %242 = insertvalue { ptr, i32 } %241, i32 %240, 1
  resume { ptr, i32 } %242
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress noinline uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 48}
!10 = !{!"_ZTSN6langcc15ParserProcStateE", !11, i64 0, !6, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !13, i64 88, !6, i64 176, !6, i64 184}
!11 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !6, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN6langcc7SymItemE", !12, i64 0, !12, i64 8, !14, i64 16, !12, i64 32, !12, i64 40, !12, i64 48, !15, i64 56, !18, i64 72}
!14 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!15 = !{!"_ZTSN6langcc8Result_TE", !6, i64 0, !16, i64 8}
!16 = !{!"_ZTSN6langcc11TokenBoundsE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!10, !12, i64 64}
!21 = !{!10, !12, i64 80}
!22 = !{!10, !12, i64 32}
!23 = !{!10, !6, i64 24}
!24 = !{!25, !12, i64 8}
!25 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !12, i64 0, !12, i64 8}
!26 = !{!10, !6, i64 40}
!27 = !{i64 0, i64 8, !19, i64 8, i64 8, !19, i64 16, i64 16, !28, i64 32, i64 8, !19, i64 40, i64 8, !19, i64 48, i64 8, !19, i64 56, i64 8, !5, i64 64, i64 4, !29, i64 68, i64 4, !29, i64 72, i64 16, !28}
!28 = !{!7, !7, i64 0}
!29 = !{!17, !17, i64 0}
!30 = !{!10, !6, i64 56}
!31 = !{i64 0, i64 8, !5, i64 8, i64 4, !29, i64 12, i64 4, !29}
!32 = !{!16, !17, i64 0}
!33 = !{!15, !6, i64 0}
!34 = !{!10, !6, i64 184}
!35 = !{!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.44" = type { ptr, ptr }
%"struct.langcc::rc_ptr.328" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"struct.langcc::SymItem" = type { i64, i64, %"struct.langcc::ParserAttrMask", i64, i64, i64, %"struct.langcc::Result_T", %"struct.langcc::ParserLookahead" }
%"struct.langcc::Result_T" = type { ptr, %"struct.langcc::TokenBounds" }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::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_ptrIN4lang4meta4Node9ParseExpr2_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_polyIN4lang4meta4Node9ParseExpr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.44") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang4meta4Node9ParseExpr4Name8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6rc_ptrINS2_2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.328") 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 noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEE6decrefEv(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 @_ZN4lang4meta6parser18_parse_proc_71_0_0EPN6langcc15ParserProcStateE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::SymItem") align 8 %0, ptr noundef %1) local_unnamed_addr #8 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::StrSlice", align 8
  %4 = alloca %"struct.langcc::rc_ptr.44", align 8
  %5 = alloca %"struct.langcc::rc_ptr.328", 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::StrSlice", align 8
  %10 = alloca %"struct.langcc::rc_ptr.44", 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 = getelementptr inbounds i8, ptr %1, i64 48
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %1, i64 64
  %20 = load i64, ptr %19, align 8, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %1, i64 80
  %22 = load i64, ptr %21, align 8, !tbaa !19
  %23 = getelementptr inbounds i8, ptr %1, i64 32
  %24 = load i64, ptr %23, align 8, !tbaa !20
  %25 = getelementptr inbounds i8, ptr %1, i64 24
  %26 = load ptr, ptr %25, align 8, !tbaa !21
  %27 = getelementptr %"struct.langcc::ParserVertexStackItem", ptr %26, i64 %24
  %28 = getelementptr i8, ptr %27, i64 -56
  %29 = load i64, ptr %28, align 8, !tbaa !22
  %30 = getelementptr inbounds i8, ptr %1, i64 40
  %31 = load ptr, ptr %30, align 8, !tbaa !24
  %32 = getelementptr %"struct.langcc::SymItem", ptr %31, i64 %18
  %.sroa.4.0..sroa_idx = getelementptr i8, ptr %32, i64 -71
  %.sroa.4.0.copyload = load i8, ptr %.sroa.4.0..sroa_idx, align 1
  %33 = getelementptr inbounds i8, ptr %1, i64 56
  %34 = load ptr, ptr %33, align 8, !tbaa !25
  %35 = getelementptr %"struct.langcc::Result_T", ptr %34, i64 %20
  %36 = getelementptr i8, ptr %35, i64 -16
  %.sroa.04.0.copyload = load ptr, ptr %36, align 8, !tbaa !26
  %.sroa.56.0..sroa_idx = getelementptr i8, ptr %35, i64 -4
  %.sroa.56.0.copyload = load i32, ptr %.sroa.56.0..sroa_idx, align 4, !tbaa !27
  %37 = add nsw i64 %20, -3
  %38 = getelementptr inbounds %"struct.langcc::Result_T", ptr %34, i64 %37
  %.sroa.02.0.copyload = load ptr, ptr %38, align 8, !tbaa !26
  %.sroa.53.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 8
  %.sroa.53.0.copyload = load i64, ptr %.sroa.53.0..sroa_idx, align 8
  %39 = tail call i64 @_ZN6langcc26result_decode_token_boundsENS_8Result_TE(ptr %.sroa.02.0.copyload, i64 %.sroa.53.0.copyload)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  %sext = shl i64 %39, 32
  %40 = ashr exact i64 %sext, 32
  call void @_ZN6langcc15ParserProcState11fetch_tokenEl(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::StrSlice") align 8 %3, ptr noundef nonnull align 8 dereferenceable(192) %1, i64 noundef %40)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %41 = getelementptr inbounds i8, ptr %.sroa.04.0.copyload, i64 48
  invoke void @_ZN6langcc24enable_rc_from_this_poly17rc_from_this_polyIN4lang4meta4Node9ParseExpr2_TEEENS_6rc_ptrIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.44") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %42 unwind label %69

42:                                               ; preds = %2
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %43 = getelementptr inbounds i8, ptr %1, i64 184
  %44 = load ptr, ptr %43, align 8, !tbaa !28
  %45 = call noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %1)
  %46 = call noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %45)
  %47 = trunc i64 %29 to i32
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef %47, i32 noundef %.sroa.56.0.copyload)
  call void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %7)
  call void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %8)
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %48 unwind label %71

48:                                               ; preds = %42
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %49 = load i64, ptr %6, align 8
  invoke void @_ZN4lang4meta4Node9ParseExpr4Name8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6rc_ptrINS2_2_TEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.328") align 8 %5, ptr noundef %44, i64 noundef %46, i64 %49, 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 %50 unwind label %73

50:                                               ; preds = %48
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %51 = call noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef %47, i32 noundef %.sroa.56.0.copyload)
  %52 = load i64, ptr %12, align 8
  call void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %51, i64 %52)
  %53 = load ptr, ptr %33, align 8, !tbaa !25
  %54 = getelementptr inbounds %"struct.langcc::Result_T", ptr %53, i64 %37
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %54, 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 114, i64 noundef %29)
          to label %55 unwind label %75

55:                                               ; preds = %50
  %56 = add nsw i64 %20, -2
  %57 = add nsw i64 %18, -3
  %58 = add nsw i64 %24, -3
  %59 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 8, ptr %59, align 8, !tbaa !30
  %60 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 8, ptr %60, align 1, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  store i64 8, ptr %13, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  store i64 3, ptr %14, align 8, !tbaa !31
  %61 = 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)
  %62 = load i64, ptr %61, align 8, !tbaa !31
  %63 = trunc i64 %62 to i8
  store i8 %63, ptr %60, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %64 = and i64 %62, 255
  store i64 %64, ptr %15, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %65 = zext i8 %.sroa.4.0.copyload to i64
  store i64 %65, ptr %16, align 8, !tbaa !31
  %66 = 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)
  %67 = load i64, ptr %66, align 8, !tbaa !31
  %68 = trunc i64 %67 to i8
  store i8 %68, ptr %60, align 1, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  store i64 %57, ptr %17, align 8, !tbaa !5
  store i64 %56, ptr %19, align 8, !tbaa !18
  store i64 %22, ptr %21, align 8, !tbaa !19
  store i64 %58, ptr %23, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  ret void

69:                                               ; preds = %2
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %78

71:                                               ; preds = %42
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %77

73:                                               ; preds = %48
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %77

75:                                               ; preds = %50
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr4Name2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %77

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

78:                                               ; preds = %77, %69
  %.pn.pn = phi { ptr, i32 } [ %.pn, %77 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn.pn
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress noinline uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 48}
!6 = !{!"_ZTSN6langcc15ParserProcStateE", !7, i64 0, !8, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !11, i64 64, !8, i64 72, !11, i64 80, !12, i64 88, !8, i64 176, !8, i64 184}
!7 = !{!"_ZTSN6langcc6rc_ptrINS_9LexOutputEEE", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"_ZTSN6langcc7SymItemE", !11, i64 0, !11, i64 8, !13, i64 16, !11, i64 32, !11, i64 40, !11, i64 48, !14, i64 56, !17, i64 72}
!13 = !{!"_ZTSN6langcc14ParserAttrMaskE", !9, i64 0}
!14 = !{!"_ZTSN6langcc8Result_TE", !8, i64 0, !15, i64 8}
!15 = !{!"_ZTSN6langcc11TokenBoundsE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !9, i64 0}
!17 = !{!"_ZTSN6langcc15ParserLookaheadE", !9, i64 0}
!18 = !{!6, !11, i64 64}
!19 = !{!6, !11, i64 80}
!20 = !{!6, !11, i64 32}
!21 = !{!6, !8, i64 24}
!22 = !{!23, !11, i64 8}
!23 = !{!"_ZTSN6langcc21ParserVertexStackItemE", !11, i64 0, !11, i64 8}
!24 = !{!6, !8, i64 40}
!25 = !{!6, !8, i64 56}
!26 = !{!8, !8, i64 0}
!27 = !{!16, !16, i64 0}
!28 = !{!6, !8, i64 184}
!29 = !{i64 0, i64 8, !26, i64 8, i64 4, !27, i64 12, i64 4, !27}
!30 = !{!9, !9, i64 0}
!31 = !{!11, !11, i64 0}


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