; LLVM IR from jzimmerman/langcc :: gen/meta/gen.ll (ZN4lang4meta6parser18_parse_proc_70_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.327" = 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::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: 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_ptrIN4lang4meta4Node9ParseExpr5Paren2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

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

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

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

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

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

94:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %95, i32 0, i32 12
  %97 = load ptr, ptr %96, align 8, !tbaa !33
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = invoke noundef ptr @_ZN6langcc15ParserProcState3genEv(ptr noundef nonnull align 8 dereferenceable(192) %98)
          to label %100 unwind label %180

100:                                              ; preds = %94
  %101 = invoke noundef i64 @_ZN6langcc6Gensym3genEv(ptr noundef nonnull align 8 dereferenceable(8) %99)
          to label %102 unwind label %180

102:                                              ; preds = %100
  %103 = load i64, ptr %8, align 8, !tbaa !19
  %104 = trunc i64 %103 to i32
  %105 = getelementptr inbounds %"struct.langcc::Result_T", ptr %12, i32 0, i32 1
  %106 = getelementptr inbounds %"struct.langcc::TokenBounds", ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef %104, i32 noundef %107)
          to label %108 unwind label %180

108:                                              ; preds = %102
  invoke void @_ZN6langcc14ParserAttrMaskC2Ev(ptr noundef nonnull align 1 dereferenceable(16) %20)
          to label %109 unwind label %180

109:                                              ; preds = %108
  invoke void @_ZN6langcc15ParserLookaheadC2Ev(ptr noundef nonnull align 2 dereferenceable(16) %21)
          to label %110 unwind label %180

110:                                              ; preds = %109
  invoke void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %111 unwind label %180

111:                                              ; preds = %110
  %112 = load i64, ptr %19, align 4
  invoke void @_ZN4lang4meta4Node9ParseExpr5Paren8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.327") align 8 %18, ptr noundef %97, i64 noundef %101, i64 %112, i1 noundef zeroext false, i64 noundef -1, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %20, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %21, ptr noundef %22)
          to label %113 unwind label %184

113:                                              ; preds = %111
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  invoke void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr5Paren2_TEE6increfEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %114 unwind label %188

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %115 = invoke noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr5Paren2_TEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %116 unwind label %192

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 !34
  invoke void @_ZN6langcc11TokenBoundsC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef %118, i32 noundef %121)
          to label %122 unwind label %192

122:                                              ; preds = %116
  %123 = load i64, ptr %24, align 4
  invoke void @_ZN6langcc8Result_TC2EPvNS_11TokenBoundsE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef %115, i64 %123)
          to label %124 unwind label %192

124:                                              ; preds = %122
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %125, i32 0, i32 6
  %127 = load ptr, ptr %126, align 8, !tbaa !30
  %128 = load i64, ptr %5, align 8, !tbaa !19
  %129 = getelementptr inbounds %"struct.langcc::Result_T", ptr %127, i64 %128
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !31
  %130 = load i64, ptr %5, align 8, !tbaa !19
  %131 = add nsw i64 %130, 1
  store i64 %131, ptr %5, align 8, !tbaa !19
  %132 = load i64, ptr %8, align 8, !tbaa !19
  invoke void @_ZN6langcc7SymItemC2Ell(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef 114, i64 noundef %132)
          to label %133 unwind label %192

133:                                              ; preds = %124
  %134 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %135 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds [16 x i8], ptr %135, i64 0, i64 0
  store i8 8, ptr %136, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %137 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %138 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %137, i32 0, i32 0
  %139 = getelementptr inbounds [16 x i8], ptr %138, i64 0, i64 0
  %140 = load i8, ptr %139, align 8, !tbaa !28
  %141 = zext i8 %140 to i64
  store i64 %141, ptr %25, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store i64 8, ptr %26, align 8, !tbaa !19
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %143 unwind label %196

143:                                              ; preds = %133
  %144 = load i64, ptr %142, align 8, !tbaa !19
  %145 = trunc i64 %144 to i8
  %146 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %147 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds [16 x i8], ptr %147, i64 0, i64 0
  store i8 %145, ptr %148, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  %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 1
  store i8 8, ptr %151, align 1, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %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
  %155 = load i8, ptr %154, align 1, !tbaa !28
  %156 = zext i8 %155 to i64
  store i64 %156, ptr %27, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  store i64 8, ptr %28, align 8, !tbaa !19
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %158 unwind label %200

158:                                              ; preds = %143
  %159 = load i64, ptr %157, align 8, !tbaa !19
  %160 = trunc i64 %159 to i8
  %161 = getelementptr inbounds %"struct.langcc::SymItem", ptr %0, i32 0, i32 2
  %162 = getelementptr inbounds %"struct.langcc::ParserAttrMask", ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds [16 x i8], ptr %162, i64 0, i64 1
  store i8 %160, ptr %163, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  %164 = load i64, ptr %4, align 8, !tbaa !19
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %165, i32 0, i32 5
  store i64 %164, ptr %166, align 8, !tbaa !9
  %167 = load i64, ptr %5, align 8, !tbaa !19
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %168, i32 0, i32 7
  store i64 %167, ptr %169, align 8, !tbaa !20
  %170 = load i64, ptr %6, align 8, !tbaa !19
  %171 = load ptr, ptr %3, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %171, i32 0, i32 9
  store i64 %170, ptr %172, align 8, !tbaa !21
  %173 = load i64, ptr %7, align 8, !tbaa !19
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.langcc::ParserProcState", ptr %174, i32 0, i32 3
  store i64 %173, ptr %175, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr5Paren2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  ret void

176:                                              ; preds = %2
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %16, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %17, align 4
  br label %207

180:                                              ; preds = %110, %109, %108, %102, %100, %94
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %16, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %17, align 4
  br label %206

184:                                              ; preds = %111
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %16, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %17, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  br label %206

188:                                              ; preds = %113
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %16, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %17, align 4
  br label %205

192:                                              ; preds = %124, %122, %116, %114
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %16, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %17, align 4
  br label %204

196:                                              ; preds = %133
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %16, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %204

200:                                              ; preds = %143
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %16, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %204

204:                                              ; preds = %200, %196, %192
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %205

205:                                              ; preds = %204, %188
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr5Paren2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  br label %206

206:                                              ; preds = %205, %184, %180
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %207

207:                                              ; preds = %206, %176
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %208

208:                                              ; preds = %207
  %209 = load ptr, ptr %16, align 8
  %210 = load i32, ptr %17, align 4
  %211 = insertvalue { ptr, i32 } poison, ptr %209, 0
  %212 = insertvalue { ptr, i32 } %211, i32 %210, 1
  resume { ptr, i32 } %212
}

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr5Paren2_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.44" = type { ptr, ptr }
%"struct.langcc::rc_ptr.327" = 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::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: 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_ptrIN4lang4meta4Node9ParseExpr5Paren2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_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_70_0_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.44", align 8
  %4 = alloca %"struct.langcc::rc_ptr.327", 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.44", 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 -56
  %27 = load i64, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %1, i64 56
  %29 = load ptr, ptr %28, align 8, !tbaa !24
  %30 = getelementptr %"struct.langcc::Result_T", ptr %29, i64 %18
  %.sroa.4.0..sroa_idx = getelementptr i8, ptr %30, i64 -4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !25
  %31 = getelementptr i8, ptr %30, i64 -32
  %.sroa.0.0.copyload = load ptr, ptr %31, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %32 = getelementptr inbounds i8, ptr %.sroa.0.0.copyload, i64 48
  call 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 %3, ptr noundef nonnull align 8 dereferenceable(16) %32)
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEE6decrefEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %33 = getelementptr inbounds i8, ptr %1, i64 184
  %34 = load ptr, ptr %33, 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.4.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_ptrIN4lang4meta4Node9ParseExpr2_TEEC2ERKS6_(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 @_ZN4lang4meta4Node9ParseExpr5Paren8make_extEPN6langcc5ArenaElNS4_11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS2_2_TEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.327") 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 %57

39:                                               ; preds = %2
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @_ZNK6langcc6rc_ptrIN4lang4meta4Node9ParseExpr5Paren2_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_ptrIN4lang4meta4Node9ParseExpr5Paren2_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.4.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 %"struct.langcc::Result_T", ptr %42, i64 %18
  %44 = getelementptr i8, ptr %43, i64 -48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %44, 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 %45 unwind label %59

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

57:                                               ; preds = %2
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %61

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

61:                                               ; preds = %59, %57
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn
}

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


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